Google Cloud Vm Migration V1 Client - Class AzureDiskDetails (1.1.0)

Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AzureDiskDetails.

The details of an Azure VM disk.

Generated from protobuf message google.cloud.vmmigration.v1.AzureSourceVmDetails.AzureDiskDetails

Namespace

Google \ Cloud \ VMMigration \ V1 \ AzureSourceVmDetails

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ disk_number int

Output only. The ordinal number of the disk.

↳ disk_id string

Output only. Azure disk ID.

↳ size_gb int|string

Output only. Size in GB.

getDiskNumber

Output only. The ordinal number of the disk.

Returns
Type Description
int

setDiskNumber

Output only. The ordinal number of the disk.

Parameter
Name Description
var int
Returns
Type Description
$this

getDiskId

Output only. Azure disk ID.

Returns
Type Description
string

setDiskId

Output only. Azure disk ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeGb

Output only. Size in GB.

Returns
Type Description
int|string

setSizeGb

Output only. Size in GB.

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