PerInstanceConfig

JSON representation
{
  "name": string,
  "preservedState": {
    object (PreservedState)
  },
  "status": enum (ApplicationStatus),
  "fingerprint": string
}
Fields
name

string

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 configuration for a VM instance that either doesn't exist or is not part of the group will result in an error.

preservedState

object (PreservedState)

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

status

enum (ApplicationStatus)

The status of applying this per-instance configuration on the corresponding managed instance.

fingerprint

string (bytes format)

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.

A base64-encoded string.

ApplicationStatus

Enums
NONE [Default] The default status, when no per-instance configuration exists.
UNAPPLIED The per-instance configuration is set on an instance but not been applied yet.
APPLYING

The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example,

REFRESH

.

EFFECTIVE The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance.
UNAPPLIED_DELETION The per-instance configuration has been deleted, but the deletion is not yet applied.
DELETING

The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example,

REFRESH

.