SubscriptionSecurityAlertCollection.SimulateAsync Method

Definition

Simulate security alerts

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/alerts/default/simulate
  • Operation Id: Alerts_Simulate
  • Default Api Version: 2022-01-01
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation> SimulateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member SimulateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
override this.SimulateAsync : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation>
Public Overridable Function SimulateAsync (waitUntil As WaitUntil, content As SecurityAlertSimulatorContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

content
SecurityAlertSimulatorContent

Alert Simulator Request Properties.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to