Freigeben über


OperationalInsightsWorkspaceSecurityInsightsResource.GetSecurityInsightsAutomationRule Methode

Definition

Ruft die Automatisierungsregel ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/automationRules/{automationRuleId}
  • Vorgangs-IdAutomationRules_Get
public virtual Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource> GetSecurityInsightsAutomationRule (string automationRuleId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSecurityInsightsAutomationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
override this.GetSecurityInsightsAutomationRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAutomationRuleResource>
Public Overridable Function GetSecurityInsightsAutomationRule (automationRuleId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SecurityInsightsAutomationRuleResource)

Parameter

automationRuleId
String

Id der Automatisierungsregel.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

automationRuleId ist NULL.

Gilt für: