ITriggersOperations.CreateOrUpdateWithHttpMessagesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée ou met à jour un déclencheur.
public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.DataFactory.Models.TriggerResource>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string factoryName, string triggerName, Microsoft.Azure.Management.DataFactory.Models.TriggerResource trigger, 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.TriggerResource * 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.TriggerResource>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, factoryName As String, triggerName As String, trigger As TriggerResource, 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 TriggerResource))
Paramètres
- resourceGroupName
- String
Nom du groupe de ressources.
- factoryName
- String
Nom de la fabrique.
- triggerName
- String
Nom du déclencheur.
- trigger
- TriggerResource
Définition de ressource de déclencheur.
- ifMatch
- String
ETag de l’entité déclencheur. 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 à
Azure SDK for .NET