Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AzureVmDetails.
AzureVmDetails describes a VM in Azure.
Generated from protobuf message google.cloud.vmmigration.v1.AzureVmDetails
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ vm_id |
string
The VM full path in Azure. |
↳ power_state |
int
The power state of the VM at the moment list was taken. |
↳ vm_size |
string
VM size as configured in Azure. Determines the VM's hardware spec. |
↳ cpu_count |
int
The number of cpus the VM has. |
↳ memory_mb |
int
The memory size of the VM in MB. |
↳ disk_count |
int
The number of disks the VM has, including OS disk. |
↳ committed_storage_mb |
int|string
The total size of the storage allocated to the VM in MB. |
↳ os_disk |
AzureVmDetails\OSDisk
Description of the OS disk. |
↳ disks |
array<AzureVmDetails\Disk>
Description of the data disks. |
↳ os_description |
AzureVmDetails\OSDescription
Description of the OS. |
↳ boot_option |
int
The VM Boot Option. |
↳ tags |
array|Google\Protobuf\Internal\MapField
The tags of the VM. |
↳ computer_name |
string
The VM's ComputerName. |
↳ architecture |
int
The CPU architecture. |
getVmId
The VM full path in Azure.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVmId
The VM full path in Azure.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPowerState
The power state of the VM at the moment list was taken.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type PowerState. |
setPowerState
The power state of the VM at the moment list was taken.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type PowerState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVmSize
VM size as configured in Azure. Determines the VM's hardware spec.
| Returns | |
|---|---|
| Type | Description |
string |
|
setVmSize
VM size as configured in Azure. Determines the VM's hardware spec.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCpuCount
The number of cpus the VM has.
| Returns | |
|---|---|
| Type | Description |
int |
|
setCpuCount
The number of cpus the VM has.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMemoryMb
The memory size of the VM in MB.
| Returns | |
|---|---|
| Type | Description |
int |
|
setMemoryMb
The memory size of the VM in MB.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDiskCount
The number of disks the VM has, including OS disk.
| Returns | |
|---|---|
| Type | Description |
int |
|
setDiskCount
The number of disks the VM has, including OS disk.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCommittedStorageMb
The total size of the storage allocated to the VM in MB.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setCommittedStorageMb
The total size of the storage allocated to the VM in MB.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOsDisk
Description of the OS disk.
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails\OSDisk|null |
|
hasOsDisk
clearOsDisk
setOsDisk
Description of the OS disk.
| Parameter | |
|---|---|
| Name | Description |
var |
AzureVmDetails\OSDisk
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisks
Description of the data disks.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDisks
Description of the data disks.
| Parameter | |
|---|---|
| Name | Description |
var |
array<AzureVmDetails\Disk>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOsDescription
Description of the OS.
| Returns | |
|---|---|
| Type | Description |
AzureVmDetails\OSDescription|null |
|
hasOsDescription
clearOsDescription
setOsDescription
Description of the OS.
| Parameter | |
|---|---|
| Name | Description |
var |
AzureVmDetails\OSDescription
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getBootOption
The VM Boot Option.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type BootOption. |
setBootOption
The VM Boot Option.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type BootOption. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTags
The tags of the VM.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setTags
The tags of the VM.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getComputerName
The VM's ComputerName.
| Returns | |
|---|---|
| Type | Description |
string |
|
setComputerName
The VM's ComputerName.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getArchitecture
The CPU architecture.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type VmArchitecture. |
setArchitecture
The CPU architecture.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type VmArchitecture. |
| Returns | |
|---|---|
| Type | Description |
$this |
|