共用方式為


SecurityInsightsEntityResource.RunPlaybookAsync Method

Definition

Triggers playbook on a specific entity.

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

Parameters

content
EntityManualTriggerRequestContent

Describes the request body for triggering a playbook on an entity.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to