Partager via


IAppServiceEnvironmentsOperations.CreateOrUpdateWithHttpMessagesAsync 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>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentResourceInner hostingEnvironmentEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.AppServiceEnvironmentResourceInner * 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 CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, name As String, hostingEnvironmentEnvelope As AppServiceEnvironmentResourceInner, 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
AppServiceEnvironmentResourceInner

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 à