1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/alpha
  6. getRegionInstanceGroupManager

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/alpha.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>
Copy
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]
Copy
func LookupRegionInstanceGroupManager(ctx *Context, args *LookupRegionInstanceGroupManagerArgs, opts ...InvokeOption) (*LookupRegionInstanceGroupManagerResult, error)
func LookupRegionInstanceGroupManagerOutput(ctx *Context, args *LookupRegionInstanceGroupManagerOutputArgs, opts ...InvokeOption) LookupRegionInstanceGroupManagerResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetRegionInstanceGroupManagerResult> getRegionInstanceGroupManager(GetRegionInstanceGroupManagerArgs args, InvokeOptions options)
public static Output<GetRegionInstanceGroupManagerResult> getRegionInstanceGroupManager(GetRegionInstanceGroupManagerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:compute/alpha:getRegionInstanceGroupManager
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceGroupManager This property is required. string
Region This property is required. string
Project string
InstanceGroupManager This property is required. string
Region This property is required. string
Project string
instanceGroupManager This property is required. String
region This property is required. String
project String
instanceGroupManager This property is required. string
region This property is required. string
project string
instance_group_manager This property is required. str
region This property is required. str
project str
instanceGroupManager This property is required. String
region This property is required. String
project String

getRegionInstanceGroupManager Result

The following output properties are available:

AllInstancesConfig Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
AutoHealingPolicies List<Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerAutoHealingPolicyResponse>
The autohealing policy for this managed instance group. You can specify only one value.
BaseInstanceName string
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.
CreationTimestamp string
The creation timestamp for this managed instance group in RFC3339 text format.
CurrentActions Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerActionsSummaryResponse
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.
DistributionPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.DistributionPolicyResponse
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
FailoverAction 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.
InstanceFlexibilityPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerInstanceFlexibilityPolicyResponse
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
InstanceGroup string
The URL of the Instance Group resource.
InstanceLifecyclePolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerInstanceLifecyclePolicyResponse
The repair policy for this managed instance group.
InstanceTemplate 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.
ListManagedInstancesResults string
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.
NamedPorts List<Pulumi.GoogleNative.Compute.Alpha.Outputs.NamedPortResponse>
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).
SelfLink string
The URL for this managed instance group. The server defines this URL.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
ServiceAccount 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.
StandbyPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
StatefulPolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
Status Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerStatusResponse
The status of this managed instance group.
TargetPools 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.
TargetSize 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.
TargetSizeUnit string
The unit of measure for the target size.
TargetStoppedSize int
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
TargetSuspendedSize int
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.
UpdatePolicy Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
Versions List<Pulumi.GoogleNative.Compute.Alpha.Outputs.InstanceGroupManagerVersionResponse>
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).
AllInstancesConfig InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
AutoHealingPolicies []InstanceGroupManagerAutoHealingPolicyResponse
The autohealing policy for this managed instance group. You can specify only one value.
BaseInstanceName string
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.
CreationTimestamp string
The creation timestamp for this managed instance group in RFC3339 text format.
CurrentActions InstanceGroupManagerActionsSummaryResponse
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.
DistributionPolicy DistributionPolicyResponse
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
FailoverAction 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.
InstanceFlexibilityPolicy InstanceGroupManagerInstanceFlexibilityPolicyResponse
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
InstanceGroup string
The URL of the Instance Group resource.
InstanceLifecyclePolicy InstanceGroupManagerInstanceLifecyclePolicyResponse
The repair policy for this managed instance group.
InstanceTemplate 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.
ListManagedInstancesResults string
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.
NamedPorts []NamedPortResponse
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).
SelfLink string
The URL for this managed instance group. The server defines this URL.
SelfLinkWithId string
Server-defined URL for this resource with the resource id.
ServiceAccount 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.
StandbyPolicy InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
StatefulPolicy StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
Status InstanceGroupManagerStatusResponse
The status of this managed instance group.
TargetPools []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.
TargetSize 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.
TargetSizeUnit string
The unit of measure for the target size.
TargetStoppedSize int
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
TargetSuspendedSize int
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.
UpdatePolicy InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
Versions []InstanceGroupManagerVersionResponse
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).
allInstancesConfig InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
autoHealingPolicies List<InstanceGroupManagerAutoHealingPolicyResponse>
The autohealing policy for this managed instance group. You can specify only one value.
baseInstanceName String
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.
creationTimestamp String
The creation timestamp for this managed instance group in RFC3339 text format.
currentActions InstanceGroupManagerActionsSummaryResponse
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.
distributionPolicy DistributionPolicyResponse
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
failoverAction 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.
instanceFlexibilityPolicy InstanceGroupManagerInstanceFlexibilityPolicyResponse
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
instanceGroup String
The URL of the Instance Group resource.
instanceLifecyclePolicy InstanceGroupManagerInstanceLifecyclePolicyResponse
The repair policy for this managed instance group.
instanceTemplate 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.
listManagedInstancesResults String
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.
namedPorts List<NamedPortResponse>
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).
selfLink String
The URL for this managed instance group. The server defines this URL.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
serviceAccount 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.
standbyPolicy InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
statefulPolicy StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
status InstanceGroupManagerStatusResponse
The status of this managed instance group.
targetPools 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.
targetSize 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.
targetSizeUnit String
The unit of measure for the target size.
targetStoppedSize Integer
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.
targetSuspendedSize Integer
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.
updatePolicy InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
versions List<InstanceGroupManagerVersionResponse>
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).
allInstancesConfig InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
autoHealingPolicies InstanceGroupManagerAutoHealingPolicyResponse[]
The autohealing policy for this managed instance group. You can specify only one value.
baseInstanceName string
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.
creationTimestamp string
The creation timestamp for this managed instance group in RFC3339 text format.
currentActions InstanceGroupManagerActionsSummaryResponse
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.
distributionPolicy DistributionPolicyResponse
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
failoverAction 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.
instanceFlexibilityPolicy InstanceGroupManagerInstanceFlexibilityPolicyResponse
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
instanceGroup string
The URL of the Instance Group resource.
instanceLifecyclePolicy InstanceGroupManagerInstanceLifecyclePolicyResponse
The repair policy for this managed instance group.
instanceTemplate 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.
listManagedInstancesResults string
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.
namedPorts NamedPortResponse[]
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).
selfLink string
The URL for this managed instance group. The server defines this URL.
selfLinkWithId string
Server-defined URL for this resource with the resource id.
serviceAccount 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.
standbyPolicy InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
statefulPolicy StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
status InstanceGroupManagerStatusResponse
The status of this managed instance group.
targetPools 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.
targetSize 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.
targetSizeUnit string
The unit of measure for the target size.
targetStoppedSize number
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.
targetSuspendedSize number
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.
updatePolicy InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
versions InstanceGroupManagerVersionResponse[]
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_config InstanceGroupManagerAllInstancesConfigResponse
Specifies configuration that overrides the instance template configuration for the group.
auto_healing_policies Sequence[InstanceGroupManagerAutoHealingPolicyResponse]
The autohealing policy for this managed instance group. You can specify only one value.
base_instance_name str
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 InstanceGroupManagerActionsSummaryResponse
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 DistributionPolicyResponse
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_policy InstanceGroupManagerInstanceFlexibilityPolicyResponse
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_policy InstanceGroupManagerInstanceLifecyclePolicyResponse
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_instances_results str
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[NamedPortResponse]
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.
self_link_with_id str
Server-defined URL for this resource with the resource id.
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 InstanceGroupManagerStandbyPolicyResponse
Standby policy for stopped and suspended instances.
stateful_policy StatefulPolicyResponse
Stateful configuration for this Instanced Group Manager
status InstanceGroupManagerStatusResponse
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_size_unit str
The unit of measure for the target size.
target_stopped_size int
The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
target_suspended_size int
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 InstanceGroupManagerUpdatePolicyResponse
The update policy for this managed instance group.
versions Sequence[InstanceGroupManagerVersionResponse]
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).
allInstancesConfig Property Map
Specifies configuration that overrides the instance template configuration for the group.
autoHealingPolicies List<Property Map>
The autohealing policy for this managed instance group. You can specify only one value.
baseInstanceName String
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.
creationTimestamp String
The creation timestamp for this managed instance group in RFC3339 text format.
currentActions 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.
distributionPolicy Property Map
Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
failoverAction 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.
instanceFlexibilityPolicy Property Map
Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
instanceGroup String
The URL of the Instance Group resource.
instanceLifecyclePolicy Property Map
The repair policy for this managed instance group.
instanceTemplate 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.
listManagedInstancesResults String
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.
namedPorts 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).
selfLink String
The URL for this managed instance group. The server defines this URL.
selfLinkWithId String
Server-defined URL for this resource with the resource id.
serviceAccount 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.
standbyPolicy Property Map
Standby policy for stopped and suspended instances.
statefulPolicy Property Map
Stateful configuration for this Instanced Group Manager
status Property Map
The status of this managed instance group.
targetPools 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.
targetSize 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.
targetSizeUnit String
The unit of measure for the target size.
targetStoppedSize Number
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.
targetSuspendedSize Number
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.
updatePolicy 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

TargetShape This property is required. string
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Zones This property is required. List<Pulumi.GoogleNative.Compute.Alpha.Inputs.DistributionPolicyZoneConfigurationResponse>
Zones where the regional managed instance group will create and manage its instances.
TargetShape This property is required. string
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
Zones This property is required. []DistributionPolicyZoneConfigurationResponse
Zones where the regional managed instance group will create and manage its instances.
targetShape This property is required. String
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
zones This property is required. List<DistributionPolicyZoneConfigurationResponse>
Zones where the regional managed instance group will create and manage its instances.
targetShape This property is required. string
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
zones This property is required. DistributionPolicyZoneConfigurationResponse[]
Zones where the regional managed instance group will create and manage its instances.
target_shape This property is required. str
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
zones This property is required. Sequence[DistributionPolicyZoneConfigurationResponse]
Zones where the regional managed instance group will create and manage its instances.
targetShape This property is required. String
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
zones This property is required. List<Property Map>
Zones where the regional managed instance group will create and manage its instances.

DistributionPolicyZoneConfigurationResponse

Zone This property is required. string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
Zone This property is required. string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
zone This property is required. String
The URL of the zone. The zone must exist in the region where the managed instance group is located.
zone This property is required. string
The URL of the zone. The zone must exist in the region where the managed instance group is located.
zone This property is required. str
The URL of the zone. The zone must exist in the region where the managed instance group is located.
zone This property is required. String
The URL of the zone. The zone must exist in the region where the managed instance group is located.

FixedOrPercentResponse

Calculated This property is required. 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 This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
Percent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
Calculated This property is required. 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 This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
Percent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
calculated This property is required. 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 This property is required. Integer
Specifies a fixed number of VM instances. This must be a positive integer.
percent This property is required. Integer
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
calculated This property is required. 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 This property is required. number
Specifies a fixed number of VM instances. This must be a positive integer.
percent This property is required. number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
calculated This property is required. 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 This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
percent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
calculated This property is required. 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 This property is required. Number
Specifies a fixed number of VM instances. This must be a positive integer.
percent This property is required. Number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.

InstanceGroupManagerActionsSummaryResponse

Abandoning This property is required. 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 This property is required. 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.
CreatingAtomically This property is required. int
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
CreatingWithoutRetries This property is required. int
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 This property is required. int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
None This property is required. int
The number of instances in the managed instance group that are running and have no scheduled actions.
Queuing This property is required. int
The number of instances that the managed instance group is currently queuing.
Recreating This property is required. 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 This property is required. 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 This property is required. int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
Resuming This property is required. int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
Starting This property is required. int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
Stopping This property is required. int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
Suspending This property is required. int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
Verifying This property is required. 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 This property is required. 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 This property is required. 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.
CreatingAtomically This property is required. int
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
CreatingWithoutRetries This property is required. int
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 This property is required. int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
None This property is required. int
The number of instances in the managed instance group that are running and have no scheduled actions.
Queuing This property is required. int
The number of instances that the managed instance group is currently queuing.
Recreating This property is required. 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 This property is required. 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 This property is required. int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
Resuming This property is required. int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
Starting This property is required. int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
Stopping This property is required. int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
Suspending This property is required. int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
Verifying This property is required. 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 This property is required. 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 This property is required. 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.
creatingAtomically This property is required. Integer
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
creatingWithoutRetries This property is required. Integer
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 This property is required. Integer
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
none This property is required. Integer
The number of instances in the managed instance group that are running and have no scheduled actions.
queuing This property is required. Integer
The number of instances that the managed instance group is currently queuing.
recreating This property is required. 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 This property is required. 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 This property is required. Integer
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
resuming This property is required. Integer
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
starting This property is required. Integer
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
stopping This property is required. Integer
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
suspending This property is required. Integer
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
verifying This property is required. 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 This property is required. 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 This property is required. 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.
creatingAtomically This property is required. number
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
creatingWithoutRetries This property is required. number
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 This property is required. number
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
none This property is required. number
The number of instances in the managed instance group that are running and have no scheduled actions.
queuing This property is required. number
The number of instances that the managed instance group is currently queuing.
recreating This property is required. 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 This property is required. 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 This property is required. number
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
resuming This property is required. number
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
starting This property is required. number
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
stopping This property is required. number
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
suspending This property is required. number
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
verifying This property is required. 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 This property is required. 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 This property is required. 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_atomically This property is required. int
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
creating_without_retries This property is required. int
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 This property is required. int
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
none This property is required. int
The number of instances in the managed instance group that are running and have no scheduled actions.
queuing This property is required. int
The number of instances that the managed instance group is currently queuing.
recreating This property is required. 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 This property is required. 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 This property is required. int
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
resuming This property is required. int
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
starting This property is required. int
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
stopping This property is required. int
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
suspending This property is required. int
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
verifying This property is required. 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 This property is required. 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 This property is required. 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.
creatingAtomically This property is required. Number
The number of instances that the managed instance group will attempt to create atomically, in a batch mode. If the desired count of instances can not be created, entire batch will be deleted and the group will decrease its targetSize value accordingly.
creatingWithoutRetries This property is required. Number
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 This property is required. Number
The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
none This property is required. Number
The number of instances in the managed instance group that are running and have no scheduled actions.
queuing This property is required. Number
The number of instances that the managed instance group is currently queuing.
recreating This property is required. 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 This property is required. 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 This property is required. Number
The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
resuming This property is required. Number
The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
starting This property is required. Number
The number of instances in the managed instance group that are scheduled to be started or are currently being started.
stopping This property is required. Number
The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
suspending This property is required. Number
The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
verifying This property is required. 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 This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstancePropertiesPatchResponse
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 This property is required. InstancePropertiesPatchResponse
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 This property is required. InstancePropertiesPatchResponse
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 This property is required. InstancePropertiesPatchResponse
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 This property is required. InstancePropertiesPatchResponse
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 This property is required. 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.

InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse

OnHealthCheck This property is required. string
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.
OnHealthCheck This property is required. string
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.
onHealthCheck This property is required. String
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.
onHealthCheck This property is required. string
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.
on_health_check This property is required. str
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.
onHealthCheck This property is required. String
If you have configured an application-based health check for the group, this field controls whether to trigger VM autohealing based on a failed health check. Valid values are: - ON (default): The group recreates running VMs that fail the application-based health check. - OFF: When set to OFF, you can still observe instance health state, but the group does not recreate VMs that fail the application-based health check. This is useful for troubleshooting and setting up your health check configuration.

InstanceGroupManagerAutoHealingPolicyResponse

AutoHealingTriggers This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse
Restricts what triggers autohealing.
HealthCheck This property is required. string
The URL for the health check that signals autohealing.
InitialDelaySec This property is required. int
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.
MaxUnavailable This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.FixedOrPercentResponse
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.
AutoHealingTriggers This property is required. InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse
Restricts what triggers autohealing.
HealthCheck This property is required. string
The URL for the health check that signals autohealing.
InitialDelaySec This property is required. int
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.
MaxUnavailable This property is required. FixedOrPercentResponse
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.
autoHealingTriggers This property is required. InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse
Restricts what triggers autohealing.
healthCheck This property is required. String
The URL for the health check that signals autohealing.
initialDelaySec This property is required. Integer
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.
maxUnavailable This property is required. FixedOrPercentResponse
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.
autoHealingTriggers This property is required. InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse
Restricts what triggers autohealing.
healthCheck This property is required. string
The URL for the health check that signals autohealing.
initialDelaySec This property is required. number
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.
maxUnavailable This property is required. FixedOrPercentResponse
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.
auto_healing_triggers This property is required. InstanceGroupManagerAutoHealingPolicyAutoHealingTriggersResponse
Restricts what triggers autohealing.
health_check This property is required. str
The URL for the health check that signals autohealing.
initial_delay_sec This property is required. int
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.
max_unavailable This property is required. FixedOrPercentResponse
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.
autoHealingTriggers This property is required. Property Map
Restricts what triggers autohealing.
healthCheck This property is required. String
The URL for the health check that signals autohealing.
initialDelaySec This property is required. Number
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.
maxUnavailable This property is required. Property Map
Maximum number of instances that can be unavailable when autohealing. When 'percent' is used, the value is rounded if necessary. The instance is considered available if all of the following conditions are satisfied: 1. Instance's status is RUNNING. 2. Instance's currentAction is NONE (in particular its liveness health check result was observed to be HEALTHY at least once as it passed VERIFYING). 3. There is no outgoing action on an instance triggered by IGM. By default, number of concurrently autohealed instances is smaller than the managed instance group target size. However, if a zonal managed instance group has only one instance, or a regional managed instance group has only one instance per zone, autohealing will recreate these instances when they become unhealthy.

InstanceGroupManagerInstanceFlexibilityPolicyResponse

InstanceSelectionLists This property is required. Dictionary<string, string>
Named instance selections configuring properties that the group will use when creating new VMs.
InstanceSelections This property is required. Dictionary<string, string>
Named instance selections configuring properties that the group will use when creating new VMs.
InstanceSelectionLists This property is required. map[string]string
Named instance selections configuring properties that the group will use when creating new VMs.
InstanceSelections This property is required. map[string]string
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelectionLists This property is required. Map<String,String>
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelections This property is required. Map<String,String>
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelectionLists This property is required. {[key: string]: string}
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelections This property is required. {[key: string]: string}
Named instance selections configuring properties that the group will use when creating new VMs.
instance_selection_lists This property is required. Mapping[str, str]
Named instance selections configuring properties that the group will use when creating new VMs.
instance_selections This property is required. Mapping[str, str]
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelectionLists This property is required. Map<String>
Named instance selections configuring properties that the group will use when creating new VMs.
instanceSelections This property is required. Map<String>
Named instance selections configuring properties that the group will use when creating new VMs.

InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse

TimeoutSec This property is required. int
The number of seconds to wait for a readiness signal during initialization before timing out.
TimeoutSec This property is required. int
The number of seconds to wait for a readiness signal during initialization before timing out.
timeoutSec This property is required. Integer
The number of seconds to wait for a readiness signal during initialization before timing out.
timeoutSec This property is required. number
The number of seconds to wait for a readiness signal during initialization before timing out.
timeout_sec This property is required. int
The number of seconds to wait for a readiness signal during initialization before timing out.
timeoutSec This property is required. Number
The number of seconds to wait for a readiness signal during initialization before timing out.

InstanceGroupManagerInstanceLifecyclePolicyResponse

DefaultActionOnFailure This property is required. string
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.
ForceUpdateOnRepair This property is required. string
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.
MetadataBasedReadinessSignal This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.
DefaultActionOnFailure This property is required. string
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.
ForceUpdateOnRepair This property is required. string
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.
MetadataBasedReadinessSignal This property is required. InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.
defaultActionOnFailure This property is required. String
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.
forceUpdateOnRepair This property is required. String
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.
metadataBasedReadinessSignal This property is required. InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.
defaultActionOnFailure This property is required. string
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.
forceUpdateOnRepair This property is required. string
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.
metadataBasedReadinessSignal This property is required. InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.
default_action_on_failure This property is required. str
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_on_repair This property is required. str
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.
metadata_based_readiness_signal This property is required. InstanceGroupManagerInstanceLifecyclePolicyMetadataBasedReadinessSignalResponse
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.
defaultActionOnFailure This property is required. String
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.
forceUpdateOnRepair This property is required. String
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.
metadataBasedReadinessSignal This property is required. Property Map
The configuration for metadata based readiness signal sent by the instance during initialization when stopping / suspending an instance. The Instance Group Manager will wait for a signal that indicates successful initialization before stopping / suspending an instance. If a successful readiness signal is not sent before timeout, the corresponding instance will not be stopped / suspended. Instead, an error will be visible in the lastAttempt.errors field of the managed instance in the listmanagedinstances method. If metadataBasedReadinessSignal.timeoutSec is unset, the Instance Group Manager will directly proceed to suspend / stop instances, skipping initialization on them.

InstanceGroupManagerStandbyPolicyResponse

InitialDelaySec This property is required. int
Mode This property is required. string
Defines behaviour of using instances from standby pool to resize MIG.
InitialDelaySec This property is required. int
Mode This property is required. string
Defines behaviour of using instances from standby pool to resize MIG.
initialDelaySec This property is required. Integer
mode This property is required. String
Defines behaviour of using instances from standby pool to resize MIG.
initialDelaySec This property is required. number
mode This property is required. string
Defines behaviour of using instances from standby pool to resize MIG.
initial_delay_sec This property is required. int
mode This property is required. str
Defines behaviour of using instances from standby pool to resize MIG.
initialDelaySec This property is required. Number
mode This property is required. String
Defines behaviour of using instances from standby pool to resize MIG.

InstanceGroupManagerStatusAllInstancesConfigResponse

CurrentRevision This property is required. string
Current all-instances configuration revision. This value is in RFC3339 text format.
Effective This property is required. bool
A bit indicating whether this configuration has been applied to all managed instances in the group.
CurrentRevision This property is required. string
Current all-instances configuration revision. This value is in RFC3339 text format.
Effective This property is required. bool
A bit indicating whether this configuration has been applied to all managed instances in the group.
currentRevision This property is required. String
Current all-instances configuration revision. This value is in RFC3339 text format.
effective This property is required. Boolean
A bit indicating whether this configuration has been applied to all managed instances in the group.
currentRevision This property is required. string
Current all-instances configuration revision. This value is in RFC3339 text format.
effective This property is required. boolean
A bit indicating whether this configuration has been applied to all managed instances in the group.
current_revision This property is required. str
Current all-instances configuration revision. This value is in RFC3339 text format.
effective This property is required. bool
A bit indicating whether this configuration has been applied to all managed instances in the group.
currentRevision This property is required. String
Current all-instances configuration revision. This value is in RFC3339 text format.
effective This property is required. Boolean
A bit indicating whether this configuration has been applied to all managed instances in the group.

InstanceGroupManagerStatusResponse

AllInstancesConfig This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerStatusAllInstancesConfigResponse
[Output only] Status of all-instances configuration on the group.
Autoscaler This property is required. string
The URL of the Autoscaler that targets this instance group manager.
IsStable This property is required. 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 This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerStatusStatefulResponse
Stateful status of the given Instance Group Manager.
VersionTarget This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerStatusVersionTargetResponse
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
AllInstancesConfig This property is required. InstanceGroupManagerStatusAllInstancesConfigResponse
[Output only] Status of all-instances configuration on the group.
Autoscaler This property is required. string
The URL of the Autoscaler that targets this instance group manager.
IsStable This property is required. 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 This property is required. InstanceGroupManagerStatusStatefulResponse
Stateful status of the given Instance Group Manager.
VersionTarget This property is required. InstanceGroupManagerStatusVersionTargetResponse
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfig This property is required. InstanceGroupManagerStatusAllInstancesConfigResponse
[Output only] Status of all-instances configuration on the group.
autoscaler This property is required. String
The URL of the Autoscaler that targets this instance group manager.
isStable This property is required. 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 This property is required. InstanceGroupManagerStatusStatefulResponse
Stateful status of the given Instance Group Manager.
versionTarget This property is required. InstanceGroupManagerStatusVersionTargetResponse
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfig This property is required. InstanceGroupManagerStatusAllInstancesConfigResponse
[Output only] Status of all-instances configuration on the group.
autoscaler This property is required. string
The URL of the Autoscaler that targets this instance group manager.
isStable This property is required. 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 This property is required. InstanceGroupManagerStatusStatefulResponse
Stateful status of the given Instance Group Manager.
versionTarget This property is required. InstanceGroupManagerStatusVersionTargetResponse
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
all_instances_config This property is required. InstanceGroupManagerStatusAllInstancesConfigResponse
[Output only] Status of all-instances configuration on the group.
autoscaler This property is required. str
The URL of the Autoscaler that targets this instance group manager.
is_stable This property is required. 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 This property is required. InstanceGroupManagerStatusStatefulResponse
Stateful status of the given Instance Group Manager.
version_target This property is required. InstanceGroupManagerStatusVersionTargetResponse
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfig This property is required. Property Map
[Output only] Status of all-instances configuration on the group.
autoscaler This property is required. String
The URL of the Autoscaler that targets this instance group manager.
isStable This property is required. 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 This property is required. Property Map
Stateful status of the given Instance Group Manager.
versionTarget This property is required. Property Map
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse

AllEffective This property is required. 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.
AllEffective This property is required. 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.
allEffective This property is required. 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.
allEffective This property is required. 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 This property is required. 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.
allEffective This property is required. 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

HasStatefulConfig This property is required. 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.
IsStateful This property is required. 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.

Deprecated: [Output Only] 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.

PerInstanceConfigs This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
Status of per-instance configurations on the instance.
HasStatefulConfig This property is required. 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.
IsStateful This property is required. 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.

Deprecated: [Output Only] 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.

PerInstanceConfigs This property is required. InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
Status of per-instance configurations on the instance.
hasStatefulConfig This property is required. 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.
isStateful This property is required. 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.

Deprecated: [Output Only] 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.

perInstanceConfigs This property is required. InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
Status of per-instance configurations on the instance.
hasStatefulConfig This property is required. 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.
isStateful This property is required. 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.

Deprecated: [Output Only] 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.

perInstanceConfigs This property is required. InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
Status of per-instance configurations on the instance.
has_stateful_config This property is required. 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.
is_stateful This property is required. 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.

Deprecated: [Output Only] 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_configs This property is required. InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
Status of per-instance configurations on the instance.
hasStatefulConfig This property is required. 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.
isStateful This property is required. 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.

Deprecated: [Output Only] 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.

perInstanceConfigs This property is required. Property Map
Status of per-instance configurations on the instance.

InstanceGroupManagerStatusVersionTargetResponse

IsReached This property is required. 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.
IsReached This property is required. 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.
isReached This property is required. 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.
isReached This property is required. 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 This property is required. 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.
isReached This property is required. 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

InstanceRedistributionType This property is required. string
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.
MaxSurge This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.FixedOrPercentResponse
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.
MaxUnavailable This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.FixedOrPercentResponse
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.
MinReadySec This property is required. int
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
MinimalAction This property is required. 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.
MostDisruptiveAllowedAction This property is required. string
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.
ReplacementMethod This property is required. string
What action should be used to replace instances. See minimal_action.REPLACE
Type This property is required. 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.
InstanceRedistributionType This property is required. string
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.
MaxSurge This property is required. FixedOrPercentResponse
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.
MaxUnavailable This property is required. FixedOrPercentResponse
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.
MinReadySec This property is required. int
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
MinimalAction This property is required. 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.
MostDisruptiveAllowedAction This property is required. string
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.
ReplacementMethod This property is required. string
What action should be used to replace instances. See minimal_action.REPLACE
Type This property is required. 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.
instanceRedistributionType This property is required. String
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.
maxSurge This property is required. FixedOrPercentResponse
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.
maxUnavailable This property is required. FixedOrPercentResponse
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.
minReadySec This property is required. Integer
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
minimalAction This property is required. 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.
mostDisruptiveAllowedAction This property is required. String
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.
replacementMethod This property is required. String
What action should be used to replace instances. See minimal_action.REPLACE
type This property is required. 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.
instanceRedistributionType This property is required. string
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.
maxSurge This property is required. FixedOrPercentResponse
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.
maxUnavailable This property is required. FixedOrPercentResponse
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.
minReadySec This property is required. number
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
minimalAction This property is required. 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.
mostDisruptiveAllowedAction This property is required. string
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.
replacementMethod This property is required. string
What action should be used to replace instances. See minimal_action.REPLACE
type This property is required. 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_type This property is required. str
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 This property is required. FixedOrPercentResponse
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.
max_unavailable This property is required. FixedOrPercentResponse
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_sec This property is required. int
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
minimal_action This property is required. 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_allowed_action This property is required. str
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 This property is required. str
What action should be used to replace instances. See minimal_action.REPLACE
type This property is required. 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.
instanceRedistributionType This property is required. String
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.
maxSurge This property is required. 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.
maxUnavailable This property is required. 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.
minReadySec This property is required. Number
Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
minimalAction This property is required. 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.
mostDisruptiveAllowedAction This property is required. String
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.
replacementMethod This property is required. String
What action should be used to replace instances. See minimal_action.REPLACE
type This property is required. 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

InstanceTemplate This property is required. 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 the targetSize for this version is reached.
Name This property is required. string
Name of the version. Unique among all versions in the scope of this managed instance group.
Tag This property is required. string
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

TargetSize This property is required. Pulumi.GoogleNative.Compute.Alpha.Inputs.FixedOrPercentResponse
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.
InstanceTemplate This property is required. 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 the targetSize for this version is reached.
Name This property is required. string
Name of the version. Unique among all versions in the scope of this managed instance group.
Tag This property is required. string
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

TargetSize This property is required. FixedOrPercentResponse
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.
instanceTemplate This property is required. 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 the targetSize for this version is reached.
name This property is required. String
Name of the version. Unique among all versions in the scope of this managed instance group.
tag This property is required. String
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

targetSize This property is required. FixedOrPercentResponse
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.
instanceTemplate This property is required. 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 the targetSize for this version is reached.
name This property is required. string
Name of the version. Unique among all versions in the scope of this managed instance group.
tag This property is required. string
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

targetSize This property is required. FixedOrPercentResponse
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 This property is required. 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 the targetSize for this version is reached.
name This property is required. str
Name of the version. Unique among all versions in the scope of this managed instance group.
tag This property is required. str
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

target_size This property is required. FixedOrPercentResponse
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.
instanceTemplate This property is required. 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 the targetSize for this version is reached.
name This property is required. String
Name of the version. Unique among all versions in the scope of this managed instance group.
tag This property is required. String
Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

Deprecated: Tag describing the version. Used to trigger rollout of a target version even if instance_template remains unchanged. Deprecated in favor of 'name'.

targetSize This property is required. 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

Labels This property is required. Dictionary<string, string>
The label key-value pairs that you want to patch onto the instance.
Metadata This property is required. Dictionary<string, string>
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
Labels This property is required. map[string]string
The label key-value pairs that you want to patch onto the instance.
Metadata This property is required. map[string]string
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
labels This property is required. Map<String,String>
The label key-value pairs that you want to patch onto the instance.
metadata This property is required. Map<String,String>
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
labels This property is required. {[key: string]: string}
The label key-value pairs that you want to patch onto the instance.
metadata This property is required. {[key: string]: string}
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
labels This property is required. Mapping[str, str]
The label key-value pairs that you want to patch onto the instance.
metadata This property is required. Mapping[str, str]
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
labels This property is required. Map<String>
The label key-value pairs that you want to patch onto the instance.
metadata This property is required. Map<String>
The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.

NamedPortResponse

Name This property is required. string
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
Port This property is required. int
The port number, which can be a value between 1 and 65535.
Name This property is required. string
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
Port This property is required. int
The port number, which can be a value between 1 and 65535.
name This property is required. String
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
port This property is required. Integer
The port number, which can be a value between 1 and 65535.
name This property is required. string
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
port This property is required. number
The port number, which can be a value between 1 and 65535.
name This property is required. str
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
port This property is required. int
The port number, which can be a value between 1 and 65535.
name This property is required. String
The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
port This property is required. Number
The port number, which can be a value between 1 and 65535.

StatefulPolicyPreservedStateResponse

Disks This property is required. 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.
ExternalIPs This property is required. 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.
InternalIPs This property is required. 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 This property is required. 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.
ExternalIPs This property is required. 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.
InternalIPs This property is required. 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 This property is required. 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.
externalIPs This property is required. 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.
internalIPs This property is required. 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 This property is required. {[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.
externalIPs This property is required. {[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.
internalIPs This property is required. {[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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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.
externalIPs This property is required. 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.
internalIPs This property is required. 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

preservedState This property is required. Property Map

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