public sealed class PerInstanceConfig : IMessage<PerInstanceConfig>, IEquatable<PerInstanceConfig>, IDeepCloneable<PerInstanceConfig>, IBufferMessage, IMessage
Implements
IMessage<PerInstanceConfig>, IEquatable<PerInstanceConfig>, IDeepCloneable<PerInstanceConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
PerInstanceConfig()
public PerInstanceConfig()
PerInstanceConfig(PerInstanceConfig)
public PerInstanceConfig(PerInstanceConfig other)
Parameter | |
---|---|
Name | Description |
other | PerInstanceConfig |
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 | |
---|---|
Type | Description |
String |
HasFingerprint
public bool HasFingerprint { get; }
Gets whether the "fingerprint" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
Boolean |
HasStatus
public bool HasStatus { get; }
Gets whether the "status" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |