RoleDefinitionsOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get all role definitions that are applicable at scope and above.
public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionInner>> ListAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitionsOperations operations, string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionFilter> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IRoleDefinitionsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionFilter> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.RoleDefinitionInner>>
<Extension()>
Public Function ListAsync (operations As IRoleDefinitionsOperations, scope As String, Optional odataQuery As ODataQuery(Of RoleDefinitionFilter) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RoleDefinitionInner))
Parameters
- operations
- IRoleDefinitionsOperations
The operations group for this extension method.
- scope
- String
The scope of the role definition.
- odataQuery
- ODataQuery<RoleDefinitionFilter>
OData parameters to apply to the operation.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET