Get-AzResourceMoverMoveCollection
移動コレクションを取得します。
'Get-AzResourceMoverMoveCollection' コマンドは、'RegionToRegion' 型と 'RegionToZone' 型の両方の移動コレクションで同じままです。
構文
Get-AzResourceMoverMoveCollection
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzResourceMoverMoveCollection
-Name <String>
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzResourceMoverMoveCollection
-ResourceGroupName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
説明
移動コレクションを取得します。
'Get-AzResourceMoverMoveCollection' コマンドは、'RegionToRegion' 型と 'RegionToZone' 型の両方の移動コレクションで同じままです。
例
例 1: サブスクリプション内のすべての Move コレクションの詳細を取得する
Get-AzResourceMoverMoveCollection -SubscriptionId "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
Etag Location Name Type
---- -------- ---- ----
"270119e0-0000-0c00-0000-5f5c94940000" centraluseuap PS-centralus-westcentralus-demoRMS Microsoft.Migrate/moveCollections
"39015ed4-0000-0c00-0000-5f5ce2760000" centraluseuap PS-centralus-westcentralus-demo2RMS Microsoft.Migrate/moveCollections
"1000b505-0000-0c00-0000-5f69db6e0000" centraluseuap MoveCollection-cus-eus-ccy Microsoft.Migrate/moveCollections
サブスクリプション内のすべての Move コレクションの詳細を取得します。
例 2: サブスクリプションで指定した移動コレクション名を持つ Move コレクションの詳細を取得する
Get-AzResourceMoverMoveCollection -ResourceGroupName "RG-MoveCollection-demoRMS" -Name "PS-centralus-westcentralus-demoRMS"
Etag Location Name Type
---- -------- ---- ----
"22006609-0000-3300-0000-602169590000" centraluseuap PS-centralus-westcentralus-demoRMS Microsoft.Migrate/moveCollections
サブスクリプション内の指定した移動コレクション名を持つ Move コレクションの詳細を取得します。
例 3: サブスクリプション内の指定したリソース グループ名を持つ Move コレクションの詳細を取得する
Get-AzResourceMoverMoveCollection -ResourceGroupName "RG-MoveCollection-demoRMS"
Location Name Type
-------- ---- ----
eastus2 PS-centralus-westcentralus-demoRM Microsoft.Migrate/moveCollections
Etag Location Name Type
---- -------- ---- ----
"22006609-0000-3300-0000-602169590000" centraluseuap PS-centralus-westcentralus-demoRMS Microsoft.Migrate/moveCollections
"4e02b0a9-0000-0c00-0000-5fd101cc0000" centraluseuap PS-centralus-westcentralus-demo2RMS Microsoft.Migrate/moveCollections
サブスクリプション内の指定したリソース グループ名を使用して、コレクションの移動の詳細を取得します。
パラメーター
-DefaultProfile
DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。
型: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
配置: | Named |
規定値: | None |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-Name
コレクション名の移動。
型: | String |
Aliases: | MoveCollectionName |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-ResourceGroupName
リソース グループ名。
型: | String |
配置: | Named |
規定値: | None |
必須: | True |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
-SubscriptionId
サブスクリプション ID。
型: | String[] |
配置: | Named |
規定値: | (Get-AzContext).Subscription.Id |
必須: | False |
パイプライン入力を受け取る: | False |
ワイルドカード文字を受け取る: | False |
出力
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure PowerShell