ResourceHealthEventCollection クラス

定義

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

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

コンストラクター

ResourceHealthEventCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
ExistsAsync(String, String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
Get(String, String, String, CancellationToken)

サブスクリプション内のイベントをイベント追跡 ID でサービス正常性する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
GetAll(String, String, CancellationToken)

サブスクリプション内のサービス正常性イベントを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events
  • 操作IdEvents_ListBySubscriptionId
GetAllAsync(String, String, CancellationToken)

サブスクリプション内のサービス正常性イベントを一覧表示します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events
  • 操作IdEvents_ListBySubscriptionId
GetAsync(String, String, String, CancellationToken)

サブスクリプション内のイベントをイベント追跡 ID でサービス正常性する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
GetIfExists(String, String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
GetIfExistsAsync(String, String, String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.ResourceHealth/events/{eventTrackingId}
  • 操作IdEvent_GetBySubscriptionIdAndTrackingId
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ResourceHealthEventResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ResourceHealthEventResource>.GetEnumerator()

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

適用対象