Class RegionPerInstanceConfig
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:
- API documentation
- How-to Guides
- Official Documentation
Inherited Members
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class RegionPerInstanceConfig : CustomResource
Constructors
View SourceRegionPerInstanceConfig(String, RegionPerInstanceConfigArgs, CustomResourceOptions)
Create a RegionPerInstanceConfig resource with the given unique name, arguments, and options.
Declaration
public RegionPerInstanceConfig(string name, RegionPerInstanceConfigArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| RegionPerInstanceConfigArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceMinimalAction
The minimal action to perform on the instance during an update.
Default is NONE. Possible values are:
- REPLACE
- RESTART
- REFRESH
- NONE
Declaration
public Output<string> MinimalAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MostDisruptiveAllowedAction
The most disruptive action to perform on the instance during an update.
Default is REPLACE. Possible values are:
- REPLACE
- RESTART
- REFRESH
- NONE
Declaration
public Output<string> MostDisruptiveAllowedAction { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name for this per-instance config and its corresponding instance.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
PreservedState
The preserved state for this instance. Structure is documented below.
Declaration
public Output<RegionPerInstanceConfigPreservedState> PreservedState { get; }
Property Value
| Type | Description |
|---|---|
| Output<RegionPerInstanceConfigPreservedState> |
Project
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Declaration
public Output<string> Project { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Region
Region where the containing instance group manager is located
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
RegionInstanceGroupManager
The region instance group manager this instance config is part of.
Declaration
public Output<string> RegionInstanceGroupManager { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, RegionPerInstanceConfigState, CustomResourceOptions)
Get an existing RegionPerInstanceConfig resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static RegionPerInstanceConfig Get(string name, Input<string> id, RegionPerInstanceConfigState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| RegionPerInstanceConfigState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| RegionPerInstanceConfig |