Partager via


WebSiteSlotResource.UpdateSitePushSettingsSlotAsync Méthode

Définition

Description de Mises à jour les paramètres Push associés à l’application web.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/pushsettings
  • Opération IdWebApps_UpdateSitePushSettingsSlot
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.WebAppPushSettings>> UpdateSitePushSettingsSlotAsync (Azure.ResourceManager.AppService.Models.WebAppPushSettings pushSettings, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateSitePushSettingsSlotAsync : Azure.ResourceManager.AppService.Models.WebAppPushSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.WebAppPushSettings>>
override this.UpdateSitePushSettingsSlotAsync : Azure.ResourceManager.AppService.Models.WebAppPushSettings * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.WebAppPushSettings>>
Public Overridable Function UpdateSitePushSettingsSlotAsync (pushSettings As WebAppPushSettings, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WebAppPushSettings))

Paramètres

pushSettings
WebAppPushSettings

Paramètres push associés à l’application web.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

pushSettings a la valeur null.

S’applique à