gcp.compute.ResizeRequest
Explore with Pulumi AI
Represents a Managed Instance Group Resize Request
Resize Requests are the Managed Instance Group implementation of Dynamic Workload Scheduler Flex Start.
With Dynamic Workload Scheduler in Flex Start mode, you submit a GPU capacity request for your AI/ML jobs by indicating how many you need, a duration, and your preferred region. Dynamic Workload Scheduler intelligently persists the request; once the capacity becomes available, it automatically provisions your VMs enabling your workloads to run continuously for the entire duration of the capacity allocation.
To get more information about ResizeRequest, see:
- API documentation
- How-to Guides
Example Usage
Compute Mig 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 a3DwsInstanceGroupManager = new gcp.compute.InstanceGroupManager("a3_dws", {
name: "a3-dws",
baseInstanceName: "a3-dws",
zone: "us-central1-a",
versions: [{
instanceTemplate: a3Dws.selfLink,
}],
instanceLifecyclePolicy: {
defaultActionOnFailure: "DO_NOTHING",
},
waitForInstances: false,
});
const a3ResizeRequest = new gcp.compute.ResizeRequest("a3_resize_request", {
name: "a3-dws",
instanceGroupManager: a3DwsInstanceGroupManager.name,
zone: "us-central1-a",
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_instance_group_manager = gcp.compute.InstanceGroupManager("a3_dws",
name="a3-dws",
base_instance_name="a3-dws",
zone="us-central1-a",
versions=[{
"instance_template": a3_dws.self_link,
}],
instance_lifecycle_policy={
"default_action_on_failure": "DO_NOTHING",
},
wait_for_instances=False)
a3_resize_request = gcp.compute.ResizeRequest("a3_resize_request",
name="a3-dws",
instance_group_manager=a3_dws_instance_group_manager.name,
zone="us-central1-a",
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
}
a3DwsInstanceGroupManager, err := compute.NewInstanceGroupManager(ctx, "a3_dws", &compute.InstanceGroupManagerArgs{
Name: pulumi.String("a3-dws"),
BaseInstanceName: pulumi.String("a3-dws"),
Zone: pulumi.String("us-central1-a"),
Versions: compute.InstanceGroupManagerVersionArray{
&compute.InstanceGroupManagerVersionArgs{
InstanceTemplate: a3Dws.SelfLink,
},
},
InstanceLifecyclePolicy: &compute.InstanceGroupManagerInstanceLifecyclePolicyArgs{
DefaultActionOnFailure: pulumi.String("DO_NOTHING"),
},
WaitForInstances: pulumi.Bool(false),
})
if err != nil {
return err
}
_, err = compute.NewResizeRequest(ctx, "a3_resize_request", &compute.ResizeRequestArgs{
Name: pulumi.String("a3-dws"),
InstanceGroupManager: a3DwsInstanceGroupManager.Name,
Zone: pulumi.String("us-central1-a"),
Description: pulumi.String("Test resize request resource"),
ResizeBy: pulumi.Int(2),
RequestedRunDuration: &compute.ResizeRequestRequestedRunDurationArgs{
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 a3DwsInstanceGroupManager = new Gcp.Compute.InstanceGroupManager("a3_dws", new()
{
Name = "a3-dws",
BaseInstanceName = "a3-dws",
Zone = "us-central1-a",
Versions = new[]
{
new Gcp.Compute.Inputs.InstanceGroupManagerVersionArgs
{
InstanceTemplate = a3Dws.SelfLink,
},
},
InstanceLifecyclePolicy = new Gcp.Compute.Inputs.InstanceGroupManagerInstanceLifecyclePolicyArgs
{
DefaultActionOnFailure = "DO_NOTHING",
},
WaitForInstances = false,
});
var a3ResizeRequest = new Gcp.Compute.ResizeRequest("a3_resize_request", new()
{
Name = "a3-dws",
InstanceGroupManager = a3DwsInstanceGroupManager.Name,
Zone = "us-central1-a",
Description = "Test resize request resource",
ResizeBy = 2,
RequestedRunDuration = new Gcp.Compute.Inputs.ResizeRequestRequestedRunDurationArgs
{
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.InstanceGroupManager;
import com.pulumi.gcp.compute.InstanceGroupManagerArgs;
import com.pulumi.gcp.compute.inputs.InstanceGroupManagerVersionArgs;
import com.pulumi.gcp.compute.inputs.InstanceGroupManagerInstanceLifecyclePolicyArgs;
import com.pulumi.gcp.compute.ResizeRequest;
import com.pulumi.gcp.compute.ResizeRequestArgs;
import com.pulumi.gcp.compute.inputs.ResizeRequestRequestedRunDurationArgs;
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 a3DwsInstanceGroupManager = new InstanceGroupManager("a3DwsInstanceGroupManager", InstanceGroupManagerArgs.builder()
.name("a3-dws")
.baseInstanceName("a3-dws")
.zone("us-central1-a")
.versions(InstanceGroupManagerVersionArgs.builder()
.instanceTemplate(a3Dws.selfLink())
.build())
.instanceLifecyclePolicy(InstanceGroupManagerInstanceLifecyclePolicyArgs.builder()
.defaultActionOnFailure("DO_NOTHING")
.build())
.waitForInstances(false)
.build());
var a3ResizeRequest = new ResizeRequest("a3ResizeRequest", ResizeRequestArgs.builder()
.name("a3-dws")
.instanceGroupManager(a3DwsInstanceGroupManager.name())
.zone("us-central1-a")
.description("Test resize request resource")
.resizeBy(2)
.requestedRunDuration(ResizeRequestRequestedRunDurationArgs.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
a3DwsInstanceGroupManager:
type: gcp:compute:InstanceGroupManager
name: a3_dws
properties:
name: a3-dws
baseInstanceName: a3-dws
zone: us-central1-a
versions:
- instanceTemplate: ${a3Dws.selfLink}
instanceLifecyclePolicy:
defaultActionOnFailure: DO_NOTHING
waitForInstances: false
a3ResizeRequest:
type: gcp:compute:ResizeRequest
name: a3_resize_request
properties:
name: a3-dws
instanceGroupManager: ${a3DwsInstanceGroupManager.name}
zone: us-central1-a
description: Test resize request resource
resizeBy: 2
requestedRunDuration:
seconds: 14400
nanos: 0
Create ResizeRequest Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResizeRequest(name: string, args: ResizeRequestArgs, opts?: CustomResourceOptions);
@overload
def ResizeRequest(resource_name: str,
args: ResizeRequestArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResizeRequest(resource_name: str,
opts: Optional[ResourceOptions] = None,
instance_group_manager: Optional[str] = None,
resize_by: Optional[int] = None,
zone: Optional[str] = None,
description: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None,
requested_run_duration: Optional[ResizeRequestRequestedRunDurationArgs] = None)
func NewResizeRequest(ctx *Context, name string, args ResizeRequestArgs, opts ...ResourceOption) (*ResizeRequest, error)
public ResizeRequest(string name, ResizeRequestArgs args, CustomResourceOptions? opts = null)
public ResizeRequest(String name, ResizeRequestArgs args)
public ResizeRequest(String name, ResizeRequestArgs args, CustomResourceOptions options)
type: gcp:compute:ResizeRequest
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 ResizeRequestArgs
- 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 ResizeRequestArgs
- 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 ResizeRequestArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResizeRequestArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResizeRequestArgs
- 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 resizeRequestResource = new Gcp.Compute.ResizeRequest("resizeRequestResource", new()
{
InstanceGroupManager = "string",
ResizeBy = 0,
Zone = "string",
Description = "string",
Name = "string",
Project = "string",
RequestedRunDuration = new Gcp.Compute.Inputs.ResizeRequestRequestedRunDurationArgs
{
Seconds = "string",
Nanos = 0,
},
});
example, err := compute.NewResizeRequest(ctx, "resizeRequestResource", &compute.ResizeRequestArgs{
InstanceGroupManager: pulumi.String("string"),
ResizeBy: pulumi.Int(0),
Zone: pulumi.String("string"),
Description: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
RequestedRunDuration: &compute.ResizeRequestRequestedRunDurationArgs{
Seconds: pulumi.String("string"),
Nanos: pulumi.Int(0),
},
})
var resizeRequestResource = new ResizeRequest("resizeRequestResource", ResizeRequestArgs.builder()
.instanceGroupManager("string")
.resizeBy(0)
.zone("string")
.description("string")
.name("string")
.project("string")
.requestedRunDuration(ResizeRequestRequestedRunDurationArgs.builder()
.seconds("string")
.nanos(0)
.build())
.build());
resize_request_resource = gcp.compute.ResizeRequest("resizeRequestResource",
instance_group_manager="string",
resize_by=0,
zone="string",
description="string",
name="string",
project="string",
requested_run_duration={
"seconds": "string",
"nanos": 0,
})
const resizeRequestResource = new gcp.compute.ResizeRequest("resizeRequestResource", {
instanceGroupManager: "string",
resizeBy: 0,
zone: "string",
description: "string",
name: "string",
project: "string",
requestedRunDuration: {
seconds: "string",
nanos: 0,
},
});
type: gcp:compute:ResizeRequest
properties:
description: string
instanceGroupManager: string
name: string
project: string
requestedRunDuration:
nanos: 0
seconds: string
resizeBy: 0
zone: string
ResizeRequest 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 ResizeRequest resource accepts the following input properties:
- Instance
Group stringManager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- Zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
- Instance
Group stringManager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- Zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 ResizeDuration Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
- instance
Group StringManager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- zone String
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
- instance
Group stringManager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
- instance_
group_ strmanager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- zone str
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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_ Resizeduration Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. Structure is documented below.
- instance
Group StringManager - The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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.
- zone String
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 instance will be deleted. Structure is documented below.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResizeRequest 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
- [Output only] Current state of the request.
- Statuses
List<Resize
Request Status> - [Output only] 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
- [Output only] Current state of the request.
- Statuses
[]Resize
Request Status - [Output only] 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
- [Output only] Current state of the request.
- statuses
List<Resize
Request Status> - [Output only] 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
- [Output only] Current state of the request.
- statuses
Resize
Request Status[] - [Output only] 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
- [Output only] Current state of the request.
- statuses
Sequence[Resize
Request Status] - [Output only] 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
- [Output only] Current state of the request.
- statuses List<Property Map>
- [Output only] Status of the request. Structure is documented below.
Look up Existing ResizeRequest Resource
Get an existing ResizeRequest 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?: ResizeRequestState, opts?: CustomResourceOptions): ResizeRequest
@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,
requested_run_duration: Optional[ResizeRequestRequestedRunDurationArgs] = None,
resize_by: Optional[int] = None,
state: Optional[str] = None,
statuses: Optional[Sequence[ResizeRequestStatusArgs]] = None,
zone: Optional[str] = None) -> ResizeRequest
func GetResizeRequest(ctx *Context, name string, id IDInput, state *ResizeRequestState, opts ...ResourceOption) (*ResizeRequest, error)
public static ResizeRequest Get(string name, Input<string> id, ResizeRequestState? state, CustomResourceOptions? opts = null)
public static ResizeRequest get(String name, Output<String> id, ResizeRequestState 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance 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
- [Output only] Current state of the request.
- Statuses
List<Resize
Request Status> - [Output only] Status of the request. Structure is documented below.
- Zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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 ResizeDuration Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instance 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
- [Output only] Current state of the request.
- Statuses
[]Resize
Request Status Args - [Output only] Status of the request. Structure is documented below.
- Zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance 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
- [Output only] Current state of the request.
- statuses
List<Resize
Request Status> - [Output only] Status of the request. Structure is documented below.
- zone String
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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 ResizeDuration Request Requested Run Duration - Requested run duration for instances that will be created by this request. At the end of the run duration instance 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
- [Output only] Current state of the request.
- statuses
Resize
Request Status[] - [Output only] Status of the request. Structure is documented below.
- zone string
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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_ Resizeduration Request Requested Run Duration Args - Requested run duration for instances that will be created by this request. At the end of the run duration instance 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
- [Output only] Current state of the request.
- statuses
Sequence[Resize
Request Status Args] - [Output only] Status of the request. Structure is documented below.
- zone str
- Name of the compute zone scoping this request. Name should conform to RFC1035.
- 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 name of the managed instance group. The name should conform to RFC1035 or be a resource ID.
Authorization requires the following IAM permission on the specified resource instanceGroupManager:
*compute.instanceGroupManagers.update
- 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 instance 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
- [Output only] Current state of the request.
- statuses List<Property Map>
- [Output only] Status of the request. Structure is documented below.
- zone String
- Name of the compute zone scoping this request. Name should conform to RFC1035.
Supporting Types
ResizeRequestRequestedRunDuration, ResizeRequestRequestedRunDurationArgs
- Seconds string
- Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years
- 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.
ResizeRequestStatus, ResizeRequestStatusArgs
- Errors
List<Resize
Request Status Error> - (Output) [Output only] 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<ResizeRequest Status Last Attempt> - (Output) [Output only] 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
[]Resize
Request Status Error - (Output) [Output only] 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 []ResizeRequest Status Last Attempt - (Output) [Output only] 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<Resize
Request Status Error> - (Output) [Output only] 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<ResizeRequest Status Last Attempt> - (Output) [Output only] 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
Resize
Request Status Error[] - (Output) [Output only] 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 ResizeRequest Status Last Attempt[] - (Output) [Output only] 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[Resize
Request Status Error] - (Output) [Output only] 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[ResizeRequest Status Last Attempt] - (Output) [Output only] 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) [Output only] 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) [Output only] 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.
ResizeRequestStatusError, ResizeRequestStatusErrorArgs
- Errors
List<Resize
Request Status Error Error> - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- Errors
[]Resize
Request Status Error Error - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
List<Resize
Request Status Error Error> - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
Resize
Request Status Error Error[] - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
Sequence[Resize
Request Status Error Error] - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors List<Property Map>
- (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
ResizeRequestStatusErrorError, ResizeRequestStatusErrorErrorArgs
- Code string
- (Output) [Output Only] The error type identifier for this error.
- Error
Details List<ResizeRequest Status Error Error Error Detail> - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- Error
Details []ResizeRequest Status Error Error Error Detail - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details List<ResizeRequest Status Error Error Error Detail> - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details ResizeRequest Status Error Error Error Detail[] - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error_
details Sequence[ResizeRequest Status Error Error Error Detail] - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details List<Property Map> - (Output) [Output Only] An optional list 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) Output Only] 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.
ResizeRequestStatusErrorErrorErrorDetail, ResizeRequestStatusErrorErrorErrorDetailArgs
- Error
Infos List<ResizeRequest Status Error Error Error Detail Error Info> - (Output) [Output Only] Structure is documented below.
- Helps
List<Resize
Request Status Error Error Error Detail Help> - (Output) [Output Only] Structure is documented below.
- Localized
Messages List<ResizeRequest Status Error Error Error Detail Localized Message> - (Output) [Output Only] Structure is documented below.
- Quota
Infos List<ResizeRequest Status Error Error Error Detail Quota Info> - (Output) [Output Only] Structure is documented below.
- Error
Infos []ResizeRequest Status Error Error Error Detail Error Info - (Output) [Output Only] Structure is documented below.
- Helps
[]Resize
Request Status Error Error Error Detail Help - (Output) [Output Only] Structure is documented below.
- Localized
Messages []ResizeRequest Status Error Error Error Detail Localized Message - (Output) [Output Only] Structure is documented below.
- Quota
Infos []ResizeRequest Status Error Error Error Detail Quota Info - (Output) [Output Only] Structure is documented below.
- error
Infos List<ResizeRequest Status Error Error Error Detail Error Info> - (Output) [Output Only] Structure is documented below.
- helps
List<Resize
Request Status Error Error Error Detail Help> - (Output) [Output Only] Structure is documented below.
- localized
Messages List<ResizeRequest Status Error Error Error Detail Localized Message> - (Output) [Output Only] Structure is documented below.
- quota
Infos List<ResizeRequest Status Error Error Error Detail Quota Info> - (Output) [Output Only] Structure is documented below.
- error
Infos ResizeRequest Status Error Error Error Detail Error Info[] - (Output) [Output Only] Structure is documented below.
- helps
Resize
Request Status Error Error Error Detail Help[] - (Output) [Output Only] Structure is documented below.
- localized
Messages ResizeRequest Status Error Error Error Detail Localized Message[] - (Output) [Output Only] Structure is documented below.
- quota
Infos ResizeRequest Status Error Error Error Detail Quota Info[] - (Output) [Output Only] Structure is documented below.
- error_
infos Sequence[ResizeRequest Status Error Error Error Detail Error Info] - (Output) [Output Only] Structure is documented below.
- helps
Sequence[Resize
Request Status Error Error Error Detail Help] - (Output) [Output Only] Structure is documented below.
- localized_
messages Sequence[ResizeRequest Status Error Error Error Detail Localized Message] - (Output) [Output Only] Structure is documented below.
- quota_
infos Sequence[ResizeRequest Status Error Error Error Detail Quota Info] - (Output) [Output Only] Structure is documented below.
- error
Infos List<Property Map> - (Output) [Output Only] Structure is documented below.
- helps List<Property Map>
- (Output) [Output Only] Structure is documented below.
- localized
Messages List<Property Map> - (Output) [Output Only] Structure is documented below.
- quota
Infos List<Property Map> - (Output) [Output Only] Structure is documented below.
ResizeRequestStatusErrorErrorErrorDetailErrorInfo, ResizeRequestStatusErrorErrorErrorDetailErrorInfoArgs
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- Metadatas Dictionary<string, string>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- Metadatas map[string]string
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Map<String,String>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas {[key: string]: string}
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Mapping[str, str]
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Map<String>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
ResizeRequestStatusErrorErrorErrorDetailHelp, ResizeRequestStatusErrorErrorErrorDetailHelpArgs
- Links
List<Resize
Request Status Error Error Error Detail Help Link> - (Output) [Output Only] Structure is documented below.
- Links
[]Resize
Request Status Error Error Error Detail Help Link - (Output) [Output Only] Structure is documented below.
- links
List<Resize
Request Status Error Error Error Detail Help Link> - (Output) [Output Only] Structure is documented below.
- links
Resize
Request Status Error Error Error Detail Help Link[] - (Output) [Output Only] Structure is documented below.
- links
Sequence[Resize
Request Status Error Error Error Detail Help Link] - (Output) [Output Only] Structure is documented below.
- links List<Property Map>
- (Output) [Output Only] Structure is documented below.
ResizeRequestStatusErrorErrorErrorDetailHelpLink, ResizeRequestStatusErrorErrorErrorDetailHelpLinkArgs
- 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.
ResizeRequestStatusErrorErrorErrorDetailLocalizedMessage, ResizeRequestStatusErrorErrorErrorDetailLocalizedMessageArgs
ResizeRequestStatusErrorErrorErrorDetailQuotaInfo, ResizeRequestStatusErrorErrorErrorDetailQuotaInfoArgs
- 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.
ResizeRequestStatusLastAttempt, ResizeRequestStatusLastAttemptArgs
- Errors
List<Resize
Request Status Last Attempt Error> - (Output) [Output only] 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
[]Resize
Request Status Last Attempt Error - (Output) [Output only] 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<Resize
Request Status Last Attempt Error> - (Output) [Output only] 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
Resize
Request Status Last Attempt Error[] - (Output) [Output only] 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[Resize
Request Status Last Attempt Error] - (Output) [Output only] 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) [Output only] 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.
ResizeRequestStatusLastAttemptError, ResizeRequestStatusLastAttemptErrorArgs
- Errors
List<Resize
Request Status Last Attempt Error Error> - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- Errors
[]Resize
Request Status Last Attempt Error Error - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
List<Resize
Request Status Last Attempt Error Error> - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
Resize
Request Status Last Attempt Error Error[] - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors
Sequence[Resize
Request Status Last Attempt Error Error] - (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
- errors List<Property Map>
- (Output) [Output Only] The array of errors encountered while processing this operation. Structure is documented below.
ResizeRequestStatusLastAttemptErrorError, ResizeRequestStatusLastAttemptErrorErrorArgs
- Code string
- (Output) [Output Only] The error type identifier for this error.
- Error
Details List<ResizeRequest Status Last Attempt Error Error Error Detail> - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- Error
Details []ResizeRequest Status Last Attempt Error Error Error Detail - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details List<ResizeRequest Status Last Attempt Error Error Error Detail> - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details ResizeRequest Status Last Attempt Error Error Error Detail[] - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error_
details Sequence[ResizeRequest Status Last Attempt Error Error Error Detail] - (Output) [Output Only] An optional list 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) Output Only] 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) [Output Only] The error type identifier for this error.
- error
Details List<Property Map> - (Output) [Output Only] An optional list 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) Output Only] 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.
ResizeRequestStatusLastAttemptErrorErrorErrorDetail, ResizeRequestStatusLastAttemptErrorErrorErrorDetailArgs
- Error
Infos List<ResizeRequest Status Last Attempt Error Error Error Detail Error Info> - (Output) [Output Only] Structure is documented below.
- Helps
List<Resize
Request Status Last Attempt Error Error Error Detail Help> - (Output) [Output Only] Structure is documented below.
- Localized
Messages List<ResizeRequest Status Last Attempt Error Error Error Detail Localized Message> - (Output) [Output Only] Structure is documented below.
- Quota
Infos List<ResizeRequest Status Last Attempt Error Error Error Detail Quota Info> - (Output) [Output Only] Structure is documented below.
- Error
Infos []ResizeRequest Status Last Attempt Error Error Error Detail Error Info - (Output) [Output Only] Structure is documented below.
- Helps
[]Resize
Request Status Last Attempt Error Error Error Detail Help - (Output) [Output Only] Structure is documented below.
- Localized
Messages []ResizeRequest Status Last Attempt Error Error Error Detail Localized Message - (Output) [Output Only] Structure is documented below.
- Quota
Infos []ResizeRequest Status Last Attempt Error Error Error Detail Quota Info - (Output) [Output Only] Structure is documented below.
- error
Infos List<ResizeRequest Status Last Attempt Error Error Error Detail Error Info> - (Output) [Output Only] Structure is documented below.
- helps
List<Resize
Request Status Last Attempt Error Error Error Detail Help> - (Output) [Output Only] Structure is documented below.
- localized
Messages List<ResizeRequest Status Last Attempt Error Error Error Detail Localized Message> - (Output) [Output Only] Structure is documented below.
- quota
Infos List<ResizeRequest Status Last Attempt Error Error Error Detail Quota Info> - (Output) [Output Only] Structure is documented below.
- error
Infos ResizeRequest Status Last Attempt Error Error Error Detail Error Info[] - (Output) [Output Only] Structure is documented below.
- helps
Resize
Request Status Last Attempt Error Error Error Detail Help[] - (Output) [Output Only] Structure is documented below.
- localized
Messages ResizeRequest Status Last Attempt Error Error Error Detail Localized Message[] - (Output) [Output Only] Structure is documented below.
- quota
Infos ResizeRequest Status Last Attempt Error Error Error Detail Quota Info[] - (Output) [Output Only] Structure is documented below.
- error_
infos Sequence[ResizeRequest Status Last Attempt Error Error Error Detail Error Info] - (Output) [Output Only] Structure is documented below.
- helps
Sequence[Resize
Request Status Last Attempt Error Error Error Detail Help] - (Output) [Output Only] Structure is documented below.
- localized_
messages Sequence[ResizeRequest Status Last Attempt Error Error Error Detail Localized Message] - (Output) [Output Only] Structure is documented below.
- quota_
infos Sequence[ResizeRequest Status Last Attempt Error Error Error Detail Quota Info] - (Output) [Output Only] Structure is documented below.
- error
Infos List<Property Map> - (Output) [Output Only] Structure is documented below.
- helps List<Property Map>
- (Output) [Output Only] Structure is documented below.
- localized
Messages List<Property Map> - (Output) [Output Only] Structure is documented below.
- quota
Infos List<Property Map> - (Output) [Output Only] Structure is documented below.
ResizeRequestStatusLastAttemptErrorErrorErrorDetailErrorInfo, ResizeRequestStatusLastAttemptErrorErrorErrorDetailErrorInfoArgs
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- Metadatas Dictionary<string, string>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- Metadatas map[string]string
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Map<String,String>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas {[key: string]: string}
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Mapping[str, str]
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
- 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". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com".
- metadatas Map<String>
- (Output) Additional structured details about this error. Keys must match /[a-z][a-zA-Z0-9-_]+/ but should ideally be lowerCamelCase. Also they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request.
- 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. This should be at most 63 characters and match a regular expression of [A-Z][A-Z0-9_]+[A-Z0-9], which represents UPPER_SNAKE_CASE.
ResizeRequestStatusLastAttemptErrorErrorErrorDetailHelp, ResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpArgs
- Links
List<Resize
Request Status Last Attempt Error Error Error Detail Help Link> - (Output) [Output Only] Structure is documented below.
- Links
[]Resize
Request Status Last Attempt Error Error Error Detail Help Link - (Output) [Output Only] Structure is documented below.
- links
List<Resize
Request Status Last Attempt Error Error Error Detail Help Link> - (Output) [Output Only] Structure is documented below.
- links
Resize
Request Status Last Attempt Error Error Error Detail Help Link[] - (Output) [Output Only] Structure is documented below.
- links
Sequence[Resize
Request Status Last Attempt Error Error Error Detail Help Link] - (Output) [Output Only] Structure is documented below.
- links List<Property Map>
- (Output) [Output Only] Structure is documented below.
ResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpLink, ResizeRequestStatusLastAttemptErrorErrorErrorDetailHelpLinkArgs
- 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.
ResizeRequestStatusLastAttemptErrorErrorErrorDetailLocalizedMessage, ResizeRequestStatusLastAttemptErrorErrorErrorDetailLocalizedMessageArgs
ResizeRequestStatusLastAttemptErrorErrorErrorDetailQuotaInfo, ResizeRequestStatusLastAttemptErrorErrorErrorDetailQuotaInfoArgs
- 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
ResizeRequest can be imported using any of these accepted formats:
projects/{{project}}/zones/{{zone}}/instanceGroupManagers/{{instance_group_manager}}/resizeRequests/{{name}}
{{project}}/{{zone}}/{{instance_group_manager}}/{{name}}
{{zone}}/{{instance_group_manager}}/{{name}}
{{instance_group_manager}}/{{name}}
When using the pulumi import
command, ResizeRequest can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/resizeRequest:ResizeRequest default projects/{{project}}/zones/{{zone}}/instanceGroupManagers/{{instance_group_manager}}/resizeRequests/{{name}}
$ pulumi import gcp:compute/resizeRequest:ResizeRequest default {{project}}/{{zone}}/{{instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/resizeRequest:ResizeRequest default {{zone}}/{{instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/resizeRequest:ResizeRequest 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.