Class: Google::Cloud::Compute::V1::NodeGroup
- Inherits:
-
Object
- Object
- Google::Cloud::Compute::V1::NodeGroup
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/compute/v1/compute.rb
Overview
Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes.
Defined Under Namespace
Modules: MaintenancePolicy, Status
Instance Attribute Summary collapse
-
#autoscaling_policy ⇒ ::Google::Cloud::Compute::V1::NodeGroupAutoscalingPolicy
Specifies how autoscaling should behave.
-
#creation_timestamp ⇒ ::String
[Output Only] Creation timestamp in RFC3339 text format.
-
#description ⇒ ::String
An optional description of this resource.
- #fingerprint ⇒ ::String
-
#id ⇒ ::Integer
[Output Only] The unique identifier for the resource.
-
#kind ⇒ ::String
[Output Only] The type of the resource.
-
#location_hint ⇒ ::String
An opaque location hint used to place the Node close to other resources.
-
#maintenance_policy ⇒ ::String
Specifies how to handle instances when a node in the group undergoes maintenance.
- #maintenance_window ⇒ ::Google::Cloud::Compute::V1::NodeGroupMaintenanceWindow
-
#name ⇒ ::String
The name of the resource, provided by the client when initially creating the resource.
-
#node_template ⇒ ::String
URL of the node template to create the node group from.
-
#self_link ⇒ ::String
[Output Only] Server-defined URL for the resource.
-
#size ⇒ ::Integer
[Output Only] The total number of nodes in the node group.
-
#status ⇒ ::String
Check the Status enum for the list of possible values.
-
#zone ⇒ ::String
[Output Only] The name of the zone where the node group resides, such as us-central1-a.
Instance Attribute Details
#autoscaling_policy ⇒ ::Google::Cloud::Compute::V1::NodeGroupAutoscalingPolicy
Returns Specifies how autoscaling should behave.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#creation_timestamp ⇒ ::String
Returns [Output Only] Creation timestamp in RFC3339 text format.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#description ⇒ ::String
Returns An optional description of this resource. Provide this property when you create the resource.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#fingerprint ⇒ ::String
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#id ⇒ ::Integer
Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#kind ⇒ ::String
Returns [Output Only] The type of the resource. Always compute#nodeGroup for node group.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#location_hint ⇒ ::String
Returns An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#maintenance_policy ⇒ ::String
Returns Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. Check the MaintenancePolicy enum for the list of possible values.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#maintenance_window ⇒ ::Google::Cloud::Compute::V1::NodeGroupMaintenanceWindow
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#name ⇒ ::String
Returns The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#node_template ⇒ ::String
Returns URL of the node template to create the node group from.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#self_link ⇒ ::String
Returns [Output Only] Server-defined URL for the resource.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#size ⇒ ::Integer
Returns [Output Only] The total number of nodes in the node group.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#status ⇒ ::String
Returns Check the Status enum for the list of possible values.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |
#zone ⇒ ::String
Returns [Output Only] The name of the zone where the node group resides, such as us-central1-a.
16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 |
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16865 class NodeGroup include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. module MaintenancePolicy # A value indicating that the enum field is not set. UNDEFINED_MAINTENANCE_POLICY = 0 # Allow the node and corresponding instances to retain default maintenance behavior. DEFAULT = 115302945 MAINTENANCE_POLICY_UNSPECIFIED = 72964182 # When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MIGRATE_WITHIN_NODE_GROUP = 153483394 # Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RESTART_IN_PLACE = 228647325 end module Status # A value indicating that the enum field is not set. UNDEFINED_STATUS = 0 CREATING = 455564985 DELETING = 528602024 INVALID = 530283991 READY = 77848963 end end |