Share via


WebAppsOperationsExtensions.UpdateSitePushSettingsSlotAsync Method

Definition

Updates the Push settings associated with web app.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.PushSettings> UpdateSitePushSettingsSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.PushSettings pushSettings, string slot, System.Threading.CancellationToken cancellationToken = default);
static member UpdateSitePushSettingsSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.PushSettings * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.PushSettings>
<Extension()>
Public Function UpdateSitePushSettingsSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, pushSettings As PushSettings, slot As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PushSettings)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of web app.

pushSettings
PushSettings

Push settings associated with web app.

slot
String

Name of web app slot. If not specified then will default to production slot.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Updates the Push settings associated with web app.

Applies to