次の方法で共有


ApiCollection クラス

定義

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

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

コンストラクター

ApiCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

CreateOrUpdate(WaitUntil, String, ApiCreateOrUpdateContent, Nullable<ETag>, CancellationToken)

API Management サービス インスタンスの新しい API を作成するか、既存の指定された API を更新します。

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

API Management サービス インスタンスの新しい API を作成するか、既存の指定された API を更新します。

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

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

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

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

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

識別子で指定された API の詳細を取得します。

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

API Management サービス インスタンスのすべての API を一覧表示します。

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

API Management サービス インスタンスのすべての API を一覧表示します。

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

識別子で指定された API の詳細を取得します。

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ApiResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ApiResource>.GetEnumerator()

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

適用対象