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

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

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

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

Namespace

Google \ Cloud \ VMMigration \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ client_secret_creds AzureSourceDetails\ClientSecretCredentials

Azure Credentials using tenant ID, client ID and secret.

↳ subscription_id string

Immutable. Azure subscription ID.

↳ azure_location string

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

↳ state int

Output only. State of the source as determined by the health check.

↳ error Google\Rpc\Status

Output only. Provides details on the state of the Source in case of an error.

↳ migration_resources_user_tags array|Google\Protobuf\Internal\MapField

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 string

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

getClientSecretCreds

Azure Credentials using tenant ID, client ID and secret.

Returns
Type Description
AzureSourceDetails\ClientSecretCredentials|null

hasClientSecretCreds

setClientSecretCreds

Azure Credentials using tenant ID, client ID and secret.

Parameter
Name Description
var AzureSourceDetails\ClientSecretCredentials
Returns
Type Description
$this

getSubscriptionId

Immutable. Azure subscription ID.

Returns
Type Description
string

setSubscriptionId

Immutable. Azure subscription ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getAzureLocation

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

Returns
Type Description
string

setAzureLocation

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

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. State of the source as determined by the health check.

Returns
Type Description
int Enum of type State.

setState

Output only. State of the source as determined by the health check.

Parameter
Name Description
var int

Enum of type State.

Returns
Type Description
$this

getError

Output only. Provides details on the state of the Source in case of an error.

Returns
Type Description
Google\Rpc\Status|null

hasError

clearError

setError

Output only. Provides details on the state of the Source in case of an error.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getMigrationResourcesUserTags

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
Type Description
Google\Protobuf\Internal\MapField

setMigrationResourcesUserTags

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.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getResourceGroupId

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

Returns
Type Description
string

setResourceGroupId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCredentialsType

Returns
Type Description
string