ApiTagCollection クラス

定義

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

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

コンストラクター

ApiTagCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, CancellationToken)

API にタグを割り当てます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_AssignToApi
CreateOrUpdateAsync(WaitUntil, String, CancellationToken)

API にタグを割り当てます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_AssignToApi
Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_GetByApi
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_GetByApi
Get(String, CancellationToken)

API に関連付けられているタグを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_GetByApi
GetAll(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

API に関連付けられているすべてのタグを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags
  • 操作IdTag_ListByApi
GetAllAsync(String, Nullable<Int32>, Nullable<Int32>, CancellationToken)

API に関連付けられているすべてのタグを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags
  • 操作IdTag_ListByApi
GetAsync(String, CancellationToken)

API に関連付けられているタグを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}
  • 操作IdTag_GetByApi
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ApiTagResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ApiTagResource>.GetEnumerator()

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

適用対象