InstanceGroupManager
The Google Compute Engine Instance Group Manager API creates and manages pools of homogeneous Compute Engine virtual machine instances from a common instance template. For more information, see the official documentation and API
Note: Use gcp.compute.RegionInstanceGroupManager to create a regional (multi-zone) instance group manager.
Create a InstanceGroupManager Resource
new InstanceGroupManager(name: string, args: InstanceGroupManagerArgs, opts?: CustomResourceOptions);def InstanceGroupManager(resource_name, opts=None, auto_healing_policies=None, base_instance_name=None, description=None, name=None, named_ports=None, project=None, stateful_disks=None, target_pools=None, target_size=None, update_policy=None, versions=None, wait_for_instances=None, zone=None, __props__=None);func NewInstanceGroupManager(ctx *Context, name string, args InstanceGroupManagerArgs, opts ...ResourceOption) (*InstanceGroupManager, error)public InstanceGroupManager(string name, InstanceGroupManagerArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args InstanceGroupManagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args InstanceGroupManagerArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceGroupManagerArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
InstanceGroupManager Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The InstanceGroupManager resource accepts the following input properties:
- Base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- Versions
List<Instance
Group Manager Version Args> Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- Auto
Healing InstancePolicies Group Manager Auto Healing Policies Args The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- Description string
An optional textual description of the instance group manager.
- Name string
- Version name.
- Named
Ports List<InstanceGroup Manager Named Port Args> The named port configuration. See the section below for details on configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Stateful
Disks List<InstanceGroup Manager Stateful Disk Args> 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.
- Target
Pools List<string> The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- Target
Size int - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- Update
Policy InstanceGroup Manager Update Policy Args The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- Wait
For boolInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- Zone string
The zone that instances in this group should be created in.
- Base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- Versions
[]Instance
Group Manager Version Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- Auto
Healing InstancePolicies Group Manager Auto Healing Policies The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- Description string
An optional textual description of the instance group manager.
- Name string
- Version name.
- Named
Ports []InstanceGroup Manager Named Port The named port configuration. See the section below for details on configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Stateful
Disks []InstanceGroup Manager Stateful Disk 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.
- Target
Pools []string The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- Target
Size int - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- Update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- Wait
For boolInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- Zone string
The zone that instances in this group should be created in.
- base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- versions
Instance
Group Manager Version[] Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- auto
Healing InstancePolicies Group Manager Auto Healing Policies The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- description string
An optional textual description of the instance group manager.
- name string
- Version name.
- named
Ports InstanceGroup Manager Named Port[] The named port configuration. See the section below for details on configuration.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- stateful
Disks InstanceGroup Manager Stateful Disk[] 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.
- target
Pools string[] The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- target
Size number - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- wait
For booleanInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- zone string
The zone that instances in this group should be created in.
- base_
instance_ strname The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- versions
List[Instance
Group Manager Version] Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- auto_
healing_ Dict[Instancepolicies Group Manager Auto Healing Policies] The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- description str
An optional textual description of the instance group manager.
- name str
- Version name.
- named_
ports List[InstanceGroup Manager Named Port] The named port configuration. See the section below for details on configuration.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- stateful_
disks List[InstanceGroup Manager Stateful Disk] 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.
- target_
pools List[str] The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- target_
size float - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- update_
policy Dict[InstanceGroup Manager Update Policy] The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- wait_
for_ boolinstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- zone str
The zone that instances in this group should be created in.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceGroupManager resource produces the following output properties:
- Fingerprint string
The fingerprint of the instance group manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group string The full URL of the instance group created by the manager.
- Self
Link string The URL of the created resource.
- Fingerprint string
The fingerprint of the instance group manager.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group string The full URL of the instance group created by the manager.
- Self
Link string The URL of the created resource.
- fingerprint string
The fingerprint of the instance group manager.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Group string The full URL of the instance group created by the manager.
- self
Link string The URL of the created resource.
- fingerprint str
The fingerprint of the instance group manager.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
group str The full URL of the instance group created by the manager.
- self_
link str The URL of the created resource.
Look up an Existing InstanceGroupManager Resource
Get an existing InstanceGroupManager resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: InstanceGroupManagerState, opts?: CustomResourceOptions): InstanceGroupManagerstatic get(resource_name, id, opts=None, auto_healing_policies=None, base_instance_name=None, description=None, fingerprint=None, instance_group=None, name=None, named_ports=None, project=None, self_link=None, stateful_disks=None, target_pools=None, target_size=None, update_policy=None, versions=None, wait_for_instances=None, zone=None, __props__=None);func GetInstanceGroupManager(ctx *Context, name string, id IDInput, state *InstanceGroupManagerState, opts ...ResourceOption) (*InstanceGroupManager, error)public static InstanceGroupManager Get(string name, Input<string> id, InstanceGroupManagerState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Auto
Healing InstancePolicies Group Manager Auto Healing Policies Args The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- Base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- Description string
An optional textual description of the instance group manager.
- Fingerprint string
The fingerprint of the instance group manager.
- Instance
Group string The full URL of the instance group created by the manager.
- Name string
- Version name.
- Named
Ports List<InstanceGroup Manager Named Port Args> The named port configuration. See the section below for details on configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string The URL of the created resource.
- Stateful
Disks List<InstanceGroup Manager Stateful Disk Args> 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.
- Target
Pools List<string> The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- Target
Size int - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- Update
Policy InstanceGroup Manager Update Policy Args The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- Versions
List<Instance
Group Manager Version Args> Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- Wait
For boolInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- Zone string
The zone that instances in this group should be created in.
- Auto
Healing InstancePolicies Group Manager Auto Healing Policies The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- Base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- Description string
An optional textual description of the instance group manager.
- Fingerprint string
The fingerprint of the instance group manager.
- Instance
Group string The full URL of the instance group created by the manager.
- Name string
- Version name.
- Named
Ports []InstanceGroup Manager Named Port The named port configuration. See the section below for details on configuration.
- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string The URL of the created resource.
- Stateful
Disks []InstanceGroup Manager Stateful Disk 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.
- Target
Pools []string The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- Target
Size int - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- Update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- Versions
[]Instance
Group Manager Version Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- Wait
For boolInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- Zone string
The zone that instances in this group should be created in.
- auto
Healing InstancePolicies Group Manager Auto Healing Policies The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- base
Instance stringName The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- description string
An optional textual description of the instance group manager.
- fingerprint string
The fingerprint of the instance group manager.
- instance
Group string The full URL of the instance group created by the manager.
- name string
- Version name.
- named
Ports InstanceGroup Manager Named Port[] The named port configuration. See the section below for details on configuration.
- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self
Link string The URL of the created resource.
- stateful
Disks InstanceGroup Manager Stateful Disk[] 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.
- target
Pools string[] The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- target
Size number - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- versions
Instance
Group Manager Version[] Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- wait
For booleanInstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- zone string
The zone that instances in this group should be created in.
- auto_
healing_ Dict[Instancepolicies Group Manager Auto Healing Policies] The autohealing policies for this managed instance group. You can specify only one value. Structure is documented below. For more information, see the official documentation.
- base_
instance_ strname The base instance name to use for instances in this group. The value must be a valid RFC1035 name. Supported characters are lowercase letters, numbers, and hyphens (-). Instances are named by appending a hyphen and a random four-character string to the base instance name.
- description str
An optional textual description of the instance group manager.
- fingerprint str
The fingerprint of the instance group manager.
- instance_
group str The full URL of the instance group created by the manager.
- name str
- Version name.
- named_
ports List[InstanceGroup Manager Named Port] The named port configuration. See the section below for details on configuration.
- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self_
link str The URL of the created resource.
- stateful_
disks List[InstanceGroup Manager Stateful Disk] 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.
- target_
pools List[str] The full URL of all target pools to which new instances in the group are added. Updating the target pools attribute does not affect existing instances.
- target_
size float - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- update_
policy Dict[InstanceGroup Manager Update Policy] The update policy for this managed instance group. Structure is documented below. For more information, see the official documentation and API
- versions
List[Instance
Group Manager Version] Application versions managed by this instance group. Each version deals with a specific instance template, allowing canary release scenarios. Structure is documented below.
- wait_
for_ boolinstances Whether to wait for all instances to be created/updated before returning. Note that if this is set to true and the operation does not succeed, this provider will continue trying until it times out.
- zone str
The zone that instances in this group should be created in.
Supporting Types
InstanceGroupManagerAutoHealingPolicies
- Health
Check string The health check resource that signals autohealing.
- Initial
Delay intSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- Health
Check string The health check resource that signals autohealing.
- Initial
Delay intSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health
Check string The health check resource that signals autohealing.
- initial
Delay numberSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health
Check str The health check resource that signals autohealing.
- initial
Delay floatSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
InstanceGroupManagerNamedPort
InstanceGroupManagerStatefulDisk
- Device
Name string , The device name of the disk to be attached.
- Delete
Rule string , A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are
NEVERandON_PERMANENT_INSTANCE_DELETION.NEVERdetatch the disk when the VM is deleted, but not delete the disk.ON_PERMANENT_INSTANCE_DELETIONwill delete the stateful disk when the VM is permanently deleted from the instance group. The default isNEVER.
- Device
Name string , The device name of the disk to be attached.
- Delete
Rule string , A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are
NEVERandON_PERMANENT_INSTANCE_DELETION.NEVERdetatch the disk when the VM is deleted, but not delete the disk.ON_PERMANENT_INSTANCE_DELETIONwill delete the stateful disk when the VM is permanently deleted from the instance group. The default isNEVER.
- device
Name string , The device name of the disk to be attached.
- delete
Rule string , A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are
NEVERandON_PERMANENT_INSTANCE_DELETION.NEVERdetatch the disk when the VM is deleted, but not delete the disk.ON_PERMANENT_INSTANCE_DELETIONwill delete the stateful disk when the VM is permanently deleted from the instance group. The default isNEVER.
- device_
name str , The device name of the disk to be attached.
- delete
Rule str , A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are
NEVERandON_PERMANENT_INSTANCE_DELETION.NEVERdetatch the disk when the VM is deleted, but not delete the disk.ON_PERMANENT_INSTANCE_DELETIONwill delete the stateful disk when the VM is permanently deleted from the instance group. The default isNEVER.
InstanceGroupManagerUpdatePolicy
- Minimal
Action string - Minimal action to be taken on an instance. You can specify either
RESTARTto restart existing instances orREPLACEto delete and create new instances from the target template. If you specify aRESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
- Minimal action to be taken on an instance. You can specify either
- Type string
- The type of update process. You can specify either
PROACTIVEso that the instance group manager proactively executes actions in order to bring instances to their target versions orOPPORTUNISTICso that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- The type of update process. You can specify either
- Max
Surge intFixed , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with
max_surge_percent. If neither is set, defaults to 1- Max
Surge intPercent , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with
max_surge_fixed.- int
, The maximum number of instances that can be unavailable during the update process. Conflicts with
max_unavailable_percent. If neither is set, defaults to 1- int
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with
max_unavailable_fixed.- Min
Ready intSec , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
- Minimal
Action string - Minimal action to be taken on an instance. You can specify either
RESTARTto restart existing instances orREPLACEto delete and create new instances from the target template. If you specify aRESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
- Minimal action to be taken on an instance. You can specify either
- Type string
- The type of update process. You can specify either
PROACTIVEso that the instance group manager proactively executes actions in order to bring instances to their target versions orOPPORTUNISTICso that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- The type of update process. You can specify either
- Max
Surge intFixed , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with
max_surge_percent. If neither is set, defaults to 1- Max
Surge intPercent , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with
max_surge_fixed.- int
, The maximum number of instances that can be unavailable during the update process. Conflicts with
max_unavailable_percent. If neither is set, defaults to 1- int
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with
max_unavailable_fixed.- Min
Ready intSec , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
- minimal
Action string - Minimal action to be taken on an instance. You can specify either
RESTARTto restart existing instances orREPLACEto delete and create new instances from the target template. If you specify aRESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
- Minimal action to be taken on an instance. You can specify either
- type string
- The type of update process. You can specify either
PROACTIVEso that the instance group manager proactively executes actions in order to bring instances to their target versions orOPPORTUNISTICso that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- The type of update process. You can specify either
- max
Surge numberFixed , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with
max_surge_percent. If neither is set, defaults to 1- max
Surge numberPercent , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with
max_surge_fixed.- number
, The maximum number of instances that can be unavailable during the update process. Conflicts with
max_unavailable_percent. If neither is set, defaults to 1- number
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with
max_unavailable_fixed.- min
Ready numberSec , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
- minimal_
action str - Minimal action to be taken on an instance. You can specify either
RESTARTto restart existing instances orREPLACEto delete and create new instances from the target template. If you specify aRESTART, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
- Minimal action to be taken on an instance. You can specify either
- type str
- The type of update process. You can specify either
PROACTIVEso that the instance group manager proactively executes actions in order to bring instances to their target versions orOPPORTUNISTICso that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- The type of update process. You can specify either
- max
Surge floatFixed , The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with
max_surge_percent. If neither is set, defaults to 1- max
Surge floatPercent , The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with
max_surge_fixed.- float
, The maximum number of instances that can be unavailable during the update process. Conflicts with
max_unavailable_percent. If neither is set, defaults to 1- float
, The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with
max_unavailable_fixed.- min
Ready floatSec , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
InstanceGroupManagerVersion
- Instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- Name string
- Version name.
- Target
Size InstanceGroup Manager Version Target Size Args - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- Instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- Name string
- Version name.
- Target
Size InstanceGroup Manager Version Target Size - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- name string
- Version name.
- target
Size InstanceGroup Manager Version Target Size - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
- instance
Template str - The full URL to an instance template from which all new instances of this version will be created.
- name str
- Version name.
- target_
size Dict[InstanceGroup Manager Version Target Size] - The number of instances calculated as a fixed number or a percentage depending on the settings. Structure is documented below.
InstanceGroupManagerVersionTargetSize
- Fixed int
, The number of instances which are managed for this version. Conflicts with
percent.- Percent int
, The number of instances (calculated as percentage) which are managed for this version. Conflicts with
fixed. Note that when usingpercent, rounding will be in favor of explicitly settarget_sizevalues; a managed instance group with 2 instances and 2versions, one of which has atarget_size.percentof60will create 2 instances of thatversion.
- Fixed int
, The number of instances which are managed for this version. Conflicts with
percent.- Percent int
, The number of instances (calculated as percentage) which are managed for this version. Conflicts with
fixed. Note that when usingpercent, rounding will be in favor of explicitly settarget_sizevalues; a managed instance group with 2 instances and 2versions, one of which has atarget_size.percentof60will create 2 instances of thatversion.
- fixed number
, The number of instances which are managed for this version. Conflicts with
percent.- percent number
, The number of instances (calculated as percentage) which are managed for this version. Conflicts with
fixed. Note that when usingpercent, rounding will be in favor of explicitly settarget_sizevalues; a managed instance group with 2 instances and 2versions, one of which has atarget_size.percentof60will create 2 instances of thatversion.
- fixed float
, The number of instances which are managed for this version. Conflicts with
percent.- percent float
, The number of instances (calculated as percentage) which are managed for this version. Conflicts with
fixed. Note that when usingpercent, rounding will be in favor of explicitly settarget_sizevalues; a managed instance group with 2 instances and 2versions, one of which has atarget_size.percentof60will create 2 instances of thatversion.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.