accounts_customer_initiated_migrations
Creates, updates, deletes, gets or lists an accounts_customer_initiated_migrations
resource.
Overview
Name | accounts_customer_initiated_migrations |
Type | Resource |
Id | azure.storage.accounts_customer_initiated_migrations |
Fields
The following fields are returned by SELECT
queries:
- get
OK -- Get the details of the ongoing or completed migration successfully.
Name | Datatype | Description |
---|---|---|
id | string | Migration Resource Id |
name | string | current value is 'default' for customer initiated migration |
properties | object | The properties of a storage account’s ongoing or enqueued migration. (x-ms-client-name: StorageAccountMigrationDetails) |
type | string | SrpAccountMigrationType in ARM contract which is 'accountMigrations' |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , accountName , migrationName , subscriptionId | Gets the status of the ongoing migration for the specified storage account. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
accountName | string | The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. |
migrationName | string | The name of the Storage Account Migration. It should always be 'default' |
resourceGroupName | string | The name of the resource group within the user's subscription. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
Gets the status of the ongoing migration for the specified storage account.
SELECT
id,
name,
properties,
type
FROM azure.storage.accounts_customer_initiated_migrations
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND migrationName = '{{ migrationName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;