次の方法で共有


ApiManagementDiagnosticCollection クラス

定義

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

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

コンストラクター

ApiManagementDiagnosticCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

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

新しい診断を作成するか、既存のものを更新します。

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

新しい診断を作成するか、既存のものを更新します。

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

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

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

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

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

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

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

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

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

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

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

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

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ApiManagementDiagnosticResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ApiManagementDiagnosticResource>.GetEnumerator()

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

適用対象