Compartilhar via


AppServiceEnvironmentResource.UpdateAsync Método

Definição

Descrição para Criar ou atualizar um Ambiente do Serviço de Aplicativo.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}
  • Operação IdAppServiceEnvironments_Update
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>> UpdateAsync (Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch patch, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>>
override this.UpdateAsync : Azure.ResourceManager.AppService.Models.AppServiceEnvironmentPatch * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.AppServiceEnvironmentResource>>
Public Overridable Function UpdateAsync (patch As AppServiceEnvironmentPatch, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppServiceEnvironmentResource))

Parâmetros

patch
AppServiceEnvironmentPatch

Detalhes de configuração do Ambiente do Serviço de Aplicativo.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

patch é nulo.

Aplica-se a