Share via


Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan

移行計画の作成を開始します。

注意

このドキュメントで参照されているコマンドレットは、Service Management API を使用するレガシ Azure リソースを管理するためのものです。 Azure Resource Manager リソースを管理するためのコマンドレットについては、Az PowerShell モジュールを参照してください。

構文

Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan
     -LegacyConfigId <String>
     -LegacyContainerNames <String[]>
     [-Profile <AzureSMProfile>]
     [<CommonParameters>]
Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan
     -LegacyConfigId <String>
     [-All]
     [-Profile <AzureSMProfile>]
     [<CommonParameters>]

説明

Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan コマンドレットは、移行計画の作成を開始します。 移行計画の作成は非同期です。 移行計画の状態を確認するには、Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan コマンドレットを使用します。

例 1: 移行計画を開始する

PS C:\>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -LegacyContainerNames "OneSDKAzureCloud"
Successfully started estimating the Migration Plan. Please check details with Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan

このコマンドは、OneSDKAzureCloud という名前のレガシ コンテナーの移行計画の作成を開始します。 このコマンドは、プランの状態に関するメッセージを返し、Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan コマンドレットを使用して最新の情報を取得します。

例 2: すべてのボリューム コンテナーの移行計画を開始する

PS C:\>Start-AzureStorSimpleLegacyVolumeContainerMigrationPlan -LegacyConfigId "c5a831e1-7888-44f4-adf1-92994be630c3" -All
Successfully started estimating the Migration Plan. Please check details with Get-AzureStorSimpleLegacyVolumeContainerMigrationPlan

このコマンドは、インポートされる構成ファイル内のすべてのレガシ ボリューム コンテナーの移行計画の作成を開始します。

パラメーター

-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

-Profile

このコマンドレットが読み取る Azure プロファイルを指定します。 プロファイルを指定しない場合、このコマンドレットはローカルの既定のプロファイルから読み取ります。

Type:AzureSMProfile
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

入力

None

出力

String

このコマンドレットは、アプライアンスで正常に開始された場合に、移行計画ジョブの状態を返します。