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

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setVmId

The VM ID in AWS.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

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

Returns
Type Description
string

setDisplayName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceId

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

Returns
Type Description
string

setSourceId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getSourceDescription

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

Returns
Type Description
string

setSourceDescription

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

Parameter
Name Description
var string
Returns
Type Description
$this

getPowerState

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

Returns
Type Description
int

setPowerState

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

Parameter
Name Description
var int
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.

Returns
Type Description
int

setDiskCount

The number of disks the VM has.

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

getOsDescription

The VM's OS.

Returns
Type Description
string

setOsDescription

The VM's OS.

Parameter
Name Description
var string
Returns
Type Description
$this

getBootOption

The VM Boot Option.

Returns
Type Description
int

setBootOption

The VM Boot Option.

Parameter
Name Description
var int
Returns
Type Description
$this

getInstanceType

The instance type of the VM.

Returns
Type Description
string

setInstanceType

The instance type of the VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getVpcId

The VPC ID the VM belongs to.

Returns
Type Description
string

setVpcId

The VPC ID the VM belongs to.

Parameter
Name Description
var string
Returns
Type Description
$this

getSecurityGroups

The security groups the VM belongs to.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSecurityGroups

The security groups the VM belongs to.

Parameter
Name Description
var array<Google\Cloud\VMMigration\V1\AwsSecurityGroup>
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

getZone

The AWS zone of the VM.

Returns
Type Description
string

setZone

The AWS zone of the VM.

Parameter
Name Description
var string
Returns
Type Description
$this

getVirtualizationType

The virtualization type.

Returns
Type Description
int

setVirtualizationType

The virtualization type.

Parameter
Name Description
var int
Returns
Type Description
$this

getArchitecture

The CPU architecture.

Returns
Type Description
int

setArchitecture

The CPU architecture.

Parameter
Name Description
var int
Returns
Type Description
$this