Google Cloud Vmware Engine V1 Client - Class NodeTypeConfig (0.5.6)

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

Information about the type and number of nodes associated with the cluster.

Generated from protobuf message google.cloud.vmwareengine.v1.NodeTypeConfig

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ node_count int

Required. The number of nodes of this type in the cluster

↳ custom_core_count int

Optional. Customized number of cores available to each node of the type. This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value from nodeType.availableCustomCoreCounts will be used.

getNodeCount

Required. The number of nodes of this type in the cluster

Returns
Type Description
int

setNodeCount

Required. The number of nodes of this type in the cluster

Parameter
Name Description
var int
Returns
Type Description
$this

getCustomCoreCount

Optional. Customized number of cores available to each node of the type.

This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value from nodeType.availableCustomCoreCounts will be used.

Returns
Type Description
int

setCustomCoreCount

Optional. Customized number of cores available to each node of the type.

This number must always be one of nodeType.availableCustomCoreCounts. If zero is provided max value from nodeType.availableCustomCoreCounts will be used.

Parameter
Name Description
var int
Returns
Type Description
$this