Partager via


ILinkedServicesOperations.CreateOrUpdateWithHttpMessagesAsync Méthode

Définition

Crée ou met à jour un service lié.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataFactory.Models.LinkedServiceResource>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string factoryName, string linkedServiceName, Microsoft.Azure.Management.DataFactory.Models.LinkedServiceResource linkedService, string ifMatch = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.DataFactory.Models.LinkedServiceResource * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataFactory.Models.LinkedServiceResource>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, factoryName As String, linkedServiceName As String, linkedService As LinkedServiceResource, Optional ifMatch As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of LinkedServiceResource))

Paramètres

resourceGroupName
String

Nom du groupe de ressources.

factoryName
String

Nom de la fabrique.

linkedServiceName
String

Nom du service lié.

linkedService
LinkedServiceResource

Définition de ressource de service lié.

ifMatch
String

ETag de l’entité linkedService. Doit uniquement être spécifié pour la mise à jour, pour laquelle il doit correspondre à l’entité existante ou peut être * pour la mise à jour inconditionnelle.

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

Exceptions

Levée lorsque l’opération a retourné un code de status non valide

Levée en cas d’impossibilité de désérialiser la réponse

Levée lorsqu’un paramètre obligatoire a la valeur Null

S’applique à