Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Cluster.
A cluster in a private cloud.
Generated from protobuf message google.cloud.vmwareengine.v1.Cluster
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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
↳ create_time
↳ update_time
↳ state
int
Output only. State of the resource.
↳ management
bool
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.
↳ uid
string
Output only. System-generated unique identifier for the resource.
↳ node_type_configs
array| Google\Protobuf\Internal\MapField
Required. The map of cluster node types in this cluster, where the key is canonical identifier of the node type (corresponds to the NodeType
).
↳ stretched_cluster_config
Google\Cloud\VmwareEngine\V1\StretchedClusterConfig
Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
getName
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
string
setName
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
var
string
$this
getCreateTime
Output only. Creation time of this resource.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Creation time of this resource.
$this
getUpdateTime
Output only. Last update time of this resource.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Last update time of this resource.
$this
getState
Output only. State of the resource.
int
setState
Output only. State of the resource.
var
int
$this
getManagement
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.
bool
setManagement
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.
var
bool
$this
getUid
Output only. System-generated unique identifier for the resource.
string
setUid
Output only. System-generated unique identifier for the resource.
var
string
$this
getNodeTypeConfigs
Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the NodeType
).
setNodeTypeConfigs
Required. The map of cluster node types in this cluster, where the key is
canonical identifier of the node type (corresponds to the NodeType
).
$this
getStretchedClusterConfig
Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
hasStretchedClusterConfig
clearStretchedClusterConfig
setStretchedClusterConfig
Optional. Configuration of a stretched cluster. Required for clusters that belong to a STRETCHED private cloud.
$this