Cluster Director v1beta API - Class ManagedInstanceGroup (1.0.0-beta02)

public sealed class ManagedInstanceGroup : IMessage<ManagedInstanceGroup>, IEquatable<ManagedInstanceGroup>, IDeepCloneable<ManagedInstanceGroup>, IBufferMessage, IMessage

Reference documentation and code samples for the Cluster Director v1beta API class ManagedInstanceGroup.

A managed instance group based on a compute resource.

Inheritance

object > ManagedInstanceGroup

Namespace

Google.Cloud.HypercomputeCluster.V1Beta

Assembly

Google.Cloud.HypercomputeCluster.V1Beta.dll

Constructors

ManagedInstanceGroup()

public ManagedInstanceGroup()

ManagedInstanceGroup(ManagedInstanceGroup)

public ManagedInstanceGroup(ManagedInstanceGroup other)
Parameter
Name Description
other ManagedInstanceGroup

Properties

AdditionalDisks

public MapField<string, Disk> AdditionalDisks { get; }

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.

Property Value
Type Description
MapFieldstringDisk

BootDisk

public BootDisk BootDisk { get; set; }

Optional. Boot disk for the managed instance group.

Property Value
Type Description
BootDisk

ComputeId

public string ComputeId { get; set; }

Required. ID of the compute resource used to create this managed instance group.

Property Value
Type Description
string

EnableOsLogin

public bool EnableOsLogin { get; set; }

Optional. Whether OS Login should be enabled on instances in this managed instance group.

Property Value
Type Description
bool

EnablePublicIps

public bool EnablePublicIps { get; set; }

Optional. Whether to enable public IPs for the instances in the managed instance group.

Property Value
Type Description
bool

InstanceGroupManager

public string InstanceGroupManager { get; set; }

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}

Property Value
Type Description
string

InstanceGroupManagerAsInstanceGroupManagerName

public InstanceGroupManagerName InstanceGroupManagerAsInstanceGroupManagerName { get; set; }

InstanceGroupManagerName-typed view over the InstanceGroupManager resource name property.

Property Value
Type Description
InstanceGroupManagerName

InstanceTemplate

public string InstanceTemplate { get; set; }

Output only. Instance template used to create instances in this group.

Property Value
Type Description
string

InstanceTemplateAsInstanceTemplateName

public InstanceTemplateName InstanceTemplateAsInstanceTemplateName { get; set; }

InstanceTemplateName-typed view over the InstanceTemplate resource name property.

Property Value
Type Description
InstanceTemplateName

Labels

public MapField<string, string> Labels { get; }

Optional. Labels that should be applied to each VM instance in the managed instance group.

Property Value
Type Description
MapFieldstringstring

Metadata

public MapField<string, string> Metadata { get; }

Optional. Custom metadata key-value pairs to be applied to each VM instance in the managed instance group.

Property Value
Type Description
MapFieldstringstring

ResourcePolicyConfig

public ResourcePolicyConfig ResourcePolicyConfig { get; set; }

Optional. Resource policy configuration for this managed instance group.

Property Value
Type Description
ResourcePolicyConfig

ServiceAccount

public ServiceAccount ServiceAccount { get; set; }

Required. Immutable. Service account to be used by the instances in the managed instance group.

Property Value
Type Description
ServiceAccount

StartupScript

public string StartupScript { get; set; }

Optional. Startup script to be run on each VM instance in the nodeset.

Property Value
Type Description
string

StartupScriptTimeout

public Duration StartupScriptTimeout { get; set; }

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.

Property Value
Type Description
Duration

StorageConfigs

public RepeatedField<StorageConfig> StorageConfigs { get; }

Optional. How [storage resources][google.cloud.hypercomputecluster.v1beta.StorageResource] should be mounted on each instance in this managed instance group.

Property Value
Type Description
RepeatedFieldStorageConfig

TargetSize

public long TargetSize { get; set; }

Optional. Target number of running instances for this managed instance group.

Property Value
Type Description
long