Reference documentation and code samples for the Google Cloud Migration Center V1 Client class DiskEntry.
Single disk entry.
Generated from protobuf message google.cloud.migrationcenter.v1.DiskEntry
Namespace
Google \ Cloud \ MigrationCenter \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ capacity_bytes |
int|string
Disk capacity. |
↳ free_bytes |
int|string
Disk free space. |
↳ disk_label |
string
Disk label. |
↳ disk_label_type |
string
Disk label type (e.g. BIOS/GPT) |
↳ interface_type |
int
Disks interface type. |
↳ partitions |
DiskPartitionList
Partition layout. |
↳ hw_address |
string
Disk hardware address (e.g. 0:1 for SCSI). |
↳ vmware |
VmwareDiskConfig
VMware disk details. |
getCapacityBytes
Disk capacity.
Returns | |
---|---|
Type | Description |
int|string |
setCapacityBytes
Disk capacity.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getFreeBytes
Disk free space.
Returns | |
---|---|
Type | Description |
int|string |
setFreeBytes
Disk free space.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDiskLabel
Disk label.
Returns | |
---|---|
Type | Description |
string |
setDiskLabel
Disk label.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDiskLabelType
Disk label type (e.g. BIOS/GPT)
Returns | |
---|---|
Type | Description |
string |
setDiskLabelType
Disk label type (e.g. BIOS/GPT)
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInterfaceType
Disks interface type.
Returns | |
---|---|
Type | Description |
int |
setInterfaceType
Disks interface type.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getPartitions
Partition layout.
Returns | |
---|---|
Type | Description |
DiskPartitionList|null |
hasPartitions
clearPartitions
setPartitions
Partition layout.
Parameter | |
---|---|
Name | Description |
var |
DiskPartitionList
|
Returns | |
---|---|
Type | Description |
$this |
getHwAddress
Disk hardware address (e.g. 0:1 for SCSI).
Returns | |
---|---|
Type | Description |
string |
setHwAddress
Disk hardware address (e.g. 0:1 for SCSI).
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVmware
VMware disk details.
Returns | |
---|---|
Type | Description |
VmwareDiskConfig|null |
hasVmware
setVmware
VMware disk details.
Parameter | |
---|---|
Name | Description |
var |
VmwareDiskConfig
|
Returns | |
---|---|
Type | Description |
$this |
getPlatformSpecific
Returns | |
---|---|
Type | Description |
string |