Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.InstanceGroupManager
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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.
Create InstanceGroupManager Resource
new InstanceGroupManager(name: string, args?: InstanceGroupManagerArgs, opts?: CustomResourceOptions);
@overload
def InstanceGroupManager(resource_name: str,
opts: Optional[ResourceOptions] = None,
auto_healing_policies: Optional[Sequence[InstanceGroupManagerAutoHealingPolicyArgs]] = None,
base_instance_name: Optional[str] = None,
description: Optional[str] = None,
distribution_policy: Optional[DistributionPolicyArgs] = None,
instance_template: Optional[str] = None,
list_managed_instances_results: Optional[InstanceGroupManagerListManagedInstancesResults] = None,
name: Optional[str] = None,
named_ports: Optional[Sequence[NamedPortArgs]] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
stateful_policy: Optional[StatefulPolicyArgs] = None,
target_pools: Optional[Sequence[str]] = None,
target_size: Optional[int] = None,
update_policy: Optional[InstanceGroupManagerUpdatePolicyArgs] = None,
versions: Optional[Sequence[InstanceGroupManagerVersionArgs]] = None,
zone: Optional[str] = None)
@overload
def InstanceGroupManager(resource_name: str,
args: Optional[InstanceGroupManagerArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewInstanceGroupManager(ctx *Context, name string, args *InstanceGroupManagerArgs, opts ...ResourceOption) (*InstanceGroupManager, error)
public InstanceGroupManager(string name, InstanceGroupManagerArgs? args = null, CustomResourceOptions? opts = null)
public InstanceGroupManager(String name, InstanceGroupManagerArgs args)
public InstanceGroupManager(String name, InstanceGroupManagerArgs args, CustomResourceOptions options)
type: google-native:compute/v1:InstanceGroupManager
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args InstanceGroupManagerArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args InstanceGroupManagerArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The InstanceGroupManager resource accepts the following input properties:
- Auto
Healing List<Pulumi.Policies Google Native. Compute. V1. Inputs. Instance Group Manager Auto Healing Policy> The autohealing policy for this managed instance group. You can specify only one value.
- Base
Instance stringName 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.
- Description string
An optional description of this resource.
- Distribution
Policy Pulumi.Google Native. Compute. V1. Inputs. Distribution Policy Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- Instance
Template string 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.
- List
Managed Pulumi.Instances Results Google Native. Compute. V1. Instance Group Manager List Managed Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- Name string
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- Named
Ports List<Pulumi.Google Native. Compute. V1. Inputs. Named Port> Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- Project string
- Request
Id 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).
- Stateful
Policy Pulumi.Google Native. Compute. V1. Inputs. Stateful Policy Stateful configuration for this Instanced Group Manager
- Target
Pools 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.
- Target
Size 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.
- Update
Policy Pulumi.Google Native. Compute. V1. Inputs. Instance Group Manager Update Policy The update policy for this managed instance group.
- Versions
List<Pulumi.
Google Native. Compute. V1. Inputs. Instance Group Manager Version> 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.
- Zone string
- Auto
Healing []InstancePolicies Group Manager Auto Healing Policy Args The autohealing policy for this managed instance group. You can specify only one value.
- Base
Instance stringName 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.
- Description string
An optional description of this resource.
- Distribution
Policy DistributionPolicy Args Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- Instance
Template string 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.
- List
Managed InstanceInstances Results Group Manager List Managed Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- Name string
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- Named
Ports []NamedPort Args Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- Project string
- Request
Id 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).
- Stateful
Policy StatefulPolicy Args Stateful configuration for this Instanced Group Manager
- Target
Pools []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.
- Target
Size 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.
- Update
Policy InstanceGroup Manager Update Policy Args The update policy for this managed instance group.
- Versions
[]Instance
Group Manager Version Args 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.
- Zone string
- auto
Healing List<InstancePolicies Group Manager Auto Healing Policy> The autohealing policy for this managed instance group. You can specify only one value.
- base
Instance StringName 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.
- description String
An optional description of this resource.
- distribution
Policy DistributionPolicy Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- instance
Template String 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.
- list
Managed InstanceInstances Results Group Manager List Managed Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- name String
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named
Ports List<NamedPort> Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project String
- request
Id 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).
- stateful
Policy StatefulPolicy Stateful configuration for this Instanced Group Manager
- target
Pools 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.
- target
Size Integer 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.
- update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group.
- versions
List<Instance
Group Manager Version> 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.
- zone String
- auto
Healing InstancePolicies Group Manager Auto Healing Policy[] The autohealing policy for this managed instance group. You can specify only one value.
- base
Instance stringName 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.
- description string
An optional description of this resource.
- distribution
Policy DistributionPolicy Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- instance
Template string 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.
- list
Managed InstanceInstances Results Group Manager List Managed Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- name string
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named
Ports NamedPort[] Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project string
- request
Id 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).
- stateful
Policy StatefulPolicy Stateful configuration for this Instanced Group Manager
- target
Pools 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.
- target
Size number 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.
- update
Policy InstanceGroup Manager Update Policy The update policy for this managed instance group.
- versions
Instance
Group Manager Version[] 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.
- zone string
- auto_
healing_ Sequence[Instancepolicies Group Manager Auto Healing Policy Args] The autohealing policy for this managed instance group. You can specify only one value.
- base_
instance_ strname 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.
- description str
An optional description of this resource.
- distribution_
policy DistributionPolicy Args Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- instance_
template str 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.
- list_
managed_ Instanceinstances_ results Group Manager List Managed Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- name str
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named_
ports Sequence[NamedPort Args] Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project str
- request_
id str 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).
- stateful_
policy StatefulPolicy Args Stateful configuration for this Instanced Group Manager
- target_
pools Sequence[str] 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.
- target_
size 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.
- update_
policy InstanceGroup Manager Update Policy Args The update policy for this managed instance group.
- versions
Sequence[Instance
Group Manager Version Args] 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.
- zone str
- auto
Healing List<Property Map>Policies The autohealing policy for this managed instance group. You can specify only one value.
- base
Instance StringName 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.
- description String
An optional description of this resource.
- distribution
Policy Property Map Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- instance
Template String 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.
- list
Managed "PAGELESS" | "PAGINATED"Instances Results Pagination behavior of the listManagedInstances API method for this managed instance group.
- name String
The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named
Ports List<Property Map> Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project String
- request
Id 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).
- stateful
Policy Property Map Stateful configuration for this Instanced Group Manager
- target
Pools 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.
- target
Size Number 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.
- update
Policy Property Map The update policy for this managed instance group.
- versions List<Property Map>
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.
- zone String
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceGroupManager resource produces the following output properties:
- Creation
Timestamp string The creation timestamp for this managed instance group in RFC3339 text format.
- Current
Actions Pulumi.Google Native. Compute. V1. Outputs. Instance Group Manager Actions Summary Response The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- Fingerprint 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.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Group string The URL of the Instance Group resource.
- Kind string
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- Region string
The URL of the region where the managed instance group resides (for regional resources).
- Self
Link string The URL for this managed instance group. The server defines this URL.
- Status
Pulumi.
Google Native. Compute. V1. Outputs. Instance Group Manager Status Response The status of this managed instance group.
- Creation
Timestamp string The creation timestamp for this managed instance group in RFC3339 text format.
- Current
Actions InstanceGroup Manager Actions Summary Response The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- Fingerprint 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.
- Id string
The provider-assigned unique ID for this managed resource.
- Instance
Group string The URL of the Instance Group resource.
- Kind string
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- Region string
The URL of the region where the managed instance group resides (for regional resources).
- Self
Link string The URL for this managed instance group. The server defines this URL.
- Status
Instance
Group Manager Status Response The status of this managed instance group.
- creation
Timestamp String The creation timestamp for this managed instance group in RFC3339 text format.
- current
Actions InstanceGroup Manager Actions Summary Response The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint 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.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Group String The URL of the Instance Group resource.
- kind String
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region String
The URL of the region where the managed instance group resides (for regional resources).
- self
Link String The URL for this managed instance group. The server defines this URL.
- status
Instance
Group Manager Status Response The status of this managed instance group.
- creation
Timestamp string The creation timestamp for this managed instance group in RFC3339 text format.
- current
Actions InstanceGroup Manager Actions Summary Response The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint 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.
- id string
The provider-assigned unique ID for this managed resource.
- instance
Group string The URL of the Instance Group resource.
- kind string
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region string
The URL of the region where the managed instance group resides (for regional resources).
- self
Link string The URL for this managed instance group. The server defines this URL.
- status
Instance
Group Manager Status Response The status of this managed instance group.
- creation_
timestamp str The creation timestamp for this managed instance group in RFC3339 text format.
- current_
actions InstanceGroup Manager Actions Summary Response The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint str
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.
- id str
The provider-assigned unique ID for this managed resource.
- instance_
group str The URL of the Instance Group resource.
- kind str
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region str
The URL of the region where the managed instance group resides (for regional resources).
- self_
link str The URL for this managed instance group. The server defines this URL.
- status
Instance
Group Manager Status Response The status of this managed instance group.
- creation
Timestamp String The creation timestamp for this managed instance group in RFC3339 text format.
- current
Actions Property Map The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint 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.
- id String
The provider-assigned unique ID for this managed resource.
- instance
Group String The URL of the Instance Group resource.
- kind String
The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region String
The URL of the region where the managed instance group resides (for regional resources).
- self
Link String The URL for this managed instance group. The server defines this URL.
- status Property Map
The status of this managed instance group.
Supporting Types
DistributionPolicy, DistributionPolicyArgs
- Target
Shape Pulumi.Google Native. Compute. V1. Distribution Policy Target Shape The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- Zones
List<Pulumi.
Google Native. Compute. V1. Inputs. Distribution Policy Zone Configuration> Zones where the regional managed instance group will create and manage its instances.
- Target
Shape DistributionPolicy Target Shape The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- Zones
[]Distribution
Policy Zone Configuration Zones where the regional managed instance group will create and manage its instances.
- target
Shape DistributionPolicy Target Shape The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
List<Distribution
Policy Zone Configuration> Zones where the regional managed instance group will create and manage its instances.
- target
Shape DistributionPolicy Target Shape The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
Distribution
Policy Zone Configuration[] Zones where the regional managed instance group will create and manage its instances.
- target_
shape DistributionPolicy Target Shape The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
Sequence[Distribution
Policy Zone Configuration] Zones where the regional managed instance group will create and manage its instances.
- target
Shape "ANY" | "BALANCED" | "EVEN" The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones List<Property Map>
Zones where the regional managed instance group will create and manage its instances.
DistributionPolicyResponse, DistributionPolicyResponseArgs
- Target
Shape string The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- Zones
List<Pulumi.
Google Native. Compute. V1. Inputs. Distribution Policy Zone Configuration Response> Zones where the regional managed instance group will create and manage its instances.
- Target
Shape string The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- Zones
[]Distribution
Policy Zone Configuration Response Zones where the regional managed instance group will create and manage its instances.
- target
Shape String The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
List<Distribution
Policy Zone Configuration Response> Zones where the regional managed instance group will create and manage its instances.
- target
Shape string The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
Distribution
Policy Zone Configuration Response[] Zones where the regional managed instance group will create and manage its instances.
- target_
shape str The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
Sequence[Distribution
Policy Zone Configuration Response] Zones where the regional managed instance group will create and manage its instances.
- target
Shape String The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones List<Property Map>
Zones where the regional managed instance group will create and manage its instances.
DistributionPolicyTargetShape, DistributionPolicyTargetShapeArgs
- Any
- ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- Balanced
- BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- Even
- EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
- Distribution
Policy Target Shape Any - ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- Distribution
Policy Target Shape Balanced - BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- Distribution
Policy Target Shape Even - EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
- Any
- ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- Balanced
- BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- Even
- EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
- Any
- ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- Balanced
- BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- Even
- EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
- ANY
- ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- BALANCED
- BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- EVEN
- EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
- "ANY"
- ANY
The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability.
- "BALANCED"
- BALANCED
The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads.
- "EVEN"
- EVEN
The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads.
DistributionPolicyZoneConfiguration, DistributionPolicyZoneConfigurationArgs
- Zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- Zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone String
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone str
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone String
The URL of the zone. The zone must exist in the region where the managed instance group is located.
DistributionPolicyZoneConfigurationResponse, DistributionPolicyZoneConfigurationResponseArgs
- Zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- Zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone String
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone str
The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone String
The URL of the zone. The zone must exist in the region where the managed instance group is located.
FixedOrPercent, FixedOrPercentArgs
FixedOrPercentResponse, FixedOrPercentResponseArgs
- Calculated int
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- Fixed int
Specifies a fixed number of VM instances. This must be a positive integer.
- Percent int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- Calculated int
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- Fixed int
Specifies a fixed number of VM instances. This must be a positive integer.
- Percent int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated Integer
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed Integer
Specifies a fixed number of VM instances. This must be a positive integer.
- percent Integer
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated number
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed number
Specifies a fixed number of VM instances. This must be a positive integer.
- percent number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated int
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed int
Specifies a fixed number of VM instances. This must be a positive integer.
- percent int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated Number
Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed Number
Specifies a fixed number of VM instances. This must be a positive integer.
- percent Number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
InstanceGroupManagerActionsSummaryResponse, InstanceGroupManagerActionsSummaryResponseArgs
- Abandoning int
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- Creating int
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- Creating
Without intRetries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- Deleting int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- None int
The number of instances in the managed instance group that are running and have no scheduled actions.
- Recreating int
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- Refreshing int
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- Restarting int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- Resuming int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- Starting int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- Stopping int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- Suspending int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- Verifying int
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- Abandoning int
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- Creating int
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- Creating
Without intRetries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- Deleting int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- None int
The number of instances in the managed instance group that are running and have no scheduled actions.
- Recreating int
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- Refreshing int
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- Restarting int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- Resuming int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- Starting int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- Stopping int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- Suspending int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- Verifying int
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning Integer
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating Integer
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating
Without IntegerRetries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting Integer
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none Integer
The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating Integer
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing Integer
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting Integer
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming Integer
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting Integer
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping Integer
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending Integer
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying Integer
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning number
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating number
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating
Without numberRetries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting number
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none number
The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating number
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing number
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting number
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming number
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting number
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping number
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending number
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying number
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning int
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating int
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating_
without_ intretries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none int
The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating int
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing int
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying int
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning Number
The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating Number
The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating
Without NumberRetries The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting Number
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none Number
The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating Number
The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing Number
The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting Number
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming Number
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting Number
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping Number
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending Number
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying Number
The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
InstanceGroupManagerAutoHealingPolicy, InstanceGroupManagerAutoHealingPolicyArgs
- Health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- Health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check String The URL for the health check that signals autohealing.
- initial
Delay IntegerSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health_
check str The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check String The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
InstanceGroupManagerAutoHealingPolicyResponse, InstanceGroupManagerAutoHealingPolicyResponseArgs
- Health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- Health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check String The URL for the health check that signals autohealing.
- initial
Delay IntegerSec The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check string The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health_
check str The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
- health
Check String The URL for the health check 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. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600].
InstanceGroupManagerListManagedInstancesResults, InstanceGroupManagerListManagedInstancesResultsArgs
- Pageless
- PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- Paginated
- PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
- Instance
Group Manager List Managed Instances Results Pageless - PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- Instance
Group Manager List Managed Instances Results Paginated - PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
- Pageless
- PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- Paginated
- PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
- Pageless
- PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- Paginated
- PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
- PAGELESS
- PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- PAGINATED
- PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
- "PAGELESS"
- PAGELESS
(Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response.
- "PAGINATED"
- PAGINATED
Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected.
InstanceGroupManagerStatusResponse, InstanceGroupManagerStatusResponseArgs
- Autoscaler string
The URL of the Autoscaler that targets this instance group manager.
- Is
Stable bool A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- Stateful
Pulumi.
Google Native. Compute. V1. Inputs. Instance Group Manager Status Stateful Response Stateful status of the given Instance Group Manager.
- Version
Target Pulumi.Google Native. Compute. V1. Inputs. Instance Group Manager Status Version Target Response A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- Autoscaler string
The URL of the Autoscaler that targets this instance group manager.
- Is
Stable bool A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- Stateful
Instance
Group Manager Status Stateful Response Stateful status of the given Instance Group Manager.
- Version
Target InstanceGroup Manager Status Version Target Response A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- autoscaler String
The URL of the Autoscaler that targets this instance group manager.
- is
Stable Boolean A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful
Instance
Group Manager Status Stateful Response Stateful status of the given Instance Group Manager.
- version
Target InstanceGroup Manager Status Version Target Response A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- autoscaler string
The URL of the Autoscaler that targets this instance group manager.
- is
Stable boolean A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful
Instance
Group Manager Status Stateful Response Stateful status of the given Instance Group Manager.
- version
Target InstanceGroup Manager Status Version Target Response A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- autoscaler str
The URL of the Autoscaler that targets this instance group manager.
- is_
stable bool A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful
Instance
Group Manager Status Stateful Response Stateful status of the given Instance Group Manager.
- version_
target InstanceGroup Manager Status Version Target Response A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- autoscaler String
The URL of the Autoscaler that targets this instance group manager.
- is
Stable Boolean A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful Property Map
Stateful status of the given Instance Group Manager.
- version
Target Property Map A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse, InstanceGroupManagerStatusStatefulPerInstanceConfigsResponseArgs
- All
Effective bool A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- All
Effective bool A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all
Effective Boolean A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all
Effective boolean A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all_
effective bool A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all
Effective Boolean A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
InstanceGroupManagerStatusStatefulResponse, InstanceGroupManagerStatusStatefulResponseArgs
- Has
Stateful boolConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- Per
Instance Pulumi.Configs Google Native. Compute. V1. Inputs. Instance Group Manager Status Stateful Per Instance Configs Response Status of per-instance configurations on the instance.
- Has
Stateful boolConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- Per
Instance InstanceConfigs Group Manager Status Stateful Per Instance Configs Response Status of per-instance configurations on the instance.
- has
Stateful BooleanConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- per
Instance InstanceConfigs Group Manager Status Stateful Per Instance Configs Response Status of per-instance configurations on the instance.
- has
Stateful booleanConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- per
Instance InstanceConfigs Group Manager Status Stateful Per Instance Configs Response Status of per-instance configurations on the instance.
- has_
stateful_ boolconfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- per_
instance_ Instanceconfigs Group Manager Status Stateful Per Instance Configs Response Status of per-instance configurations on the instance.
- has
Stateful BooleanConfig A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- per
Instance Property MapConfigs Status of per-instance configurations on the instance.
InstanceGroupManagerStatusVersionTargetResponse, InstanceGroupManagerStatusVersionTargetResponseArgs
- Is
Reached bool A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- Is
Reached bool A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached Boolean A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached boolean A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is_
reached bool A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached Boolean A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
InstanceGroupManagerUpdatePolicy, InstanceGroupManagerUpdatePolicyArgs
- Instance
Redistribution Pulumi.Type Google Native. Compute. V1. Instance Group Manager Update Policy Instance Redistribution Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- Max
Surge Pulumi.Google Native. Compute. V1. Inputs. Fixed Or Percent The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Pulumi.
Google Native. Compute. V1. Inputs. Fixed Or Percent The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- Minimal
Action Pulumi.Google Native. Compute. V1. Instance Group Manager Update Policy Minimal Action Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- Most
Disruptive Pulumi.Allowed Action Google Native. Compute. V1. Instance Group Manager Update Policy Most Disruptive Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method Pulumi.Google Native. Compute. V1. Instance Group Manager Update Policy Replacement Method What action should be used to replace instances. See minimal_action.REPLACE
- Type
Pulumi.
Google Native. Compute. V1. Instance Group Manager Update Policy Type The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- Instance
Redistribution InstanceType Group Manager Update Policy Instance Redistribution Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- Max
Surge FixedOr Percent The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- Minimal
Action InstanceGroup Manager Update Policy Minimal Action Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- Most
Disruptive InstanceAllowed Action Group Manager Update Policy Most Disruptive Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method InstanceGroup Manager Update Policy Replacement Method What action should be used to replace instances. See minimal_action.REPLACE
- Type
Instance
Group Manager Update Policy Type The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution InstanceType Group Manager Update Policy Instance Redistribution Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge FixedOr Percent The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action InstanceGroup Manager Update Policy Minimal Action Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive InstanceAllowed Action Group Manager Update Policy Most Disruptive Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method InstanceGroup Manager Update Policy Replacement Method What action should be used to replace instances. See minimal_action.REPLACE
- type
Instance
Group Manager Update Policy Type The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution InstanceType Group Manager Update Policy Instance Redistribution Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge FixedOr Percent The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action InstanceGroup Manager Update Policy Minimal Action Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive InstanceAllowed Action Group Manager Update Policy Most Disruptive Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method InstanceGroup Manager Update Policy Replacement Method What action should be used to replace instances. See minimal_action.REPLACE
- type
Instance
Group Manager Update Policy Type The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance_
redistribution_ Instancetype Group Manager Update Policy Instance Redistribution Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_
surge FixedOr Percent The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal_
action InstanceGroup Manager Update Policy Minimal Action Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_
disruptive_ Instanceallowed_ action Group Manager Update Policy Most Disruptive Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_
method InstanceGroup Manager Update Policy Replacement Method What action should be used to replace instances. See minimal_action.REPLACE
- type
Instance
Group Manager Update Policy Type The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution "NONE" | "PROACTIVE"Type The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge Property Map The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Property Map
The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action "NONE" | "REFRESH" | "REPLACE" | "RESTART" Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive "NONE" | "REFRESH" | "REPLACE" | "RESTART"Allowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method "RECREATE" | "SUBSTITUTE" What action should be used to replace instances. See minimal_action.REPLACE
- type "OPPORTUNISTIC" | "PROACTIVE"
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
InstanceGroupManagerUpdatePolicyInstanceRedistributionType, InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeArgs
- None
- NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- Proactive
- PROACTIVE
This IGM will actively converge to its target instance distribution.
- Instance
Group Manager Update Policy Instance Redistribution Type None - NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- Instance
Group Manager Update Policy Instance Redistribution Type Proactive - PROACTIVE
This IGM will actively converge to its target instance distribution.
- None
- NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- Proactive
- PROACTIVE
This IGM will actively converge to its target instance distribution.
- None
- NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- Proactive
- PROACTIVE
This IGM will actively converge to its target instance distribution.
- NONE
- NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- PROACTIVE
- PROACTIVE
This IGM will actively converge to its target instance distribution.
- "NONE"
- NONE
No action is being proactively performed in order to bring this IGM to its target instance distribution.
- "PROACTIVE"
- PROACTIVE
This IGM will actively converge to its target instance distribution.
InstanceGroupManagerUpdatePolicyMinimalAction, InstanceGroupManagerUpdatePolicyMinimalActionArgs
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- Instance
Group Manager Update Policy Minimal Action None - NONE
Do not perform any action.
- Instance
Group Manager Update Policy Minimal Action Refresh - REFRESH
Updates applied in runtime, instances will not be disrupted.
- Instance
Group Manager Update Policy Minimal Action Replace - REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Instance
Group Manager Update Policy Minimal Action Restart - RESTART
Every instance will be restarted.
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- NONE
- NONE
Do not perform any action.
- REFRESH
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- REPLACE
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- RESTART
- RESTART
Every instance will be restarted.
- "NONE"
- NONE
Do not perform any action.
- "REFRESH"
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- "REPLACE"
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- "RESTART"
- RESTART
Every instance will be restarted.
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction, InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionArgs
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- Instance
Group Manager Update Policy Most Disruptive Allowed Action None - NONE
Do not perform any action.
- Instance
Group Manager Update Policy Most Disruptive Allowed Action Refresh - REFRESH
Updates applied in runtime, instances will not be disrupted.
- Instance
Group Manager Update Policy Most Disruptive Allowed Action Replace - REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Instance
Group Manager Update Policy Most Disruptive Allowed Action Restart - RESTART
Every instance will be restarted.
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- None
- NONE
Do not perform any action.
- Refresh
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- Replace
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- Restart
- RESTART
Every instance will be restarted.
- NONE
- NONE
Do not perform any action.
- REFRESH
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- REPLACE
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- RESTART
- RESTART
Every instance will be restarted.
- "NONE"
- NONE
Do not perform any action.
- "REFRESH"
- REFRESH
Updates applied in runtime, instances will not be disrupted.
- "REPLACE"
- REPLACE
Old instances will be deleted. New instances will be created from the target template.
- "RESTART"
- RESTART
Every instance will be restarted.
InstanceGroupManagerUpdatePolicyReplacementMethod, InstanceGroupManagerUpdatePolicyReplacementMethodArgs
- Recreate
- RECREATE
Instances will be recreated (with the same name)
- Substitute
- SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
- Instance
Group Manager Update Policy Replacement Method Recreate - RECREATE
Instances will be recreated (with the same name)
- Instance
Group Manager Update Policy Replacement Method Substitute - SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
- Recreate
- RECREATE
Instances will be recreated (with the same name)
- Substitute
- SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
- Recreate
- RECREATE
Instances will be recreated (with the same name)
- Substitute
- SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
- RECREATE
- RECREATE
Instances will be recreated (with the same name)
- SUBSTITUTE
- SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
- "RECREATE"
- RECREATE
Instances will be recreated (with the same name)
- "SUBSTITUTE"
- SUBSTITUTE
Default option: instances will be deleted and created (with a new name)
InstanceGroupManagerUpdatePolicyResponse, InstanceGroupManagerUpdatePolicyResponseArgs
- Instance
Redistribution stringType The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- Max
Surge Pulumi.Google Native. Compute. V1. Inputs. Fixed Or Percent Response The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Pulumi.
Google Native. Compute. V1. Inputs. Fixed Or Percent Response The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- Minimal
Action string Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- Most
Disruptive stringAllowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method string What action should be used to replace instances. See minimal_action.REPLACE
- Type string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- Instance
Redistribution stringType The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- Max
Surge FixedOr Percent Response The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent Response The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- Minimal
Action string Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- Most
Disruptive stringAllowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method string What action should be used to replace instances. See minimal_action.REPLACE
- Type string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution StringType The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge FixedOr Percent Response The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent Response The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action String Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive StringAllowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method String What action should be used to replace instances. See minimal_action.REPLACE
- type String
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution stringType The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge FixedOr Percent Response The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent Response The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action string Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive stringAllowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method string What action should be used to replace instances. See minimal_action.REPLACE
- type string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance_
redistribution_ strtype The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_
surge FixedOr Percent Response The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Fixed
Or Percent Response The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal_
action str Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_
disruptive_ strallowed_ action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_
method str What action should be used to replace instances. See minimal_action.REPLACE
- type str
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
- instance
Redistribution StringType The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max
Surge Property Map The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- Property Map
The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minimal
Action String Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most
Disruptive StringAllowed Action Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method String What action should be used to replace instances. See minimal_action.REPLACE
- type String
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
InstanceGroupManagerUpdatePolicyType, InstanceGroupManagerUpdatePolicyTypeArgs
- Opportunistic
- OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Proactive
- PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Instance
Group Manager Update Policy Type Opportunistic - OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Instance
Group Manager Update Policy Type Proactive - PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Opportunistic
- OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Proactive
- PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Opportunistic
- OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- Proactive
- PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- OPPORTUNISTIC
- OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- PROACTIVE
- PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- "OPPORTUNISTIC"
- OPPORTUNISTIC
No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
- "PROACTIVE"
- PROACTIVE
This IGM will actively converge to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field).
InstanceGroupManagerVersion, InstanceGroupManagerVersionArgs
- Instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- Name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- Target
Size Pulumi.Google Native. Compute. V1. Inputs. Fixed Or Percent Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- Instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- Name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- Target
Size FixedOr Percent Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template String The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name String
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size FixedOr Percent Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size FixedOr Percent Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_
template str The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name str
Name of the version. Unique among all versions in the scope of this managed instance group.
- target_
size FixedOr Percent Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template String The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name String
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size Property Map Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
InstanceGroupManagerVersionResponse, InstanceGroupManagerVersionResponseArgs
- Instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- Name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- Target
Size Pulumi.Google Native. Compute. V1. Inputs. Fixed Or Percent Response Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- Instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- Name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- Target
Size FixedOr Percent Response Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template String The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name String
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size FixedOr Percent Response Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template string The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name string
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size FixedOr Percent Response Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_
template str The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name str
Name of the version. Unique among all versions in the scope of this managed instance group.
- target_
size FixedOr Percent Response Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance
Template String The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize
for this version is reached. 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; in those cases, existing instances are updated until thetargetSize
for this version is reached.- name String
Name of the version. Unique among all versions in the scope of this managed instance group.
- target
Size Property Map Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
NamedPort, NamedPortArgs
NamedPortResponse, NamedPortResponseArgs
StatefulPolicy, StatefulPolicyArgs
StatefulPolicyPreservedState, StatefulPolicyPreservedStateArgs
- Disks Dictionary<string, string>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- Disks map[string]string
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Map<String,String>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks {[key: string]: string}
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Mapping[str, str]
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Map<String>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
StatefulPolicyPreservedStateResponse, StatefulPolicyPreservedStateResponseArgs
- Disks Dictionary<string, string>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- Disks map[string]string
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Map<String,String>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks {[key: string]: string}
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Mapping[str, str]
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- disks Map<String>
Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
StatefulPolicyResponse, StatefulPolicyResponseArgs
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.