RoleDefinitionsClient.ListScopesAsync(CancellationToken) Method

Definition

List rbac scopes.

public virtual System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>> ListScopesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member ListScopesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>>
override this.ListScopesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<System.Collections.Generic.IReadOnlyList<string>>>
Public Overridable Function ListScopesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of IReadOnlyList(Of String)))

Parameters

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

System.Threading.Tasks.Task<Response<System.Collections.Generic.IReadOnlyList<System.String>>>

Applies to