Reference documentation and code samples for the Google Cloud VMware Engine V1 API class Google::Cloud::VmwareEngine::V1::Cluster.
A cluster in a private cloud.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Creation time of this resource.
#management
def management() -> ::Boolean
Returns
- (::Boolean) — Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one.
#name
def name() -> ::String
Returns
-
(::String) — Output only. The resource name of this cluster.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
projects/my-project/locations/us-central1-a/privateClouds/my-cloud/clusters/my-cluster
#node_type_configs
def node_type_configs() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) — Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the
NodeType
).
#node_type_configs=
def node_type_configs=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}
Parameter
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) — Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the
NodeType
).
Returns
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::VmwareEngine::V1::NodeTypeConfig}) — Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the
NodeType
).
#state
def state() -> ::Google::Cloud::VmwareEngine::V1::Cluster::State
Returns
- (::Google::Cloud::VmwareEngine::V1::Cluster::State) — Output only. State of the resource.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. System-generated unique identifier for the resource.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. Last update time of this resource.