Partager via


IAppServiceEnvironmentsOperations.UpdateMultiRolePoolWithHttpMessagesAsync Méthode

Définition

Créez ou mettez à jour un pool multi-rôle.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner>> UpdateMultiRolePoolWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner multiRolePoolEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateMultiRolePoolWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.WorkerPoolResourceInner * 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.WorkerPoolResourceInner>>
Public Function UpdateMultiRolePoolWithHttpMessagesAsync (resourceGroupName As String, name As String, multiRolePoolEnvelope As WorkerPoolResourceInner, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of WorkerPoolResourceInner))

Paramètres

resourceGroupName
String

Nom du groupe de ressources auquel appartient la ressource.

name
String

Nom du App Service Environment.

multiRolePoolEnvelope
WorkerPoolResourceInner

Propriétés du pool multi-rôle.

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

Remarques

Description pour Créer ou mettre à jour un pool multi-rôles.

S’applique à