1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. compute
  5. getInstanceGroupManager
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

gcp.compute.getInstanceGroupManager

Explore with Pulumi AI

Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi

Get a Compute Instance Group Manager within GCE. For more information, see the official documentation and API

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const igm1 = gcp.compute.getInstanceGroupManager({
    name: "my-igm",
    zone: "us-central1-a",
});
const igm2 = gcp.compute.getInstanceGroupManager({
    selfLink: "https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm",
});
Copy
import pulumi
import pulumi_gcp as gcp

igm1 = gcp.compute.get_instance_group_manager(name="my-igm",
    zone="us-central1-a")
igm2 = gcp.compute.get_instance_group_manager(self_link="https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm")
Copy
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.LookupInstanceGroupManager(ctx, &compute.LookupInstanceGroupManagerArgs{
			Name: pulumi.StringRef("my-igm"),
			Zone: pulumi.StringRef("us-central1-a"),
		}, nil)
		if err != nil {
			return err
		}
		_, err = compute.LookupInstanceGroupManager(ctx, &compute.LookupInstanceGroupManagerArgs{
			SelfLink: pulumi.StringRef("https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var igm1 = Gcp.Compute.GetInstanceGroupManager.Invoke(new()
    {
        Name = "my-igm",
        Zone = "us-central1-a",
    });

    var igm2 = Gcp.Compute.GetInstanceGroupManager.Invoke(new()
    {
        SelfLink = "https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.compute.ComputeFunctions;
import com.pulumi.gcp.compute.inputs.GetInstanceGroupManagerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var igm1 = ComputeFunctions.getInstanceGroupManager(GetInstanceGroupManagerArgs.builder()
            .name("my-igm")
            .zone("us-central1-a")
            .build());

        final var igm2 = ComputeFunctions.getInstanceGroupManager(GetInstanceGroupManagerArgs.builder()
            .selfLink("https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm")
            .build());

    }
}
Copy
variables:
  igm1:
    fn::invoke:
      function: gcp:compute:getInstanceGroupManager
      arguments:
        name: my-igm
        zone: us-central1-a
  igm2:
    fn::invoke:
      function: gcp:compute:getInstanceGroupManager
      arguments:
        selfLink: https://www.googleapis.com/compute/v1/projects/myproject/zones/us-central1-a/instanceGroupManagers/my-igm
Copy

Using getInstanceGroupManager

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 getInstanceGroupManager(args: GetInstanceGroupManagerArgs, opts?: InvokeOptions): Promise<GetInstanceGroupManagerResult>
function getInstanceGroupManagerOutput(args: GetInstanceGroupManagerOutputArgs, opts?: InvokeOptions): Output<GetInstanceGroupManagerResult>
Copy
def get_instance_group_manager(name: Optional[str] = None,
                               project: Optional[str] = None,
                               self_link: Optional[str] = None,
                               zone: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetInstanceGroupManagerResult
def get_instance_group_manager_output(name: Optional[pulumi.Input[str]] = None,
                               project: Optional[pulumi.Input[str]] = None,
                               self_link: Optional[pulumi.Input[str]] = None,
                               zone: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetInstanceGroupManagerResult]
Copy
func LookupInstanceGroupManager(ctx *Context, args *LookupInstanceGroupManagerArgs, opts ...InvokeOption) (*LookupInstanceGroupManagerResult, error)
func LookupInstanceGroupManagerOutput(ctx *Context, args *LookupInstanceGroupManagerOutputArgs, opts ...InvokeOption) LookupInstanceGroupManagerResultOutput
Copy

> Note: This function is named LookupInstanceGroupManager in the Go SDK.

public static class GetInstanceGroupManager 
{
    public static Task<GetInstanceGroupManagerResult> InvokeAsync(GetInstanceGroupManagerArgs args, InvokeOptions? opts = null)
    public static Output<GetInstanceGroupManagerResult> Invoke(GetInstanceGroupManagerInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetInstanceGroupManagerResult> getInstanceGroupManager(GetInstanceGroupManagerArgs args, InvokeOptions options)
public static Output<GetInstanceGroupManagerResult> getInstanceGroupManager(GetInstanceGroupManagerArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: gcp:compute/getInstanceGroupManager:getInstanceGroupManager
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name string
The name of the instance group. Either name or self_link must be provided.
Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
SelfLink string
The self link of the instance group. Either name or self_link must be provided.
Zone string
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.
Name string
The name of the instance group. Either name or self_link must be provided.
Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
SelfLink string
The self link of the instance group. Either name or self_link must be provided.
Zone string
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.
name String
The name of the instance group. Either name or self_link must be provided.
project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
selfLink String
The self link of the instance group. Either name or self_link must be provided.
zone String
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.
name string
The name of the instance group. Either name or self_link must be provided.
project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
selfLink string
The self link of the instance group. Either name or self_link must be provided.
zone string
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.
name str
The name of the instance group. Either name or self_link must be provided.
project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
self_link str
The self link of the instance group. Either name or self_link must be provided.
zone str
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.
name String
The name of the instance group. Either name or self_link must be provided.
project String
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
selfLink String
The self link of the instance group. Either name or self_link must be provided.
zone String
The zone of the instance group. If referencing the instance group by name and zone is not provided, the provider zone is used.

getInstanceGroupManager Result

The following output properties are available:

AllInstancesConfigs List<GetInstanceGroupManagerAllInstancesConfig>
AutoHealingPolicies List<GetInstanceGroupManagerAutoHealingPolicy>
BaseInstanceName string
CreationTimestamp string
Description string
Fingerprint string
Id string
The provider-assigned unique ID for this managed resource.
InstanceGroup string
InstanceGroupManagerId int
InstanceLifecyclePolicies List<GetInstanceGroupManagerInstanceLifecyclePolicy>
ListManagedInstancesResults string
NamedPorts List<GetInstanceGroupManagerNamedPort>
Operation string
Params List<GetInstanceGroupManagerParam>
StandbyPolicies List<GetInstanceGroupManagerStandbyPolicy>
StatefulDisks List<GetInstanceGroupManagerStatefulDisk>
StatefulExternalIps List<GetInstanceGroupManagerStatefulExternalIp>
StatefulInternalIps List<GetInstanceGroupManagerStatefulInternalIp>
Statuses List<GetInstanceGroupManagerStatus>
TargetPools List<string>
TargetSize int
TargetStoppedSize int
TargetSuspendedSize int
UpdatePolicies List<GetInstanceGroupManagerUpdatePolicy>
Versions List<GetInstanceGroupManagerVersion>
WaitForInstances bool
WaitForInstancesStatus string
Name string
Project string
SelfLink string
Zone string
AllInstancesConfigs []GetInstanceGroupManagerAllInstancesConfig
AutoHealingPolicies []GetInstanceGroupManagerAutoHealingPolicy
BaseInstanceName string
CreationTimestamp string
Description string
Fingerprint string
Id string
The provider-assigned unique ID for this managed resource.
InstanceGroup string
InstanceGroupManagerId int
InstanceLifecyclePolicies []GetInstanceGroupManagerInstanceLifecyclePolicy
ListManagedInstancesResults string
NamedPorts []GetInstanceGroupManagerNamedPort
Operation string
Params []GetInstanceGroupManagerParam
StandbyPolicies []GetInstanceGroupManagerStandbyPolicy
StatefulDisks []GetInstanceGroupManagerStatefulDisk
StatefulExternalIps []GetInstanceGroupManagerStatefulExternalIp
StatefulInternalIps []GetInstanceGroupManagerStatefulInternalIp
Statuses []GetInstanceGroupManagerStatus
TargetPools []string
TargetSize int
TargetStoppedSize int
TargetSuspendedSize int
UpdatePolicies []GetInstanceGroupManagerUpdatePolicy
Versions []GetInstanceGroupManagerVersion
WaitForInstances bool
WaitForInstancesStatus string
Name string
Project string
SelfLink string
Zone string
allInstancesConfigs List<GetInstanceGroupManagerAllInstancesConfig>
autoHealingPolicies List<GetInstanceGroupManagerAutoHealingPolicy>
baseInstanceName String
creationTimestamp String
description String
fingerprint String
id String
The provider-assigned unique ID for this managed resource.
instanceGroup String
instanceGroupManagerId Integer
instanceLifecyclePolicies List<GetInstanceGroupManagerInstanceLifecyclePolicy>
listManagedInstancesResults String
namedPorts List<GetInstanceGroupManagerNamedPort>
operation String
params List<GetInstanceGroupManagerParam>
standbyPolicies List<GetInstanceGroupManagerStandbyPolicy>
statefulDisks List<GetInstanceGroupManagerStatefulDisk>
statefulExternalIps List<GetInstanceGroupManagerStatefulExternalIp>
statefulInternalIps List<GetInstanceGroupManagerStatefulInternalIp>
statuses List<GetInstanceGroupManagerStatus>
targetPools List<String>
targetSize Integer
targetStoppedSize Integer
targetSuspendedSize Integer
updatePolicies List<GetInstanceGroupManagerUpdatePolicy>
versions List<GetInstanceGroupManagerVersion>
waitForInstances Boolean
waitForInstancesStatus String
name String
project String
selfLink String
zone String
all_instances_configs Sequence[GetInstanceGroupManagerAllInstancesConfig]
auto_healing_policies Sequence[GetInstanceGroupManagerAutoHealingPolicy]
base_instance_name str
creation_timestamp str
description str
fingerprint str
id str
The provider-assigned unique ID for this managed resource.
instance_group str
instance_group_manager_id int
instance_lifecycle_policies Sequence[GetInstanceGroupManagerInstanceLifecyclePolicy]
list_managed_instances_results str
named_ports Sequence[GetInstanceGroupManagerNamedPort]
operation str
params Sequence[GetInstanceGroupManagerParam]
standby_policies Sequence[GetInstanceGroupManagerStandbyPolicy]
stateful_disks Sequence[GetInstanceGroupManagerStatefulDisk]
stateful_external_ips Sequence[GetInstanceGroupManagerStatefulExternalIp]
stateful_internal_ips Sequence[GetInstanceGroupManagerStatefulInternalIp]
statuses Sequence[GetInstanceGroupManagerStatus]
target_pools Sequence[str]
target_size int
target_stopped_size int
target_suspended_size int
update_policies Sequence[GetInstanceGroupManagerUpdatePolicy]
versions Sequence[GetInstanceGroupManagerVersion]
wait_for_instances bool
wait_for_instances_status str
name str
project str
self_link str
zone str
allInstancesConfigs List<Property Map>
autoHealingPolicies List<Property Map>
baseInstanceName String
creationTimestamp String
description String
fingerprint String
id String
The provider-assigned unique ID for this managed resource.
instanceGroup String
instanceGroupManagerId Number
instanceLifecyclePolicies List<Property Map>
listManagedInstancesResults String
namedPorts List<Property Map>
operation String
params List<Property Map>
standbyPolicies List<Property Map>
statefulDisks List<Property Map>
statefulExternalIps List<Property Map>
statefulInternalIps List<Property Map>
statuses List<Property Map>
targetPools List<String>
targetSize Number
targetStoppedSize Number
targetSuspendedSize Number
updatePolicies List<Property Map>
versions List<Property Map>
waitForInstances Boolean
waitForInstancesStatus String
name String
project String
selfLink String
zone String

Supporting Types

GetInstanceGroupManagerAllInstancesConfig

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,

GetInstanceGroupManagerAutoHealingPolicy

HealthCheck This property is required. string
The health check resource that signals autohealing.
InitialDelaySec This property is required. int
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
HealthCheck This property is required. string
The health check resource that signals autohealing.
InitialDelaySec This property is required. int
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
healthCheck This property is required. String
The health check resource that signals autohealing.
initialDelaySec This property is required. Integer
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
healthCheck This property is required. string
The health check resource that signals autohealing.
initialDelaySec This property is required. number
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
health_check This property is required. str
The health check resource that signals autohealing.
initial_delay_sec This property is required. int
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
healthCheck This property is required. String
The health check resource that signals autohealing.
initialDelaySec This property is required. Number
The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.

GetInstanceGroupManagerInstanceLifecyclePolicy

DefaultActionOnFailure This property is required. string
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
ForceUpdateOnRepair This property is required. string
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
OnFailedHealthCheck This property is required. string
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.
DefaultActionOnFailure This property is required. string
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
ForceUpdateOnRepair This property is required. string
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
OnFailedHealthCheck This property is required. string
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.
defaultActionOnFailure This property is required. String
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
forceUpdateOnRepair This property is required. String
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
onFailedHealthCheck This property is required. String
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.
defaultActionOnFailure This property is required. string
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
forceUpdateOnRepair This property is required. string
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
onFailedHealthCheck This property is required. string
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.
default_action_on_failure This property is required. str
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
force_update_on_repair This property is required. str
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
on_failed_health_check This property is required. str
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.
defaultActionOnFailure This property is required. String
Specifies the action that a MIG performs on a failed VM. If the value of the "on_failed_health_check" field is DEFAULT_ACTION, then the same action also applies to the VMs on which your application fails a health check. Valid values are: REPAIR, DO_NOTHING. If REPAIR (default), then MIG automatically repairs a failed VM by recreating it. For more information, see about repairing VMs in a MIG. If DO_NOTHING, then MIG does not repair a failed VM.
forceUpdateOnRepair This property is required. String
Specifies whether to apply the group's latest configuration when repairing a VM. Valid options are: YES, NO. If YES and you updated the group's instance template or per-instance configurations after the VM was created, then these changes are applied when VM is repaired. If NO (default), then updates are applied in accordance with the group's update policy type.
onFailedHealthCheck This property is required. String
Specifies the action that a MIG performs on an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are: DEFAULT_ACTION, DO_NOTHING, REPAIR. If DEFAULT_ACTION (default), then MIG uses the same action configured for the "default_action_on_failure" field. If DO_NOTHING, then MIG does not repair unhealthy VM. If REPAIR, then MIG automatically repairs an unhealthy VM by recreating it.

GetInstanceGroupManagerNamedPort

Name This property is required. string
The name of the instance group. Either name or self_link must be provided.
Port This property is required. int
The port number.
Name This property is required. string
The name of the instance group. Either name or self_link must be provided.
Port This property is required. int
The port number.
name This property is required. String
The name of the instance group. Either name or self_link must be provided.
port This property is required. Integer
The port number.
name This property is required. string
The name of the instance group. Either name or self_link must be provided.
port This property is required. number
The port number.
name This property is required. str
The name of the instance group. Either name or self_link must be provided.
port This property is required. int
The port number.
name This property is required. String
The name of the instance group. Either name or self_link must be provided.
port This property is required. Number
The port number.

GetInstanceGroupManagerParam

ResourceManagerTags This property is required. Dictionary<string, string>
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.
ResourceManagerTags This property is required. map[string]string
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.
resourceManagerTags This property is required. Map<String,String>
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.
resourceManagerTags This property is required. {[key: string]: string}
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.
resource_manager_tags This property is required. Mapping[str, str]
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.
resourceManagerTags This property is required. Map<String>
Resource manager tags to bind to the managed instance group. The tags are key-value pairs. Keys must be in the format tagKeys/123 and values in the format tagValues/456.

GetInstanceGroupManagerStandbyPolicy

InitialDelaySec This property is required. int
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
Mode This property is required. string
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
InitialDelaySec This property is required. int
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
Mode This property is required. string
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
initialDelaySec This property is required. Integer
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
mode This property is required. String
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
initialDelaySec This property is required. number
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
mode This property is required. string
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
initial_delay_sec This property is required. int
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
mode This property is required. str
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
initialDelaySec This property is required. Number
Specifies the number of seconds that the MIG should wait to suspend or stop a VM after that VM was created. The initial delay gives the initialization script the time to prepare your VM for a quick scale out. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
mode This property is required. String
Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".

GetInstanceGroupManagerStatefulDisk

DeleteRule This property is required. string
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
DeviceName This property is required. string
The device name of the disk to be attached.
DeleteRule This property is required. string
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
DeviceName This property is required. string
The device name of the disk to be attached.
deleteRule This property is required. String
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
deviceName This property is required. String
The device name of the disk to be attached.
deleteRule This property is required. string
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
deviceName This property is required. string
The device name of the disk to be attached.
delete_rule This property is required. str
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
device_name This property is required. str
The device name of the disk to be attached.
deleteRule This property is required. String
A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the disk when the VM is deleted, but do not delete the disk. ON_PERMANENT_INSTANCE_DELETION will delete the stateful disk when the VM is permanently deleted from the instance group. The default is NEVER.
deviceName This property is required. String
The device name of the disk to be attached.

GetInstanceGroupManagerStatefulExternalIp

DeleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
InterfaceName This property is required. string
The network interface name
DeleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
InterfaceName This property is required. string
The network interface name
deleteRule This property is required. String
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. String
The network interface name
deleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. string
The network interface name
delete_rule This property is required. str
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interface_name This property is required. str
The network interface name
deleteRule This property is required. String
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. String
The network interface name

GetInstanceGroupManagerStatefulInternalIp

DeleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
InterfaceName This property is required. string
The network interface name
DeleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
InterfaceName This property is required. string
The network interface name
deleteRule This property is required. String
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. String
The network interface name
deleteRule This property is required. string
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. string
The network interface name
delete_rule This property is required. str
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interface_name This property is required. str
The network interface name
deleteRule This property is required. String
A value that prescribes what should happen to an associated static Address resource when a VM instance is permanently deleted. The available options are NEVER and ON_PERMANENT_INSTANCE_DELETION. NEVER - detach the IP when the VM is deleted, but do not delete the address resource. ON_PERMANENT_INSTANCE_DELETION will delete the stateful address when the VM is permanently deleted from the instance group. The default is NEVER.
interfaceName This property is required. String
The network interface name

GetInstanceGroupManagerStatus

AllInstancesConfigs This property is required. List<GetInstanceGroupManagerStatusAllInstancesConfig>
Status of all-instances configuration on the group.
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.
Statefuls This property is required. List<GetInstanceGroupManagerStatusStateful>
Stateful status of the given Instance Group Manager.
VersionTargets This property is required. List<GetInstanceGroupManagerStatusVersionTarget>
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
AllInstancesConfigs This property is required. []GetInstanceGroupManagerStatusAllInstancesConfig
Status of all-instances configuration on the group.
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.
Statefuls This property is required. []GetInstanceGroupManagerStatusStateful
Stateful status of the given Instance Group Manager.
VersionTargets This property is required. []GetInstanceGroupManagerStatusVersionTarget
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfigs This property is required. List<GetInstanceGroupManagerStatusAllInstancesConfig>
Status of all-instances configuration on the group.
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.
statefuls This property is required. List<GetInstanceGroupManagerStatusStateful>
Stateful status of the given Instance Group Manager.
versionTargets This property is required. List<GetInstanceGroupManagerStatusVersionTarget>
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfigs This property is required. GetInstanceGroupManagerStatusAllInstancesConfig[]
Status of all-instances configuration on the group.
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.
statefuls This property is required. GetInstanceGroupManagerStatusStateful[]
Stateful status of the given Instance Group Manager.
versionTargets This property is required. GetInstanceGroupManagerStatusVersionTarget[]
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
all_instances_configs This property is required. Sequence[GetInstanceGroupManagerStatusAllInstancesConfig]
Status of all-instances configuration on the group.
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.
statefuls This property is required. Sequence[GetInstanceGroupManagerStatusStateful]
Stateful status of the given Instance Group Manager.
version_targets This property is required. Sequence[GetInstanceGroupManagerStatusVersionTarget]
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
allInstancesConfigs This property is required. List<Property Map>
Status of all-instances configuration on the group.
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.
statefuls This property is required. List<Property Map>
Stateful status of the given Instance Group Manager.
versionTargets This property is required. List<Property Map>
A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.

GetInstanceGroupManagerStatusAllInstancesConfig

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.

GetInstanceGroupManagerStatusStateful

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 config 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.
PerInstanceConfigs This property is required. List<GetInstanceGroupManagerStatusStatefulPerInstanceConfig>
Status of per-instance configs on the instances.
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 config 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.
PerInstanceConfigs This property is required. []GetInstanceGroupManagerStatusStatefulPerInstanceConfig
Status of per-instance configs on the instances.
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 config 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.
perInstanceConfigs This property is required. List<GetInstanceGroupManagerStatusStatefulPerInstanceConfig>
Status of per-instance configs on the instances.
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 config 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.
perInstanceConfigs This property is required. GetInstanceGroupManagerStatusStatefulPerInstanceConfig[]
Status of per-instance configs on the instances.
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 config even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
per_instance_configs This property is required. Sequence[GetInstanceGroupManagerStatusStatefulPerInstanceConfig]
Status of per-instance configs on the instances.
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 config 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.
perInstanceConfigs This property is required. List<Property Map>
Status of per-instance configs on the instances.

GetInstanceGroupManagerStatusStatefulPerInstanceConfig

AllEffective This property is required. bool
A bit indicating if all of the group's per-instance configs (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 configs (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 configs (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 configs (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 configs (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 configs (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.

GetInstanceGroupManagerStatusVersionTarget

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.

GetInstanceGroupManagerUpdatePolicy

MaxSurgeFixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
MaxSurgePercent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
MaxUnavailableFixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
MaxUnavailablePercent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
ReplacementMethod This property is required. string
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
Type This property is required. string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
MaxSurgeFixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
MaxSurgePercent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
MaxUnavailableFixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
MaxUnavailablePercent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
ReplacementMethod This property is required. string
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
Type This property is required. string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
maxSurgeFixed This property is required. Integer
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
maxSurgePercent This property is required. Integer
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
maxUnavailableFixed This property is required. Integer
Specifies a fixed number of VM instances. This must be a positive integer.
maxUnavailablePercent This property is required. Integer
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
replacementMethod This property is required. String
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
type This property is required. String
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
maxSurgeFixed This property is required. number
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
maxSurgePercent This property is required. number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
maxUnavailableFixed This property is required. number
Specifies a fixed number of VM instances. This must be a positive integer.
maxUnavailablePercent This property is required. number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
replacementMethod This property is required. string
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
type This property is required. string
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
max_surge_fixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
max_surge_percent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
max_unavailable_fixed This property is required. int
Specifies a fixed number of VM instances. This must be a positive integer.
max_unavailable_percent This property is required. int
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
replacement_method This property is required. str
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
type This property is required. str
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
maxSurgeFixed This property is required. Number
Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0
maxSurgePercent This property is required. Number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.
maxUnavailableFixed This property is required. Number
Specifies a fixed number of VM instances. This must be a positive integer.
maxUnavailablePercent This property is required. Number
Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
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. You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
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 allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
replacementMethod This property is required. String
The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
type This property is required. String
The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).

GetInstanceGroupManagerVersion

InstanceTemplate This property is required. string
The full URL to an instance template from which all new instances of this version will be created.
Name This property is required. string
The name of the instance group. Either name or self_link must be provided.
TargetSizes This property is required. List<GetInstanceGroupManagerVersionTargetSize>
The number of instances calculated as a fixed number or a percentage depending on the settings.
InstanceTemplate This property is required. string
The full URL to an instance template from which all new instances of this version will be created.
Name This property is required. string
The name of the instance group. Either name or self_link must be provided.
TargetSizes This property is required. []GetInstanceGroupManagerVersionTargetSize
The number of instances calculated as a fixed number or a percentage depending on the settings.
instanceTemplate This property is required. String
The full URL to an instance template from which all new instances of this version will be created.
name This property is required. String
The name of the instance group. Either name or self_link must be provided.
targetSizes This property is required. List<GetInstanceGroupManagerVersionTargetSize>
The number of instances calculated as a fixed number or a percentage depending on the settings.
instanceTemplate This property is required. string
The full URL to an instance template from which all new instances of this version will be created.
name This property is required. string
The name of the instance group. Either name or self_link must be provided.
targetSizes This property is required. GetInstanceGroupManagerVersionTargetSize[]
The number of instances calculated as a fixed number or a percentage depending on the settings.
instance_template This property is required. str
The full URL to an instance template from which all new instances of this version will be created.
name This property is required. str
The name of the instance group. Either name or self_link must be provided.
target_sizes This property is required. Sequence[GetInstanceGroupManagerVersionTargetSize]
The number of instances calculated as a fixed number or a percentage depending on the settings.
instanceTemplate This property is required. String
The full URL to an instance template from which all new instances of this version will be created.
name This property is required. String
The name of the instance group. Either name or self_link must be provided.
targetSizes This property is required. List<Property Map>
The number of instances calculated as a fixed number or a percentage depending on the settings.

GetInstanceGroupManagerVersionTargetSize

Fixed This property is required. int
The number of instances which are managed for this version. Conflicts with percent.
Percent This property is required. int
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.
Fixed This property is required. int
The number of instances which are managed for this version. Conflicts with percent.
Percent This property is required. int
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.
fixed This property is required. Integer
The number of instances which are managed for this version. Conflicts with percent.
percent This property is required. Integer
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.
fixed This property is required. number
The number of instances which are managed for this version. Conflicts with percent.
percent This property is required. number
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.
fixed This property is required. int
The number of instances which are managed for this version. Conflicts with percent.
percent This property is required. int
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.
fixed This property is required. Number
The number of instances which are managed for this version. Conflicts with percent.
percent This property is required. Number
The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when using percent, rounding will be in favor of explicitly set target_size values; a managed instance group with 2 instances and 2 versions, one of which has a target_size.percent of 60 will create 2 instances of that version.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.
Google Cloud v8.25.1 published on Wednesday, Apr 9, 2025 by Pulumi