Creates a managed instance group using the information that you specify in the request. After the group is created, instances in the group are created using the specified instance template. This operation is marked as DONE when the group is created even if the instances in the group have not yet been created. You must separately verify the status of the individual instances with the listmanagedinstances method. A managed instance group can have up to 1000 VM instances per group. Please contact Cloud Support if you need an increase in this limit.
Create InstanceGroupManager Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
@overload
def InstanceGroupManager(resource_name: str,
args: Optional[InstanceGroupManagerArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceGroupManager(resource_name: str,
opts: Optional[ResourceOptions] = None,
all_instances_config: Optional[InstanceGroupManagerAllInstancesConfigArgs] = None,
auto_healing_policies: Optional[Sequence[InstanceGroupManagerAutoHealingPolicyArgs]] = None,
base_instance_name: Optional[str] = None,
description: Optional[str] = None,
distribution_policy: Optional[DistributionPolicyArgs] = None,
failover_action: Optional[InstanceGroupManagerFailoverAction] = None,
instance_flexibility_policy: Optional[InstanceGroupManagerInstanceFlexibilityPolicyArgs] = None,
instance_lifecycle_policy: Optional[InstanceGroupManagerInstanceLifecyclePolicyArgs] = None,
instance_template: Optional[str] = None,
list_managed_instances_results: Optional[InstanceGroupManagerListManagedInstancesResults] = None,
name: Optional[str] = None,
named_ports: Optional[Sequence[NamedPortArgs]] = None,
project: Optional[str] = None,
request_id: Optional[str] = None,
service_account: Optional[str] = None,
standby_policy: Optional[InstanceGroupManagerStandbyPolicyArgs] = None,
stateful_policy: Optional[StatefulPolicyArgs] = None,
target_pools: Optional[Sequence[str]] = None,
target_size: Optional[int] = None,
target_stopped_size: Optional[int] = None,
target_suspended_size: Optional[int] = None,
update_policy: Optional[InstanceGroupManagerUpdatePolicyArgs] = None,
versions: Optional[Sequence[InstanceGroupManagerVersionArgs]] = None,
zone: Optional[str] = None)
type: google-native:compute/beta:InstanceGroupManager
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "google-native_compute_beta_instance_group_manager" "name" {
# resource properties
}
Parameters
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resource.
- args
InstanceGroupManagerArgs
- The arguments to resource properties.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resource.
- args
InstanceGroupManagerArgs
- The arguments to resource properties.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var google_nativeInstanceGroupManagerResource = new GoogleNative.Compute.Beta.InstanceGroupManager("google-nativeInstanceGroupManagerResource", new()
{
AllInstancesConfig = new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerAllInstancesConfigArgs
{
Properties = new GoogleNative.Compute.Beta.Inputs.InstancePropertiesPatchArgs
{
Labels =
{
{ "string", "string" },
},
Metadata =
{
{ "string", "string" },
},
},
},
AutoHealingPolicies = new[]
{
new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerAutoHealingPolicyArgs
{
HealthCheck = "string",
InitialDelaySec = 0,
},
},
BaseInstanceName = "string",
Description = "string",
DistributionPolicy = new GoogleNative.Compute.Beta.Inputs.DistributionPolicyArgs
{
TargetShape = GoogleNative.Compute.Beta.DistributionPolicyTargetShape.Any,
Zones = new[]
{
new GoogleNative.Compute.Beta.Inputs.DistributionPolicyZoneConfigurationArgs
{
Zone = "string",
},
},
},
FailoverAction = GoogleNative.Compute.Beta.InstanceGroupManagerFailoverAction.NoFailover,
InstanceFlexibilityPolicy = new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerInstanceFlexibilityPolicyArgs
{
InstanceSelectionLists =
{
{ "string", "string" },
},
},
InstanceLifecyclePolicy = new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerInstanceLifecyclePolicyArgs
{
DefaultActionOnFailure = GoogleNative.Compute.Beta.InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure.Delete,
ForceUpdateOnRepair = GoogleNative.Compute.Beta.InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair.No,
},
InstanceTemplate = "string",
ListManagedInstancesResults = GoogleNative.Compute.Beta.InstanceGroupManagerListManagedInstancesResults.Pageless,
Name = "string",
NamedPorts = new[]
{
new GoogleNative.Compute.Beta.Inputs.NamedPortArgs
{
Name = "string",
Port = 0,
},
},
Project = "string",
RequestId = "string",
ServiceAccount = "string",
StandbyPolicy = new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerStandbyPolicyArgs
{
InitialDelaySec = 0,
Mode = GoogleNative.Compute.Beta.InstanceGroupManagerStandbyPolicyMode.Manual,
},
StatefulPolicy = new GoogleNative.Compute.Beta.Inputs.StatefulPolicyArgs
{
PreservedState = new GoogleNative.Compute.Beta.Inputs.StatefulPolicyPreservedStateArgs
{
Disks =
{
{ "string", "string" },
},
ExternalIPs =
{
{ "string", "string" },
},
InternalIPs =
{
{ "string", "string" },
},
},
},
TargetPools = new[]
{
"string",
},
TargetSize = 0,
TargetStoppedSize = 0,
TargetSuspendedSize = 0,
UpdatePolicy = new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerUpdatePolicyArgs
{
InstanceRedistributionType = GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyInstanceRedistributionType.None,
MaxSurge = new GoogleNative.Compute.Beta.Inputs.FixedOrPercentArgs
{
Fixed = 0,
Percent = 0,
},
MaxUnavailable = new GoogleNative.Compute.Beta.Inputs.FixedOrPercentArgs
{
Fixed = 0,
Percent = 0,
},
MinReadySec = 0,
MinimalAction = GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyMinimalAction.None,
MostDisruptiveAllowedAction = GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction.None,
ReplacementMethod = GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyReplacementMethod.Recreate,
Type = GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyType.Opportunistic,
},
Versions = new[]
{
new GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerVersionArgs
{
InstanceTemplate = "string",
Name = "string",
TargetSize = new GoogleNative.Compute.Beta.Inputs.FixedOrPercentArgs
{
Fixed = 0,
Percent = 0,
},
},
},
Zone = "string",
});
example, err := computebeta.NewInstanceGroupManager(ctx, "google-nativeInstanceGroupManagerResource", &computebeta.InstanceGroupManagerArgs{
AllInstancesConfig: &compute.InstanceGroupManagerAllInstancesConfigArgs{
Properties: &compute.InstancePropertiesPatchArgs{
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Metadata: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
AutoHealingPolicies: compute.InstanceGroupManagerAutoHealingPolicyArray{
&compute.InstanceGroupManagerAutoHealingPolicyArgs{
HealthCheck: pulumi.String("string"),
InitialDelaySec: pulumi.Int(0),
},
},
BaseInstanceName: pulumi.String("string"),
Description: pulumi.String("string"),
DistributionPolicy: &compute.DistributionPolicyArgs{
TargetShape: computebeta.DistributionPolicyTargetShapeAny,
Zones: compute.DistributionPolicyZoneConfigurationArray{
&compute.DistributionPolicyZoneConfigurationArgs{
Zone: pulumi.String("string"),
},
},
},
FailoverAction: computebeta.InstanceGroupManagerFailoverActionNoFailover,
InstanceFlexibilityPolicy: &compute.InstanceGroupManagerInstanceFlexibilityPolicyArgs{
InstanceSelectionLists: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
InstanceLifecyclePolicy: &compute.InstanceGroupManagerInstanceLifecyclePolicyArgs{
DefaultActionOnFailure: computebeta.InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureDelete,
ForceUpdateOnRepair: computebeta.InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairNo,
},
InstanceTemplate: pulumi.String("string"),
ListManagedInstancesResults: computebeta.InstanceGroupManagerListManagedInstancesResultsPageless,
Name: pulumi.String("string"),
NamedPorts: compute.NamedPortArray{
&compute.NamedPortArgs{
Name: pulumi.String("string"),
Port: pulumi.Int(0),
},
},
Project: pulumi.String("string"),
RequestId: pulumi.String("string"),
ServiceAccount: pulumi.String("string"),
StandbyPolicy: &compute.InstanceGroupManagerStandbyPolicyArgs{
InitialDelaySec: pulumi.Int(0),
Mode: computebeta.InstanceGroupManagerStandbyPolicyModeManual,
},
StatefulPolicy: &compute.StatefulPolicyArgs{
PreservedState: &compute.StatefulPolicyPreservedStateArgs{
Disks: pulumi.StringMap{
"string": pulumi.String("string"),
},
ExternalIPs: pulumi.StringMap{
"string": pulumi.String("string"),
},
InternalIPs: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
TargetPools: pulumi.StringArray{
pulumi.String("string"),
},
TargetSize: pulumi.Int(0),
TargetStoppedSize: pulumi.Int(0),
TargetSuspendedSize: pulumi.Int(0),
UpdatePolicy: &compute.InstanceGroupManagerUpdatePolicyArgs{
InstanceRedistributionType: computebeta.InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeNone,
MaxSurge: &compute.FixedOrPercentArgs{
Fixed: pulumi.Int(0),
Percent: pulumi.Int(0),
},
MaxUnavailable: &compute.FixedOrPercentArgs{
Fixed: pulumi.Int(0),
Percent: pulumi.Int(0),
},
MinReadySec: pulumi.Int(0),
MinimalAction: computebeta.InstanceGroupManagerUpdatePolicyMinimalActionNone,
MostDisruptiveAllowedAction: computebeta.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionNone,
ReplacementMethod: computebeta.InstanceGroupManagerUpdatePolicyReplacementMethodRecreate,
Type: computebeta.InstanceGroupManagerUpdatePolicyTypeOpportunistic,
},
Versions: compute.InstanceGroupManagerVersionArray{
&compute.InstanceGroupManagerVersionArgs{
InstanceTemplate: pulumi.String("string"),
Name: pulumi.String("string"),
TargetSize: &compute.FixedOrPercentArgs{
Fixed: pulumi.Int(0),
Percent: pulumi.Int(0),
},
},
},
Zone: pulumi.String("string"),
})
resource "google-native_compute_beta_instance_group_manager" "google-nativeInstanceGroupManagerResource" {
lifecycle {
create_before_destroy = true
}
all_instances_config = {
properties = {
labels = {
"string" = "string"
}
metadata = {
"string" = "string"
}
}
}
auto_healing_policies {
health_check = "string"
initial_delay_sec = 0
}
base_instance_name = "string"
description = "string"
distribution_policy = {
target_shape = "ANY"
zones = [{
zone = "string"
}]
}
failover_action = "NO_FAILOVER"
instance_flexibility_policy = {
instance_selection_lists = {
"string" = "string"
}
}
instance_lifecycle_policy = {
default_action_on_failure = "DELETE"
force_update_on_repair = "NO"
}
instance_template = "string"
list_managed_instances_results = "PAGELESS"
name = "string"
named_ports {
name = "string"
port = 0
}
project = "string"
request_id = "string"
service_account = "string"
standby_policy = {
initial_delay_sec = 0
mode = "MANUAL"
}
stateful_policy = {
preserved_state = {
disks = {
"string" = "string"
}
external_i_ps = {
"string" = "string"
}
internal_i_ps = {
"string" = "string"
}
}
}
target_pools = ["string"]
target_size = 0
target_stopped_size = 0
target_suspended_size = 0
update_policy = {
instance_redistribution_type = "NONE"
max_surge = {
fixed = 0
percent = 0
}
max_unavailable = {
fixed = 0
percent = 0
}
min_ready_sec = 0
minimal_action = "NONE"
most_disruptive_allowed_action = "NONE"
replacement_method = "RECREATE"
type = "OPPORTUNISTIC"
}
versions {
instance_template = "string"
name = "string"
target_size = {
fixed = 0
percent = 0
}
}
zone = "string"
}
var google_nativeInstanceGroupManagerResource = new com.pulumi.googlenative.compute.InstanceGroupManager("google-nativeInstanceGroupManagerResource", com.pulumi.googlenative.compute.InstanceGroupManagerArgs.builder()
.allInstancesConfig(InstanceGroupManagerAllInstancesConfigArgs.builder()
.properties(InstancePropertiesPatchArgs.builder()
.labels(Map.of("string", "string"))
.metadata(Map.of("string", "string"))
.build())
.build())
.autoHealingPolicies(com.pulumi.googlenative.compute.inputs.InstanceGroupManagerAutoHealingPolicyArgs.builder()
.healthCheck("string")
.initialDelaySec(0)
.build())
.baseInstanceName("string")
.description("string")
.distributionPolicy(com.pulumi.googlenative.compute.inputs.DistributionPolicyArgs.builder()
.targetShape(com.pulumi.googlenative.compute_beta.enums.DistributionPolicyTargetShape.Any)
.zones(com.pulumi.googlenative.compute.inputs.DistributionPolicyZoneConfigurationArgs.builder()
.zone("string")
.build())
.build())
.failoverAction(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerFailoverAction.NoFailover)
.instanceFlexibilityPolicy(InstanceGroupManagerInstanceFlexibilityPolicyArgs.builder()
.instanceSelectionLists(Map.of("string", "string"))
.build())
.instanceLifecyclePolicy(com.pulumi.googlenative.compute.inputs.InstanceGroupManagerInstanceLifecyclePolicyArgs.builder()
.defaultActionOnFailure(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure.Delete)
.forceUpdateOnRepair(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair.No)
.build())
.instanceTemplate("string")
.listManagedInstancesResults(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerListManagedInstancesResults.Pageless)
.name("string")
.namedPorts(com.pulumi.googlenative.compute.inputs.NamedPortArgs.builder()
.name("string")
.port(0)
.build())
.project("string")
.requestId("string")
.serviceAccount("string")
.standbyPolicy(InstanceGroupManagerStandbyPolicyArgs.builder()
.initialDelaySec(0)
.mode(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerStandbyPolicyMode.Manual)
.build())
.statefulPolicy(com.pulumi.googlenative.compute.inputs.StatefulPolicyArgs.builder()
.preservedState(com.pulumi.googlenative.compute.inputs.StatefulPolicyPreservedStateArgs.builder()
.disks(Map.of("string", "string"))
.externalIPs(Map.of("string", "string"))
.internalIPs(Map.of("string", "string"))
.build())
.build())
.targetPools("string")
.targetSize(0)
.targetStoppedSize(0)
.targetSuspendedSize(0)
.updatePolicy(com.pulumi.googlenative.compute.inputs.InstanceGroupManagerUpdatePolicyArgs.builder()
.instanceRedistributionType(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerUpdatePolicyInstanceRedistributionType.None)
.maxSurge(com.pulumi.googlenative.compute.inputs.FixedOrPercentArgs.builder()
.fixed(0)
.percent(0)
.build())
.maxUnavailable(com.pulumi.googlenative.compute.inputs.FixedOrPercentArgs.builder()
.fixed(0)
.percent(0)
.build())
.minReadySec(0)
.minimalAction(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerUpdatePolicyMinimalAction.None)
.mostDisruptiveAllowedAction(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction.None)
.replacementMethod(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerUpdatePolicyReplacementMethod.Recreate)
.type(com.pulumi.googlenative.compute_beta.enums.InstanceGroupManagerUpdatePolicyType.Opportunistic)
.build())
.versions(com.pulumi.googlenative.compute.inputs.InstanceGroupManagerVersionArgs.builder()
.instanceTemplate("string")
.name("string")
.targetSize(com.pulumi.googlenative.compute.inputs.FixedOrPercentArgs.builder()
.fixed(0)
.percent(0)
.build())
.build())
.zone("string")
.build());
google_native_instance_group_manager_resource = google_native.compute.beta.InstanceGroupManager("google-nativeInstanceGroupManagerResource",
all_instances_config={
"properties": {
"labels": {
"string": "string",
},
"metadata": {
"string": "string",
},
},
},
auto_healing_policies=[{
"health_check": "string",
"initial_delay_sec": 0,
}],
base_instance_name="string",
description="string",
distribution_policy={
"target_shape": google_native.compute.beta.DistributionPolicyTargetShape.ANY,
"zones": [{
"zone": "string",
}],
},
failover_action=google_native.compute.beta.InstanceGroupManagerFailoverAction.NO_FAILOVER,
instance_flexibility_policy={
"instance_selection_lists": {
"string": "string",
},
},
instance_lifecycle_policy={
"default_action_on_failure": google_native.compute.beta.InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure.DELETE,
"force_update_on_repair": google_native.compute.beta.InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair.NO,
},
instance_template="string",
list_managed_instances_results=google_native.compute.beta.InstanceGroupManagerListManagedInstancesResults.PAGELESS,
name="string",
named_ports=[{
"name": "string",
"port": 0,
}],
project="string",
request_id="string",
service_account="string",
standby_policy={
"initial_delay_sec": 0,
"mode": google_native.compute.beta.InstanceGroupManagerStandbyPolicyMode.MANUAL,
},
stateful_policy={
"preserved_state": {
"disks": {
"string": "string",
},
"external_ips": {
"string": "string",
},
"internal_ips": {
"string": "string",
},
},
},
target_pools=["string"],
target_size=0,
target_stopped_size=0,
target_suspended_size=0,
update_policy={
"instance_redistribution_type": google_native.compute.beta.InstanceGroupManagerUpdatePolicyInstanceRedistributionType.NONE,
"max_surge": {
"fixed": 0,
"percent": 0,
},
"max_unavailable": {
"fixed": 0,
"percent": 0,
},
"min_ready_sec": 0,
"minimal_action": google_native.compute.beta.InstanceGroupManagerUpdatePolicyMinimalAction.NONE,
"most_disruptive_allowed_action": google_native.compute.beta.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction.NONE,
"replacement_method": google_native.compute.beta.InstanceGroupManagerUpdatePolicyReplacementMethod.RECREATE,
"type": google_native.compute.beta.InstanceGroupManagerUpdatePolicyType.OPPORTUNISTIC,
},
versions=[{
"instance_template": "string",
"name": "string",
"target_size": {
"fixed": 0,
"percent": 0,
},
}],
zone="string")
const google_nativeInstanceGroupManagerResource = new google_native.compute.beta.InstanceGroupManager("google-nativeInstanceGroupManagerResource", {
allInstancesConfig: {
properties: {
labels: {
string: "string",
},
metadata: {
string: "string",
},
},
},
autoHealingPolicies: [{
healthCheck: "string",
initialDelaySec: 0,
}],
baseInstanceName: "string",
description: "string",
distributionPolicy: {
targetShape: google_native.compute.beta.DistributionPolicyTargetShape.Any,
zones: [{
zone: "string",
}],
},
failoverAction: google_native.compute.beta.InstanceGroupManagerFailoverAction.NoFailover,
instanceFlexibilityPolicy: {
instanceSelectionLists: {
string: "string",
},
},
instanceLifecyclePolicy: {
defaultActionOnFailure: google_native.compute.beta.InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure.Delete,
forceUpdateOnRepair: google_native.compute.beta.InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair.No,
},
instanceTemplate: "string",
listManagedInstancesResults: google_native.compute.beta.InstanceGroupManagerListManagedInstancesResults.Pageless,
name: "string",
namedPorts: [{
name: "string",
port: 0,
}],
project: "string",
requestId: "string",
serviceAccount: "string",
standbyPolicy: {
initialDelaySec: 0,
mode: google_native.compute.beta.InstanceGroupManagerStandbyPolicyMode.Manual,
},
statefulPolicy: {
preservedState: {
disks: {
string: "string",
},
externalIPs: {
string: "string",
},
internalIPs: {
string: "string",
},
},
},
targetPools: ["string"],
targetSize: 0,
targetStoppedSize: 0,
targetSuspendedSize: 0,
updatePolicy: {
instanceRedistributionType: google_native.compute.beta.InstanceGroupManagerUpdatePolicyInstanceRedistributionType.None,
maxSurge: {
fixed: 0,
percent: 0,
},
maxUnavailable: {
fixed: 0,
percent: 0,
},
minReadySec: 0,
minimalAction: google_native.compute.beta.InstanceGroupManagerUpdatePolicyMinimalAction.None,
mostDisruptiveAllowedAction: google_native.compute.beta.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction.None,
replacementMethod: google_native.compute.beta.InstanceGroupManagerUpdatePolicyReplacementMethod.Recreate,
type: google_native.compute.beta.InstanceGroupManagerUpdatePolicyType.Opportunistic,
},
versions: [{
instanceTemplate: "string",
name: "string",
targetSize: {
fixed: 0,
percent: 0,
},
}],
zone: "string",
});
type: google-native:compute/beta:InstanceGroupManager
properties:
allInstancesConfig:
properties:
labels:
string: string
metadata:
string: string
autoHealingPolicies:
- healthCheck: string
initialDelaySec: 0
baseInstanceName: string
description: string
distributionPolicy:
targetShape: ANY
zones:
- zone: string
failoverAction: NO_FAILOVER
instanceFlexibilityPolicy:
instanceSelectionLists:
string: string
instanceLifecyclePolicy:
defaultActionOnFailure: DELETE
forceUpdateOnRepair: "NO"
instanceTemplate: string
listManagedInstancesResults: PAGELESS
name: string
namedPorts:
- name: string
port: 0
project: string
requestId: string
serviceAccount: string
standbyPolicy:
initialDelaySec: 0
mode: MANUAL
statefulPolicy:
preservedState:
disks:
string: string
externalIPs:
string: string
internalIPs:
string: string
targetPools:
- string
targetSize: 0
targetStoppedSize: 0
targetSuspendedSize: 0
updatePolicy:
instanceRedistributionType: NONE
maxSurge:
fixed: 0
percent: 0
maxUnavailable:
fixed: 0
percent: 0
minReadySec: 0
minimalAction: NONE
mostDisruptiveAllowedAction: NONE
replacementMethod: RECREATE
type: OPPORTUNISTIC
versions:
- instanceTemplate: string
name: string
targetSize:
fixed: 0
percent: 0
zone: string
InstanceGroupManager Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The InstanceGroupManager resource accepts the following input properties:
- AllInstancesConfig
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerAllInstancesConfig
- Specifies configuration that overrides the instance template configuration for the group.
- AutoHealingPolicies
List<Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerAutoHealingPolicy>
- The autohealing policy for this managed instance group. You can specify only one value.
- BaseInstanceName
string
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- Description
string
- An optional description of this resource.
- DistributionPolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.DistributionPolicy
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- FailoverAction
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerFailoverAction
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- InstanceFlexibilityPolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerInstanceFlexibilityPolicy
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- InstanceLifecyclePolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerInstanceLifecyclePolicy
- The repair policy for this managed instance group.
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- ListManagedInstancesResults
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerListManagedInstancesResults
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- Name
string
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- NamedPorts
List<Pulumi.GoogleNative.Compute.Beta.Inputs.NamedPort>
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- Project
string
- RequestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- ServiceAccount
string
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- StandbyPolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerStandbyPolicy
- Standby policy for stopped and suspended instances.
- StatefulPolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.StatefulPolicy
- Stateful configuration for this Instanced Group Manager
- TargetPools
List<string>
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- TargetSize
int
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- TargetStoppedSize
int
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- TargetSuspendedSize
int
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- UpdatePolicy
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerUpdatePolicy
- The update policy for this managed instance group.
- Versions
List<Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerVersion>
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- Zone
string
- AllInstancesConfig
InstanceGroupManagerAllInstancesConfigArgs
- Specifies configuration that overrides the instance template configuration for the group.
- AutoHealingPolicies
[]InstanceGroupManagerAutoHealingPolicyArgs
- The autohealing policy for this managed instance group. You can specify only one value.
- BaseInstanceName
string
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- Description
string
- An optional description of this resource.
- DistributionPolicy
DistributionPolicyArgs
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- FailoverAction
InstanceGroupManagerFailoverAction
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- InstanceFlexibilityPolicy
InstanceGroupManagerInstanceFlexibilityPolicyArgs
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- InstanceLifecyclePolicy
InstanceGroupManagerInstanceLifecyclePolicyArgs
- The repair policy for this managed instance group.
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- ListManagedInstancesResults
InstanceGroupManagerListManagedInstancesResults
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- Name
string
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- NamedPorts
[]NamedPortArgs
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- Project
string
- RequestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- ServiceAccount
string
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- StandbyPolicy
InstanceGroupManagerStandbyPolicyArgs
- Standby policy for stopped and suspended instances.
- StatefulPolicy
StatefulPolicyArgs
- Stateful configuration for this Instanced Group Manager
- TargetPools
[]string
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- TargetSize
int
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- TargetStoppedSize
int
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- TargetSuspendedSize
int
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- UpdatePolicy
InstanceGroupManagerUpdatePolicyArgs
- The update policy for this managed instance group.
- Versions
[]InstanceGroupManagerVersionArgs
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- Zone
string
- all_instances_config
object
- Specifies configuration that overrides the instance template configuration for the group.
- auto_healing_policies
list(object)
- The autohealing policy for this managed instance group. You can specify only one value.
- base_instance_name
string
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- description
string
- An optional description of this resource.
- distribution_policy
object
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failover_action
"NO_FAILOVER" | "UNKNOWN"
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- instance_flexibility_policy
object
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance_lifecycle_policy
object
- The repair policy for this managed instance group.
- instance_template
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- list_managed_instances_results
"PAGELESS" | "PAGINATED"
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- name
string
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named_ports
list(object)
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project
string
- request_id
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- service_account
string
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby_policy
object
- Standby policy for stopped and suspended instances.
- stateful_policy
object
- Stateful configuration for this Instanced Group Manager
- target_pools
list(string)
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- target_size
number
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- target_stopped_size
number
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target_suspended_size
number
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- update_policy
object
- The update policy for this managed instance group.
- versions
list(object)
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- zone
string
- allInstancesConfig
InstanceGroupManagerAllInstancesConfig
- Specifies configuration that overrides the instance template configuration for the group.
- autoHealingPolicies
List<InstanceGroupManagerAutoHealingPolicy>
- The autohealing policy for this managed instance group. You can specify only one value.
- baseInstanceName
String
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- description
String
- An optional description of this resource.
- distributionPolicy
DistributionPolicy
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failoverAction
InstanceGroupManagerFailoverAction
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- instanceFlexibilityPolicy
InstanceGroupManagerInstanceFlexibilityPolicy
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instanceLifecyclePolicy
InstanceGroupManagerInstanceLifecyclePolicy
- The repair policy for this managed instance group.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- listManagedInstancesResults
InstanceGroupManagerListManagedInstancesResults
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- name
String
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- namedPorts
List<NamedPort>
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project
String
- requestId
String
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- serviceAccount
String
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standbyPolicy
InstanceGroupManagerStandbyPolicy
- Standby policy for stopped and suspended instances.
- statefulPolicy
StatefulPolicy
- Stateful configuration for this Instanced Group Manager
- targetPools
List<String>
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- targetSize
Integer
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- targetStoppedSize
Integer
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- targetSuspendedSize
Integer
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- updatePolicy
InstanceGroupManagerUpdatePolicy
- The update policy for this managed instance group.
- versions
List<InstanceGroupManagerVersion>
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- zone
String
- allInstancesConfig
InstanceGroupManagerAllInstancesConfig
- Specifies configuration that overrides the instance template configuration for the group.
- autoHealingPolicies
InstanceGroupManagerAutoHealingPolicy[]
- The autohealing policy for this managed instance group. You can specify only one value.
- baseInstanceName
string
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- description
string
- An optional description of this resource.
- distributionPolicy
DistributionPolicy
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failoverAction
InstanceGroupManagerFailoverAction
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- instanceFlexibilityPolicy
InstanceGroupManagerInstanceFlexibilityPolicy
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instanceLifecyclePolicy
InstanceGroupManagerInstanceLifecyclePolicy
- The repair policy for this managed instance group.
- instanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- listManagedInstancesResults
InstanceGroupManagerListManagedInstancesResults
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- name
string
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- namedPorts
NamedPort[]
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project
string
- requestId
string
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- serviceAccount
string
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standbyPolicy
InstanceGroupManagerStandbyPolicy
- Standby policy for stopped and suspended instances.
- statefulPolicy
StatefulPolicy
- Stateful configuration for this Instanced Group Manager
- targetPools
string[]
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- targetSize
number
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- targetStoppedSize
number
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- targetSuspendedSize
number
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- updatePolicy
InstanceGroupManagerUpdatePolicy
- The update policy for this managed instance group.
- versions
InstanceGroupManagerVersion[]
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- zone
string
- all_instances_config
InstanceGroupManagerAllInstancesConfigArgs
- Specifies configuration that overrides the instance template configuration for the group.
- auto_healing_policies
Sequence[InstanceGroupManagerAutoHealingPolicyArgs]
- The autohealing policy for this managed instance group. You can specify only one value.
- base_instance_name
str
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- description
str
- An optional description of this resource.
- distribution_policy
DistributionPolicyArgs
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failover_action
InstanceGroupManagerFailoverAction
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- instance_flexibility_policy
InstanceGroupManagerInstanceFlexibilityPolicyArgs
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instance_lifecycle_policy
InstanceGroupManagerInstanceLifecyclePolicyArgs
- The repair policy for this managed instance group.
- instance_template
str
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- list_managed_instances_results
InstanceGroupManagerListManagedInstancesResults
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- name
str
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- named_ports
Sequence[NamedPortArgs]
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project
str
- request_id
str
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- service_account
str
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standby_policy
InstanceGroupManagerStandbyPolicyArgs
- Standby policy for stopped and suspended instances.
- stateful_policy
StatefulPolicyArgs
- Stateful configuration for this Instanced Group Manager
- target_pools
Sequence[str]
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- target_size
int
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- target_stopped_size
int
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- target_suspended_size
int
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- update_policy
InstanceGroupManagerUpdatePolicyArgs
- The update policy for this managed instance group.
- versions
Sequence[InstanceGroupManagerVersionArgs]
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- zone
str
- allInstancesConfig
Property Map
- Specifies configuration that overrides the instance template configuration for the group.
- autoHealingPolicies
List<Property Map>
- The autohealing policy for this managed instance group. You can specify only one value.
- baseInstanceName
String
- The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035.
- description
String
- An optional description of this resource.
- distributionPolicy
Property Map
- Policy specifying the intended distribution of managed instances across zones in a regional managed instance group.
- failoverAction
"NO_FAILOVER" | "UNKNOWN"
- The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
- instanceFlexibilityPolicy
Property Map
- Instance flexibility allowing MIG to create VMs from multiple types of machines. Instance flexibility configuration on MIG overrides instance template configuration.
- instanceLifecyclePolicy
Property Map
- The repair policy for this managed instance group.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE.
- listManagedInstancesResults
"PAGELESS" | "PAGINATED"
- Pagination behavior of the listManagedInstances API method for this managed instance group.
- name
String
- The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035.
- namedPorts
List<Property Map>
- Named ports configured for the Instance Groups complementary to this Instance Group Manager.
- project
String
- requestId
String
- An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
- serviceAccount
String
- The service account to be used as credentials for all operations performed by the managed instance group on instances. The service accounts needs all permissions required to create and delete instances. By default, the service account {projectNumber}@cloudservices.gserviceaccount.com is used.
- standbyPolicy
Property Map
- Standby policy for stopped and suspended instances.
- statefulPolicy
Property Map
- Stateful configuration for this Instanced Group Manager
- targetPools
List<String>
- The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group.
- targetSize
Number
- The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number.
- targetStoppedSize
Number
- The target number of stopped instances for this managed instance group. This number changes when you: - Stop instance using the stopInstances method or start instances using the startInstances method. - Manually change the targetStoppedSize using the update method.
- targetSuspendedSize
Number
- The target number of suspended instances for this managed instance group. This number changes when you: - Suspend instance using the suspendInstances method or resume instances using the resumeInstances method. - Manually change the targetSuspendedSize using the update method.
- updatePolicy
Property Map
- The update policy for this managed instance group.
- versions
List<Property Map>
- Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates.
- zone
String
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceGroupManager resource produces the following output properties:
- CreationTimestamp
string
- The creation timestamp for this managed instance group in RFC3339 text format.
- CurrentActions
Pulumi.GoogleNative.Compute.Beta.Outputs.InstanceGroupManagerActionsSummaryResponse
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- Fingerprint
string
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- Id
string
- The provider-assigned unique ID for this managed resource.
- InstanceGroup
string
- The URL of the Instance Group resource.
- Kind
string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- Region
string
- The URL of the region where the managed instance group resides (for regional resources).
- SelfLink
string
- The URL for this managed instance group. The server defines this URL.
- Status
Pulumi.GoogleNative.Compute.Beta.Outputs.InstanceGroupManagerStatusResponse
- The status of this managed instance group.
- CreationTimestamp
string
- The creation timestamp for this managed instance group in RFC3339 text format.
- CurrentActions
InstanceGroupManagerActionsSummaryResponse
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- Fingerprint
string
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- Id
string
- The provider-assigned unique ID for this managed resource.
- InstanceGroup
string
- The URL of the Instance Group resource.
- Kind
string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- Region
string
- The URL of the region where the managed instance group resides (for regional resources).
- SelfLink
string
- The URL for this managed instance group. The server defines this URL.
- Status
InstanceGroupManagerStatusResponse
- The status of this managed instance group.
- creation_timestamp
string
- The creation timestamp for this managed instance group in RFC3339 text format.
- current_actions
object
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint
string
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- id
string
- The provider-assigned unique ID for this managed resource.
- instance_group
string
- The URL of the Instance Group resource.
- kind
string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region
string
- The URL of the region where the managed instance group resides (for regional resources).
- self_link
string
- The URL for this managed instance group. The server defines this URL.
- status
object
- The status of this managed instance group.
- creationTimestamp
String
- The creation timestamp for this managed instance group in RFC3339 text format.
- currentActions
InstanceGroupManagerActionsSummaryResponse
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint
String
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- id
String
- The provider-assigned unique ID for this managed resource.
- instanceGroup
String
- The URL of the Instance Group resource.
- kind
String
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region
String
- The URL of the region where the managed instance group resides (for regional resources).
- selfLink
String
- The URL for this managed instance group. The server defines this URL.
- status
InstanceGroupManagerStatusResponse
- The status of this managed instance group.
- creationTimestamp
string
- The creation timestamp for this managed instance group in RFC3339 text format.
- currentActions
InstanceGroupManagerActionsSummaryResponse
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint
string
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- id
string
- The provider-assigned unique ID for this managed resource.
- instanceGroup
string
- The URL of the Instance Group resource.
- kind
string
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region
string
- The URL of the region where the managed instance group resides (for regional resources).
- selfLink
string
- The URL for this managed instance group. The server defines this URL.
- status
InstanceGroupManagerStatusResponse
- The status of this managed instance group.
- creation_timestamp
str
- The creation timestamp for this managed instance group in RFC3339 text format.
- current_actions
InstanceGroupManagerActionsSummaryResponse
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint
str
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- id
str
- The provider-assigned unique ID for this managed resource.
- instance_group
str
- The URL of the Instance Group resource.
- kind
str
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region
str
- The URL of the region where the managed instance group resides (for regional resources).
- self_link
str
- The URL for this managed instance group. The server defines this URL.
- status
InstanceGroupManagerStatusResponse
- The status of this managed instance group.
- creationTimestamp
String
- The creation timestamp for this managed instance group in RFC3339 text format.
- currentActions
Property Map
- The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions.
- fingerprint
String
- Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager.
- id
String
- The provider-assigned unique ID for this managed resource.
- instanceGroup
String
- The URL of the Instance Group resource.
- kind
String
- The resource type, which is always compute#instanceGroupManager for managed instance groups.
- region
String
- The URL of the region where the managed instance group resides (for regional resources).
- selfLink
String
- The URL for this managed instance group. The server defines this URL.
- status
Property Map
- The status of this managed instance group.
Look up Existing InstanceGroupManager Resource
Get an existing InstanceGroupManager resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
func GetInstanceGroupManager(ctx *Context, name string, id IDInput, state *InstanceGroupManagerState, opts ...ResourceOption) (*InstanceGroupManager, error)
public static InstanceGroupManager get(String name, Output<String> id, CustomResourceOptions options)
resources: existingInstanceGroupManager: type: google-native:compute/beta:InstanceGroupManager get: id: ${id}
import {
to = google-native_compute_beta_instance_group_manager.example
id = "${id}"
}
- name
string
- The unique name of the resulting resource.
- id
Input<ID>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
str
- The unique name of the resulting resource.
- id
str
- The unique provider ID of the resource to look up.
- opts
ResourceOptions
- Bag of options to control resource's behavior.
- ctx
Context
- Context object for the current deployment.
- name
string
- The unique name of the resulting resource.
- id
IDInput
- The unique provider ID of the resource to look up.
- state
InstanceGroupManagerState
- Pass nil. This resource has no state arguments.
- opts
ResourceOption
- Bag of options to control resource's behavior.
- name
string
- The unique name of the resulting resource.
- id
Input<string>
- The unique provider ID of the resource to look up.
- opts
CustomResourceOptions
- Bag of options to control resource's behavior.
- name
String
- The unique name of the resulting resource.
- id
Output<String>
- The unique provider ID of the resource to look up.
- options
CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
DistributionPolicy, DistributionPolicyArgs
DistributionPolicyResponse
- TargetShape
string
- The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- Zones
[]DistributionPolicyZoneConfigurationResponse
- Zones where the regional managed instance group will create and manage its instances.
- target_shape
string
- The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
list(object)
- Zones where the regional managed instance group will create and manage its instances.
- targetShape
string
- The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
DistributionPolicyZoneConfigurationResponse[]
- Zones where the regional managed instance group will create and manage its instances.
- targetShape
String
- The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
- zones
List<Property Map>
- Zones where the regional managed instance group will create and manage its instances.
DistributionPolicyTargetShape
The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType).
| Name | Value | Description |
|---|
| Any | ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
| AnySingleZone | ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
| Balanced | BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
| Even | EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Name | Value | Description |
|---|
| DistributionPolicyTargetShapeAny | ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
| DistributionPolicyTargetShapeAnySingleZone | ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
| DistributionPolicyTargetShapeBalanced | BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
| DistributionPolicyTargetShapeEven | EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Value | Description |
|---|
ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Name | Value | Description |
|---|
| Any | ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
| AnySingleZone | ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
| Balanced | BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
| Even | EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Name | Value | Description |
|---|
| Any | ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
| AnySingleZone | ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
| Balanced | BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
| Even | EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Name | Value | Description |
|---|
| ANY | ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
| ANY_SINGLE_ZONE | ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
| BALANCED | BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
| EVEN | EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
| Value | Description |
|---|
ANY | The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. |
ANY_SINGLE_ZONE | The group creates all VM instances within a single zone. The zone is selected based on the present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads with heavy interprocess communication. |
BALANCED | The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. |
EVEN | The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. |
DistributionPolicyZoneConfiguration, DistributionPolicyZoneConfigurationArgs
- Zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- Zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
String
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
str
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
String
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
DistributionPolicyZoneConfigurationResponse
- Zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- Zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
String
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
string
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
str
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
- zone
String
- The URL of the zone. The zone must exist in the region where the managed instance group is located.
FixedOrPercent, FixedOrPercentArgs
Encapsulates numeric value that can be either absolute or relative.
- Fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- Percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- Fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- Percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- fixed
number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- fixed
Integer
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
Integer
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- fixed
number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- fixed
Number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
Number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
FixedOrPercentResponse
Encapsulates numeric value that can be either absolute or relative.
- Calculated
int
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- Fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- Percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- Calculated
int
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- Fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- Percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated
number
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed
number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated
Integer
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed
Integer
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
Integer
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated
number
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed
number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated
int
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed
int
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
int
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
- calculated
Number
- Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded.
- fixed
Number
- Specifies a fixed number of VM instances. This must be a positive integer.
- percent
Number
- Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.
InstanceGroupManagerActionsSummaryResponse
- Abandoning
int
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- Creating
int
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- CreatingWithoutRetries
int
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- Deleting
int
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- None
int
- The number of instances in the managed instance group that are running and have no scheduled actions.
- Recreating
int
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- Refreshing
int
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- Restarting
int
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- Resuming
int
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- Starting
int
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- Stopping
int
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- Suspending
int
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- Verifying
int
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- Abandoning
int
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- Creating
int
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- CreatingWithoutRetries
int
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- Deleting
int
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- None
int
- The number of instances in the managed instance group that are running and have no scheduled actions.
- Recreating
int
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- Refreshing
int
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- Restarting
int
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- Resuming
int
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- Starting
int
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- Stopping
int
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- Suspending
int
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- Verifying
int
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning
number
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating
number
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating_without_retries
number
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting
number
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none
number
- The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating
number
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing
number
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting
number
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming
number
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting
number
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping
number
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending
number
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying
number
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning
Integer
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating
Integer
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creatingWithoutRetries
Integer
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting
Integer
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none
Integer
- The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating
Integer
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing
Integer
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting
Integer
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming
Integer
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting
Integer
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping
Integer
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending
Integer
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying
Integer
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning
number
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating
number
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creatingWithoutRetries
number
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting
number
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none
number
- The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating
number
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing
number
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting
number
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming
number
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting
number
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping
number
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending
number
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying
number
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning
int
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating
int
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creating_without_retries
int
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting
int
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none
int
- The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating
int
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing
int
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting
int
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming
int
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting
int
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping
int
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending
int
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying
int
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
- abandoning
Number
- The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it.
- creating
Number
- The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated.
- creatingWithoutRetries
Number
- The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly.
- deleting
Number
- The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted.
- none
Number
- The number of instances in the managed instance group that are running and have no scheduled actions.
- recreating
Number
- The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template.
- refreshing
Number
- The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance.
- restarting
Number
- The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted.
- resuming
Number
- The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed.
- starting
Number
- The number of instances in the managed instance group that are scheduled to be started or are currently being started.
- stopping
Number
- The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped.
- suspending
Number
- The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended.
- verifying
Number
- The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation.
InstanceGroupManagerAllInstancesConfig, InstanceGroupManagerAllInstancesConfigArgs
- Properties
Pulumi.GoogleNative.Compute.Beta.Inputs.InstancePropertiesPatch
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- Properties
InstancePropertiesPatch
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
object
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatch
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatch
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatch
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
Property Map
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
InstanceGroupManagerAllInstancesConfigResponse
- Properties
Pulumi.GoogleNative.Compute.Beta.Inputs.InstancePropertiesPatchResponse
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- Properties
InstancePropertiesPatchResponse
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
object
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatchResponse
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatchResponse
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
InstancePropertiesPatchResponse
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
- properties
Property Map
- Properties to set on all instances in the group. You can add or modify properties using the instanceGroupManagers.patch or regionInstanceGroupManagers.patch. After setting allInstancesConfig on the group, you must update the group's instances to apply the configuration. To apply the configuration, set the group's updatePolicy.type field to use proactive updates or use the applyUpdatesToInstances method.
InstanceGroupManagerAutoHealingPolicy, InstanceGroupManagerAutoHealingPolicyArgs
- HealthCheck
string
- The URL for the health check that signals autohealing.
- InitialDelaySec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- HealthCheck
string
- The URL for the health check that signals autohealing.
- InitialDelaySec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health_check
string
- The URL for the health check that signals autohealing.
- initial_delay_sec
number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
String
- The URL for the health check that signals autohealing.
- initialDelaySec
Integer
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
string
- The URL for the health check that signals autohealing.
- initialDelaySec
number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health_check
str
- The URL for the health check that signals autohealing.
- initial_delay_sec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
String
- The URL for the health check that signals autohealing.
- initialDelaySec
Number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
InstanceGroupManagerAutoHealingPolicyResponse
- HealthCheck
string
- The URL for the health check that signals autohealing.
- InitialDelaySec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- HealthCheck
string
- The URL for the health check that signals autohealing.
- InitialDelaySec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health_check
string
- The URL for the health check that signals autohealing.
- initial_delay_sec
number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
String
- The URL for the health check that signals autohealing.
- initialDelaySec
Integer
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
string
- The URL for the health check that signals autohealing.
- initialDelaySec
number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- health_check
str
- The URL for the health check that signals autohealing.
- initial_delay_sec
int
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
- healthCheck
String
- The URL for the health check that signals autohealing.
- initialDelaySec
Number
- The initial delay is the number of seconds that a new VM takes to initialize and run its startup script. During a VM's initial delay period, the MIG ignores unsuccessful health checks because the VM might be in the startup process. This prevents the MIG from prematurely recreating a VM. If the health check receives a healthy response during the initial delay, it indicates that the startup process is complete and the VM is ready. The value of initial delay must be between 0 and 3600 seconds. The default value is 0.
InstanceGroupManagerFailoverAction
The action to perform in case of zone failure. Only one value is supported, NO_FAILOVER. The default is NO_FAILOVER.
| Name | Value |
|---|
| NoFailover | NO_FAILOVER |
| Unknown | UNKNOWN |
| Name | Value |
|---|
| InstanceGroupManagerFailoverActionNoFailover | NO_FAILOVER |
| InstanceGroupManagerFailoverActionUnknown | UNKNOWN |
| Name | Value |
|---|
| NoFailover | NO_FAILOVER |
| Unknown | UNKNOWN |
| Name | Value |
|---|
| NoFailover | NO_FAILOVER |
| Unknown | UNKNOWN |
| Name | Value |
|---|
| NO_FAILOVER | NO_FAILOVER |
| UNKNOWN | UNKNOWN |
InstanceGroupManagerInstanceFlexibilityPolicy, InstanceGroupManagerInstanceFlexibilityPolicyArgs
- InstanceSelectionLists
Dictionary<string, string>
- Named instance selections configuring properties that the group will use when creating new VMs.
- InstanceSelectionLists
map[string]string
- Named instance selections configuring properties that the group will use when creating new VMs.
- instance_selection_lists
map(string)
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
Map<String,String>
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
{[key: string]: string}
- Named instance selections configuring properties that the group will use when creating new VMs.
- instance_selection_lists
Mapping[str, str]
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
Map<String>
- Named instance selections configuring properties that the group will use when creating new VMs.
InstanceGroupManagerInstanceFlexibilityPolicyResponse
- InstanceSelectionLists
Dictionary<string, string>
- Named instance selections configuring properties that the group will use when creating new VMs.
- InstanceSelectionLists
map[string]string
- Named instance selections configuring properties that the group will use when creating new VMs.
- instance_selection_lists
map(string)
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
Map<String,String>
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
{[key: string]: string}
- Named instance selections configuring properties that the group will use when creating new VMs.
- instance_selection_lists
Mapping[str, str]
- Named instance selections configuring properties that the group will use when creating new VMs.
- instanceSelectionLists
Map<String>
- Named instance selections configuring properties that the group will use when creating new VMs.
InstanceGroupManagerInstanceLifecyclePolicy, InstanceGroupManagerInstanceLifecyclePolicyArgs
- DefaultActionOnFailure
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- ForceUpdateOnRepair
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default_action_on_failure
"DELETE" | "DO_NOTHING" | "REPAIR"
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force_update_on_repair
"NO" | "YES"
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default_action_on_failure
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force_update_on_repair
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
"DELETE" | "DO_NOTHING" | "REPAIR"
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
"NO" | "YES"
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailure
The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
| Name | Value | Description |
|---|
| Delete | DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
| DoNothing | DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
| Repair | REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Name | Value | Description |
|---|
| InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureDelete | DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
| InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureDoNothing | DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
| InstanceGroupManagerInstanceLifecyclePolicyDefaultActionOnFailureRepair | REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Value | Description |
|---|
DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Name | Value | Description |
|---|
| Delete | DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
| DoNothing | DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
| Repair | REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Name | Value | Description |
|---|
| Delete | DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
| DoNothing | DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
| Repair | REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Name | Value | Description |
|---|
| DELETE | DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
| DO_NOTHING | DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
| REPAIR | REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
| Value | Description |
|---|
DELETE | MIG deletes a failed or an unhealthy VM. Deleting the VM decreases the target size of the MIG. |
DO_NOTHING | MIG does not repair a failed or an unhealthy VM. |
REPAIR | (Default) MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. |
InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepair
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
| Name | Value |
|---|
| InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairNo | NO |
| InstanceGroupManagerInstanceLifecyclePolicyForceUpdateOnRepairYes | YES |
InstanceGroupManagerInstanceLifecyclePolicyResponse
- DefaultActionOnFailure
string
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- ForceUpdateOnRepair
string
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- DefaultActionOnFailure
string
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- ForceUpdateOnRepair
string
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default_action_on_failure
string
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force_update_on_repair
string
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
String
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
String
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
string
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
string
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- default_action_on_failure
str
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- force_update_on_repair
str
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
- defaultActionOnFailure
String
- The action that a MIG performs on a failed or an unhealthy VM. A VM is marked as unhealthy when the application running on that VM fails a health check. Valid values are - REPAIR (default): MIG automatically repairs a failed or an unhealthy VM by recreating it. For more information, see About repairing VMs in a MIG. - DO_NOTHING: MIG does not repair a failed or an unhealthy VM.
- forceUpdateOnRepair
String
- A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM. Valid options are: - NO (default): If configuration updates are available, they are not forcefully applied during repair. Instead, configuration updates are applied according to the group's update policy. - YES: If configuration updates are available, they are applied during repair.
InstanceGroupManagerListManagedInstancesResults
Pagination behavior of the listManagedInstances API method for this managed instance group.
| Name | Value | Description |
|---|
| Pageless | PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
| Paginated | PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Name | Value | Description |
|---|
| InstanceGroupManagerListManagedInstancesResultsPageless | PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
| InstanceGroupManagerListManagedInstancesResultsPaginated | PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Value | Description |
|---|
PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Name | Value | Description |
|---|
| Pageless | PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
| Paginated | PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Name | Value | Description |
|---|
| Pageless | PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
| Paginated | PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Name | Value | Description |
|---|
| PAGELESS | PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
| PAGINATED | PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
| Value | Description |
|---|
PAGELESS | (Default) Pagination is disabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are ignored and all instances are returned in a single response. |
PAGINATED | Pagination is enabled for the group's listManagedInstances API method. maxResults and pageToken query parameters are respected. |
InstanceGroupManagerStandbyPolicy, InstanceGroupManagerStandbyPolicyArgs
InstanceGroupManagerStandbyPolicyMode
Defines behaviour of using instances from standby pool to resize MIG.
| Name | Value | Description |
|---|
| Manual | MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
| ScaleOutPool | SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Name | Value | Description |
|---|
| InstanceGroupManagerStandbyPolicyModeManual | MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
| InstanceGroupManagerStandbyPolicyModeScaleOutPool | SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Value | Description |
|---|
MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Name | Value | Description |
|---|
| Manual | MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
| ScaleOutPool | SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Name | Value | Description |
|---|
| Manual | MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
| ScaleOutPool | SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Name | Value | Description |
|---|
| MANUAL | MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
| SCALE_OUT_POOL | SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
| Value | Description |
|---|
MANUAL | MIG does not automatically stop/start or suspend/resume VMs. |
SCALE_OUT_POOL | MIG automatically resumes and starts VMs when it scales out, and replenishes the standby pool afterwards. |
InstanceGroupManagerStandbyPolicyResponse
- InitialDelaySec
int
- Mode
string
- Defines behaviour of using instances from standby pool to resize MIG.
- InitialDelaySec
int
- Mode
string
- Defines behaviour of using instances from standby pool to resize MIG.
- initialDelaySec
Integer
- mode
String
- Defines behaviour of using instances from standby pool to resize MIG.
- initialDelaySec
number
- mode
string
- Defines behaviour of using instances from standby pool to resize MIG.
- initialDelaySec
Number
- mode
String
- Defines behaviour of using instances from standby pool to resize MIG.
InstanceGroupManagerStatusAllInstancesConfigResponse
- CurrentRevision
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.
- CurrentRevision
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.
- currentRevision
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.
- currentRevision
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.
- currentRevision
String
- Current all-instances configuration revision. This value is in RFC3339 text format.
- effective
Boolean
- A bit indicating whether this configuration has been applied to all managed instances in the group.
InstanceGroupManagerStatusResponse
- all_instances_config
object
- [Output only] Status of all-instances configuration on the group.
- autoscaler
string
- The URL of the Autoscaler that targets this instance group manager.
- is_stable
bool
- A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful
object
- Stateful status of the given Instance Group Manager.
- version_target
object
- A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
- allInstancesConfig
Property Map
- [Output only] Status of all-instances configuration on the group.
- autoscaler
String
- The URL of the Autoscaler that targets this instance group manager.
- isStable
Boolean
- A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified.
- stateful
Property Map
- Stateful status of the given Instance Group Manager.
- versionTarget
Property Map
- A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager.
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- AllEffective
bool
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- AllEffective
bool
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all_effective
bool
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- allEffective
Boolean
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- allEffective
boolean
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- all_effective
bool
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
- allEffective
Boolean
- A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs.
InstanceGroupManagerStatusStatefulResponse
- HasStatefulConfig
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- IsStateful
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- PerInstanceConfigs
Pulumi.GoogleNative.Compute.Beta.Inputs.InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- Status of per-instance configurations on the instance.
- HasStatefulConfig
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- IsStateful
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- PerInstanceConfigs
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- Status of per-instance configurations on the instance.
- has_stateful_config
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- is_stateful
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- per_instance_configs
object
- Status of per-instance configurations on the instance.
- hasStatefulConfig
Boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- isStateful
Boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- perInstanceConfigs
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- Status of per-instance configurations on the instance.
- hasStatefulConfig
boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- isStateful
boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- perInstanceConfigs
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- Status of per-instance configurations on the instance.
- has_stateful_config
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- is_stateful
bool
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- per_instance_configs
InstanceGroupManagerStatusStatefulPerInstanceConfigsResponse
- Status of per-instance configurations on the instance.
- hasStatefulConfig
Boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions.
- isStateful
Boolean
- A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
Deprecated: [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. This field is deprecated in favor of has_stateful_config.
- perInstanceConfigs
Property Map
- Status of per-instance configurations on the instance.
InstanceGroupManagerStatusVersionTargetResponse
- IsReached
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
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.
- isReached
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
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.
- isReached
Boolean
- A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager.
InstanceGroupManagerUpdatePolicy, InstanceGroupManagerUpdatePolicyArgs
- InstanceRedistributionType
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyInstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- MaxSurge
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercent
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- MaxUnavailable
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercent
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- MinReadySec
int
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- MinimalAction
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyMinimalAction
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- MostDisruptiveAllowedAction
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- ReplacementMethod
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyReplacementMethod
- What action should be used to replace instances. See minimal_action.REPLACE
- Type
Pulumi.GoogleNative.Compute.Beta.InstanceGroupManagerUpdatePolicyType
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- InstanceRedistributionType
InstanceGroupManagerUpdatePolicyInstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- MaxSurge
FixedOrPercent
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- MaxUnavailable
FixedOrPercent
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- MinReadySec
int
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- MinimalAction
InstanceGroupManagerUpdatePolicyMinimalAction
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- MostDisruptiveAllowedAction
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- ReplacementMethod
InstanceGroupManagerUpdatePolicyReplacementMethod
- What action should be used to replace instances. See minimal_action.REPLACE
- Type
InstanceGroupManagerUpdatePolicyType
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instance_redistribution_type
"NONE" | "PROACTIVE"
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_surge
object
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- max_unavailable
object
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- min_ready_sec
number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal_action
"NONE" | "REFRESH" | "REPLACE" | "RESTART"
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_disruptive_allowed_action
"NONE" | "REFRESH" | "REPLACE" | "RESTART"
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_method
"RECREATE" | "SUBSTITUTE"
- What action should be used to replace instances. See minimal_action.REPLACE
- type
"OPPORTUNISTIC" | "PROACTIVE"
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
InstanceGroupManagerUpdatePolicyInstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
FixedOrPercent
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
FixedOrPercent
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
Integer
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
InstanceGroupManagerUpdatePolicyMinimalAction
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
InstanceGroupManagerUpdatePolicyReplacementMethod
- What action should be used to replace instances. See minimal_action.REPLACE
- type
InstanceGroupManagerUpdatePolicyType
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
InstanceGroupManagerUpdatePolicyInstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
FixedOrPercent
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
FixedOrPercent
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
InstanceGroupManagerUpdatePolicyMinimalAction
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
InstanceGroupManagerUpdatePolicyReplacementMethod
- What action should be used to replace instances. See minimal_action.REPLACE
- type
InstanceGroupManagerUpdatePolicyType
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instance_redistribution_type
InstanceGroupManagerUpdatePolicyInstanceRedistributionType
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_surge
FixedOrPercent
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- max_unavailable
FixedOrPercent
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- min_ready_sec
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
InstanceGroupManagerUpdatePolicyMinimalAction
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_disruptive_allowed_action
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_method
InstanceGroupManagerUpdatePolicyReplacementMethod
- What action should be used to replace instances. See minimal_action.REPLACE
- type
InstanceGroupManagerUpdatePolicyType
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
"NONE" | "PROACTIVE"
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
Property Map
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
Property Map
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
Number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
"NONE" | "REFRESH" | "REPLACE" | "RESTART"
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
"NONE" | "REFRESH" | "REPLACE" | "RESTART"
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
"RECREATE" | "SUBSTITUTE"
- What action should be used to replace instances. See minimal_action.REPLACE
- type
"OPPORTUNISTIC" | "PROACTIVE"
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
InstanceGroupManagerUpdatePolicyInstanceRedistributionType
The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
| Name | Value | Description |
|---|
| None | NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
| Proactive | PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Name | Value | Description |
|---|
| InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeNone | NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
| InstanceGroupManagerUpdatePolicyInstanceRedistributionTypeProactive | PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Value | Description |
|---|
NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Name | Value | Description |
|---|
| None | NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
| Proactive | PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Name | Value | Description |
|---|
| None | NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
| Proactive | PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Name | Value | Description |
|---|
| NONE | NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
| PROACTIVE | PROACTIVE | This IGM will actively converge to its target instance distribution. |
| Value | Description |
|---|
NONE | No action is being proactively performed in order to bring this IGM to its target instance distribution. |
PROACTIVE | This IGM will actively converge to its target instance distribution. |
InstanceGroupManagerUpdatePolicyMinimalAction
Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| InstanceGroupManagerUpdatePolicyMinimalActionNone | NONE | Do not perform any action. |
| InstanceGroupManagerUpdatePolicyMinimalActionRefresh | REFRESH | Do not stop the instance. |
| InstanceGroupManagerUpdatePolicyMinimalActionReplace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| InstanceGroupManagerUpdatePolicyMinimalActionRestart | RESTART | Stop the instance and start it again. |
| Value | Description |
|---|
NONE | Do not perform any action. |
REFRESH | Do not stop the instance. |
REPLACE | (Default.) Replace the instance according to the replacement method option. |
RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| NONE | NONE | Do not perform any action. |
| REFRESH | REFRESH | Do not stop the instance. |
| REPLACE | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| RESTART | RESTART | Stop the instance and start it again. |
| Value | Description |
|---|
NONE | Do not perform any action. |
REFRESH | Do not stop the instance. |
REPLACE | (Default.) Replace the instance according to the replacement method option. |
RESTART | Stop the instance and start it again. |
InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedAction
Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionNone | NONE | Do not perform any action. |
| InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionRefresh | REFRESH | Do not stop the instance. |
| InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionReplace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| InstanceGroupManagerUpdatePolicyMostDisruptiveAllowedActionRestart | RESTART | Stop the instance and start it again. |
| Value | Description |
|---|
NONE | Do not perform any action. |
REFRESH | Do not stop the instance. |
REPLACE | (Default.) Replace the instance according to the replacement method option. |
RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| None | NONE | Do not perform any action. |
| Refresh | REFRESH | Do not stop the instance. |
| Replace | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| Restart | RESTART | Stop the instance and start it again. |
| Name | Value | Description |
|---|
| NONE | NONE | Do not perform any action. |
| REFRESH | REFRESH | Do not stop the instance. |
| REPLACE | REPLACE | (Default.) Replace the instance according to the replacement method option. |
| RESTART | RESTART | Stop the instance and start it again. |
| Value | Description |
|---|
NONE | Do not perform any action. |
REFRESH | Do not stop the instance. |
REPLACE | (Default.) Replace the instance according to the replacement method option. |
RESTART | Stop the instance and start it again. |
InstanceGroupManagerUpdatePolicyReplacementMethod
What action should be used to replace instances. See minimal_action.REPLACE
| Name | Value | Description |
|---|
| Recreate | RECREATE | Instances will be recreated (with the same name) |
| Substitute | SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Name | Value | Description |
|---|
| InstanceGroupManagerUpdatePolicyReplacementMethodRecreate | RECREATE | Instances will be recreated (with the same name) |
| InstanceGroupManagerUpdatePolicyReplacementMethodSubstitute | SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Value | Description |
|---|
RECREATE | Instances will be recreated (with the same name) |
SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Name | Value | Description |
|---|
| Recreate | RECREATE | Instances will be recreated (with the same name) |
| Substitute | SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Name | Value | Description |
|---|
| Recreate | RECREATE | Instances will be recreated (with the same name) |
| Substitute | SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Name | Value | Description |
|---|
| RECREATE | RECREATE | Instances will be recreated (with the same name) |
| SUBSTITUTE | SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
| Value | Description |
|---|
RECREATE | Instances will be recreated (with the same name) |
SUBSTITUTE | Default option: instances will be deleted and created (with a new name) |
InstanceGroupManagerUpdatePolicyResponse
- InstanceRedistributionType
string
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- MaxSurge
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercentResponse
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- MaxUnavailable
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercentResponse
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- MinReadySec
int
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- MinimalAction
string
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- MostDisruptiveAllowedAction
string
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- ReplacementMethod
string
- What action should be used to replace instances. See minimal_action.REPLACE
- Type
string
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- InstanceRedistributionType
string
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- MaxSurge
FixedOrPercentResponse
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- MaxUnavailable
FixedOrPercentResponse
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- MinReadySec
int
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- MinimalAction
string
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- MostDisruptiveAllowedAction
string
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- ReplacementMethod
string
- What action should be used to replace instances. See minimal_action.REPLACE
- Type
string
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instance_redistribution_type
string
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_surge
object
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- max_unavailable
object
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- min_ready_sec
number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimal_action
string
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_disruptive_allowed_action
string
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_method
string
- What action should be used to replace instances. See minimal_action.REPLACE
- type
string
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
String
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
FixedOrPercentResponse
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
FixedOrPercentResponse
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
Integer
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
String
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
String
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
String
- What action should be used to replace instances. See minimal_action.REPLACE
- type
String
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
string
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
FixedOrPercentResponse
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
FixedOrPercentResponse
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
string
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
string
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
string
- What action should be used to replace instances. See minimal_action.REPLACE
- type
string
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instance_redistribution_type
str
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- max_surge
FixedOrPercentResponse
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- max_unavailable
FixedOrPercentResponse
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- min_ready_sec
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
str
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- most_disruptive_allowed_action
str
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacement_method
str
- What action should be used to replace instances. See minimal_action.REPLACE
- type
str
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
- instanceRedistributionType
String
- The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled.
- maxSurge
Property Map
- The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge.
- maxUnavailable
Property Map
- The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable.
- minReadySec
Number
- Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600].
- minimalAction
String
- Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes.
- mostDisruptiveAllowedAction
String
- Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to avoid restarting the VM and to limit disruption as much as possible. RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
- replacementMethod
String
- What action should be used to replace instances. See minimal_action.REPLACE
- type
String
- The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
InstanceGroupManagerUpdatePolicyType
The type of update process. You can specify either PROACTIVE so that the MIG automatically updates VMs to the latest configurations or OPPORTUNISTIC so that you can select the VMs that you want to update.
| Name | Value | Description |
|---|
| Opportunistic | OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
| Proactive | PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Name | Value | Description |
|---|
| InstanceGroupManagerUpdatePolicyTypeOpportunistic | OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
| InstanceGroupManagerUpdatePolicyTypeProactive | PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Value | Description |
|---|
OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Name | Value | Description |
|---|
| Opportunistic | OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
| Proactive | PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Name | Value | Description |
|---|
| Opportunistic | OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
| Proactive | PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Name | Value | Description |
|---|
| OPPORTUNISTIC | OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
| PROACTIVE | PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
| Value | Description |
|---|
OPPORTUNISTIC | MIG will apply new configurations to existing VMs only when you selectively target specific or all VMs to be updated. |
PROACTIVE | MIG will automatically apply new configurations to all or a subset of existing VMs and also to new VMs that are added to the group. |
InstanceGroupManagerVersion, InstanceGroupManagerVersionArgs
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - Name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- TargetSize
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercent
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - Name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- TargetSize
FixedOrPercent
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_template
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- target_size
object
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
String
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
FixedOrPercent
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
FixedOrPercent
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_template
str
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
str
- Name of the version. Unique among all versions in the scope of this managed instance group.
- target_size
FixedOrPercent
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
String
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
Property Map
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
InstanceGroupManagerVersionResponse
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - Name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- TargetSize
Pulumi.GoogleNative.Compute.Beta.Inputs.FixedOrPercentResponse
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- InstanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - Name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- TargetSize
FixedOrPercentResponse
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_template
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- target_size
object
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
String
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
FixedOrPercentResponse
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
string
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
string
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
FixedOrPercentResponse
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instance_template
str
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
str
- Name of the version. Unique among all versions in the scope of this managed instance group.
- target_size
FixedOrPercentResponse
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
- instanceTemplate
String
- The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the
targetSize for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the targetSize for this version is reached. - name
String
- Name of the version. Unique among all versions in the scope of this managed instance group.
- targetSize
Property Map
- Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information.
InstancePropertiesPatch, InstancePropertiesPatchArgs
Represents the change that you want to make to the instance properties.
- Labels
Dictionary<string, string>
- The label key-value pairs that you want to patch onto the instance.
- Metadata
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
map[string]string
- The label key-value pairs that you want to patch onto the instance.
- Metadata
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
map(string)
- The label key-value pairs that you want to patch onto the instance.
- metadata
map(string)
- The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
- labels
Map<String,String>
- The label key-value pairs that you want to patch onto the instance.
- metadata
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
{[key: string]: string}
- The label key-value pairs that you want to patch onto the instance.
- metadata
{[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
Mapping[str, str]
- The label key-value pairs that you want to patch onto the instance.
- metadata
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
Map<String>
- The label key-value pairs that you want to patch onto the instance.
- metadata
Map<String>
- The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
InstancePropertiesPatchResponse
Represents the change that you want to make to the instance properties.
- Labels
Dictionary<string, string>
- The label key-value pairs that you want to patch onto the instance.
- Metadata
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
map[string]string
- The label key-value pairs that you want to patch onto the instance.
- Metadata
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
map(string)
- The label key-value pairs that you want to patch onto the instance.
- metadata
map(string)
- The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
- labels
Map<String,String>
- The label key-value pairs that you want to patch onto the instance.
- metadata
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
{[key: string]: string}
- The label key-value pairs that you want to patch onto the instance.
- metadata
{[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
Mapping[str, str]
- The label key-value pairs that you want to patch onto the instance.
- metadata
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
Map<String>
- The label key-value pairs that you want to patch onto the instance.
- metadata
Map<String>
- The metadata key-value pairs that you want to patch onto the instance. For more information, see Project and instance metadata.
NamedPort, NamedPortArgs
The named port. For example: <"http", 80>.
- Name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- Port
int
- The port number, which can be a value between 1 and 65535.
- Name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- Port
int
- The port number, which can be a value between 1 and 65535.
- name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
number
- The port number, which can be a value between 1 and 65535.
- name
String
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
Integer
- The port number, which can be a value between 1 and 65535.
- name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
number
- The port number, which can be a value between 1 and 65535.
- name
str
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
int
- The port number, which can be a value between 1 and 65535.
- name
String
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
Number
- The port number, which can be a value between 1 and 65535.
NamedPortResponse
The named port. For example: <"http", 80>.
- Name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- Port
int
- The port number, which can be a value between 1 and 65535.
- Name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- Port
int
- The port number, which can be a value between 1 and 65535.
- name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
number
- The port number, which can be a value between 1 and 65535.
- name
String
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
Integer
- The port number, which can be a value between 1 and 65535.
- name
string
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
number
- The port number, which can be a value between 1 and 65535.
- name
str
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
int
- The port number, which can be a value between 1 and 65535.
- name
String
- The name for this named port. The name must be 1-63 characters long, and comply with RFC1035.
- port
Number
- The port number, which can be a value between 1 and 65535.
StatefulPolicy, StatefulPolicyArgs
StatefulPolicyPreservedState, StatefulPolicyPreservedStateArgs
Configuration of preserved resources.
- Disks
Dictionary<string, string>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- ExternalIPs
Dictionary<string, string>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- InternalIPs
Dictionary<string, string>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- Disks
map[string]string
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- ExternalIPs
map[string]string
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- InternalIPs
map[string]string
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
map(string)
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- external_i_ps
map(string)
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal_i_ps
map(string)
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Map<String,String>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
Map<String,String>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
Map<String,String>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
{[key: string]: string}
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
{[key: string]: string}
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
{[key: string]: string}
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Mapping[str, str]
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- external_ips
Mapping[str, str]
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal_ips
Mapping[str, str]
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Map<String>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
Map<String>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
Map<String>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
StatefulPolicyPreservedStateResponse
Configuration of preserved resources.
- Disks
Dictionary<string, string>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- ExternalIPs
Dictionary<string, string>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- InternalIPs
Dictionary<string, string>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- Disks
map[string]string
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- ExternalIPs
map[string]string
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- InternalIPs
map[string]string
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
map(string)
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- external_i_ps
map(string)
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal_i_ps
map(string)
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Map<String,String>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
Map<String,String>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
Map<String,String>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
{[key: string]: string}
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
{[key: string]: string}
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
{[key: string]: string}
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Mapping[str, str]
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- external_ips
Mapping[str, str]
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internal_ips
Mapping[str, str]
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- disks
Map<String>
- Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks.
- externalIPs
Map<String>
- External network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
- internalIPs
Map<String>
- Internal network IPs assigned to the instances that will be preserved on instance delete, update, etc. This map is keyed with the network interface name.
StatefulPolicyResponse
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0