Partager via


IAFDCustomDomainsOperations.BeginUpdateWithHttpMessagesAsync Méthode

Définition

Mises à jour un domaine existant dans un profil.

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

Paramètres

resourceGroupName
String

Nom du groupe de ressources dans l’abonnement Azure.

profileName
String

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

customDomainName
String

Nom du domaine sous le profil qui est unique globalement

tlsSettings
AFDDomainHttpsParameters

Configuration spécifiant comment activer HTTPS pour le domaine à l’aide du certificat managé AzureFrontDoor ou du propre certificat de l’utilisateur. Si elle n’est pas spécifiée, l’activation de ssl utilise le certificat managé AzureFrontDoor par défaut.

azureDnsZone
ResourceReference

Référence de ressource à la zone Azure DNS

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 status non valide

Levée lorsque la réponse ne peut pas être désérialisée

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

S’applique à