WebAppsOperationsExtensions.UpdateAuthSettingsSlotAsync(IWebAppsOperations, String, String, SiteAuthSettings, String, CancellationToken) Method

Definition

Updates the Authentication / Authorization settings associated with web app.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteAuthSettings> UpdateAuthSettingsSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.SiteAuthSettings siteAuthSettings, string slot, System.Threading.CancellationToken cancellationToken = null);
static member UpdateAuthSettingsSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.SiteAuthSettings * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.SiteAuthSettings>

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of web app.

siteAuthSettings
SiteAuthSettings

Auth settings associated with web app.

slot
System.String

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<SiteAuthSettings>

Remarks

Updates the Authentication / Authorization settings associated with web app.

Applies to