Partager via


IAppServiceEnvironmentsOperations.UpdateWithHttpMessagesAsync Méthode

Définition

Créez ou mettez à jour un App Service Environment.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentResourceInner>> UpdateWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentPatchResource hostingEnvironmentEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentPatchResource * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentResourceInner>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, name As String, hostingEnvironmentEnvelope As AppServiceEnvironmentPatchResource, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AppServiceEnvironmentResourceInner))

Paramètres

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

name
String

Nom du App Service Environment.

hostingEnvironmentEnvelope
AppServiceEnvironmentPatchResource

Détails de configuration du App Service Environment.

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 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

Remarques

Description de La création ou de la mise à jour d’un App Service Environment.

S’applique à