Class InstanceGroupManagerResizeRequest
InstanceGroupManagerResizeRequest represents a request to create a number of VMs: either immediately or by queuing the request for the specified time. This resize request is nested under InstanceGroupManager and the VMs created by this request are added to the owning InstanceGroupManager.
Implements
Inherited Members
Namespace: Google.Apis.Compute.alpha.Data
Assembly: Google.Apis.Compute.alpha.dll
Syntax
public class InstanceGroupManagerResizeRequest : IDirectResponseSchema
Properties
Count
This field is deprecated, please use resize_by instead. The count of instances to create as part of this resize request.
Declaration
[JsonProperty("count")]
public virtual int? Count { get; set; }
Property Value
Type | Description |
---|---|
int? |
CreationTimestamp
[Output Only] The creation timestamp for this resize request in RFC3339 text format.
Declaration
[JsonProperty("creationTimestamp")]
public virtual string CreationTimestamp { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
An optional description of this resource.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
[Output Only] A unique identifier for this resource type. The server generates this identifier.
Declaration
[JsonProperty("id")]
public virtual ulong? Id { get; set; }
Property Value
Type | Description |
---|---|
ulong? |
Instances
The list of specifications of per-instance configs to be created. This field cannot be used together with 'resize_by'.
Declaration
[JsonProperty("instances")]
public virtual IList<PerInstanceConfig> Instances { get; set; }
Property Value
Type | Description |
---|---|
IList<PerInstanceConfig> |
Kind
[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
QueuingPolicy
This field is deprecated, ResizeRequests would not be provisioned immediately and would stay in the queue until explicitly cancelled. When set, defines queing parameters for the requested deferred capacity. When unset, the request starts provisioning immediately, or fails if immediate provisioning is not possible.
Declaration
[JsonProperty("queuingPolicy")]
public virtual QueuingPolicy QueuingPolicy { get; set; }
Property Value
Type | Description |
---|---|
QueuingPolicy |
Region
[Output Only] The URL of a region where the resize request is located. Populated only for regional resize requests.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestedRunDuration
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
Declaration
[JsonProperty("requestedRunDuration")]
public virtual Duration RequestedRunDuration { get; set; }
Property Value
Type | Description |
---|---|
Duration |
ResizeBy
The number of instances to be created by this resize request. The group's target size will be increased by this number. This field cannot be used together with 'instances'.
Declaration
[JsonProperty("resizeBy")]
public virtual int? ResizeBy { get; set; }
Property Value
Type | Description |
---|---|
int? |
SelfLink
[Output Only] The URL for this resize request. The server defines this URL.
Declaration
[JsonProperty("selfLink")]
public virtual string SelfLink { get; set; }
Property Value
Type | Description |
---|---|
string |
SelfLinkWithId
[Output Only] Server-defined URL for this resource with the resource id.
Declaration
[JsonProperty("selfLinkWithId")]
public virtual string SelfLinkWithId { get; set; }
Property Value
Type | Description |
---|---|
string |
State
[Output only] Current state of the request.
Declaration
[JsonProperty("state")]
public virtual string State { get; set; }
Property Value
Type | Description |
---|---|
string |
Status
[Output only] Status of the request.
Declaration
[JsonProperty("status")]
public virtual InstanceGroupManagerResizeRequestStatus Status { get; set; }
Property Value
Type | Description |
---|---|
InstanceGroupManagerResizeRequestStatus |
Zone
[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
Type | Description |
---|---|
string |