Share via


GlobalParametersOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a Global parameter

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GlobalParameterResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataFactory.IGlobalParametersOperations operations, string resourceGroupName, string factoryName, string globalParameterName, Microsoft.Azure.Management.DataFactory.Models.GlobalParameterResource defaultParameter, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataFactory.IGlobalParametersOperations * string * string * string * Microsoft.Azure.Management.DataFactory.Models.GlobalParameterResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GlobalParameterResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IGlobalParametersOperations, resourceGroupName As String, factoryName As String, globalParameterName As String, defaultParameter As GlobalParameterResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GlobalParameterResource)

Parameters

operations
IGlobalParametersOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

globalParameterName
String

The global parameter name.

defaultParameter
GlobalParameterResource

Global parameter resource definition.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to