gcp.compute.RegionResizeRequest
Explore with Pulumi AI
Example Usage
Compute Rmig Resize Request
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const a3Dws = new gcp.compute.RegionInstanceTemplate("a3_dws", {
name: "a3-dws",
region: "us-central1",
description: "This template is used to create a mig instance that is compatible with DWS resize requests.",
instanceDescription: "A3 GPU",
machineType: "a3-highgpu-8g",
canIpForward: false,
scheduling: {
automaticRestart: false,
onHostMaintenance: "TERMINATE",
},
disks: [{
sourceImage: "cos-cloud/cos-105-lts",
autoDelete: true,
boot: true,
diskType: "pd-ssd",
diskSizeGb: 960,
mode: "READ_WRITE",
}],
guestAccelerators: [{
type: "nvidia-h100-80gb",
count: 8,
}],
reservationAffinity: {
type: "NO_RESERVATION",
},
shieldedInstanceConfig: {
enableVtpm: true,
enableIntegrityMonitoring: true,
},
networkInterfaces: [{
network: "default",
}],
});
const a3DwsRegionInstanceGroupManager = new gcp.compute.RegionInstanceGroupManager("a3_dws", {
name: "a3-dws",
baseInstanceName: "a3-dws",
region: "us-central1",
versions: [{
instanceTemplate: a3Dws.selfLink,
}],
instanceLifecyclePolicy: {
defaultActionOnFailure: "DO_NOTHING",
},
distributionPolicyTargetShape: "ANY_SINGLE_ZONE",
distributionPolicyZones: [
"us-central1-a",
"us-central1-b",
"us-central1-c",
"us-central1-f",
],
updatePolicy: {
instanceRedistributionType: "NONE",
type: "OPPORTUNISTIC",
minimalAction: "REPLACE",
maxSurgeFixed: 0,
maxUnavailableFixed: 6,
},
waitForInstances: false,
});
const a3ResizeRequest = new gcp.compute.RegionResizeRequest("a3_resize_request", {
name: "a3-dws",
instanceGroupManager: a3DwsRegionInstanceGroupManager.name,
region: "us-central1",
description: "Test resize request resource",
resizeBy: 2,
requestedRunDuration: {
seconds: "14400",
nanos: 0,
},
});
import pulumi
import pulumi_gcp as gcp
a3_dws = gcp.compute.RegionInstanceTemplate("a3_dws",
name="a3-dws",
region="us-central1",
description="This template is used to create a mig instance that is compatible with DWS resize requests.",
instance_description="A3 GPU",
machine_type="a3-highgpu-8g",
can_ip_forward=False,
scheduling={
"automatic_restart": False,
"on_host_maintenance": "TERMINATE",
},
disks=[{
"source_image": "cos-cloud/cos-105-lts",
"auto_delete": True,
"boot": True,
"disk_type": "pd-ssd",
"disk_size_gb": 960,
"mode": "READ_WRITE",
}],
guest_accelerators=[{
"type": "nvidia-h100-80gb",
"count": 8,
}],
reservation_affinity={
"type": "NO_RESERVATION",
},
shielded_instance_config={
"enable_vtpm": True,
"enable_integrity_monitoring": True,
},
network_interfaces=[{
"network": "default",
}])
a3_dws_region_instance_group_manager = gcp.compute.RegionInstanceGroupManager("a3_dws",
name="a3-dws",
base_instance_name="a3-dws",
region="us-central1",
versions=[{
"instance_template": a3_dws.self_link,
}],
instance_lifecycle_policy={
"default_action_on_failure": "DO_NOTHING",
},
distribution_policy_target_shape="ANY_SINGLE_ZONE",
distribution_policy_zones=[
"us-central1-a",
"us-central1-b",
"us-central1-c",
"us-central1-f",
],
update_policy={
"instance_redistribution_type": "NONE",
"type": "OPPORTUNISTIC",
"minimal_action": "REPLACE",
"max_surge_fixed": 0,
"max_unavailable_fixed": 6,
},
wait_for_instances=False)
a3_resize_request = gcp.compute.RegionResizeRequest("a3_resize_request",
name="a3-dws",
instance_group_manager=a3_dws_region_instance_group_manager.name,
region="us-central1",
description="Test resize request resource",
resize_by=2,
requested_run_duration={
"seconds": "14400",
"nanos": 0,
})
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
a3Dws, err := compute.NewRegionInstanceTemplate(ctx, "a3_dws", &compute.RegionInstanceTemplateArgs{
Name: pulumi.String("a3-dws"),
Region: pulumi.String("us-central1"),
Description: pulumi.String("This template is used to create a mig instance that is compatible with DWS resize requests."),
InstanceDescription: pulumi.String("A3 GPU"),
MachineType: pulumi.String("a3-highgpu-8g"),
CanIpForward: pulumi.Bool(false),
Scheduling: &compute.RegionInstanceTemplateSchedulingArgs{
AutomaticRestart: pulumi.Bool(false),
OnHostMaintenance: pulumi.String("TERMINATE"),
},
Disks: compute.RegionInstanceTemplateDiskArray{
&compute.RegionInstanceTemplateDiskArgs{
SourceImage: pulumi.String("cos-cloud/cos-105-lts"),
AutoDelete: pulumi.Bool(true),
Boot: pulumi.Bool(true),
DiskType: pulumi.String("pd-ssd"),
DiskSizeGb: pulumi.Int(960),
Mode: pulumi.String("READ_WRITE"),
},
},
GuestAccelerators: compute.RegionInstanceTemplateGuestAcceleratorArray{
&compute.RegionInstanceTemplateGuestAcceleratorArgs{
Type: pulumi.String("nvidia-h100-80gb"),
Count: pulumi.Int(8),
},
},
ReservationAffinity: &compute.RegionInstanceTemplateReservationAffinityArgs{
Type: pulumi.String("NO_RESERVATION"),
},
ShieldedInstanceConfig: &compute.RegionInstanceTemplateShieldedInstanceConfigArgs{
EnableVtpm: pulumi.Bool(true),
EnableIntegrityMonitoring: pulumi.Bool(true),
},
NetworkInterfaces: compute.RegionInstanceTemplateNetworkInterfaceArray{
&compute.RegionInstanceTemplateNetworkInterfaceArgs{
Network: pulumi.String("default"),
},
},
})
if err != nil {
return err
}
a3DwsRegionInstanceGroupManager, err := compute.NewRegionInstanceGroupManager(ctx, "a3_dws", &compute.RegionInstanceGroupManagerArgs{
Name: pulumi.String("a3-dws"),
BaseInstanceName: pulumi.String("a3-dws"),
Region: pulumi.String("us-central1"),
Versions: compute.RegionInstanceGroupManagerVersionArray{
&compute.RegionInstanceGroupManagerVersionArgs{
InstanceTemplate: a3Dws.SelfLink,
},
},
InstanceLifecyclePolicy: &compute.RegionInstanceGroupManagerInstanceLifecyclePolicyArgs{
DefaultActionOnFailure: pulumi.String("DO_NOTHING"),
},
DistributionPolicyTargetShape: pulumi.String("ANY_SINGLE_ZONE"),
DistributionPolicyZones: pulumi.StringArray{
pulumi.String("us-central1-a"),
pulumi.String("us-central1-b"),
pulumi.String("us-central1-c"),
pulumi.String("us-central1-f"),
},
UpdatePolicy: &compute.RegionInstanceGroupManagerUpdatePolicyArgs{
InstanceRedistributionType: pulumi.String("NONE"),
Type: pulumi.String("OPPORTUNISTIC"),
MinimalAction: pulumi.String("REPLACE"),
MaxSurgeFixed: pulumi.Int(0),
MaxUnavailableFixed: pulumi.Int(6),
},
WaitForInstances: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = compute.NewRegionResizeRequest(ctx, "a3_resize_request", &compute.RegionResizeRequestArgs{
Name: pulumi.String("a3-dws"),
InstanceGroupManager: a3DwsRegionInstanceGroupManager.Name,
Region: pulumi.String("us-central1"),
Description: pulumi.String("Test resize request resource"),
ResizeBy: pulumi.Int(2),
RequestedRunDuration: &compute.RegionResizeRequestRequestedRunDurationArgs{
Seconds: pulumi.String("14400"),
Nanos: pulumi.Int(0),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var a3Dws = new Gcp.Compute.RegionInstanceTemplate("a3_dws", new()
{
Name = "a3-dws",
Region = "us-central1",
Description = "This template is used to create a mig instance that is compatible with DWS resize requests.",
InstanceDescription = "A3 GPU",
MachineType = "a3-highgpu-8g",
CanIpForward = false,
Scheduling = new Gcp.Compute.Inputs.RegionInstanceTemplateSchedulingArgs
{
AutomaticRestart = false,
OnHostMaintenance = "TERMINATE",
},
Disks = new[]
{
new Gcp.Compute.Inputs.RegionInstanceTemplateDiskArgs
{
SourceImage = "cos-cloud/cos-105-lts",
AutoDelete = true,
Boot = true,
DiskType = "pd-ssd",
DiskSizeGb = 960,
Mode = "READ_WRITE",
},
},
GuestAccelerators = new[]
{
new Gcp.Compute.Inputs.RegionInstanceTemplateGuestAcceleratorArgs
{
Type = "nvidia-h100-80gb",
Count = 8,
},
},
ReservationAffinity = new Gcp.Compute.Inputs.RegionInstanceTemplateReservationAffinityArgs
{
Type = "NO_RESERVATION",
},
ShieldedInstanceConfig = new Gcp.Compute.Inputs.RegionInstanceTemplateShieldedInstanceConfigArgs
{
EnableVtpm = true,
EnableIntegrityMonitoring = true,
},
NetworkInterfaces = new[]
{
new Gcp.Compute.Inputs.RegionInstanceTemplateNetworkInterfaceArgs
{
Network = "default",
},
},
});
var a3DwsRegionInstanceGroupManager = new Gcp.Compute.RegionInstanceGroupManager("a3_dws", new()
{
Name = "a3-dws",
BaseInstanceName = "a3-dws",
Region = "us-central1",
Versions = new[]
{
new Gcp.Compute.Inputs.RegionInstanceGroupManagerVersionArgs
{
InstanceTemplate = a3Dws.SelfLink,
},
},
InstanceLifecyclePolicy = new Gcp.Compute.Inputs.RegionInstanceGroupManagerInstanceLifecyclePolicyArgs
{
DefaultActionOnFailure = "DO_NOTHING",
},
DistributionPolicyTargetShape = "ANY_SINGLE_ZONE",
DistributionPolicyZones = new[]
{
"us-central1-a",
"us-central1-b",
"us-central1-c",
"us-central1-f",
},
UpdatePolicy = new Gcp.Compute.Inputs.RegionInstanceGroupManagerUpdatePolicyArgs
{
InstanceRedistributionType = "NONE",
Type = "OPPORTUNISTIC",
MinimalAction = "REPLACE",
MaxSurgeFixed = 0,
MaxUnavailableFixed = 6,
},
WaitForInstances = false,
});
var a3ResizeRequest = new Gcp.Compute.RegionResizeRequest("a3_resize_request", new()
{
Name = "a3-dws",
InstanceGroupManager = a3DwsRegionInstanceGroupManager.Name,
Region = "us-central1",
Description = "Test resize request resource",
ResizeBy = 2,
RequestedRunDuration = new Gcp.Compute.Inputs.RegionResizeRequestRequestedRunDurationArgs
{
Seconds = "14400",
Nanos = 0,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.RegionInstanceTemplate;
import com.pulumi.gcp.compute.RegionInstanceTemplateArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateSchedulingArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateDiskArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateGuestAcceleratorArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateReservationAffinityArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateShieldedInstanceConfigArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceTemplateNetworkInterfaceArgs;
import com.pulumi.gcp.compute.RegionInstanceGroupManager;
import com.pulumi.gcp.compute.RegionInstanceGroupManagerArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceGroupManagerVersionArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceGroupManagerInstanceLifecyclePolicyArgs;
import com.pulumi.gcp.compute.inputs.RegionInstanceGroupManagerUpdatePolicyArgs;
import com.pulumi.gcp.compute.RegionResizeRequest;
import com.pulumi.gcp.compute.RegionResizeRequestArgs;
import com.pulumi.gcp.compute.inputs.RegionResizeRequestRequestedRunDurationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var a3Dws = new RegionInstanceTemplate("a3Dws", RegionInstanceTemplateArgs.builder()
.name("a3-dws")
.region("us-central1")
.description("This template is used to create a mig instance that is compatible with DWS resize requests.")
.instanceDescription("A3 GPU")
.machineType("a3-highgpu-8g")
.canIpForward(false)
.scheduling(RegionInstanceTemplateSchedulingArgs.builder()
.automaticRestart(false)
.onHostMaintenance("TERMINATE")
.build())
.disks(RegionInstanceTemplateDiskArgs.builder()
.sourceImage("cos-cloud/cos-105-lts")
.autoDelete(true)
.boot(true)
.diskType("pd-ssd")
.diskSizeGb("960")
.mode("READ_WRITE")
.build())
.guestAccelerators(RegionInstanceTemplateGuestAcceleratorArgs.builder()
.type("nvidia-h100-80gb")
.count(8)
.build())
.reservationAffinity(RegionInstanceTemplateReservationAffinityArgs.builder()
.type("NO_RESERVATION")
.build())
.shieldedInstanceConfig(RegionInstanceTemplateShieldedInstanceConfigArgs.builder()
.enableVtpm(true)
.enableIntegrityMonitoring(true)
.build())
.networkInterfaces(RegionInstanceTemplateNetworkInterfaceArgs.builder()
.network("default")
.build())
.build());
var a3DwsRegionInstanceGroupManager = new RegionInstanceGroupManager("a3DwsRegionInstanceGroupManager", RegionInstanceGroupManagerArgs.builder()
.name("a3-dws")
.baseInstanceName("a3-dws")
.region("us-central1")
.versions(RegionInstanceGroupManagerVersionArgs.builder()
.instanceTemplate(a3Dws.selfLink())
.build())
.instanceLifecyclePolicy(RegionInstanceGroupManagerInstanceLifecyclePolicyArgs.builder()
.defaultActionOnFailure("DO_NOTHING")
.build())
.distributionPolicyTargetShape("ANY_SINGLE_ZONE")
.distributionPolicyZones(
"us-central1-a",
"us-central1-b",
"us-central1-c",
"us-central1-f")
.updatePolicy(RegionInstanceGroupManagerUpdatePolicyArgs.builder()
.instanceRedistributionType("NONE")
.type("OPPORTUNISTIC")
.minimalAction("REPLACE")
.maxSurgeFixed(0)
.maxUnavailableFixed(6)
.build())
.waitForInstances(false)
.build());
var a3ResizeRequest = new RegionResizeRequest("a3ResizeRequest", RegionResizeRequestArgs.builder()
.name("a3-dws")
.instanceGroupManager(a3DwsRegionInstanceGroupManager.name())
.region("us-central1")
.description("Test resize request resource")
.resizeBy(2)
.requestedRunDuration(RegionResizeRequestRequestedRunDurationArgs.builder()
.seconds(14400)
.nanos(0)
.build())
.build());
}
}
resources:
a3Dws:
type: gcp:compute:RegionInstanceTemplate
name: a3_dws
properties:
name: a3-dws
region: us-central1
description: This template is used to create a mig instance that is compatible with DWS resize requests.
instanceDescription: A3 GPU
machineType: a3-highgpu-8g
canIpForward: false
scheduling:
automaticRestart: false
onHostMaintenance: TERMINATE
disks:
- sourceImage: cos-cloud/cos-105-lts
autoDelete: true
boot: true
diskType: pd-ssd
diskSizeGb: '960'
mode: READ_WRITE
guestAccelerators:
- type: nvidia-h100-80gb
count: 8
reservationAffinity:
type: NO_RESERVATION
shieldedInstanceConfig:
enableVtpm: true
enableIntegrityMonitoring: true
networkInterfaces:
- network: default
a3DwsRegionInstanceGroupManager:
type: gcp:compute:RegionInstanceGroupManager
name: a3_dws
properties:
name: a3-dws
baseInstanceName: a3-dws
region: us-central1
versions:
- instanceTemplate: ${a3Dws.selfLink}
instanceLifecyclePolicy:
defaultActionOnFailure: DO_NOTHING
distributionPolicyTargetShape: ANY_SINGLE_ZONE
distributionPolicyZones:
- us-central1-a
- us-central1-b
- us-central1-c
- us-central1-f
updatePolicy:
instanceRedistributionType: NONE
type: OPPORTUNISTIC
minimalAction: REPLACE
maxSurgeFixed: 0
maxUnavailableFixed: 6
waitForInstances: false
a3ResizeRequest:
type: gcp:compute:RegionResizeRequest
name: a3_resize_request
properties:
name: a3-dws
instanceGroupManager: ${a3DwsRegionInstanceGroupManager.name}
region: us-central1
description: Test resize request resource
resizeBy: 2
requestedRunDuration:
seconds: 14400
nanos: 0
Create RegionResizeRequest Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegionResizeRequest(name: string, args: RegionResizeRequestArgs, opts?: CustomResourceOptions);
@overload
def RegionResizeRequest(resource_name: str,
args: RegionResizeRequestArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RegionResizeRequest(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_group_manager: Optional[str] = None,
region: Optional[str] = None,
resize_by: Optional[int] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
requested_run_duration: Optional[RegionResizeRequestRequestedRunDurationArgs] = None)
func NewRegionResizeRequest(ctx *Context, name string, args RegionResizeRequestArgs, opts ...ResourceOption) (*RegionResizeRequest, error)
public RegionResizeRequest(string name, RegionResizeRequestArgs args, CustomResourceOptions? opts = null)
public RegionResizeRequest(String name, RegionResizeRequestArgs args)
public RegionResizeRequest(String name, RegionResizeRequestArgs args, CustomResourceOptions options)
type: gcp:compute:RegionResizeRequest
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RegionResizeRequestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RegionResizeRequestArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RegionResizeRequestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionResizeRequestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegionResizeRequestArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var regionResizeRequestResource = new Gcp.Compute.RegionResizeRequest("regionResizeRequestResource", new()
{
InstanceGroupManager = "string",
Region = "string",
ResizeBy = 0,
Description = "string",
Name = "string",
Project = "string",
RequestedRunDuration = new Gcp.Compute.Inputs.RegionResizeRequestRequestedRunDurationArgs
{
Seconds = "string",
Nanos = 0,
},
});
example, err := compute.NewRegionResizeRequest(ctx, "regionResizeRequestResource", &compute.RegionResizeRequestArgs{
InstanceGroupManager: pulumi.String("string"),
Region: pulumi.String("string"),
ResizeBy: pulumi.Int(0),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestedRunDuration: &compute.RegionResizeRequestRequestedRunDurationArgs{
Seconds: pulumi.String("string"),
Nanos: pulumi.Int(0),
},
})
var regionResizeRequestResource = new RegionResizeRequest("regionResizeRequestResource", RegionResizeRequestArgs.builder()
.instanceGroupManager("string")
.region("string")
.resizeBy(0)
.description("string")
.name("string")
.project("string")
.requestedRunDuration(RegionResizeRequestRequestedRunDurationArgs.builder()
.seconds("string")
.nanos(0)
.build())
.build());
region_resize_request_resource = gcp.compute.RegionResizeRequest("regionResizeRequestResource",
instance_group_manager="string",
region="string",
resize_by=0,
description="string",
name="string",
project="string",
requested_run_duration={
"seconds": "string",
"nanos": 0,
})
const regionResizeRequestResource = new gcp.compute.RegionResizeRequest("regionResizeRequestResource", {
instanceGroupManager: "string",
region: "string",
resizeBy: 0,
description: "string",
name: "string",
project: "string",
requestedRunDuration: {
seconds: "string",
nanos: 0,
},
});
type: gcp:compute:RegionResizeRequest
properties:
description: string
instanceGroupManager: string
name: string
project: string
region: string
requestedRunDuration:
nanos: 0
seconds: string
resizeBy: 0
RegionResizeRequest Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RegionResizeRequest resource accepts the following input properties:
- Instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- Region string
- The reference of the compute region scoping this request.
- Resize
By int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- Description string
- An optional description of this resize-request.
- Name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- Instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- Region string
- The reference of the compute region scoping this request.
- Resize
By int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- Description string
- An optional description of this resize-request.
- Name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Requested
Run RegionDuration Resize Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- instance
Group StringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- region String
- The reference of the compute region scoping this request.
- resize
By Integer - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- description String
- An optional description of this resize-request.
- name String
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- region string
- The reference of the compute region scoping this request.
- resize
By number - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- description string
- An optional description of this resize-request.
- name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- instance_
group_ strmanager - The reference of the regional instance group manager this ResizeRequest is a part of.
- region str
- The reference of the compute region scoping this request.
- resize_
by int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- description str
- An optional description of this resize-request.
- name str
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- requested_
run_ Regionduration Resize Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- instance
Group StringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- region String
- The reference of the compute region scoping this request.
- resize
By Number - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- description String
- An optional description of this resize-request.
- name String
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- requested
Run Property MapDuration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegionResizeRequest resource produces the following output properties:
- Creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Current state of the request.
- Statuses
List<Region
Resize Request Status> - Status of the request. Structure is documented below.
- Creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- Current state of the request.
- Statuses
[]Region
Resize Request Status - Status of the request. Structure is documented below.
- creation
Timestamp String - The creation timestamp for this resize request in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Current state of the request.
- statuses
List<Region
Resize Request Status> - Status of the request. Structure is documented below.
- creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- Current state of the request.
- statuses
Region
Resize Request Status[] - Status of the request. Structure is documented below.
- creation_
timestamp str - The creation timestamp for this resize request in RFC3339 text format.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- Current state of the request.
- statuses
Sequence[Region
Resize Request Status] - Status of the request. Structure is documented below.
- creation
Timestamp String - The creation timestamp for this resize request in RFC3339 text format.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- Current state of the request.
- statuses List<Property Map>
- Status of the request. Structure is documented below.
Look up Existing RegionResizeRequest Resource
Get an existing RegionResizeRequest resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RegionResizeRequestState, opts?: CustomResourceOptions): RegionResizeRequest
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_timestamp: Optional[str] = None,
description: Optional[str] = None,
instance_group_manager: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
requested_run_duration: Optional[RegionResizeRequestRequestedRunDurationArgs] = None,
resize_by: Optional[int] = None,
state: Optional[str] = None,
statuses: Optional[Sequence[RegionResizeRequestStatusArgs]] = None) -> RegionResizeRequest
func GetRegionResizeRequest(ctx *Context, name string, id IDInput, state *RegionResizeRequestState, opts ...ResourceOption) (*RegionResizeRequest, error)
public static RegionResizeRequest Get(string name, Input<string> id, RegionResizeRequestState? state, CustomResourceOptions? opts = null)
public static RegionResizeRequest get(String name, Output<String> id, RegionResizeRequestState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- Description string
- An optional description of this resize-request.
- Instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- Name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The reference of the compute region scoping this request.
- Requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- Resize
By int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- State string
- Current state of the request.
- Statuses
List<Region
Resize Request Status> - Status of the request. Structure is documented below.
- Creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- Description string
- An optional description of this resize-request.
- Instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- Name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The reference of the compute region scoping this request.
- Requested
Run RegionDuration Resize Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- Resize
By int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- State string
- Current state of the request.
- Statuses
[]Region
Resize Request Status Args - Status of the request. Structure is documented below.
- creation
Timestamp String - The creation timestamp for this resize request in RFC3339 text format.
- description String
- An optional description of this resize-request.
- instance
Group StringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- name String
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The reference of the compute region scoping this request.
- requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- resize
By Integer - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- state String
- Current state of the request.
- statuses
List<Region
Resize Request Status> - Status of the request. Structure is documented below.
- creation
Timestamp string - The creation timestamp for this resize request in RFC3339 text format.
- description string
- An optional description of this resize-request.
- instance
Group stringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- name string
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region string
- The reference of the compute region scoping this request.
- requested
Run RegionDuration Resize Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- resize
By number - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- state string
- Current state of the request.
- statuses
Region
Resize Request Status[] - Status of the request. Structure is documented below.
- creation_
timestamp str - The creation timestamp for this resize request in RFC3339 text format.
- description str
- An optional description of this resize-request.
- instance_
group_ strmanager - The reference of the regional instance group manager this ResizeRequest is a part of.
- name str
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region str
- The reference of the compute region scoping this request.
- requested_
run_ Regionduration Resize Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- resize_
by int - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- state str
- Current state of the request.
- statuses
Sequence[Region
Resize Request Status Args] - Status of the request. Structure is documented below.
- creation
Timestamp String - The creation timestamp for this resize request in RFC3339 text format.
- description String
- An optional description of this resize-request.
- instance
Group StringManager - The reference of the regional instance group manager this ResizeRequest is a part of.
- name String
- The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The reference of the compute region scoping this request.
- requested
Run Property MapDuration - Requested run duration for instances that will be created by this request. At the end of the run duration instances will be deleted. Structure is documented below.
- resize
By Number - The number of instances to be created by this resize request. The group's target size will be increased by this number.
- state String
- Current state of the request.
- statuses List<Property Map>
- Status of the request. Structure is documented below.
Supporting Types
RegionResizeRequestRequestedRunDuration, RegionResizeRequestRequestedRunDurationArgs
- Seconds string
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- Seconds string
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- Nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds String
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- nanos Integer
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds string
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- nanos number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds str
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- nanos int
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
- seconds String
- Span of time at a resolution of a second. Must be from 600 to 604800 inclusive. Note: minimum and maximum allowed range for requestedRunDuration is 10 minutes (600 seconds) and 7 days(604800 seconds) correspondingly.
- nanos Number
- Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.
RegionResizeRequestStatus, RegionResizeRequestStatusArgs
- Errors
List<Region
Resize Request Status Error> - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- Last
Attempts List<RegionResize Request Status Last Attempt> - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
- Errors
[]Region
Resize Request Status Error - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- Last
Attempts []RegionResize Request Status Last Attempt - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
- errors
List<Region
Resize Request Status Error> - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- last
Attempts List<RegionResize Request Status Last Attempt> - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
- errors
Region
Resize Request Status Error[] - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- last
Attempts RegionResize Request Status Last Attempt[] - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
- errors
Sequence[Region
Resize Request Status Error] - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- last_
attempts Sequence[RegionResize Request Status Last Attempt] - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
- errors List<Property Map>
- (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- last
Attempts List<Property Map> - (Output) Information about the last attempt to fulfill the request. The value is temporary since the ResizeRequest can retry, as long as it's still active and the last attempt value can either be cleared or replaced with a different error. Since ResizeRequest retries infrequently, the value may be stale and no longer show an active problem. The value is cleared when ResizeRequest transitions to the final state (becomes inactive). If the final state is FAILED the error describing it will be storred in the "error" field only. Structure is documented below.
RegionResizeRequestStatusError, RegionResizeRequestStatusErrorArgs
- Errors
List<Region
Resize Request Status Error Error> - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- Errors
[]Region
Resize Request Status Error Error - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
List<Region
Resize Request Status Error Error> - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
Region
Resize Request Status Error Error[] - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
Sequence[Region
Resize Request Status Error Error] - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors List<Property Map>
- (Output) The array of errors encountered while processing this operation. Structure is documented below.
RegionResizeRequestStatusErrorError, RegionResizeRequestStatusErrorErrorArgs
- Code string
- (Output) The error type identifier for this error.
- Error
Details List<RegionResize Request Status Error Error Error Detail> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- Location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- Message string
- (Output) The localized error message in the above locale.
- Code string
- (Output) The error type identifier for this error.
- Error
Details []RegionResize Request Status Error Error Error Detail - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- Location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- Message string
- (Output) The localized error message in the above locale.
- code String
- (Output) The error type identifier for this error.
- error
Details List<RegionResize Request Status Error Error Error Detail> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location String
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message String
- (Output) The localized error message in the above locale.
- code string
- (Output) The error type identifier for this error.
- error
Details RegionResize Request Status Error Error Error Detail[] - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message string
- (Output) The localized error message in the above locale.
- code str
- (Output) The error type identifier for this error.
- error_
details Sequence[RegionResize Request Status Error Error Error Detail] - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location str
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message str
- (Output) The localized error message in the above locale.
- code String
- (Output) The error type identifier for this error.
- error
Details List<Property Map> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location String
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message String
- (Output) The localized error message in the above locale.
RegionResizeRequestStatusErrorErrorErrorDetail, RegionResizeRequestStatusErrorErrorErrorDetailArgs
- Error
Infos List<RegionResize Request Status Error Error Error Detail Error Info> - (Output) A nested object resource. Structure is documented below.
- Helps
List<Region
Resize Request Status Error Error Error Detail Help> - (Output) A nested object resource. Structure is documented below.
- Localized
Messages List<RegionResize Request Status Error Error Error Detail Localized Message> - (Output) A nested object resource. Structure is documented below.
- Quota
Infos List<RegionResize Request Status Error Error Error Detail Quota Info> - (Output) A nested object resource. Structure is documented below.
- Error
Infos []RegionResize Request Status Error Error Error Detail Error Info - (Output) A nested object resource. Structure is documented below.
- Helps
[]Region
Resize Request Status Error Error Error Detail Help - (Output) A nested object resource. Structure is documented below.
- Localized
Messages []RegionResize Request Status Error Error Error Detail Localized Message - (Output) A nested object resource. Structure is documented below.
- Quota
Infos []RegionResize Request Status Error Error Error Detail Quota Info - (Output) A nested object resource. Structure is documented below.
- error
Infos List<RegionResize Request Status Error Error Error Detail Error Info> - (Output) A nested object resource. Structure is documented below.
- helps
List<Region
Resize Request Status Error Error Error Detail Help> - (Output) A nested object resource. Structure is documented below.
- localized
Messages List<RegionResize Request Status Error Error Error Detail Localized Message> - (Output) A nested object resource. Structure is documented below.
- quota
Infos List<RegionResize Request Status Error Error Error Detail Quota Info> - (Output) A nested object resource. Structure is documented below.
- error
Infos RegionResize Request Status Error Error Error Detail Error Info[] - (Output) A nested object resource. Structure is documented below.
- helps
Region
Resize Request Status Error Error Error Detail Help[] - (Output) A nested object resource. Structure is documented below.
- localized
Messages RegionResize Request Status Error Error Error Detail Localized Message[] - (Output) A nested object resource. Structure is documented below.
- quota
Infos RegionResize Request Status Error Error Error Detail Quota Info[] - (Output) A nested object resource. Structure is documented below.
- error_
infos Sequence[RegionResize Request Status Error Error Error Detail Error Info] - (Output) A nested object resource. Structure is documented below.
- helps
Sequence[Region
Resize Request Status Error Error Error Detail Help] - (Output) A nested object resource. Structure is documented below.
- localized_
messages Sequence[RegionResize Request Status Error Error Error Detail Localized Message] - (Output) A nested object resource. Structure is documented below.
- quota_
infos Sequence[RegionResize Request Status Error Error Error Detail Quota Info] - (Output) A nested object resource. Structure is documented below.
- error
Infos List<Property Map> - (Output) A nested object resource. Structure is documented below.
- helps List<Property Map>
- (Output) A nested object resource. Structure is documented below.
- localized
Messages List<Property Map> - (Output) A nested object resource. Structure is documented below.
- quota
Infos List<Property Map> - (Output) A nested object resource. Structure is documented below.
RegionResizeRequestStatusErrorErrorErrorDetailErrorInfo, RegionResizeRequestStatusErrorErrorErrorDetailErrorInfoArgs
- Domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- Metadatas Dictionary<string, string>
- (Output) Additional structured details about this error.
- Reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- Domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- Metadatas map[string]string
- (Output) Additional structured details about this error.
- Reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain String
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Map<String,String>
- (Output) Additional structured details about this error.
- reason String
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas {[key: string]: string}
- (Output) Additional structured details about this error.
- reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain str
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Mapping[str, str]
- (Output) Additional structured details about this error.
- reason str
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain String
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Map<String>
- (Output) Additional structured details about this error.
- reason String
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
RegionResizeRequestStatusErrorErrorErrorDetailHelp, RegionResizeRequestStatusErrorErrorErrorDetailHelpArgs
- Links
List<Region
Resize Request Status Error Error Error Detail Help Link> - (Output) A nested object resource. Structure is documented below.
- Links
[]Region
Resize Request Status Error Error Error Detail Help Link - (Output) A nested object resource. Structure is documented below.
- links
List<Region
Resize Request Status Error Error Error Detail Help Link> - (Output) A nested object resource. Structure is documented below.
- links
Region
Resize Request Status Error Error Error Detail Help Link[] - (Output) A nested object resource. Structure is documented below.
- links
Sequence[Region
Resize Request Status Error Error Error Detail Help Link] - (Output) A nested object resource. Structure is documented below.
- links List<Property Map>
- (Output) A nested object resource. Structure is documented below.
RegionResizeRequestStatusErrorErrorErrorDetailHelpLink, RegionResizeRequestStatusErrorErrorErrorDetailHelpLinkArgs
- Description string
- An optional description of this resize-request.
- Url string
- (Output) The URL of the link.
- Description string
- An optional description of this resize-request.
- Url string
- (Output) The URL of the link.
- description String
- An optional description of this resize-request.
- url String
- (Output) The URL of the link.
- description string
- An optional description of this resize-request.
- url string
- (Output) The URL of the link.
- description str
- An optional description of this resize-request.
- url str
- (Output) The URL of the link.
- description String
- An optional description of this resize-request.
- url String
- (Output) The URL of the link.
RegionResizeRequestStatusErrorErrorErrorDetailLocalizedMessage, RegionResizeRequestStatusErrorErrorErrorDetailLocalizedMessageArgs
RegionResizeRequestStatusErrorErrorErrorDetailQuotaInfo, RegionResizeRequestStatusErrorErrorErrorDetailQuotaInfoArgs
- Dimensions Dictionary<string, string>
- (Output) The map holding related quota dimensions
- Future
Limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- Limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- Limit
Name string - (Output) The name of the quota limit.
- Metric
Name string - (Output) The Compute Engine quota metric name.
- Rollout
Status string - (Output) Rollout status of the future quota limit.
- Dimensions map[string]string
- (Output) The map holding related quota dimensions
- Future
Limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- Limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- Limit
Name string - (Output) The name of the quota limit.
- Metric
Name string - (Output) The Compute Engine quota metric name.
- Rollout
Status string - (Output) Rollout status of the future quota limit.
- dimensions Map<String,String>
- (Output) The map holding related quota dimensions
- future
Limit Integer - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit Integer
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name String - (Output) The name of the quota limit.
- metric
Name String - (Output) The Compute Engine quota metric name.
- rollout
Status String - (Output) Rollout status of the future quota limit.
- dimensions {[key: string]: string}
- (Output) The map holding related quota dimensions
- future
Limit number - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit number
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name string - (Output) The name of the quota limit.
- metric
Name string - (Output) The Compute Engine quota metric name.
- rollout
Status string - (Output) Rollout status of the future quota limit.
- dimensions Mapping[str, str]
- (Output) The map holding related quota dimensions
- future_
limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit_
name str - (Output) The name of the quota limit.
- metric_
name str - (Output) The Compute Engine quota metric name.
- rollout_
status str - (Output) Rollout status of the future quota limit.
- dimensions Map<String>
- (Output) The map holding related quota dimensions
- future
Limit Number - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit Number
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name String - (Output) The name of the quota limit.
- metric
Name String - (Output) The Compute Engine quota metric name.
- rollout
Status String - (Output) Rollout status of the future quota limit.
RegionResizeRequestStatusLastAttempt, RegionResizeRequestStatusLastAttemptArgs
- Errors
List<Region
Resize Request Status Last Attempt Error> - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- Errors
[]Region
Resize Request Status Last Attempt Error - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- errors
List<Region
Resize Request Status Last Attempt Error> - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- errors
Region
Resize Request Status Last Attempt Error[] - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- errors
Sequence[Region
Resize Request Status Last Attempt Error] - (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
- errors List<Property Map>
- (Output) Fatal errors encountered during the queueing or provisioning phases of the ResizeRequest that caused the transition to the FAILED state. Contrary to the lastAttempt errors, this field is final and errors are never removed from here, as the ResizeRequest is not going to retry. Structure is documented below.
RegionResizeRequestStatusLastAttemptError, RegionResizeRequestStatusLastAttemptErrorArgs
- Errors
List<Region
Resize Request Status Last Attempt Error Error> - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- Errors
[]Region
Resize Request Status Last Attempt Error Error - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
List<Region
Resize Request Status Last Attempt Error Error> - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
Region
Resize Request Status Last Attempt Error Error[] - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors
Sequence[Region
Resize Request Status Last Attempt Error Error] - (Output) The array of errors encountered while processing this operation. Structure is documented below.
- errors List<Property Map>
- (Output) The array of errors encountered while processing this operation. Structure is documented below.
RegionResizeRequestStatusLastAttemptErrorError, RegionResizeRequestStatusLastAttemptErrorErrorArgs
- Code string
- (Output) The error type identifier for this error.
- Error
Details List<RegionResize Request Status Last Attempt Error Error Error Detail> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- Location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- Message string
- (Output) The localized error message in the above locale.
- Code string
- (Output) The error type identifier for this error.
- Error
Details []RegionResize Request Status Last Attempt Error Error Error Detail - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- Location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- Message string
- (Output) The localized error message in the above locale.
- code String
- (Output) The error type identifier for this error.
- error
Details List<RegionResize Request Status Last Attempt Error Error Error Detail> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location String
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message String
- (Output) The localized error message in the above locale.
- code string
- (Output) The error type identifier for this error.
- error
Details RegionResize Request Status Last Attempt Error Error Error Detail[] - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location string
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message string
- (Output) The localized error message in the above locale.
- code str
- (Output) The error type identifier for this error.
- error_
details Sequence[RegionResize Request Status Last Attempt Error Error Error Detail] - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location str
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message str
- (Output) The localized error message in the above locale.
- code String
- (Output) The error type identifier for this error.
- error
Details List<Property Map> - (Output) An array of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. Structure is documented below.
- location String
- (Output) Indicates the field in the request that caused the error. This property is optional.
- message String
- (Output) The localized error message in the above locale.
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetail, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailArgs
- Error
Infos List<RegionResize Request Status Last Attempt Error Error Error Detail Error Info> - (Output) A nested object resource. Structure is documented below.
- Helps
List<Region
Resize Request Status Last Attempt Error Error Error Detail Help> - (Output) A nested object resource. Structure is documented below.
- Localized
Messages List<RegionResize Request Status Last Attempt Error Error Error Detail Localized Message> - (Output) A nested object resource. Structure is documented below.
- Quota
Infos List<RegionResize Request Status Last Attempt Error Error Error Detail Quota Info> - (Output) A nested object resource. Structure is documented below.
- Error
Infos []RegionResize Request Status Last Attempt Error Error Error Detail Error Info - (Output) A nested object resource. Structure is documented below.
- Helps
[]Region
Resize Request Status Last Attempt Error Error Error Detail Help - (Output) A nested object resource. Structure is documented below.
- Localized
Messages []RegionResize Request Status Last Attempt Error Error Error Detail Localized Message - (Output) A nested object resource. Structure is documented below.
- Quota
Infos []RegionResize Request Status Last Attempt Error Error Error Detail Quota Info - (Output) A nested object resource. Structure is documented below.
- error
Infos List<RegionResize Request Status Last Attempt Error Error Error Detail Error Info> - (Output) A nested object resource. Structure is documented below.
- helps
List<Region
Resize Request Status Last Attempt Error Error Error Detail Help> - (Output) A nested object resource. Structure is documented below.
- localized
Messages List<RegionResize Request Status Last Attempt Error Error Error Detail Localized Message> - (Output) A nested object resource. Structure is documented below.
- quota
Infos List<RegionResize Request Status Last Attempt Error Error Error Detail Quota Info> - (Output) A nested object resource. Structure is documented below.
- error
Infos RegionResize Request Status Last Attempt Error Error Error Detail Error Info[] - (Output) A nested object resource. Structure is documented below.
- helps
Region
Resize Request Status Last Attempt Error Error Error Detail Help[] - (Output) A nested object resource. Structure is documented below.
- localized
Messages RegionResize Request Status Last Attempt Error Error Error Detail Localized Message[] - (Output) A nested object resource. Structure is documented below.
- quota
Infos RegionResize Request Status Last Attempt Error Error Error Detail Quota Info[] - (Output) A nested object resource. Structure is documented below.
- error_
infos Sequence[RegionResize Request Status Last Attempt Error Error Error Detail Error Info] - (Output) A nested object resource. Structure is documented below.
- helps
Sequence[Region
Resize Request Status Last Attempt Error Error Error Detail Help] - (Output) A nested object resource. Structure is documented below.
- localized_
messages Sequence[RegionResize Request Status Last Attempt Error Error Error Detail Localized Message] - (Output) A nested object resource. Structure is documented below.
- quota_
infos Sequence[RegionResize Request Status Last Attempt Error Error Error Detail Quota Info] - (Output) A nested object resource. Structure is documented below.
- error
Infos List<Property Map> - (Output) A nested object resource. Structure is documented below.
- helps List<Property Map>
- (Output) A nested object resource. Structure is documented below.
- localized
Messages List<Property Map> - (Output) A nested object resource. Structure is documented below.
- quota
Infos List<Property Map> - (Output) A nested object resource. Structure is documented below.
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailErrorInfo, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailErrorInfoArgs
- Domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- Metadatas Dictionary<string, string>
- (Output) Additional structured details about this error.
- Reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- Domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- Metadatas map[string]string
- (Output) Additional structured details about this error.
- Reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain String
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Map<String,String>
- (Output) Additional structured details about this error.
- reason String
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain string
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas {[key: string]: string}
- (Output) Additional structured details about this error.
- reason string
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain str
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Mapping[str, str]
- (Output) Additional structured details about this error.
- reason str
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
- domain String
- (Output) The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com".
- metadatas Map<String>
- (Output) Additional structured details about this error.
- reason String
- (Output) The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors.
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailHelp, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpArgs
- Links
List<Region
Resize Request Status Last Attempt Error Error Error Detail Help Link> - (Output) A nested object resource. Structure is documented below.
- Links
[]Region
Resize Request Status Last Attempt Error Error Error Detail Help Link - (Output) A nested object resource. Structure is documented below.
- links
List<Region
Resize Request Status Last Attempt Error Error Error Detail Help Link> - (Output) A nested object resource. Structure is documented below.
- links
Region
Resize Request Status Last Attempt Error Error Error Detail Help Link[] - (Output) A nested object resource. Structure is documented below.
- links
Sequence[Region
Resize Request Status Last Attempt Error Error Error Detail Help Link] - (Output) A nested object resource. Structure is documented below.
- links List<Property Map>
- (Output) A nested object resource. Structure is documented below.
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpLink, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpLinkArgs
- Description string
- An optional description of this resize-request.
- Url string
- (Output) The URL of the link.
- Description string
- An optional description of this resize-request.
- Url string
- (Output) The URL of the link.
- description String
- An optional description of this resize-request.
- url String
- (Output) The URL of the link.
- description string
- An optional description of this resize-request.
- url string
- (Output) The URL of the link.
- description str
- An optional description of this resize-request.
- url str
- (Output) The URL of the link.
- description String
- An optional description of this resize-request.
- url String
- (Output) The URL of the link.
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailLocalizedMessage, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailLocalizedMessageArgs
RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailQuotaInfo, RegionResizeRequestStatusLastAttemptErrorErrorErrorDetailQuotaInfoArgs
- Dimensions Dictionary<string, string>
- (Output) The map holding related quota dimensions
- Future
Limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- Limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- Limit
Name string - (Output) The name of the quota limit.
- Metric
Name string - (Output) The Compute Engine quota metric name.
- Rollout
Status string - (Output) Rollout status of the future quota limit.
- Dimensions map[string]string
- (Output) The map holding related quota dimensions
- Future
Limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- Limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- Limit
Name string - (Output) The name of the quota limit.
- Metric
Name string - (Output) The Compute Engine quota metric name.
- Rollout
Status string - (Output) Rollout status of the future quota limit.
- dimensions Map<String,String>
- (Output) The map holding related quota dimensions
- future
Limit Integer - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit Integer
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name String - (Output) The name of the quota limit.
- metric
Name String - (Output) The Compute Engine quota metric name.
- rollout
Status String - (Output) Rollout status of the future quota limit.
- dimensions {[key: string]: string}
- (Output) The map holding related quota dimensions
- future
Limit number - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit number
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name string - (Output) The name of the quota limit.
- metric
Name string - (Output) The Compute Engine quota metric name.
- rollout
Status string - (Output) Rollout status of the future quota limit.
- dimensions Mapping[str, str]
- (Output) The map holding related quota dimensions
- future_
limit int - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit int
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit_
name str - (Output) The name of the quota limit.
- metric_
name str - (Output) The Compute Engine quota metric name.
- rollout_
status str - (Output) Rollout status of the future quota limit.
- dimensions Map<String>
- (Output) The map holding related quota dimensions
- future
Limit Number - (Output) Future quota limit being rolled out. The limit's unit depends on the quota type or metric.
- limit Number
- (Output) Current effective quota limit. The limit's unit depends on the quota type or metric.
- limit
Name String - (Output) The name of the quota limit.
- metric
Name String - (Output) The Compute Engine quota metric name.
- rollout
Status String - (Output) Rollout status of the future quota limit.
Import
RegionResizeRequest can be imported using any of these accepted formats:
projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{instance_group_manager}}/resizeRequests/{{name}}
{{project}}/{{region}}/{{instance_group_manager}}/{{name}}
{{region}}/{{instance_group_manager}}/{{name}}
{{instance_group_manager}}/{{name}}
When using the pulumi import
command, RegionResizeRequest can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/regionResizeRequest:RegionResizeRequest default projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{instance_group_manager}}/resizeRequests/{{name}}
$ pulumi import gcp:compute/regionResizeRequest:RegionResizeRequest default {{project}}/{{region}}/{{instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionResizeRequest:RegionResizeRequest default {{region}}/{{instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionResizeRequest:RegionResizeRequest default {{instance_group_manager}}/{{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.