InstanceGroupManager

class InstanceGroupManager : KotlinCustomResource

Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.

Properties

Link copied to clipboard

Specifies configuration that overrides the instance template configuration for the group.

Link copied to clipboard

The autohealing policy for this managed instance group. You can specify only one value.

Link copied to clipboard

The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.

Link copied to clipboard

The creation timestamp for this managed instance group in RFC3339 text format.

Link copied to clipboard

The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.

Link copied to clipboard
val description: Output<String>

An optional description of this resource.

Link copied to clipboard

Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.

Link copied to clipboard
val failoverAction: Output<String>

The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.

Link copied to clipboard
val fingerprint: Output<String>

Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.

Link copied to clipboard
val instanceGroup: Output<String>

The URL of the Instance Group resource.

Link copied to clipboard

The repair policy for this managed instance group.

Link copied to clipboard

The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.

Link copied to clipboard
val kind: Output<String>

The resource type, which is always compute#instanceGroupManager for managed instance groups.

Link copied to clipboard

Pagination behavior of the listManagedInstances API method for this managed instance group.

Link copied to clipboard
val name: Output<String>

The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.

Link copied to clipboard

Named ports configured for the Instance Groups complementary to this Instance Group Manager.

Link copied to clipboard
val project: Output<String>
Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

The URL of the region where the managed instance group resides (for regional resources).

Link copied to clipboard
val requestId: Output<String>?

An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

Link copied to clipboard
val selfLink: Output<String>

The URL for this managed instance group. The server defines this URL.

Link copied to clipboard
val selfLinkWithId: Output<String>

Server-defined URL for this resource with the resource id.

Link copied to clipboard
val serviceAccount: Output<String>

The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.

Link copied to clipboard

Standby policy for stopped and suspended instances.

Link copied to clipboard

Stateful configuration for this Instanced Group Manager

Link copied to clipboard

The status of this managed instance group.

Link copied to clipboard
val targetPools: Output<List<String>>

The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.

Link copied to clipboard
val targetSize: Output<Int>

The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.

Link copied to clipboard
val targetSizeUnit: Output<String>

The unit of measure for the target size.

Link copied to clipboard
val targetStoppedSize: Output<Int>

The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.

Link copied to clipboard

The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.

Link copied to clipboard

The update policy for this managed instance group.

Link copied to clipboard
val urn: Output<String>
Link copied to clipboard

Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.

Link copied to clipboard
val zone: Output<String>