Class PerInstanceConfig (1.3.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 config 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
Boolean

HasName

public bool HasName { get; }

Gets whether the "name" field is set

Property Value
TypeDescription
Boolean

HasStatus

public bool HasStatus { get; }

Gets whether the "status" field is set

Property Value
TypeDescription
Boolean

Name

public string Name { get; set; }

The name of a per-instance config and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance config 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 config 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 config on the corresponding managed instance. Check the Status enum for the list of possible values.

Property Value
TypeDescription
String