Google Cloud Vm Migration V1 Client - Class AwsVmDetails (0.3.2)

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

AwsVmDetails describes a VM in AWS.

Generated from protobuf message google.cloud.vmmigration.v1.AwsVmDetails

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ vm_id string

The VM ID in AWS.

↳ display_name string

The display name of the VM. Note that this value is not necessarily unique.

↳ source_id string

The id of the AWS's source this VM is connected to.

↳ source_description string

The descriptive name of the AWS's source this VM is connected to.

↳ power_state int

Output only. The power state of the VM at the moment list was taken.

↳ 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.

↳ committed_storage_mb int|string

The total size of the storage allocated to the VM in MB.

↳ os_description string

The VM's OS.

↳ boot_option int

The VM Boot Option.

↳ instance_type string

The instance type of the VM.

↳ vpc_id string

The VPC ID the VM belongs to.

↳ security_groups array<Google\Cloud\VMMigration\V1\AwsSecurityGroup>

The security groups the VM belongs to.

↳ tags array|Google\Protobuf\Internal\MapField

The tags of the VM.

↳ zone string

The AWS zone of the VM.

↳ virtualization_type int

The virtualization type.

↳ architecture int

The CPU architecture.

getVmId

The VM ID in AWS.

Returns
TypeDescription
string

setVmId

The VM ID in AWS.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

The display name of the VM. Note that this value is not necessarily unique.

Returns
TypeDescription
string

setDisplayName

The display name of the VM. Note that this value is not necessarily unique.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceId

The id of the AWS's source this VM is connected to.

Returns
TypeDescription
string

setSourceId

The id of the AWS's source this VM is connected to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSourceDescription

The descriptive name of the AWS's source this VM is connected to.

Returns
TypeDescription
string

setSourceDescription

The descriptive name of the AWS's source this VM is connected to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPowerState

Output only. The power state of the VM at the moment list was taken.

Returns
TypeDescription
int

setPowerState

Output only. The power state of the VM at the moment list was taken.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCpuCount

The number of cpus the VM has.

Returns
TypeDescription
int

setCpuCount

The number of cpus the VM has.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMemoryMb

The memory size of the VM in MB.

Returns
TypeDescription
int

setMemoryMb

The memory size of the VM in MB.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDiskCount

The number of disks the VM has.

Returns
TypeDescription
int

setDiskCount

The number of disks the VM has.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCommittedStorageMb

The total size of the storage allocated to the VM in MB.

Returns
TypeDescription
int|string

setCommittedStorageMb

The total size of the storage allocated to the VM in MB.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getOsDescription

The VM's OS.

Returns
TypeDescription
string

setOsDescription

The VM's OS.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBootOption

The VM Boot Option.

Returns
TypeDescription
int

setBootOption

The VM Boot Option.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getInstanceType

The instance type of the VM.

Returns
TypeDescription
string

setInstanceType

The instance type of the VM.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVpcId

The VPC ID the VM belongs to.

Returns
TypeDescription
string

setVpcId

The VPC ID the VM belongs to.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSecurityGroups

The security groups the VM belongs to.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSecurityGroups

The security groups the VM belongs to.

Parameter
NameDescription
var array<Google\Cloud\VMMigration\V1\AwsSecurityGroup>
Returns
TypeDescription
$this

getTags

The tags of the VM.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setTags

The tags of the VM.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getZone

The AWS zone of the VM.

Returns
TypeDescription
string

setZone

The AWS zone of the VM.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getVirtualizationType

The virtualization type.

Returns
TypeDescription
int

setVirtualizationType

The virtualization type.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getArchitecture

The CPU architecture.

Returns
TypeDescription
int

setArchitecture

The CPU architecture.

Parameter
NameDescription
var int
Returns
TypeDescription
$this