Show / Hide Table of Contents

Class PerInstanceConfig

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.

To get more information about PerInstanceConfig, see:

  • API documentation
  • How-to Guides
  • Official Documentation
Inheritance
System.Object
Resource
CustomResource
PerInstanceConfig
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Compute
Assembly: Pulumi.Gcp.dll
Syntax
public class PerInstanceConfig : CustomResource

Constructors

View Source

PerInstanceConfig(String, PerInstanceConfigArgs, CustomResourceOptions)

Create a PerInstanceConfig resource with the given unique name, arguments, and options.

Declaration
public PerInstanceConfig(string name, PerInstanceConfigArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

PerInstanceConfigArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

InstanceGroupManager

The instance group manager this instance config is part of.

Declaration
public Output<string> InstanceGroupManager { get; }
Property Value
Type Description
Output<System.String>
View Source

MinimalAction

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>
View Source

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>
View Source

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>
View Source

PreservedState

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

Declaration
public Output<PerInstanceConfigPreservedState> PreservedState { get; }
Property Value
Type Description
Output<PerInstanceConfigPreservedState>
View Source

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>
View Source

Zone

Zone where the containing instance group manager is located

Declaration
public Output<string> Zone { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, PerInstanceConfigState, CustomResourceOptions)

Get an existing PerInstanceConfig resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static PerInstanceConfig Get(string name, Input<string> id, PerInstanceConfigState 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.

PerInstanceConfigState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
PerInstanceConfig
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.