Partager via


SecurityInsightsAlertRuleActionCollection.GetAsync Méthode

Définition

Obtient l’action de la règle d’alerte.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/alertRules/{ruleId}/actions/{actionId}
  • IdActions_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>> GetAsync (string actionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.SecurityInsights.SecurityInsightsAlertRuleActionResource>>
Public Overridable Function GetAsync (actionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SecurityInsightsAlertRuleActionResource))

Paramètres

actionId
String

ID d’action.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

actionId est une chaîne vide et devait être non vide.

actionId a la valeur null.

S’applique à