Share via


WorkflowsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a workflow.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Logic.Models.Workflow> CreateOrUpdateAsync (this Microsoft.Azure.Management.Logic.IWorkflowsOperations operations, string resourceGroupName, string workflowName, Microsoft.Azure.Management.Logic.Models.Workflow workflow, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Logic.IWorkflowsOperations * string * string * Microsoft.Azure.Management.Logic.Models.Workflow * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Logic.Models.Workflow>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IWorkflowsOperations, resourceGroupName As String, workflowName As String, workflow As Workflow, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Workflow)

Parameters

operations
IWorkflowsOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

workflowName
String

The workflow name.

workflow
Workflow

The workflow.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to