Partager via


IProfilesOperations.UpdateWithHttpMessagesAsync Méthode

Définition

Mises à jour un profil CDN existant avec le nom de profil spécifié sous l’abonnement et le groupe de ressources spécifiés.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Cdn.Models.Profile>> UpdateWithHttpMessagesAsync (string resourceGroupName, string profileName, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * System.Collections.Generic.IDictionary<string, 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.Cdn.Models.Profile>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, profileName As String, Optional tags As IDictionary(Of String, String) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Profile))

Paramètres

resourceGroupName
String

Nom du groupe de ressources au sein de l’abonnement Azure.

profileName
String

Nom du profil CDN unique au sein du groupe de ressources.

tags
IDictionary<String,String>

Balises de profil

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 à