Partilhar via


WebSiteResource.UpdateSitePushSettingsAsync Método

Definição

Descrição para Atualizações as configurações de push associadas ao aplicativo Web.

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

Parâmetros

pushSettings
WebAppPushSettings

Configurações de push associadas ao aplicativo Web.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

pushSettings é nulo.

Aplica-se a