Confirm-AzureStorSimpleLegacyVolumeContainerStatus
移行されるボリューム コンテナーのコミットまたはロールバックを開始します。
注意
このドキュメントで参照されているコマンドレットは、Service Management API を使用するレガシ Azure リソースを管理するためのものです。 Azure Resource Manager リソースを管理するためのコマンドレットについては、Az PowerShell モジュールを参照してください。
構文
Confirm-AzureStorSimpleLegacyVolumeContainerStatus
-LegacyConfigId <String>
-MigrationOperation <String>
-LegacyContainerNames <String[]>
[-Profile <AzureSMProfile>]
[<CommonParameters>]
Confirm-AzureStorSimpleLegacyVolumeContainerStatus
-LegacyConfigId <String>
-MigrationOperation <String>
[-All]
[-Profile <AzureSMProfile>]
[<CommonParameters>]
説明
Confirm-AzureStorSimpleLegacyVolumeContainerStatus コマンドレットは、レガシ移行の一環として移行されるボリューム コンテナーのコミットまたはロールバックを開始します。 ロールバックにより、アプライアンスが元の所有権に復元されます。 コミットによって、ターゲット アプライアンスに所有権が割り当てられます。
例
例 1: 特定のボリューム コンテナーでコミット操作を開始する
PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Commit
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus
このコマンドは、指定されたレガシ構成 ID に対して、指定されたボリューム コンテナーに対してコミット操作を開始します。 操作の状態を確認するには、Get-AzureStorSimpleLegacyVolumeContainerStatus コマンドレットを使用します。
例 2: 特定のボリューム コンテナーでロールバック操作を開始する
PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud" -MigrationOperation Rollback
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus
このコマンドは、指定されたレガシ構成 ID に対して、指定されたボリューム コンテナーに対してロールバック操作を開始します。
例 3: すべてのボリューム コンテナーでコミット操作を開始する
PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Commit -All
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus
このコマンドは、指定されたレガシ構成 ID のすべてのボリューム コンテナーに対してコミット操作を開始します。
例 4: すべてのボリューム コンテナーでロールバック操作を開始する
PS C:\>Confirm-AzureStorSimpleLegacyVolumeContainerStatus -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -MigrationOperation Rollback -All
Please check the commit/discard status using Get-AzureStorSimpleLegacyVolumeContainerConfirmStatus
このコマンドは、指定されたレガシ構成 ID のすべてのボリューム コンテナーに対してロールバック操作を開始します。
パラメーター
-All
このコマンドレットが、インポートされた構成ファイル内のすべてのボリューム コンテナーに対してロールバック操作またはコミット操作を開始することを示します。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LegacyConfigId
レガシ アプライアンスの構成の一意の ID を指定します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-LegacyContainerNames
移行計画が適用されるボリューム コンテナー名の配列を指定します。
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MigrationOperation
このコマンドレットがコミットまたはロールバックを実行するかどうかを指定します。 有効な値は、コミットとロールバックです。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Profile
このコマンドレットが読み取る Azure プロファイルを指定します。 プロファイルを指定しない場合、このコマンドレットはローカルの既定のプロファイルから読み取ります。
Type: | AzureSMProfile |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |