Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AwsDiskDetails.
The details of an AWS instance disk.
Generated from protobuf message google.cloud.vmmigration.v1.AwsSourceVmDetails.AwsDiskDetails
Namespace
Google \ Cloud \ VMMigration \ V1 \ AwsSourceVmDetailsMethods
__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. |
↳ volume_id |
string
Output only. AWS volume 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 |
getVolumeId
Output only. AWS volume ID.
Returns | |
---|---|
Type | Description |
string |
setVolumeId
Output only. AWS volume 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 |