public sealed class InstanceGroupManagerResizeRequest : IMessage<InstanceGroupManagerResizeRequest>, IEquatable<InstanceGroupManagerResizeRequest>, IDeepCloneable<InstanceGroupManagerResizeRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API 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
IMessageInstanceGroupManagerResizeRequest, IEquatableInstanceGroupManagerResizeRequest, IDeepCloneableInstanceGroupManagerResizeRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
InstanceGroupManagerResizeRequest()
public InstanceGroupManagerResizeRequest()
InstanceGroupManagerResizeRequest(InstanceGroupManagerResizeRequest)
public InstanceGroupManagerResizeRequest(InstanceGroupManagerResizeRequest other)
Parameter | |
---|---|
Name | Description |
other |
InstanceGroupManagerResizeRequest |
Properties
CreationTimestamp
public string CreationTimestamp { get; set; }
[Output Only] The creation timestamp for this resize request in RFC3339 text format.
Property Value | |
---|---|
Type | Description |
string |
Description
public string Description { get; set; }
An optional description of this resource.
Property Value | |
---|---|
Type | Description |
string |
HasCreationTimestamp
public bool HasCreationTimestamp { get; }
Gets whether the "creation_timestamp" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasDescription
public bool HasDescription { get; }
Gets whether the "description" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasId
public bool HasId { get; }
Gets whether the "id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasKind
public bool HasKind { get; }
Gets whether the "kind" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasResizeBy
public bool HasResizeBy { get; }
Gets whether the "resize_by" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSelfLink
public bool HasSelfLink { get; }
Gets whether the "self_link" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSelfLinkWithId
public bool HasSelfLinkWithId { get; }
Gets whether the "self_link_with_id" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasState
public bool HasState { get; }
Gets whether the "state" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasZone
public bool HasZone { get; }
Gets whether the "zone" field is set
Property Value | |
---|---|
Type | Description |
bool |
Id
public ulong Id { get; set; }
[Output Only] A unique identifier for this resource type. The server generates this identifier.
Property Value | |
---|---|
Type | Description |
ulong |
Kind
public string Kind { get; set; }
[Output Only] The resource type, which is always compute#instanceGroupManagerResizeRequest for resize requests.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The name of this resize request. The name must be 1-63 characters long, and comply with RFC1035.
Property Value | |
---|---|
Type | Description |
string |
RequestedRunDuration
public Duration RequestedRunDuration { get; set; }
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted.
Property Value | |
---|---|
Type | Description |
Duration |
ResizeBy
public int ResizeBy { get; set; }
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'.
Property Value | |
---|---|
Type | Description |
int |
SelfLink
public string SelfLink { get; set; }
[Output Only] The URL for this resize request. The server defines this URL.
Property Value | |
---|---|
Type | Description |
string |
SelfLinkWithId
public string SelfLinkWithId { get; set; }
[Output Only] Server-defined URL for this resource with the resource id.
Property Value | |
---|---|
Type | Description |
string |
State
public string State { get; set; }
[Output only] Current state of the request. Check the State enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |
Status
public InstanceGroupManagerResizeRequestStatus Status { get; set; }
[Output only] Status of the request.
Property Value | |
---|---|
Type | Description |
InstanceGroupManagerResizeRequestStatus |
Zone
public string Zone { get; set; }
[Output Only] The URL of a zone where the resize request is located. Populated only for zonal resize requests.
Property Value | |
---|---|
Type | Description |
string |