LinkedServicesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET