Google Cloud Vmware Engine V1 Client - Class ManagementCluster (0.5.4)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class ManagementCluster.

Management cluster configuration.

Generated from protobuf message google.cloud.vmwareengine.v1.PrivateCloud.ManagementCluster

Namespace

Google \ Cloud \ VmwareEngine \ V1 \ PrivateCloud

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cluster_id string

Required. The user-provided identifier of the new Cluster. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with RFC 1034 (section 3.5)

↳ 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 STRETCHED private clouds.

getClusterId

Required. The user-provided identifier of the new Cluster.

The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
Returns
Type Description
string

setClusterId

Required. The user-provided identifier of the new Cluster.

The identifier must meet the following requirements:

  • Only contains 1-63 alphanumeric characters and hyphens
  • Begins with an alphabetical character
  • Ends with a non-hyphen character
  • Not formatted as a UUID
  • Complies with RFC 1034 (section 3.5)
Parameter
Name Description
var string
Returns
Type Description
$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).

Returns
Type Description
Google\Protobuf\Internal\MapField

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).

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getStretchedClusterConfig

Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.

Returns
Type Description
Google\Cloud\VmwareEngine\V1\StretchedClusterConfig|null

hasStretchedClusterConfig

clearStretchedClusterConfig

setStretchedClusterConfig

Optional. Configuration of a stretched cluster. Required for STRETCHED private clouds.

Parameter
Name Description
var Google\Cloud\VmwareEngine\V1\StretchedClusterConfig
Returns
Type Description
$this