Class: Google::Cloud::Compute::V1::PerInstanceConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::PerInstanceConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Defined Under Namespace
Modules: Status
Instance Attribute Summary collapse
-
#fingerprint ⇒ ::String
Fingerprint of this per-instance config.
-
#name ⇒ ::String
The name of a per-instance config and its corresponding instance.
-
#preserved_state ⇒ ::Google::Cloud::Compute::V1::PreservedState
The intended preserved state for the given instance.
-
#status ⇒ ::String
The status of applying this per-instance config on the corresponding managed instance.
Instance Attribute Details
#fingerprint ⇒ ::String
Returns 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.
18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18737 class PerInstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of applying this per-instance config on the corresponding managed instance. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # The per-instance config is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. APPLYING = 352003508 # The per-instance config deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. DELETING = 528602024 # The per-instance config is effective on the instance, meaning that all disks, ips and metadata specified in this config are attached or set on the instance. EFFECTIVE = 244201863 # *[Default]* The default status, when no per-instance config exists. NONE = 2402104 # The per-instance config is set on an instance but not been applied yet. UNAPPLIED = 483935140 # The per-instance config has been deleted, but the deletion is not yet applied. UNAPPLIED_DELETION = 313956873 end end |
#name ⇒ ::String
Returns 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.
18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18737 class PerInstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of applying this per-instance config on the corresponding managed instance. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # The per-instance config is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. APPLYING = 352003508 # The per-instance config deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. DELETING = 528602024 # The per-instance config is effective on the instance, meaning that all disks, ips and metadata specified in this config are attached or set on the instance. EFFECTIVE = 244201863 # *[Default]* The default status, when no per-instance config exists. NONE = 2402104 # The per-instance config is set on an instance but not been applied yet. UNAPPLIED = 483935140 # The per-instance config has been deleted, but the deletion is not yet applied. UNAPPLIED_DELETION = 313956873 end end |
#preserved_state ⇒ ::Google::Cloud::Compute::V1::PreservedState
Returns The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy.
18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18737 class PerInstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of applying this per-instance config on the corresponding managed instance. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # The per-instance config is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. APPLYING = 352003508 # The per-instance config deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. DELETING = 528602024 # The per-instance config is effective on the instance, meaning that all disks, ips and metadata specified in this config are attached or set on the instance. EFFECTIVE = 244201863 # *[Default]* The default status, when no per-instance config exists. NONE = 2402104 # The per-instance config is set on an instance but not been applied yet. UNAPPLIED = 483935140 # The per-instance config has been deleted, but the deletion is not yet applied. UNAPPLIED_DELETION = 313956873 end end |
#status ⇒ ::String
Returns The status of applying this per-instance config on the corresponding managed instance. Check the Status enum for the list of possible values.
18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18737 class PerInstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The status of applying this per-instance config on the corresponding managed instance. module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 # The per-instance config is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. APPLYING = 352003508 # The per-instance config deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. DELETING = 528602024 # The per-instance config is effective on the instance, meaning that all disks, ips and metadata specified in this config are attached or set on the instance. EFFECTIVE = 244201863 # *[Default]* The default status, when no per-instance config exists. NONE = 2402104 # The per-instance config is set on an instance but not been applied yet. UNAPPLIED = 483935140 # The per-instance config has been deleted, but the deletion is not yet applied. UNAPPLIED_DELETION = 313956873 end end |