Compute Engine v1 API - Class PerInstanceConfig (2.13.0)

public sealed class PerInstanceConfig : IMessage<PerInstanceConfig>, IEquatable<PerInstanceConfig>, IDeepCloneable<PerInstanceConfig>, IBufferMessage, IMessage

Inheritance

object > PerInstanceConfig

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

PerInstanceConfig()

public PerInstanceConfig()

PerInstanceConfig(PerInstanceConfig)

public PerInstanceConfig(PerInstanceConfig other)
Parameter
NameDescription
otherPerInstanceConfig

Properties

Fingerprint

public string Fingerprint { get; set; }

Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset.

Property Value
TypeDescription
string

HasFingerprint

public bool HasFingerprint { get; }

Gets whether the "fingerprint" field is set

Property Value
TypeDescription
bool

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
bool

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
bool

Name

public string Name { get; set; }

The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error.

Property Value
TypeDescription
string

PreservedState

public PreservedState PreservedState { get; set; }

The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.

Property Value
TypeDescription
PreservedState

Status

public string Status { get; set; }

The status of applying this per-instance configuration on the corresponding managed instance. Check the Status enum for the list of possible values.

Property Value
TypeDescription
string