# Google Cloud Vm Migration V1 Client - Class AzureSourceVmDetails (1.4.0)

1.4.0 (latest) 1.3.0 1.2.1 1.1.0 1.0.5 0.6.5 0.5.2 0.4.2 0.3.2 0.2.3 Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class AzureSourceVmDetails.

Represent the source Azure VM details.

Generated from protobuf message `google.cloud.vmmigration.v1.AzureSourceVmDetails`

## 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<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureSourceVmDetails.AzureDiskDetails>` Output only. The disks attached to the source VM. |
| `↳ vm_capabilities_info` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.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](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureSourceVmDetails.Firmware). |

### setFirmware

Output only. The firmware type of the source VM.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Firmware](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureSourceVmDetails.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureSourceVmDetails.AzureDiskDetails>` |   |

### setDisks

Output only. The disks attached to the source VM.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.AzureSourceVmDetails.AzureDiskDetails>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVmCapabilitiesInfo

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmCapabilities|null` |   |

### hasVmCapabilitiesInfo

### clearVmCapabilitiesInfo

### setVmCapabilitiesInfo

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmCapabilities` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getArchitecture

Output only. The VM architecture.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VmArchitecture](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmArchitecture). |

### setArchitecture

Output only. The VM architecture.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VmArchitecture](https://docs.cloud.google.com/php/docs/reference/cloud-vm-migration/latest/V1.VmArchitecture). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |