# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::AwsVmDetails (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::AwsVmDetails.

AwsVmDetails describes a VM in AWS.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #architecture

    def architecture() -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmArchitecture)) --- The CPU architecture.

### #architecture=

    def architecture=(value) -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmArchitecture)) --- The CPU architecture.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmArchitecture](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmArchitecture)) --- The CPU architecture.

### #boot_option

    def boot_option() -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-BootOption)) --- The VM Boot Option.

### #boot_option=

    def boot_option=(value) -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-BootOption)) --- The VM Boot Option.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::BootOption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-BootOption)) --- The VM Boot Option.

### #committed_storage_mb

    def committed_storage_mb() -> ::Integer

**Returns**

- (::Integer) --- The total size of the storage allocated to the VM in MB.

### #committed_storage_mb=

    def committed_storage_mb=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The total size of the storage allocated to the VM in MB.
**Returns**

- (::Integer) --- The total size of the storage allocated to the VM in MB.

### #cpu_count

    def cpu_count() -> ::Integer

**Returns**

- (::Integer) --- The number of CPU cores the VM has.

### #cpu_count=

    def cpu_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of CPU cores the VM has.
**Returns**

- (::Integer) --- The number of CPU cores the VM has.

### #disk_count

    def disk_count() -> ::Integer

**Returns**

- (::Integer) --- The number of disks the VM has.

### #disk_count=

    def disk_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of disks the VM has.
**Returns**

- (::Integer) --- The number of disks the VM has.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- The display name of the VM. Note that this value is not necessarily unique.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- The display name of the VM. Note that this value is not necessarily unique.
**Returns**

- (::String) --- The display name of the VM. Note that this value is not necessarily unique.

### #instance_type

    def instance_type() -> ::String

**Returns**

- (::String) --- The instance type of the VM.

### #instance_type=

    def instance_type=(value) -> ::String

**Parameter**

- **value** (::String) --- The instance type of the VM.
**Returns**

- (::String) --- The instance type of the VM.

### #memory_mb

    def memory_mb() -> ::Integer

**Returns**

- (::Integer) --- The memory size of the VM in MB.

### #memory_mb=

    def memory_mb=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The memory size of the VM in MB.
**Returns**

- (::Integer) --- The memory size of the VM in MB.

### #os_description

    def os_description() -> ::String

**Returns**

- (::String) --- The VM's OS.

### #os_description=

    def os_description=(value) -> ::String

**Parameter**

- **value** (::String) --- The VM's OS.
**Returns**

- (::String) --- The VM's OS.

### #power_state

    def power_state() -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::PowerState

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::PowerState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-PowerState)) --- Output only. The power state of the VM at the moment list was taken.

### #security_groups

    def security_groups() -> ::Array<::Google::Cloud::VMMigration::V1::AwsSecurityGroup>

**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AwsSecurityGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSecurityGroup)\>) --- The security groups the VM belongs to.

### #security_groups=

    def security_groups=(value) -> ::Array<::Google::Cloud::VMMigration::V1::AwsSecurityGroup>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VMMigration::V1::AwsSecurityGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSecurityGroup)\>) --- The security groups the VM belongs to.
**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AwsSecurityGroup](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsSecurityGroup)\>) --- The security groups the VM belongs to.

### #source_description

    def source_description() -> ::String

**Returns**

- (::String) --- The descriptive name of the AWS's source this VM is connected to.

### #source_description=

    def source_description=(value) -> ::String

**Parameter**

- **value** (::String) --- The descriptive name of the AWS's source this VM is connected to.
**Returns**

- (::String) --- The descriptive name of the AWS's source this VM is connected to.

### #source_id

    def source_id() -> ::String

**Returns**

- (::String) --- The id of the AWS's source this VM is connected to.

### #source_id=

    def source_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The id of the AWS's source this VM is connected to.
**Returns**

- (::String) --- The id of the AWS's source this VM is connected to.

### #tags

    def tags() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The tags of the VM.

### #tags=

    def tags=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- The tags of the VM.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- The tags of the VM.

### #vcpu_count

    def vcpu_count() -> ::Integer

**Returns**

- (::Integer) --- The number of vCPUs the VM has. It is calculated as the number of CPU cores \* threads per CPU the VM has.

### #vcpu_count=

    def vcpu_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The number of vCPUs the VM has. It is calculated as the number of CPU cores \* threads per CPU the VM has.
**Returns**

- (::Integer) --- The number of vCPUs the VM has. It is calculated as the number of CPU cores \* threads per CPU the VM has.

### #virtualization_type

    def virtualization_type() -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType

**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmVirtualizationType)) --- The virtualization type.

### #virtualization_type=

    def virtualization_type=(value) -> ::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmVirtualizationType)) --- The virtualization type.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AwsVmDetails::VmVirtualizationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AwsVmDetails-VmVirtualizationType)) --- The virtualization type.

### #vm_id

    def vm_id() -> ::String

**Returns**

- (::String) --- The VM ID in AWS.

### #vm_id=

    def vm_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The VM ID in AWS.
**Returns**

- (::String) --- The VM ID in AWS.

### #vpc_id

    def vpc_id() -> ::String

**Returns**

- (::String) --- The VPC ID the VM belongs to.

### #vpc_id=

    def vpc_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The VPC ID the VM belongs to.
**Returns**

- (::String) --- The VPC ID the VM belongs to.

### #zone

    def zone() -> ::String

**Returns**

- (::String) --- The AWS zone of the VM.

### #zone=

    def zone=(value) -> ::String

**Parameter**

- **value** (::String) --- The AWS zone of the VM.
**Returns**

- (::String) --- The AWS zone of the VM.