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

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
NameDescription
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
TypeDescription
int

setNodeCount

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

Parameter
NameDescription
var int
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this