Delen via


SubscriptionSecurityAlertCollection.Simulate 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 Azure.ResourceManager.ArmOperation Simulate (Azure.WaitUntil waitUntil, Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member Simulate : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
override this.Simulate : Azure.WaitUntil * Azure.ResourceManager.SecurityCenter.Models.SecurityAlertSimulatorContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation
Public Overridable Function Simulate (waitUntil As WaitUntil, content As SecurityAlertSimulatorContent, Optional cancellationToken As CancellationToken = Nothing) As 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