Skip to content

Commit e9556a9

Browse files
committed
temporarily remove PSH/CLI examples
1 parent 15577a3 commit e9556a9

File tree

2 files changed

+22
-53
lines changed

2 files changed

+22
-53
lines changed

articles/storage/common/classic-account-migrate.md

Lines changed: 0 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,6 @@ $ az resource list \
5252

5353
## Migrate a classic storage account
5454

55-
# [Portal](#tab/azure-portal)
56-
5755
To migrate a classic storage account to the Azure Resource Manager deployment model with the Azure portal:
5856

5957
1. Navigate to your classic storage account in the Azure portal.
@@ -76,55 +74,6 @@ To migrate a classic storage account to the Azure Resource Manager deployment mo
7674
1. If you're not satisfied with the results of the migration, select **Abort** to delete the new storage account and resource group. You can then address any problems and try again.
7775
1. When you're ready to commit, type **yes** to confirm, then select **Commit** to complete the migration.
7876

79-
# [PowerShell](#tab/azure-powershell)
80-
81-
To migrate a classic storage account to the Azure Resource Manager deployment model with PowerShell, first validate that the account is ready for migration by running the following command. Remember to replace the placeholder values in brackets with your own values:
82-
83-
```azurepowershell
84-
$storageAccountName = "<storage-account>"
85-
Move-AzureStorageAccount -Validate -StorageAccountName $storageAccountName
86-
```
87-
88-
Next, prepare the account for migration:
89-
90-
```azurepowershell
91-
Move-AzureStorageAccount -Prepare -StorageAccountName $storageAccountName
92-
```
93-
94-
Check the configuration for the prepared storage account with either Azure PowerShell or the Azure portal. If you're not ready for migration, use the following command to revert your account to its previous state:
95-
96-
```azurepowershell
97-
Move-AzureStorageAccount -Abort -StorageAccountName $storageAccountName
98-
```
99-
100-
Finally, when you are satisfied with the prepared configuration, move forward with the migration and commit the resources with the following command:
101-
102-
```azurepowershell
103-
Move-AzureStorageAccount -Commit -StorageAccountName $storageAccountName
104-
```
105-
106-
# [Azure CLI](#tab/azure-cli)
107-
108-
To migrate a classic storage account to the Azure Resource Manager deployment model with the Azure CLI, first prepare the account for migration by running the following command. Remember to replace the placeholder values in brackets with your own values:
109-
110-
```azurecli
111-
az storage account prepare-migration <storage-account>
112-
```
113-
114-
Check the configuration for the prepared storage account with either Azure CLI or the Azure portal. If you're not ready for migration, use the following command to revert your account to its previous state:
115-
116-
```azurecli
117-
az storage account abort-migration <storage-account>
118-
```
119-
120-
Finally, when you are satisfied with the prepared configuration, move forward with the migration and commit the resources with the following command:
121-
122-
```azurecli
123-
az storage account commit-migration <storage-account>
124-
```
125-
126-
---
127-
12877
### Locate and delete disk artifacts in a classic account
12978

13079
Classic storage accounts may contain classic (unmanaged) disks, virtual machine images, and operating system (OS) images. To migrate the account, you may need to delete these artifacts first.

articles/storage/common/classic-account-migration-process.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ The Validation step is the first step in the migration process. The goal of this
6060

6161
The Validation step analyzes the state of resources in the classic deployment model. It checks for failures and unsupported scenarios due to different configurations of the storage account in the classic deployment model.
6262

63-
Keep in mind that it's not possible to check for every issues that the Azure Resource Manager stack might impose on the storage account during migration. Some issues are only checked when the resources undergo transformation in the next step of migration (the Prepare step).
63+
The Validation step does not check for virtual machine (VM) disks that may be associated with the storage account. You must check your storage accounts manually to determine whether they support VM disks.
64+
65+
Keep in mind that it's not possible to check for every constraint that the Azure Resource Manager stack might impose on the storage account during migration. Some constraints are only checked when the resources undergo transformation in the next step of migration (the Prepare step).
6466

6567
### Prepare
6668

@@ -98,10 +100,28 @@ After you are satisfied that your classic storage account has been migrated succ
98100
> [!NOTE]
99101
> Committing the migration is an idempotent operation. If it fails, retry the operation. If it continues to fail, create a support ticket or ask a question on [Microsoft Q&A](/answers/index.html)
100102
101-
### After the migration
103+
## After the migration
104+
105+
After the migration is complete, your new storage account is ready for use. You can resume write operations at this point to the storage account.
106+
107+
### Migrated account type
102108

103109
After the migration is complete, your new storage account is a general-purpose v1 storage account. We recommend upgrading to a general-purpose v2 account to take advantage of the newest features that Azure Storage has to offer for security, data protection, lifecycle management, and more. To learn how to upgrade to a general-purpose v2 storage account, see [Upgrade to a general-purpose v2 storage account](storage-account-upgrade.md).
104110

111+
### Account properties
112+
113+
Any properties that are set on the classic storage account are migrated with their values to the new storage account.
114+
115+
### RBAC role assignments
116+
117+
Any RBAC role assignments that are scoped to the classic storage account are maintained after the migration.
118+
119+
### Account keys
120+
121+
The account keys are not changed or rotated during the migration. You do not need to regenerate your account keys after the migration is complete. You will not need to update connection strings in any applications that are using the account keys after the migration.
122+
123+
### Portal support
124+
105125
You can manage your migrated storage accounts in the [Azure portal](https://portal.azure.com). You will not be able to use the classic portal to manage your migrated storage accounts.
106126

107127
## See also

0 commit comments

Comments
 (0)