Google Cloud Migration Center V1 Client - Class VmwareDiskConfig (1.2.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
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 Enum of type BackingType.

setBackingType

VMDK backing type.

Parameter
Name Description
var int

Enum of type BackingType.

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 Enum of type VmdkMode.

setVmdkMode

VMDK disk mode.

Parameter
Name Description
var int

Enum of type VmdkMode.

Returns
Type Description
$this

getRdmCompatibility

RDM compatibility mode.

Returns
Type Description
int Enum of type RdmCompatibility.

setRdmCompatibility

RDM compatibility mode.

Parameter
Name Description
var int

Enum of type RdmCompatibility.

Returns
Type Description
$this