TrafficControllerCollection クラス

定義

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

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

コンストラクター

TrafficControllerCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, TrafficControllerData, CancellationToken)

TrafficController を作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_CreateOrUpdate
CreateOrUpdateAsync(WaitUntil, String, TrafficControllerData, CancellationToken)

TrafficController を作成する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_CreateOrUpdate
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
Get(String, CancellationToken)

TrafficController を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
GetAll(CancellationToken)

リソース グループ別に TrafficController リソースを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers
  • 操作IdTrafficControllerInterface_ListByResourceGroup
GetAllAsync(CancellationToken)

リソース グループ別に TrafficController リソースを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers
  • 操作IdTrafficControllerInterface_ListByResourceGroup
GetAsync(String, CancellationToken)

TrafficController を取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
GetIfExists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
GetIfExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceNetworking/trafficControllers/{trafficControllerName}
  • 操作IdTrafficControllerInterface_Get
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<TrafficControllerResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<TrafficControllerResource>.GetEnumerator()

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

適用対象