SubscriptionSecurityAlertCollection.Get(String, CancellationToken) メソッド

定義

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

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/{alertName}
  • 操作IdAlerts_GetSubscriptionLevel
public virtual Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource> Get (string alertName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityCenter.SubscriptionSecurityAlertResource>
Public Overridable Function Get (alertName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SubscriptionSecurityAlertResource)

パラメーター

alertName
String

アラート オブジェクトの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

alertName は空の文字列であり、空でないと想定されていました。

alertName が null です。

適用対象