InstanceGroupManagerResizeRequest(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)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.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
count |
int
This field is deprecated, please use resize_by instead. The count of instances to create as part of this resize request. This field is a member of oneof_ _count.
|
creation_timestamp |
str
Output only. The creation timestamp for this resize request inRFC3339 text format. This field is a member of oneof_ _creation_timestamp.
|
description |
str
An optional description of this resource. This field is a member of oneof_ _description.
|
id |
int
Output only. A unique identifier for this resource type. The server generates this identifier. This field is a member of oneof_ _id.
|
instances |
MutableSequence[google.cloud.compute_v1beta.types.PerInstanceConfig]
The names of instances to be created by this resize request. The number of names specified determines the number of instances to create. The group's target size will be increased by this number. This field cannot be used together with 'resize_by'. |
kind |
str
Output only. The resource type, which is alwayscompute#instanceGroupManagerResizeRequest for resize requests. This field is a member of oneof_ _kind.
|
name |
str
The name of this resize request. The name must be 1-63 characters long, and comply withRFC1035. This field is a member of oneof_ _name.
|
region |
str
Output only. The URL of a region where the resize request is located. Populated only for regional resize requests. This field is a member of oneof_ _region.
|
requested_run_duration |
google.cloud.compute_v1beta.types.Duration
Requested run duration for instances that will be created by this request. At the end of the run duration instance will be deleted. This field is a member of oneof_ _requested_run_duration.
|
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. This field cannot be used together with 'instances'. This field is a member of oneof_ _resize_by.
|
self_link |
str
Output only. The URL for this resize request. The server defines this URL. This field is a member of oneof_ _self_link.
|
self_link_with_id |
str
Output only. Server-defined URL for this resource with the resource id. This field is a member of oneof_ _self_link_with_id.
|
state |
str
Output only. Current state of the request. Check the State enum for the list of possible values. This field is a member of oneof_ _state.
|
status |
google.cloud.compute_v1beta.types.InstanceGroupManagerResizeRequestStatus
Output only. Status of the request. This field is a member of oneof_ _status.
|
zone |
str
Output only. The URL of a zone where the resize request is located. Populated only for zonal resize requests. This field is a member of oneof_ _zone.
|
Classes
State
State(value)Output only. Current state of the request.