MockableLogicResourceGroupResource.ValidateByLocationWorkflowAsync Method

Definition

Validates the workflow definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Logic/locations/{location}/workflows/{workflowName}/validate
  • Operation Id: Workflows_ValidateByLocation
public virtual System.Threading.Tasks.Task<Azure.Response> ValidateByLocationWorkflowAsync (Azure.Core.AzureLocation location, string workflowName, Azure.ResourceManager.Logic.LogicWorkflowData data, System.Threading.CancellationToken cancellationToken = default);
abstract member ValidateByLocationWorkflowAsync : Azure.Core.AzureLocation * string * Azure.ResourceManager.Logic.LogicWorkflowData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ValidateByLocationWorkflowAsync : Azure.Core.AzureLocation * string * Azure.ResourceManager.Logic.LogicWorkflowData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ValidateByLocationWorkflowAsync (location As AzureLocation, workflowName As String, data As LogicWorkflowData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

location
AzureLocation

The workflow location.

workflowName
String

The workflow name.

data
LogicWorkflowData

The workflow.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

workflowName is an empty string, and was expected to be non-empty.

workflowName or data is null.

Applies to