ManagedInstanceGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)A managed instance group based on a compute resource.
Attributes |
|
|---|---|
| Name | Description |
instance_group_manager |
str
Output only. Name of the managed instance group, in the format projects/{project}/zones/{zone}/instanceGroupManagers/{instance_group_manager}.
or
projects/{project}/regions/{region}/instanceGroupManagers/{instance_group_manager}
|
compute_id |
str
Required. ID of the compute resource used to create this managed instance group. |
target_size |
int
Optional. Target number of running instances for this managed instance group. |
storage_configs |
MutableSequence[google.cloud.hypercomputecluster_v1beta.types.StorageConfig]
Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each instance in this managed instance group. |
instance_template |
str
Output only. Instance template used to create instances in this group. |
resource_policy_config |
google.cloud.hypercomputecluster_v1beta.types.ResourcePolicyConfig
Optional. Resource policy configuration for this managed instance group. |
boot_disk |
google.cloud.hypercomputecluster_v1beta.types.BootDisk
Optional. Boot disk for the managed instance group. |
additional_disks |
MutableMapping[str, google.cloud.hypercomputecluster_v1beta.types.Disk]
Optional. Additional disks for the managed instance group. Each VM of the MIG will have its own clone of each disk described in the additional_disks map. The disks themselves live as long as the MIG and if a VM is replaced by a new VM of the same name then the replacement VM attaches to the same disks as the VM it replaced. Each disk has a custom device name matching the key in the map. |
startup_script |
str
Optional. Startup script to be run on each VM instance in the nodeset. |
enable_public_ips |
bool
Optional. Whether to enable public IPs for the instances in the managed instance group. |
enable_os_login |
bool
Optional. Whether `OS Login |
startup_script_timeout |
google.protobuf.duration_pb2.Duration
Optional. The maximum time to wait for the startup script to complete. If the script exceeds this duration, the instance setup will be considered failed. This value must be positive. If this value is unset, a default timeout of 5 minutes (300 seconds) will be used by the system. |
metadata |
MutableMapping[str, str]
Optional. Custom metadata __
key-value pairs to be applied to each VM instance in the
managed instance group.
|
service_account |
google.cloud.hypercomputecluster_v1beta.types.ServiceAccount
Required. Immutable. Service account to be used by the instances in the managed instance group. |
labels |
MutableMapping[str, str]
Optional. Labels __
that should be applied to each VM instance in the managed
instance group.
|
Classes
AdditionalDisksEntry
AdditionalDisksEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
MetadataEntry
MetadataEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |