Google Cloud Classic v7.29.0 published on Wednesday, Jun 26, 2024 by Pulumi
gcp.compute.getInstanceGroupManager
Explore with Pulumi AI
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",
});
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")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/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
})
}
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",
});
});
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());
}
}
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
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>
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]
func LookupInstanceGroupManager(ctx *Context, args *LookupInstanceGroupManagerArgs, opts ...InvokeOption) (*LookupInstanceGroupManagerResult, error)
func LookupInstanceGroupManagerOutput(ctx *Context, args *LookupInstanceGroupManagerOutputArgs, opts ...InvokeOption) LookupInstanceGroupManagerResultOutput
> 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)
}
public static CompletableFuture<GetInstanceGroupManagerResult> getInstanceGroupManager(GetInstanceGroupManagerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:compute/getInstanceGroupManager:getInstanceGroupManager
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- The name of the instance group. Either
name
orself_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.
- Self
Link string - The self link of the instance group. Either
name
orself_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
orself_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.
- Self
Link string - The self link of the instance group. Either
name
orself_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
orself_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.
- self
Link String - The self link of the instance group. Either
name
orself_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
orself_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.
- self
Link string - The self link of the instance group. Either
name
orself_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
orself_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
orself_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
orself_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.
- self
Link String - The self link of the instance group. Either
name
orself_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:
- All
Instances List<GetConfigs Instance Group Manager All Instances Config> - Auto
Healing List<GetPolicies Instance Group Manager Auto Healing Policy> - Base
Instance stringName - Creation
Timestamp string - Description string
- Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group string - Instance
Lifecycle List<GetPolicies Instance Group Manager Instance Lifecycle Policy> - List
Managed stringInstances Results - Named
Ports List<GetInstance Group Manager Named Port> - Operation string
- Params
List<Get
Instance Group Manager Param> - Standby
Policies List<GetInstance Group Manager Standby Policy> - Stateful
Disks List<GetInstance Group Manager Stateful Disk> - Stateful
External List<GetIps Instance Group Manager Stateful External Ip> - Stateful
Internal List<GetIps Instance Group Manager Stateful Internal Ip> - Statuses
List<Get
Instance Group Manager Status> - Target
Pools List<string> - Target
Size int - Target
Stopped intSize - Target
Suspended intSize - Update
Policies List<GetInstance Group Manager Update Policy> - Versions
List<Get
Instance Group Manager Version> - Wait
For boolInstances - Wait
For stringInstances Status - Name string
- Project string
- Self
Link string - Zone string
- All
Instances []GetConfigs Instance Group Manager All Instances Config - Auto
Healing []GetPolicies Instance Group Manager Auto Healing Policy - Base
Instance stringName - Creation
Timestamp string - Description string
- Fingerprint string
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Group string - Instance
Lifecycle []GetPolicies Instance Group Manager Instance Lifecycle Policy - List
Managed stringInstances Results - Named
Ports []GetInstance Group Manager Named Port - Operation string
- Params
[]Get
Instance Group Manager Param - Standby
Policies []GetInstance Group Manager Standby Policy - Stateful
Disks []GetInstance Group Manager Stateful Disk - Stateful
External []GetIps Instance Group Manager Stateful External Ip - Stateful
Internal []GetIps Instance Group Manager Stateful Internal Ip - Statuses
[]Get
Instance Group Manager Status - Target
Pools []string - Target
Size int - Target
Stopped intSize - Target
Suspended intSize - Update
Policies []GetInstance Group Manager Update Policy - Versions
[]Get
Instance Group Manager Version - Wait
For boolInstances - Wait
For stringInstances Status - Name string
- Project string
- Self
Link string - Zone string
- all
Instances List<GetConfigs Instance Group Manager All Instances Config> - auto
Healing List<GetPolicies Instance Group Manager Auto Healing Policy> - base
Instance StringName - creation
Timestamp String - description String
- fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Group String - instance
Lifecycle List<GetPolicies Instance Group Manager Instance Lifecycle Policy> - list
Managed StringInstances Results - named
Ports List<GetInstance Group Manager Named Port> - operation String
- params
List<Get
Instance Group Manager Param> - standby
Policies List<GetInstance Group Manager Standby Policy> - stateful
Disks List<GetInstance Group Manager Stateful Disk> - stateful
External List<GetIps Instance Group Manager Stateful External Ip> - stateful
Internal List<GetIps Instance Group Manager Stateful Internal Ip> - statuses
List<Get
Instance Group Manager Status> - target
Pools List<String> - target
Size Integer - target
Stopped IntegerSize - target
Suspended IntegerSize - update
Policies List<GetInstance Group Manager Update Policy> - versions
List<Get
Instance Group Manager Version> - wait
For BooleanInstances - wait
For StringInstances Status - name String
- project String
- self
Link String - zone String
- all
Instances GetConfigs Instance Group Manager All Instances Config[] - auto
Healing GetPolicies Instance Group Manager Auto Healing Policy[] - base
Instance stringName - creation
Timestamp string - description string
- fingerprint string
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Group string - instance
Lifecycle GetPolicies Instance Group Manager Instance Lifecycle Policy[] - list
Managed stringInstances Results - named
Ports GetInstance Group Manager Named Port[] - operation string
- params
Get
Instance Group Manager Param[] - standby
Policies GetInstance Group Manager Standby Policy[] - stateful
Disks GetInstance Group Manager Stateful Disk[] - stateful
External GetIps Instance Group Manager Stateful External Ip[] - stateful
Internal GetIps Instance Group Manager Stateful Internal Ip[] - statuses
Get
Instance Group Manager Status[] - target
Pools string[] - target
Size number - target
Stopped numberSize - target
Suspended numberSize - update
Policies GetInstance Group Manager Update Policy[] - versions
Get
Instance Group Manager Version[] - wait
For booleanInstances - wait
For stringInstances Status - name string
- project string
- self
Link string - zone string
- all_
instances_ Sequence[Getconfigs Instance Group Manager All Instances Config] - auto_
healing_ Sequence[Getpolicies Instance Group Manager Auto Healing Policy] - base_
instance_ strname - creation_
timestamp str - description str
- fingerprint str
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
group str - instance_
lifecycle_ Sequence[Getpolicies Instance Group Manager Instance Lifecycle Policy] - list_
managed_ strinstances_ results - named_
ports Sequence[GetInstance Group Manager Named Port] - operation str
- params
Sequence[Get
Instance Group Manager Param] - standby_
policies Sequence[GetInstance Group Manager Standby Policy] - stateful_
disks Sequence[GetInstance Group Manager Stateful Disk] - stateful_
external_ Sequence[Getips Instance Group Manager Stateful External Ip] - stateful_
internal_ Sequence[Getips Instance Group Manager Stateful Internal Ip] - statuses
Sequence[Get
Instance Group Manager Status] - target_
pools Sequence[str] - target_
size int - target_
stopped_ intsize - target_
suspended_ intsize - update_
policies Sequence[GetInstance Group Manager Update Policy] - versions
Sequence[Get
Instance Group Manager Version] - wait_
for_ boolinstances - wait_
for_ strinstances_ status - name str
- project str
- self_
link str - zone str
- all
Instances List<Property Map>Configs - auto
Healing List<Property Map>Policies - base
Instance StringName - creation
Timestamp String - description String
- fingerprint String
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Group String - instance
Lifecycle List<Property Map>Policies - list
Managed StringInstances Results - named
Ports List<Property Map> - operation String
- params List<Property Map>
- standby
Policies List<Property Map> - stateful
Disks List<Property Map> - stateful
External List<Property Map>Ips - stateful
Internal List<Property Map>Ips - statuses List<Property Map>
- target
Pools List<String> - target
Size Number - target
Stopped NumberSize - target
Suspended NumberSize - update
Policies List<Property Map> - versions List<Property Map>
- wait
For BooleanInstances - wait
For StringInstances Status - name String
- project String
- self
Link String - zone String
Supporting Types
GetInstanceGroupManagerAllInstancesConfig
GetInstanceGroupManagerAutoHealingPolicy
- Health
Check string - The health check resource that signals autohealing.
- Initial
Delay intSec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- Health
Check string - The health check resource that signals autohealing.
- Initial
Delay intSec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health
Check String - The health check resource that signals autohealing.
- initial
Delay IntegerSec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health
Check string - The health check resource that signals autohealing.
- initial
Delay numberSec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health_
check str - The health check resource that signals autohealing.
- initial_
delay_ intsec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
- health
Check String - The health check resource that signals autohealing.
- initial
Delay NumberSec - The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. Between 0 and 3600.
GetInstanceGroupManagerInstanceLifecyclePolicy
- Default
Action stringOn Failure - Default behavior for all instance or health check failures.
- Force
Update stringOn Repair - 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.
- Default
Action stringOn Failure - Default behavior for all instance or health check failures.
- Force
Update stringOn Repair - 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.
- default
Action StringOn Failure - Default behavior for all instance or health check failures.
- force
Update StringOn Repair - 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.
- default
Action stringOn Failure - Default behavior for all instance or health check failures.
- force
Update stringOn Repair - 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.
- default_
action_ stron_ failure - Default behavior for all instance or health check failures.
- force_
update_ stron_ repair - 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.
- default
Action StringOn Failure - Default behavior for all instance or health check failures.
- force
Update StringOn Repair - 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.
GetInstanceGroupManagerNamedPort
GetInstanceGroupManagerParam
- Dictionary<string, object>
- 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.
- map[string]interface{}
- 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.
- Map<String,Object>
- 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.
- {[key: string]: any}
- 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.
- Mapping[str, Any]
- 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.
- Map<Any>
- 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
- Initial
Delay intSec - 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 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 intSec - 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 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 IntegerSec - 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 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 numberSec - 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 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_ intsec - 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 str
- Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
- initial
Delay NumberSec - 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 String
- Defines how a MIG resumes or starts VMs from a standby pool when the group scales out. The default mode is "MANUAL".
GetInstanceGroupManagerStatefulDisk
- Delete
Rule 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.
- Device
Name string - The device name of the disk to be attached.
- Delete
Rule string - A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are 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 string - The device name of the disk to be attached.
- delete
Rule String - A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are 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 String - The device name of the disk to be attached.
- delete
Rule string - A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are 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 string - The device name of the disk to be attached.
- delete_
rule str - A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are 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 str - The device name of the disk to be attached.
- delete
Rule String - A value that prescribes what should happen to the stateful disk when the VM instance is deleted. The available options are 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 String - The device name of the disk to be attached.
GetInstanceGroupManagerStatefulExternalIp
- Delete
Rule 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.
- Interface
Name string - The network interface name
- Delete
Rule 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.
- Interface
Name string - The network interface name
- delete
Rule 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.
- interface
Name String - The network interface name
- delete
Rule 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.
- interface
Name string - The network interface name
- delete_
rule 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 str - The network interface name
- delete
Rule 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.
- interface
Name String - The network interface name
GetInstanceGroupManagerStatefulInternalIp
- Delete
Rule 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.
- Interface
Name string - The network interface name
- Delete
Rule 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.
- Interface
Name string - The network interface name
- delete
Rule 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.
- interface
Name String - The network interface name
- delete
Rule 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.
- interface
Name string - The network interface name
- delete_
rule 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 str - The network interface name
- delete
Rule 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.
- interface
Name String - The network interface name
GetInstanceGroupManagerStatus
- All
Instances List<GetConfigs Instance Group Manager Status All Instances Config> - Status of all-instances configuration on the group.
- Is
Stable bool - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- Statefuls
List<Get
Instance Group Manager Status Stateful> - Stateful status of the given Instance Group Manager.
- Version
Targets List<GetInstance Group Manager Status Version Target> - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- All
Instances []GetConfigs Instance Group Manager Status All Instances Config - Status of all-instances configuration on the group.
- Is
Stable bool - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- Statefuls
[]Get
Instance Group Manager Status Stateful - Stateful status of the given Instance Group Manager.
- Version
Targets []GetInstance Group Manager Status Version Target - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- all
Instances List<GetConfigs Instance Group Manager Status All Instances Config> - Status of all-instances configuration on the group.
- is
Stable Boolean - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- statefuls
List<Get
Instance Group Manager Status Stateful> - Stateful status of the given Instance Group Manager.
- version
Targets List<GetInstance Group Manager Status Version Target> - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- all
Instances GetConfigs Instance Group Manager Status All Instances Config[] - Status of all-instances configuration on the group.
- is
Stable boolean - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- statefuls
Get
Instance Group Manager Status Stateful[] - Stateful status of the given Instance Group Manager.
- version
Targets GetInstance Group Manager Status Version Target[] - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- all_
instances_ Sequence[Getconfigs Instance Group Manager Status All Instances Config] - Status of all-instances configuration on the group.
- is_
stable bool - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- statefuls
Sequence[Get
Instance Group Manager Status Stateful] - Stateful status of the given Instance Group Manager.
- version_
targets Sequence[GetInstance Group Manager Status Version Target] - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- all
Instances List<Property Map>Configs - Status of all-instances configuration on the group.
- is
Stable Boolean - A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- statefuls List<Property Map>
- Stateful status of the given Instance Group Manager.
- version
Targets List<Property Map> - A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
GetInstanceGroupManagerStatusAllInstancesConfig
- Current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- Effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- Current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- Effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision String - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective Boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision string - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current_
revision str - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective bool
- A bit indicating whether this configuration has been applied to all managed instances in the group.
- current
Revision String - Current all-instances configuration revision. This value is in RFC3339 text format.
- effective Boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
GetInstanceGroupManagerStatusStateful
- Has
Stateful boolConfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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 List<GetConfigs Instance Group Manager Status Stateful Per Instance Config> - Status of per-instance configs on the instances.
- Has
Stateful boolConfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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 []GetConfigs Instance Group Manager Status Stateful Per Instance Config - Status of per-instance configs on the instances.
- has
Stateful BooleanConfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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 List<GetConfigs Instance Group Manager Status Stateful Per Instance Config> - Status of per-instance configs on the instances.
- has
Stateful booleanConfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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 GetConfigs Instance Group Manager Status Stateful Per Instance Config[] - Status of per-instance configs on the instances.
- has_
stateful_ boolconfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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_ Sequence[Getconfigs Instance Group Manager Status Stateful Per Instance Config] - Status of per-instance configs on the instances.
- has
Stateful BooleanConfig - A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful 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 List<Property Map>Configs - Status of per-instance configs on the instances.
GetInstanceGroupManagerStatusStatefulPerInstanceConfig
- All
Effective 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.
- All
Effective 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.
- all
Effective 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 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 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.
- all
Effective 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
- Is
Reached bool - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- Is
Reached bool - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached Boolean - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached boolean - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is_
reached bool - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
- is
Reached Boolean - A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
GetInstanceGroupManagerUpdatePolicy
- Max
Surge intFixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- Max
Surge intPercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- int
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- int
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- Min
Ready intSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- Minimal
Action string - Minimal action to be taken on an instance. You can specify either 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 stringAllowed Action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method string - 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 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 intFixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- Max
Surge intPercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- int
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- int
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- Min
Ready intSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- Minimal
Action string - Minimal action to be taken on an instance. You can specify either 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 stringAllowed Action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- Replacement
Method string - 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 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 IntegerFixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- max
Surge IntegerPercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- Integer
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- Integer
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- min
Ready IntegerSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action String - Minimal action to be taken on an instance. 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 StringAllowed Action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method String - 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 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 numberFixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- max
Surge numberPercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- number
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- number
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- min
Ready numberSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action 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.
- most
Disruptive stringAllowed Action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method string - 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 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_ intfixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- max_
surge_ intpercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- int
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- int
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- min_
ready_ intsec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal_
action 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_ strallowed_ action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_
method str - 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 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).
- max
Surge NumberFixed - The maximum number of instances that can be created above the specified targetSize during the update process. Conflicts with max_surge_percent. If neither is set, defaults to 1
- max
Surge NumberPercent - The maximum number of instances(calculated as percentage) that can be created above the specified targetSize during the update process. Conflicts with max_surge_fixed.
- Number
- The maximum number of instances that can be unavailable during the update process. Conflicts with max_unavailable_percent. If neither is set, defaults to 1.
- Number
- The maximum number of instances(calculated as percentage) that can be unavailable during the update process. Conflicts with max_unavailable_fixed.
- min
Ready NumberSec - Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal
Action 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.
- most
Disruptive StringAllowed Action - Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement
Method String - 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 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
- Instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- Name string
- The name of the instance group. Either
name
orself_link
must be provided. - Target
Sizes List<GetInstance Group Manager Version Target Size> - The number of instances calculated as a fixed number or a percentage depending on the settings.
- Instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- Name string
- The name of the instance group. Either
name
orself_link
must be provided. - Target
Sizes []GetInstance Group Manager Version Target Size - The number of instances calculated as a fixed number or a percentage depending on the settings.
- instance
Template String - The full URL to an instance template from which all new instances of this version will be created.
- name String
- The name of the instance group. Either
name
orself_link
must be provided. - target
Sizes List<GetInstance Group Manager Version Target Size> - The number of instances calculated as a fixed number or a percentage depending on the settings.
- instance
Template string - The full URL to an instance template from which all new instances of this version will be created.
- name string
- The name of the instance group. Either
name
orself_link
must be provided. - target
Sizes GetInstance Group Manager Version Target Size[] - The number of instances calculated as a fixed number or a percentage depending on the settings.
- instance_
template str - The full URL to an instance template from which all new instances of this version will be created.
- name str
- The name of the instance group. Either
name
orself_link
must be provided. - target_
sizes Sequence[GetInstance Group Manager Version Target Size] - The number of instances calculated as a fixed number or a percentage depending on the settings.
- instance
Template String - The full URL to an instance template from which all new instances of this version will be created.
- name String
- The name of the instance group. Either
name
orself_link
must be provided. - target
Sizes List<Property Map> - The number of instances calculated as a fixed number or a percentage depending on the settings.
GetInstanceGroupManagerVersionTargetSize
- Fixed int
- The number of instances which are managed for this version. Conflicts with percent.
- Percent int
- The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when 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 int
- The number of instances which are managed for this version. Conflicts with percent.
- Percent int
- The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when 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 Integer
- The number of instances which are managed for this version. Conflicts with percent.
- percent 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 number
- The number of instances which are managed for this version. Conflicts with percent.
- percent number
- The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when 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 int
- The number of instances which are managed for this version. Conflicts with percent.
- percent int
- The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when 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 Number
- The number of instances which are managed for this version. Conflicts with percent.
- percent Number
- The number of instances (calculated as percentage) which are managed for this version. Conflicts with fixed. Note that when 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.