Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class Disk.
A message describing a data disk.
Generated from protobuf message google.cloud.vmmigration.v1.AzureVmDetails.Disk
Namespace
Google \ Cloud \ VMMigration \ V1 \ AzureVmDetailsMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The disk name. |
↳ size_gb |
int
The disk size in GB. |
↳ lun |
int
The disk's Logical Unit Number (LUN). |
getName
The disk name.
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
The disk name.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSizeGb
The disk size in GB.
| Returns | |
|---|---|
| Type | Description |
int |
|
setSizeGb
The disk size in GB.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLun
The disk's Logical Unit Number (LUN).
| Returns | |
|---|---|
| Type | Description |
int |
|
setLun
The disk's Logical Unit Number (LUN).
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|