次の方法で共有


ResourceGroupSecurityAlertCollection クラス

定義

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

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

コンストラクター

ResourceGroupSecurityAlertCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetResourceGroupLevel
ExistsAsync(String, CancellationToken)

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

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetResourceGroupLevel
Get(String, CancellationToken)

リソース グループまたはリソース グループ内のリソースに関連付けられているアラートを取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetResourceGroupLevel
GetAll(CancellationToken)

特定の場所に格納されているリソース グループに関連付けられているすべてのアラートを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts
  • 操作IdAlerts_ListResourceGroupLevelByRegion
GetAllAsync(CancellationToken)

特定の場所に格納されているリソース グループに関連付けられているすべてのアラートを一覧表示する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts
  • 操作IdAlerts_ListResourceGroupLevelByRegion
GetAsync(String, CancellationToken)

リソース グループまたはリソース グループ内のリソースに関連付けられているアラートを取得する

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetResourceGroupLevel
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmCollection)

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

IAsyncEnumerable<ResourceGroupSecurityAlertResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<ResourceGroupSecurityAlertResource>.GetEnumerator()

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

適用対象