Share via


SecurityInsightsIncidentResource.RunPlaybookAsync Method

Definition

Triggers playbook on a specific incident

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/incidents/{incidentIdentifier}/runPlaybook
  • Operation Id: Incidents_RunPlaybook
  • Default Api Version: 2024-01-01-preview
  • Resource: SecurityInsightsIncidentResource
public virtual System.Threading.Tasks.Task<Azure.Response<BinaryData>> RunPlaybookAsync (Azure.ResourceManager.SecurityInsights.Models.ManualTriggerRequestBody requestBody = default, System.Threading.CancellationToken cancellationToken = default);
abstract member RunPlaybookAsync : Azure.ResourceManager.SecurityInsights.Models.ManualTriggerRequestBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
override this.RunPlaybookAsync : Azure.ResourceManager.SecurityInsights.Models.ManualTriggerRequestBody * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<BinaryData>>
Public Overridable Function RunPlaybookAsync (Optional requestBody As ManualTriggerRequestBody = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BinaryData))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to