# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::AzureVmDetails (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::AzureVmDetails.

AzureVmDetails describes a VM in Azure.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #architecture

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

**Returns**

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

### #architecture=

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

**Parameter**

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

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

### #boot_option

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

**Returns**

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

### #boot_option=

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

**Parameter**

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

- ([::Google::Cloud::VMMigration::V1::AzureVmDetails::BootOption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-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.

### #computer_name

    def computer_name() -> ::String

**Returns**

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

### #computer_name=

    def computer_name=(value) -> ::String

**Parameter**

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

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

### #cpu_count

    def cpu_count() -> ::Integer

**Returns**

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

### #cpu_count=

    def cpu_count=(value) -> ::Integer

**Parameter**

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

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

### #disk_count

    def disk_count() -> ::Integer

**Returns**

- (::Integer) --- The number of disks the VM has, including OS disk.

### #disk_count=

    def disk_count=(value) -> ::Integer

**Parameter**

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

- (::Integer) --- The number of disks the VM has, including OS disk.

### #disks

    def disks() -> ::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>

**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-Disk)\>) --- Description of the data disks.

### #disks=

    def disks=(value) -> ::Array<::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-Disk)\>) --- Description of the data disks.
**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::AzureVmDetails::Disk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-Disk)\>) --- Description of the data disks.

### #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() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription

**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDescription)) --- Description of the OS.

### #os_description=

    def os_description=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDescription)) --- Description of the OS.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDescription](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDescription)) --- Description of the OS.

### #os_disk

    def os_disk() -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk

**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDisk)) --- Description of the OS disk.

### #os_disk=

    def os_disk=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDisk)) --- Description of the OS disk.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureVmDetails::OSDisk](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureVmDetails-OSDisk)) --- Description of the OS disk.

### #power_state

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

**Returns**

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

### #power_state=

    def power_state=(value) -> ::Google::Cloud::VMMigration::V1::AzureVmDetails::PowerState

**Parameter**

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

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

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

### #vm_id

    def vm_id() -> ::String

**Returns**

- (::String) --- The VM full path in Azure.

### #vm_id=

    def vm_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The VM full path in Azure.
**Returns**

- (::String) --- The VM full path in Azure.

### #vm_size

    def vm_size() -> ::String

**Returns**

- (::String) --- VM size as configured in Azure. Determines the VM's hardware spec.

### #vm_size=

    def vm_size=(value) -> ::String

**Parameter**

- **value** (::String) --- VM size as configured in Azure. Determines the VM's hardware spec.
**Returns**

- (::String) --- VM size as configured in Azure. Determines the VM's hardware spec.