public sealed class PerInstanceConfig : IMessage<PerInstanceConfig>, IEquatable<PerInstanceConfig>, IDeepCloneable<PerInstanceConfig>, IBufferMessage, IMessage
Implements
IMessagePerInstanceConfig, IEquatablePerInstanceConfig, IDeepCloneablePerInstanceConfig, 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 configuration 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 |
bool |
HasName
public bool HasName { get; }
Gets whether the "name" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasStatus
public bool HasStatus { get; }
Gets whether the "status" field is set
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
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 configuration on the corresponding managed instance. Check the Status enum for the list of possible values.
Property Value | |
---|---|
Type | Description |
string |