Share via


LinkedServicesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a linked service.

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

Parameters

operations
ILinkedServicesOperations

The operations group for this extension method.

resourceGroupName
String

The resource group name.

factoryName
String

The factory name.

linkedServiceName
String

The linked service name.

linkedService
LinkedServiceResource

Linked service resource definition.

ifMatch
String

ETag of the linkedService entity. Should only be specified for update, for which it should match existing entity or can be * for unconditional update.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to