次の方法で共有


ResourceMoverExtensions クラス

定義

Azure.ResourceManager.ResourceMover に拡張メソッドを追加するクラス。

public static class ResourceMoverExtensions
type ResourceMoverExtensions = class
Public Module ResourceMoverExtensions
継承
ResourceMoverExtensions

メソッド

GetMoverResource(ArmClient, ResourceIdentifier)

に対して MoverResource 実行できるが、データを含まないインスタンス操作と共に を表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String, String) して、そのコンポーネントから を MoverResourceResourceIdentifier 作成できます。

GetMoverResourceSet(ResourceGroupResource, String, CancellationToken)

移動コレクションを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • 操作IdMoveCollections_Get
GetMoverResourceSetAsync(ResourceGroupResource, String, CancellationToken)

移動コレクションを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/moveCollections/{moveCollectionName}
  • 操作IdMoveCollections_Get
GetMoverResourceSetResource(ArmClient, ResourceIdentifier)

に対して MoverResourceSetResource 実行できるが、データを含まないインスタンス操作と共に を表す オブジェクトを取得します。 を使用 CreateResourceIdentifier(String, String, String) して、そのコンポーネントから を MoverResourceSetResourceResourceIdentifier 作成できます。

GetMoverResourceSets(ResourceGroupResource)

ResourceGroupResource 内の MoverResourceSetResources のコレクションを取得します。

GetMoverResourceSets(SubscriptionResource, CancellationToken)

サブスクリプション内のすべてのコレクションの移動を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
  • 操作IdMoveCollections_ListMoveCollectionsBySubscription
GetMoverResourceSetsAsync(SubscriptionResource, CancellationToken)

サブスクリプション内のすべてのコレクションの移動を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Migrate/moveCollections
  • 操作IdMoveCollections_ListMoveCollectionsBySubscription
GetOperationsDiscoveries(TenantResource, CancellationToken)
  • 要求パス/プロバイダー/Microsoft.Migrate/operations
  • 操作IdOperationsDiscovery_Get
GetOperationsDiscoveriesAsync(TenantResource, CancellationToken)
  • 要求パス/プロバイダー/Microsoft.Migrate/operations
  • 操作IdOperationsDiscovery_Get

適用対象