Share via


MockableAppComplianceAutomationTenantResource.TriggerEvaluationProviderActionAsync Method

Definition

Trigger quick evaluation for the given subscriptions.

  • Request Path: /providers/Microsoft.AppComplianceAutomation/triggerEvaluation
  • Operation Id: ProviderActions_TriggerEvaluation
  • Default Api Version: 2024-06-27
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationResult>> TriggerEvaluationProviderActionAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member TriggerEvaluationProviderActionAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationResult>>
override this.TriggerEvaluationProviderActionAsync : Azure.WaitUntil * Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.AppComplianceAutomation.Models.TriggerEvaluationResult>>
Public Overridable Function TriggerEvaluationProviderActionAsync (waitUntil As WaitUntil, content As TriggerEvaluationContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of TriggerEvaluationResult))

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
TriggerEvaluationContent

The content of the action request.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to