RegionPerInstanceConfigArgs class
The set of arguments for RegionPerInstanceConfig. The set of arguments for RegionPerInstanceConfig.
Constructors
-
RegionPerInstanceConfigArgs({Input<
String?> ? deletionPolicy, Input<String?> ? minimalAction, Input<String?> ? mostDisruptiveAllowedAction, Input<String?> ? name, Input<RegionPerInstanceConfigPreservedState?> ? preservedState, Input<String?> ? project, Input<String?> ? region, required Input<String> regionInstanceGroupManager, Input<bool?> ? removeInstanceOnDestroy, Input<bool?> ? removeInstanceStateOnDestroy}) -
Creates a new RegionPerInstanceConfigArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.minimalActionThe minimal action to perform on the instance during an update.mostDisruptiveAllowedActionThe most disruptive action to perform on the instance during an update.nameThe name for this per-instance config and its corresponding instance.preservedStateThe preserved state for this instance.projectThe ID of the project in which the resource belongs.regionRegion where the containing instance group manager is locatedregionInstanceGroupManagerThe region instance group manager this instance config is part of.removeInstanceOnDestroyWhen true, deleting this config will immediately remove the underlying instance.removeInstanceStateOnDestroyWhen true, deleting this config will immediately remove any specified state from the underlying instance.const -
RegionPerInstanceConfigArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
minimalAction
→ Input<
String?> ? -
The minimal action to perform on the instance during an update.
Default is
NONE. Possible values are:final -
mostDisruptiveAllowedAction
→ Input<
String?> ? -
The most disruptive action to perform on the instance during an update.
Default is
REPLACE. Possible values are:final -
name
→ Input<
String?> ? -
The name for this per-instance config and its corresponding instance.
final
-
preservedState
→ Input<
RegionPerInstanceConfigPreservedState?> ? -
The preserved state for this instance.
Structure is documented below.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
region
→ Input<
String?> ? -
Region where the containing instance group manager is located
final
-
regionInstanceGroupManager
→ Input<
String> -
The region instance group manager this instance config is part of.
final
-
removeInstanceOnDestroy
→ Input<
bool?> ? -
When true, deleting this config will immediately remove the underlying instance.
When false, deleting this config will use the behavior as determined by remove_instance_on_destroy.
final
-
removeInstanceStateOnDestroy
→ Input<
bool?> ? -
When true, deleting this config will immediately remove any specified state from the underlying instance.
When false, deleting this config will not immediately remove any state from the underlying instance.
State will be removed on the next instance recreation or update.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited