共用方式為


WebSiteSlotResource.GetAuthSettingsV2WithoutSecretsSlotAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/config/authsettingsV2
  • Operation Id: WebApps_GetAuthSettingsV2WithoutSecretsSlot
  • Default Api Version: 2024-04-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2>> GetAuthSettingsV2WithoutSecretsSlotAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAuthSettingsV2WithoutSecretsSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2>>
override this.GetAuthSettingsV2WithoutSecretsSlotAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.SiteAuthSettingsV2>>
Public Overridable Function GetAuthSettingsV2WithoutSecretsSlotAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteAuthSettingsV2))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to