RegionPerInstanceConfigArgs

data class RegionPerInstanceConfigArgs(val minimalAction: Output<String>? = null, val mostDisruptiveAllowedAction: Output<String>? = null, val name: Output<String>? = null, val preservedState: Output<RegionPerInstanceConfigPreservedStateArgs>? = null, val project: Output<String>? = null, val region: Output<String>? = null, val regionInstanceGroupManager: Output<String>? = null, val removeInstanceStateOnDestroy: Output<Boolean>? = null) : ConvertibleToJava<RegionPerInstanceConfigArgs>

A config defined for a single managed instance that belongs to an instance group manager. It preserves the instance name across instance group manager operations and can define stateful disks or metadata that are unique to the instance. This resource works with regional instance group managers. To get more information about RegionPerInstanceConfig, see:

Example Usage

{{% /examples %}}

Import

RegionPerInstanceConfig can be imported using any of these accepted formats

$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default projects/{{project}}/regions/{{region}}/instanceGroupManagers/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{project}}/{{region}}/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{region}}/{{region_instance_group_manager}}/{{name}}
$ pulumi import gcp:compute/regionPerInstanceConfig:RegionPerInstanceConfig default {{region_instance_group_manager}}/{{name}}

Constructors

Link copied to clipboard
fun RegionPerInstanceConfigArgs(minimalAction: Output<String>? = null, mostDisruptiveAllowedAction: Output<String>? = null, name: Output<String>? = null, preservedState: Output<RegionPerInstanceConfigPreservedStateArgs>? = null, project: Output<String>? = null, region: Output<String>? = null, regionInstanceGroupManager: Output<String>? = null, removeInstanceStateOnDestroy: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): RegionPerInstanceConfigArgs

Properties

Link copied to clipboard
val minimalAction: Output<String>? = null

The minimal action to perform on the instance during an update. Default is NONE. Possible values are:

Link copied to clipboard
val mostDisruptiveAllowedAction: Output<String>? = null

The most disruptive action to perform on the instance during an update. Default is REPLACE. Possible values are:

Link copied to clipboard
val name: Output<String>? = null

The name for this per-instance config and its corresponding instance.

Link copied to clipboard

The preserved state for this instance. Structure is documented below.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val region: Output<String>? = null

Region where the containing instance group manager is located

Link copied to clipboard
val regionInstanceGroupManager: Output<String>? = null

The region instance group manager this instance config is part of.

Link copied to clipboard

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.