Udostępnij za pośrednictwem


WebAppsOperationsExtensions.UpdateAuthSettingsV2SlotAsync Method

Definition

Updates site's Authentication / Authorization settings for apps via the V2 format

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

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.

siteAuthSettingsV2
SiteAuthSettingsV2

Auth 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 site's Authentication / Authorization settings for apps via the V2 format

Applies to