InstanceGroupManagerArgs constructor
- Input<
InstanceGroupManagerAllInstancesConfig?> ? allInstancesConfig, - Input<
InstanceGroupManagerAutoHealingPolicies?> ? autoHealingPolicies, - required Input<
String> baseInstanceName, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
InstanceGroupManagerInstanceLifecyclePolicy?> ? instanceLifecyclePolicy, - Input<
String?> ? listManagedInstancesResults, - Input<
String?> ? name, - Input<
List< ? namedPorts,InstanceGroupManagerNamedPort> ?> - Input<
InstanceGroupManagerParams?> ? params, - Input<
String?> ? project, - Input<
InstanceGroupManagerResourcePolicies?> ? resourcePolicies, - Input<
InstanceGroupManagerStandbyPolicy?> ? standbyPolicy, - Input<
List< ? statefulDisks,InstanceGroupManagerStatefulDisk> ?> - Input<
List< ? statefulExternalIps,InstanceGroupManagerStatefulExternalIp> ?> - Input<
List< ? statefulInternalIps,InstanceGroupManagerStatefulInternalIp> ?> - Input<
List< ? targetPools,String> ?> - Input<
int?> ? targetSize, - Input<
List< ? targetSizePolicies,InstanceGroupManagerTargetSizePolicy> ?> - Input<
int?> ? targetStoppedSize, - Input<
int?> ? targetSuspendedSize, - Input<
InstanceGroupManagerUpdatePolicy?> ? updatePolicy, - required Input<
List< versions,InstanceGroupManagerVersion> > - Input<
bool?> ? waitForInstances, - Input<
String?> ? waitForInstancesStatus, - Input<
String?> ? zone,
Creates a new InstanceGroupManagerArgs.
allInstancesConfig Properties to set on all instances in the group. After setting
autoHealingPolicies The autohealing policies for this managed instance
baseInstanceName The base instance name to use for
deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to "DELETE".
description An optional textual description of the instance
instanceLifecyclePolicy The instance lifecycle policy for this managed instance group.
listManagedInstancesResults Pagination behavior of the listManagedInstances API
name The name of the instance group manager. Must be 1-63
namedPorts The named port configuration. See the section below
params ) Input only additional params for instance group manager creation. Structure is documented below. For more information, see API.
project The ID of the project in which the resource belongs. If it
resourcePolicies Resource policies for this managed instance group. Structure is documented below.
standbyPolicy The standby policy for stopped and suspended instances. Structure is documented below. For more information, see the official documentation.
statefulDisks Disks created on the instances that will be preserved on instance delete, update, etc. Structure is documented below. For more information see the official documentation.
statefulExternalIps External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
statefulInternalIps Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name. Structure is documented below.
targetPools The full URL of all target pools to which new
targetSize The target number of running instances for this managed
targetSizePolicies The policy that specifies how the MIG creates its VMs to achieve the target size. Structure is documented below.
targetStoppedSize The target number of stopped instances for this managed instance group.
targetSuspendedSize The target number of suspended instances for this managed instance group.
updatePolicy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API.
versions Application versions managed by this instance group. Each
waitForInstances Whether to wait for all instances to be created/updated before
waitForInstancesStatus When used with waitForInstances it specifies the status to wait for.
zone The zone that instances in this group should be created
Implementation
const InstanceGroupManagerArgs({
this.allInstancesConfig,
this.autoHealingPolicies,
required this.baseInstanceName,
this.deletionPolicy,
this.description,
this.instanceLifecyclePolicy,
this.listManagedInstancesResults,
this.name,
this.namedPorts,
this.params,
this.project,
this.resourcePolicies,
this.standbyPolicy,
this.statefulDisks,
this.statefulExternalIps,
this.statefulInternalIps,
this.targetPools,
this.targetSize,
this.targetSizePolicies,
this.targetStoppedSize,
this.targetSuspendedSize,
this.updatePolicy,
required this.versions,
this.waitForInstances,
this.waitForInstancesStatus,
this.zone,
});