Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/beta.getRegionInstanceGroupManager
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns all of the details about the specified managed instance group.
Using getRegionInstanceGroupManager
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getRegionInstanceGroupManager(args: GetRegionInstanceGroupManagerArgs, opts?: InvokeOptions): Promise<GetRegionInstanceGroupManagerResult>
function getRegionInstanceGroupManagerOutput(args: GetRegionInstanceGroupManagerOutputArgs, opts?: InvokeOptions): Output<GetRegionInstanceGroupManagerResult>
def get_region_instance_group_manager(instance_group_manager: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionInstanceGroupManagerResult
def get_region_instance_group_manager_output(instance_group_manager: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionInstanceGroupManagerResult]
func LookupRegionInstanceGroupManager(ctx *Context, args *LookupRegionInstanceGroupManagerArgs, opts ...InvokeOption) (*LookupRegionInstanceGroupManagerResult, error)
func LookupRegionInstanceGroupManagerOutput(ctx *Context, args *LookupRegionInstanceGroupManagerOutputArgs, opts ...InvokeOption) LookupRegionInstanceGroupManagerResultOutput
> Note: This function is named LookupRegionInstanceGroupManager
in the Go SDK.
public static class GetRegionInstanceGroupManager
{
public static Task<GetRegionInstanceGroupManagerResult> InvokeAsync(GetRegionInstanceGroupManagerArgs args, InvokeOptions? opts = null)
public static Output<GetRegionInstanceGroupManagerResult> Invoke(GetRegionInstanceGroupManagerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionInstanceGroupManagerResult> getRegionInstanceGroupManager(GetRegionInstanceGroupManagerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/beta:getRegionInstanceGroupManager
arguments:
# arguments dictionary
The following arguments are supported:
- Instance
Group stringManager - Region string
- Project string
- Instance
Group stringManager - Region string
- Project string
- instance
Group StringManager - region String
- project String
- instance
Group stringManager - region string
- project string
- instance_
group_ strmanager - region str
- project str
- instance
Group StringManager - region String
- project String
getRegionInstanceGroupManager Result
The following output properties are available:
- All
Instances Pulumi.Config Google Native. Compute. Beta. Outputs. Instance Group Manager All Instances Config Response - Specifies configuration that overrides the instance template configuration for the group.
- Auto
Healing List<Pulumi.Policies Google Native. Compute. Beta. Outputs. Instance Group Manager Auto Healing Policy Response> - 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.
- Creation
Timestamp string - The creation timestamp for this managed instance group in RFC3339 text format.
- Current
Actions Pulumi.Google Native. Compute. Beta. 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.
- Description string
- An optional description of this resource.
- Distribution
Policy Pulumi.Google Native. Compute. Beta. Outputs. Distribution Policy Response - Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- Failover
Action string - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- Instance
Flexibility Pulumi.Policy Google Native. Compute. Beta. Outputs. Instance Group Manager Instance Flexibility Policy Response - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- Instance
Group string - The URL of the Instance Group resource.
- Instance
Lifecycle Pulumi.Policy Google Native. Compute. Beta. Outputs. Instance Group Manager Instance Lifecycle Policy Response - The repair policy for this 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.
- Kind string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- List
Managed stringInstances 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. Beta. Outputs. Named Port Response> - Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- 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.
- Service
Account string - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- Standby
Policy Pulumi.Google Native. Compute. Beta. Outputs. Instance Group Manager Standby Policy Response - Standby policy for stopped and suspended instances.
- Stateful
Policy Pulumi.Google Native. Compute. Beta. Outputs. Stateful Policy Response - Stateful configuration for this Instanced Group Manager
- Status
Pulumi.
Google Native. Compute. Beta. Outputs. Instance Group Manager Status Response - The status of this managed instance group.
- 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.
- Target
Stopped intSize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- Target
Suspended intSize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- Update
Policy Pulumi.Google Native. Compute. Beta. Outputs. Instance Group Manager Update Policy Response - The update policy for this managed instance group.
- Versions
List<Pulumi.
Google Native. Compute. Beta. Outputs. Instance Group Manager Version Response> - 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
- The URL of a zone where the managed instance group is located (for zonal resources).
- All
Instances InstanceConfig Group Manager All Instances Config Response - Specifies configuration that overrides the instance template configuration for the group.
- Auto
Healing []InstancePolicies Group Manager Auto Healing Policy Response - 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.
- 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.
- Description string
- An optional description of this resource.
- Distribution
Policy DistributionPolicy Response - Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- Failover
Action string - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- Instance
Flexibility InstancePolicy Group Manager Instance Flexibility Policy Response - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- Instance
Group string - The URL of the Instance Group resource.
- Instance
Lifecycle InstancePolicy Group Manager Instance Lifecycle Policy Response - The repair policy for this 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.
- Kind string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- List
Managed stringInstances 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 Response - Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- 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.
- Service
Account string - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- Standby
Policy InstanceGroup Manager Standby Policy Response - Standby policy for stopped and suspended instances.
- Stateful
Policy StatefulPolicy Response - Stateful configuration for this Instanced Group Manager
- Status
Instance
Group Manager Status Response - The status of this managed instance group.
- 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.
- Target
Stopped intSize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- Target
Suspended intSize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- Update
Policy InstanceGroup Manager Update Policy Response - The update policy for this managed instance group.
- Versions
[]Instance
Group Manager Version Response - 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
- The URL of a zone where the managed instance group is located (for zonal resources).
- all
Instances InstanceConfig Group Manager All Instances Config Response - Specifies configuration that overrides the instance template configuration for the group.
- auto
Healing List<InstancePolicies Group Manager Auto Healing Policy Response> - 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.
- 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.
- description String
- An optional description of this resource.
- distribution
Policy DistributionPolicy Response - Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failover
Action String - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- instance
Flexibility InstancePolicy Group Manager Instance Flexibility Policy Response - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance
Group String - The URL of the Instance Group resource.
- instance
Lifecycle InstancePolicy Group Manager Instance Lifecycle Policy Response - The repair policy for this 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.
- kind String
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- list
Managed StringInstances 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 Response> - Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- 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.
- service
Account String - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby
Policy InstanceGroup Manager Standby Policy Response - Standby policy for stopped and suspended instances.
- stateful
Policy StatefulPolicy Response - Stateful configuration for this Instanced Group Manager
- status
Instance
Group Manager Status Response - The status of this managed instance group.
- 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.
- target
Stopped IntegerSize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target
Suspended IntegerSize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- update
Policy InstanceGroup Manager Update Policy Response - The update policy for this managed instance group.
- versions
List<Instance
Group Manager Version Response> - 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
- The URL of a zone where the managed instance group is located (for zonal resources).
- all
Instances InstanceConfig Group Manager All Instances Config Response - Specifies configuration that overrides the instance template configuration for the group.
- auto
Healing InstancePolicies Group Manager Auto Healing Policy Response[] - 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.
- 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.
- description string
- An optional description of this resource.
- distribution
Policy DistributionPolicy Response - Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failover
Action string - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- instance
Flexibility InstancePolicy Group Manager Instance Flexibility Policy Response - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance
Group string - The URL of the Instance Group resource.
- instance
Lifecycle InstancePolicy Group Manager Instance Lifecycle Policy Response - The repair policy for this 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.
- kind string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- list
Managed stringInstances 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 Response[] - Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- 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.
- service
Account string - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby
Policy InstanceGroup Manager Standby Policy Response - Standby policy for stopped and suspended instances.
- stateful
Policy StatefulPolicy Response - Stateful configuration for this Instanced Group Manager
- status
Instance
Group Manager Status Response - The status of this managed instance group.
- 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.
- target
Stopped numberSize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target
Suspended numberSize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- update
Policy InstanceGroup Manager Update Policy Response - The update policy for this managed instance group.
- versions
Instance
Group Manager Version Response[] - 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
- The URL of a zone where the managed instance group is located (for zonal resources).
- all_
instances_ Instanceconfig Group Manager All Instances Config Response - Specifies configuration that overrides the instance template configuration for the group.
- auto_
healing_ Sequence[Instancepolicies Group Manager Auto Healing Policy Response] - 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.
- 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.
- description str
- An optional description of this resource.
- distribution_
policy DistributionPolicy Response - Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failover_
action str - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- instance_
flexibility_ Instancepolicy Group Manager Instance Flexibility Policy Response - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance_
group str - The URL of the Instance Group resource.
- instance_
lifecycle_ Instancepolicy Group Manager Instance Lifecycle Policy Response - The repair policy for this 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.
- kind str
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- list_
managed_ strinstances_ 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 Response] - Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- 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.
- service_
account str - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby_
policy InstanceGroup Manager Standby Policy Response - Standby policy for stopped and suspended instances.
- stateful_
policy StatefulPolicy Response - Stateful configuration for this Instanced Group Manager
- status
Instance
Group Manager Status Response - The status of this managed instance group.
- 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.
- target_
stopped_ intsize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target_
suspended_ intsize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- update_
policy InstanceGroup Manager Update Policy Response - The update policy for this managed instance group.
- versions
Sequence[Instance
Group Manager Version Response] - 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
- The URL of a zone where the managed instance group is located (for zonal resources).
- all
Instances Property MapConfig - Specifies configuration that overrides the instance template configuration for the group.
- 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.
- 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.
- 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.
- failover
Action String - The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- 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.
- instance
Flexibility Property MapPolicy - Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance
Group String - The URL of the Instance Group resource.
- instance
Lifecycle Property MapPolicy - The repair policy for this 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.
- kind String
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- list
Managed StringInstances 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.
- 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.
- service
Account String - The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby
Policy Property Map - Standby policy for stopped and suspended instances.
- stateful
Policy Property Map - Stateful configuration for this Instanced Group Manager
- status Property Map
- The status of this managed instance group.
- 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.
- target
Stopped NumberSize - The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target
Suspended NumberSize - The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- 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
- The URL of a zone where the managed instance group is located (for zonal resources).
Supporting Types
DistributionPolicyResponse
- 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. Beta. 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.
DistributionPolicyZoneConfigurationResponse
- 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.
FixedOrPercentResponse
- 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
- 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.
InstanceGroupManagerAllInstancesConfigResponse
- Properties
Pulumi.
Google Native. Compute. Beta. Inputs. Instance Properties Patch Response - Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- Properties
Instance
Properties Patch Response - Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
Instance
Properties Patch Response - Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
Instance
Properties Patch Response - Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
Instance
Properties Patch Response - Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties Property Map
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
InstanceGroupManagerAutoHealingPolicyResponse
- Health
Check string - The URL for the health check that signals autohealing.
- Initial
Delay intSec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- Health
Check string - The URL for the health check that signals autohealing.
- Initial
Delay intSec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health
Check String - The URL for the health check that signals autohealing.
- initial
Delay IntegerSec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health
Check string - The URL for the health check that signals autohealing.
- initial
Delay numberSec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health_
check str - The URL for the health check that signals autohealing.
- initial_
delay_ intsec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health
Check String - The URL for the health check that signals autohealing.
- initial
Delay NumberSec - The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
InstanceGroupManagerInstanceFlexibilityPolicyResponse
- Instance
Selection Dictionary<string, string>Lists - Named instance selections configuring properties that the group will use when creating new VMs.
- Instance
Selection map[string]stringLists - Named instance selections configuring properties that the group will use when creating new VMs.
- instance
Selection Map<String,String>Lists - Named instance selections configuring properties that the group will use when creating new VMs.
- instance
Selection {[key: string]: string}Lists - Named instance selections configuring properties that the group will use when creating new VMs.
- instance_
selection_ Mapping[str, str]lists - Named instance selections configuring properties that the group will use when creating new VMs.
- instance
Selection Map<String>Lists - Named instance selections configuring properties that the group will use when creating new VMs.
InstanceGroupManagerInstanceLifecyclePolicyResponse
- Default
Action stringOn Failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- Force
Update stringOn Repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- Default
Action stringOn Failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- Force
Update stringOn Repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default
Action StringOn Failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force
Update StringOn Repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default
Action stringOn Failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force
Update stringOn Repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default_
action_ stron_ failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force_
update_ stron_ repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default
Action StringOn Failure - The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force
Update StringOn Repair - A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
InstanceGroupManagerStandbyPolicyResponse
- Initial
Delay intSec - Mode string
- Defines behaviour of using instances from standby pool to resize MIG.
- Initial
Delay intSec - Mode string
- Defines behaviour of using instances from standby pool to resize MIG.
- initial
Delay IntegerSec - mode String
- Defines behaviour of using instances from standby pool to resize MIG.
- initial
Delay numberSec - mode string
- Defines behaviour of using instances from standby pool to resize MIG.
- initial_
delay_ intsec - mode str
- Defines behaviour of using instances from standby pool to resize MIG.
- initial
Delay NumberSec - mode String
- Defines behaviour of using instances from standby pool to resize MIG.
InstanceGroupManagerStatusAllInstancesConfigResponse
- Current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- Effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- Current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- Effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision String - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective Boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current_
revision str - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision String - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective Boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
InstanceGroupManagerStatusResponse
- All
Instances Pulumi.Config Google Native. Compute. Beta. Inputs. Instance Group Manager Status All Instances Config Response - [Output only] Status of all-instances configuration on the group.
- 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. Beta. Inputs. Instance Group Manager Status Stateful Response - Stateful status of the given Instance Group Manager.
- Version
Target Pulumi.Google Native. Compute. Beta. 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.
- All
Instances InstanceConfig Group Manager Status All Instances Config Response - [Output only] Status of all-instances configuration on the group.
- 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.
- all
Instances InstanceConfig Group Manager Status All Instances Config Response - [Output only] Status of all-instances configuration on the group.
- 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.
- all
Instances InstanceConfig Group Manager Status All Instances Config Response - [Output only] Status of all-instances configuration on the group.
- 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.
- all_
instances_ Instanceconfig Group Manager Status All Instances Config Response - [Output only] Status of all-instances configuration on the group.
- 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.
- all
Instances Property MapConfig - [Output only] Status of all-instances configuration on the group.
- 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
- 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
- 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.
- Is
Stateful bool - 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. This field is deprecated in favor of has_stateful_config.
- Per
Instance Pulumi.Configs Google Native. Compute. Beta. 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.
- Is
Stateful bool - 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. This field is deprecated in favor of has_stateful_config.
- 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.
- is
Stateful Boolean - 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. This field is deprecated in favor of has_stateful_config.
- 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.
- is
Stateful boolean - 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. This field is deprecated in favor of has_stateful_config.
- 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.
- is_
stateful bool - 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. This field is deprecated in favor of has_stateful_config.
- 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.
- is
Stateful Boolean - 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. This field is deprecated in favor of has_stateful_config.
- per
Instance Property MapConfigs - Status of per-instance configurations on the instance.
InstanceGroupManagerStatusVersionTargetResponse
- 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.
InstanceGroupManagerUpdatePolicyResponse
- 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. Beta. 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. Beta. 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.
- Min
Ready intSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- Minimal
Action string - Minimal action to be taken on an instance. 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- 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.
- Min
Ready intSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- Minimal
Action string - Minimal action to be taken on an instance. 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- 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.
- min
Ready IntegerSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action String - Minimal action to be taken on an instance. 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- 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.
- min
Ready numberSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- 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.
- min_
ready_ intsec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal_
action 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- 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.
- min
Ready NumberSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action 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 avoid restarting the VM and to limit disruption as much as possible. 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 MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
InstanceGroupManagerVersionResponse
- 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. Beta. 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.
InstancePropertiesPatchResponse
NamedPortResponse
StatefulPolicyPreservedStateResponse
- 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.
- External
IPs Dictionary<string, string> - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- Internal
IPs Dictionary<string, string> - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- 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.
- External
IPs map[string]string - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- Internal
IPs map[string]string - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- 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.
- external
IPs Map<String,String> - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal
IPs Map<String,String> - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- 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.
- external
IPs {[key: string]: string} - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal
IPs {[key: string]: string} - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- 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.
- external_
ips Mapping[str, str] - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal_
ips Mapping[str, str] - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- 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.
- external
IPs Map<String> - External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal
IPs Map<String> - Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
StatefulPolicyResponse
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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi