AssociationCollection クラス

定義

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

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

コンストラクター

AssociationCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, AssociationData, CancellationToken)

関連付けを作成する

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

関連付けを作成する

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

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

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

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

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

関連付けを取得する

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

TrafficController による関連付けリソースの一覧表示

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

TrafficController による関連付けリソースの一覧表示

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

関連付けを取得する

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

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

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

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

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<AssociationResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<AssociationResource>.GetEnumerator()

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

適用対象