次の方法で共有


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAlertRule メソッド

定義

アラート ルールを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}
  • 操作IdAlertRules_Get
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource> GetSecurityInsightsAlertRule (string ruleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAlertRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource>
override this.GetSecurityInsightsAlertRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleResource>
Public Overridable Function GetSecurityInsightsAlertRule (ruleId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsAlertRuleResource)

パラメーター

ruleId
String

アラート ルール ID。

cancellationToken
CancellationToken

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

戻り値

例外

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

ruleId が null です。

適用対象