Class PerInstanceConfig (1.11.0)

PerInstanceConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Attributes

NameDescription
fingerprint str
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. This field is a member of oneof_ _fingerprint.
name str
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. This field is a member of oneof_ _name.
preserved_state google.cloud.compute_v1.types.PreservedState
The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy. This field is a member of oneof_ _preserved_state.
status str
The status of applying this per-instance configuration on the corresponding managed instance. Check the Status enum for the list of possible values. This field is a member of oneof_ _status.

Classes

Status

Status(value)

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

Values: UNDEFINED_STATUS (0): A value indicating that the enum field is not set. APPLYING (352003508): The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. DELETING (528602024): The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. EFFECTIVE (244201863): 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. NONE (2402104): [Default] The default status, when no per-instance configuration exists. UNAPPLIED (483935140): The per-instance configuration is set on an instance but not been applied yet. UNAPPLIED_DELETION (313956873): The per-instance configuration has been deleted, but the deletion is not yet applied.