SubscriptionSecurityAlertCollection クラス

定義

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

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

コンストラクター

SubscriptionSecurityAlertCollection()

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

プロパティ

Client

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

(継承元 ArmCollection)
Diagnostics

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

(継承元 ArmCollection)
Endpoint

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

(継承元 ArmCollection)
Id

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

(継承元 ArmCollection)
Pipeline

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

(継承元 ArmCollection)

メソッド

Exists(String, CancellationToken)

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

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

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

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

サブスクリプションに関連付けられているアラートを取得する

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

特定の場所に格納されているサブスクリプションに関連付けられているすべてのアラートを一覧表示する

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

特定の場所に格納されているサブスクリプションに関連付けられているすべてのアラートを一覧表示する

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

サブスクリプションに関連付けられているアラートを取得する

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetSubscriptionLevel
Simulate(WaitUntil, SecurityAlertSimulatorContent, CancellationToken)

セキュリティ アラートをシミュレートする

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/default/simulate
  • 操作IdAlerts_Simulate
SimulateAsync(WaitUntil, SecurityAlertSimulatorContent, CancellationToken)

セキュリティ アラートをシミュレートする

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

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

(継承元 ArmCollection)

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

IAsyncEnumerable<SubscriptionSecurityAlertResource>.GetAsyncEnumerator(CancellationToken)

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

IEnumerable.GetEnumerator()

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

IEnumerable<SubscriptionSecurityAlertResource>.GetEnumerator()

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

適用対象