Partilhar via


IAppServicePlansOperations.UpdateWithHttpMessagesAsync Método

Definição

Cria ou atualiza um Plano de Serviço de Aplicações.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanInner>> UpdateWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.AppServicePlanPatchResource appServicePlan, 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.AppServicePlanPatchResource * 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.AppServicePlanInner>>
Public Function UpdateWithHttpMessagesAsync (resourceGroupName As String, name As String, appServicePlan As AppServicePlanPatchResource, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AppServicePlanInner))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual o recurso pertence.

name
String

Nome do plano de serviço de aplicações.

appServicePlan
AppServicePlanPatchResource

Detalhes do plano de Serviço de Aplicações.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados ao pedido.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Exceções

Emitido quando a operação devolveu um código de estado inválido

Lançada quando não é possível anular a serialização da resposta

Emitido quando um parâmetro necessário é nulo

Observações

Descrição para Criar ou atualizar um Plano de Serviço de Aplicações.

Aplica-se a