次の方法で共有


AlertRuleResource.GetAlertRuleIncidentsAsync(CancellationToken) メソッド

定義

アラート ルールに関連付けられているインシデントの一覧を取得します

  • 要求パス/サブスクリプション/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/microsoft.insights/alertrules/{ruleName}/incidents
  • 操作IdAlertRuleIncidents_ListByAlertRule
public virtual Azure.AsyncPageable<Azure.ResourceManager.Monitor.Models.MonitorIncident> GetAlertRuleIncidentsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAlertRuleIncidentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.Models.MonitorIncident>
override this.GetAlertRuleIncidentsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Monitor.Models.MonitorIncident>
Public Overridable Function GetAlertRuleIncidentsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of MonitorIncident)

パラメーター

cancellationToken
CancellationToken

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

戻り値

反復処理するために複数の MonitorIncident サービス要求を受け取る可能性がある の非同期コレクション。

適用対象