Compute Engine v1 API - Class PerInstanceConfig (2.6.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
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 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