Google Cloud Migration Center V1 Client - Class VmwareNodeAllocation (1.0.1)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class VmwareNodeAllocation.

Represents assets allocated to a specific VMWare Node type.

Generated from protobuf message google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation

Namespace

Google \ Cloud \ MigrationCenter \ V1 \ ReportSummary

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ vmware_node VmwareNode

VMWare node type, e.g. "ve1-standard-72"

↳ node_count int|string

Count of this node type to be provisioned

↳ allocated_asset_count int|string

Count of assets allocated to these nodes

getVmwareNode

VMWare node type, e.g. "ve1-standard-72"

Returns
Type Description
VmwareNode|null

hasVmwareNode

clearVmwareNode

setVmwareNode

VMWare node type, e.g. "ve1-standard-72"

Parameter
Name Description
var VmwareNode
Returns
Type Description
$this

getNodeCount

Count of this node type to be provisioned

Returns
Type Description
int|string

setNodeCount

Count of this node type to be provisioned

Parameter
Name Description
var int|string
Returns
Type Description
$this

getAllocatedAssetCount

Count of assets allocated to these nodes

Returns
Type Description
int|string

setAllocatedAssetCount

Count of assets allocated to these nodes

Parameter
Name Description
var int|string
Returns
Type Description
$this