Freigeben über


SecurityInsightsAlertRuleResource.GetSecurityInsightsAlertRuleActionAsync Methode

Definition

Ruft die Aktion der Warnungsregel ab.

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}
  • Vorgang IdActions_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>> GetSecurityInsightsAlertRuleActionAsync (string actionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAlertRuleActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
override this.GetSecurityInsightsAlertRuleActionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
Public Overridable Function GetSecurityInsightsAlertRuleActionAsync (actionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsAlertRuleActionResource))

Parameter

actionId
String

Aktions-ID.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

actionId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

actionId ist NULL.

Gilt für: