Google Cloud Vm Migration V1 Client - Class AwsSourceVmDetails (1.1.0)

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

Represent the source AWS VM details.

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ firmware int

Output only. The firmware type of the source VM.

↳ committed_storage_bytes int|string

Output only. The total size of the disks being migrated in bytes.

↳ disks array<AwsSourceVmDetails\AwsDiskDetails>

Output only. The disks attached to the source VM.

↳ vm_capabilities_info VmCapabilities

Output only. Information about VM capabilities needed for some Compute Engine features.

↳ architecture int

Output only. The VM architecture.

getFirmware

Output only. The firmware type of the source VM.

Returns
Type Description
int Enum of type Firmware.

setFirmware

Output only. The firmware type of the source VM.

Parameter
Name Description
var int

Enum of type Firmware.

Returns
Type Description
$this

getCommittedStorageBytes

Output only. The total size of the disks being migrated in bytes.

Returns
Type Description
int|string

setCommittedStorageBytes

Output only. The total size of the disks being migrated in bytes.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getDisks

Output only. The disks attached to the source VM.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDisks

Output only. The disks attached to the source VM.

Parameter
Name Description
var array<AwsSourceVmDetails\AwsDiskDetails>
Returns
Type Description
$this

getVmCapabilitiesInfo

Output only. Information about VM capabilities needed for some Compute Engine features.

Returns
Type Description
VmCapabilities|null

hasVmCapabilitiesInfo

clearVmCapabilitiesInfo

setVmCapabilitiesInfo

Output only. Information about VM capabilities needed for some Compute Engine features.

Parameter
Name Description
var VmCapabilities
Returns
Type Description
$this

getArchitecture

Output only. The VM architecture.

Returns
Type Description
int Enum of type VmArchitecture.

setArchitecture

Output only. The VM architecture.

Parameter
Name Description
var int

Enum of type VmArchitecture.

Returns
Type Description
$this