次の方法で共有


StorageMoverAgentCollection クラス

定義

のコレクション StorageMoverAgentResource とその操作を表すクラス。 コレクション内の各 StorageMoverAgentResource は、 の同じインスタンス StorageMoverResourceに属します。 インスタンスを StorageMoverAgentCollection 取得するには、 のインスタンス StorageMoverResourceから GetStorageMoverAgents メソッドを呼び出します。

public class StorageMoverAgentCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageMover.StorageMoverAgentResource>
type StorageMoverAgentCollection = class
    inherit ArmCollection
    interface seq<StorageMoverAgentResource>
    interface IEnumerable
    interface IAsyncEnumerable<StorageMoverAgentResource>
Public Class StorageMoverAgentCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of StorageMoverAgentResource), IEnumerable(Of StorageMoverAgentResource)
継承
StorageMoverAgentCollection
実装

コンストラクター

StorageMoverAgentCollection()

モック作成のために クラスの StorageMoverAgentCollection 新しいインスタンスを初期化します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmCollection)
Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmCollection)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmCollection)
Id

リソース識別子を取得します。

(継承元 ArmCollection)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, StorageMoverAgentData, CancellationToken)

ジョブを実行できるハイブリッド コンピューティング マシンを参照するエージェント リソースを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, StorageMoverAgentData, CancellationToken)

ジョブを実行できるハイブリッド コンピューティング マシンを参照するエージェント リソースを作成または更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_CreateOrUpdate
Exists(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
ExistsAsync(String, CancellationToken)

リソースが Azure に存在するかどうかを確認します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
Get(String, CancellationToken)

エージェント リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
GetAll(CancellationToken)

Storage Mover 内のすべてのエージェントを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents
  • 操作IdAgents_List
GetAllAsync(CancellationToken)

Storage Mover 内のすべてのエージェントを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents
  • 操作IdAgents_List
GetAsync(String, CancellationToken)

エージェント リソースを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
GetIfExists(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
GetIfExistsAsync(String, CancellationToken)

サービスからこのリソースの詳細を取得しようとします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}
  • 操作IdAgents_Get
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmCollection)

明示的なインターフェイスの実装

IAsyncEnumerable<StorageMoverAgentResource>.GetAsyncEnumerator(CancellationToken)

コレクションを非同期に反復処理する列挙子を返します。

IEnumerable.GetEnumerator()

コレクションを反復処理する列挙子を返します。

IEnumerable<StorageMoverAgentResource>.GetEnumerator()

コレクションを反復処理する列挙子を返します。

適用対象