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

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

setBackingType

VMDK backing type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getShared

Is VMDK shared with other VMs.

Returns
TypeDescription
bool

setShared

Is VMDK shared with other VMs.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getVmdkMode

VMDK disk mode.

Returns
TypeDescription
int

setVmdkMode

VMDK disk mode.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRdmCompatibility

RDM compatibility mode.

Returns
TypeDescription
int

setRdmCompatibility

RDM compatibility mode.

Parameter
NameDescription
var int
Returns
TypeDescription
$this