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

AzureSourceDetails message describes a specific source details for the
Azure source type.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #azure_location

    def azure_location() -> ::String

**Returns**

- (::String) --- Immutable. The Azure location (region) that the source VMs will be migrated from.

### #azure_location=

    def azure_location=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. The Azure location (region) that the source VMs will be migrated from.
**Returns**

- (::String) --- Immutable. The Azure location (region) that the source VMs will be migrated from.

### #client_secret_creds

    def client_secret_creds() -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails::ClientSecretCredentials

**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureSourceDetails::ClientSecretCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails-ClientSecretCredentials)) --- Azure Credentials using tenant ID, client ID and secret.

### #client_secret_creds=

    def client_secret_creds=(value) -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails::ClientSecretCredentials

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::AzureSourceDetails::ClientSecretCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails-ClientSecretCredentials)) --- Azure Credentials using tenant ID, client ID and secret.
**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureSourceDetails::ClientSecretCredentials](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails-ClientSecretCredentials)) --- Azure Credentials using tenant ID, client ID and secret.

### #error

    def error() -> ::Google::Rpc::Status

**Returns**

- ([::Google::Rpc::Status](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Rpc-Status)) --- Output only. Provides details on the state of the Source in case of an error.

### #migration_resources_user_tags

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

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.

### #migration_resources_user_tags=

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

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- User specified tags to add to every M2VM generated resource in Azure. These tags will be set in addition to the default tags that are set as part of the migration process. The tags must not begin with the reserved prefix `m4ce` or `m2vm`.

### #resource_group_id

    def resource_group_id() -> ::String

**Returns**

- (::String) --- Output only. The ID of the Azure resource group that contains all resources related to the migration process of this source.

### #state

    def state() -> ::Google::Cloud::VMMigration::V1::AzureSourceDetails::State

**Returns**

- ([::Google::Cloud::VMMigration::V1::AzureSourceDetails::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-AzureSourceDetails-State)) --- Output only. State of the source as determined by the health check.

### #subscription_id

    def subscription_id() -> ::String

**Returns**

- (::String) --- Immutable. Azure subscription ID.

### #subscription_id=

    def subscription_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Immutable. Azure subscription ID.
**Returns**

- (::String) --- Immutable. Azure subscription ID.