LogicExtensions.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
  • Default Api Version: 2019-05-01
  • Resource: LogicWorkflowResource
public static System.Threading.Tasks.Task<Azure.Response> ValidateByLocationWorkflowAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, Azure.Core.AzureLocation location, string workflowName, Azure.ResourceManager.Logic.LogicWorkflowData data, System.Threading.CancellationToken cancellationToken = default);
static member ValidateByLocationWorkflowAsync : Azure.ResourceManager.Resources.ResourceGroupResource * Azure.Core.AzureLocation * string * Azure.ResourceManager.Logic.LogicWorkflowData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
<Extension()>
Public Function ValidateByLocationWorkflowAsync (resourceGroupResource As ResourceGroupResource, location As AzureLocation, workflowName As String, data As LogicWorkflowData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

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.

resourceGroupResource, workflowName or data is null.

Applies to