Google Cloud Migration Center V1 Client - Class VmwareDiskConfig (1.0.2)

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

VMware disk config details.

Generated from protobuf message google.cloud.migrationcenter.v1.VmwareDiskConfig

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ backing_type int

VMDK backing type.

↳ shared bool

Is VMDK shared with other VMs.

↳ vmdk_mode int

VMDK disk mode.

↳ rdm_compatibility int

RDM compatibility mode.

getBackingType

VMDK backing type.

Returns
Type Description
int

setBackingType

VMDK backing type.

Parameter
Name Description
var int
Returns
Type Description
$this

getShared

Is VMDK shared with other VMs.

Returns
Type Description
bool

setShared

Is VMDK shared with other VMs.

Parameter
Name Description
var bool
Returns
Type Description
$this

getVmdkMode

VMDK disk mode.

Returns
Type Description
int

setVmdkMode

VMDK disk mode.

Parameter
Name Description
var int
Returns
Type Description
$this

getRdmCompatibility

RDM compatibility mode.

Returns
Type Description
int

setRdmCompatibility

RDM compatibility mode.

Parameter
Name Description
var int
Returns
Type Description
$this