共用方式為


StaticSiteResource.GetConfiguredRolesAsync(CancellationToken) Method

Definition

Description for Lists the roles configured for the static site.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/listConfiguredRoles
  • Operation Id: StaticSites_ListStaticSiteConfiguredRoles
  • Default Api Version: 2024-04-01
  • Resource: StaticSiteResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteStringList>> GetConfiguredRolesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetConfiguredRolesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteStringList>>
override this.GetConfiguredRolesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.Models.StaticSiteStringList>>
Public Overridable Function GetConfiguredRolesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StaticSiteStringList))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to