Skip to main content

accounts_customer_initiated_migrations

Creates, updates, deletes, gets or lists a accounts_customer_initiated_migrations resource.

Overview

Nameaccounts_customer_initiated_migrations
TypeResource
Idazure.storage.accounts_customer_initiated_migrations

Fields

NameDatatypeDescription
idstringMigration Resource Id
namestringcurrent value is 'default' for customer initiated migration
propertiesobjectThe properties of a storage account’s ongoing or enqueued migration.
typestringSrpAccountMigrationType in ARM contract which is 'accountMigrations'

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, migrationName, resourceGroupName, subscriptionIdGets the status of the ongoing migration for the specified storage account.

SELECT examples

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 accountName = '{{ accountName }}'
AND migrationName = '{{ migrationName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';