Class ComputeRegionInstanceGroupManagerUpdatePolicy.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- com.hashicorp.cdktf.providers.google.compute_region_instance_group_manager.ComputeRegionInstanceGroupManagerUpdatePolicy.Jsii$Proxy
-
- All Implemented Interfaces:
ComputeRegionInstanceGroupManagerUpdatePolicy,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- ComputeRegionInstanceGroupManagerUpdatePolicy
@Stability(Stable) @Internal public static final class ComputeRegionInstanceGroupManagerUpdatePolicy.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements ComputeRegionInstanceGroupManagerUpdatePolicy
An implementation forComputeRegionInstanceGroupManagerUpdatePolicy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.providers.google.compute_region_instance_group_manager.ComputeRegionInstanceGroupManagerUpdatePolicy
ComputeRegionInstanceGroupManagerUpdatePolicy.Builder, ComputeRegionInstanceGroupManagerUpdatePolicy.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(ComputeRegionInstanceGroupManagerUpdatePolicy.Builder builder)Constructor that initializes the object based on literal property values passed by theComputeRegionInstanceGroupManagerUpdatePolicy.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)StringgetInstanceRedistributionType()The instance redistribution policy for regional managed instance groups.NumbergetMaxSurgeFixed()Specifies a fixed number of VM instances.NumbergetMaxSurgePercent()Specifies a percentage of instances between 0 to 100%, inclusive.NumbergetMaxUnavailableFixed()Specifies a fixed number of VM instances.NumbergetMaxUnavailablePercent()Specifies a percentage of instances between 0 to 100%, inclusive.StringgetMinimalAction()Minimal action to be taken on an instance.StringgetMostDisruptiveAllowedAction()Most disruptive action that is allowed to be taken on an instance.StringgetReplacementMethod()The instance replacement method for regional managed instance groups.StringgetType()The type of update process.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(ComputeRegionInstanceGroupManagerUpdatePolicy.Builder builder)
Constructor that initializes the object based on literal property values passed by theComputeRegionInstanceGroupManagerUpdatePolicy.Builder.
-
-
Method Detail
-
getMinimalAction
public final String getMinimalAction()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicyMinimal action to be taken on an instance.You can specify either NONE to forbid any actions, REFRESH to update without stopping instances, RESTART to restart existing instances or REPLACE to delete and create new instances from the target template. If you specify a REFRESH, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#minimal_action ComputeRegionInstanceGroupManager#minimal_action}
- Specified by:
getMinimalActionin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getType
public final String getType()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicyThe type of update process.You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#type ComputeRegionInstanceGroupManager#type}
- Specified by:
getTypein interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getInstanceRedistributionType
public final String getInstanceRedistributionType()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicyThe instance redistribution policy for regional managed instance groups.Valid values are: "PROACTIVE", "NONE". If PROACTIVE (default), the group attempts to maintain an even distribution of VM instances across zones in the region. If NONE, proactive redistribution is disabled. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#instance_redistribution_type ComputeRegionInstanceGroupManager#instance_redistribution_type}
- Specified by:
getInstanceRedistributionTypein interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getMaxSurgeFixed
public final Number getMaxSurgeFixed()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicySpecifies a fixed number of VM instances.This must be a positive integer. Conflicts with max_surge_percent. Both cannot be 0 Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#max_surge_fixed ComputeRegionInstanceGroupManager#max_surge_fixed}
- Specified by:
getMaxSurgeFixedin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getMaxSurgePercent
public final Number getMaxSurgePercent()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicySpecifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with max_surge_fixed.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#max_surge_percent ComputeRegionInstanceGroupManager#max_surge_percent}
- Specified by:
getMaxSurgePercentin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getMaxUnavailableFixed
public final Number getMaxUnavailableFixed()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicySpecifies a fixed number of VM instances. This must be a positive integer.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#max_unavailable_fixed ComputeRegionInstanceGroupManager#max_unavailable_fixed}
- Specified by:
getMaxUnavailableFixedin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getMaxUnavailablePercent
public final Number getMaxUnavailablePercent()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicySpecifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#max_unavailable_percent ComputeRegionInstanceGroupManager#max_unavailable_percent}
- Specified by:
getMaxUnavailablePercentin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getMostDisruptiveAllowedAction
public final String getMostDisruptiveAllowedAction()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicyMost disruptive action that is allowed to be taken on an instance.You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#most_disruptive_allowed_action ComputeRegionInstanceGroupManager#most_disruptive_allowed_action}
- Specified by:
getMostDisruptiveAllowedActionin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
getReplacementMethod
public final String getReplacementMethod()
Description copied from interface:ComputeRegionInstanceGroupManagerUpdatePolicyThe instance replacement method for regional managed instance groups.Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_region_instance_group_manager#replacement_method ComputeRegionInstanceGroupManager#replacement_method}
- Specified by:
getReplacementMethodin interfaceComputeRegionInstanceGroupManagerUpdatePolicy
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-