Compartilhar via


RoleAssignmentsOperationsExtensions.ListForScopeAsync Método

Definição

Liste todas as atribuições de função que se aplicam a um escopo.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment>> ListForScopeAsync (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string scope, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentFilter> odataQuery = default, string tenantId = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForScopeAsync : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentFilter> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment>>
<Extension()>
Public Function ListForScopeAsync (operations As IRoleAssignmentsOperations, scope As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional tenantId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of RoleAssignment))

Parâmetros

operations
IRoleAssignmentsOperations

O grupo de operações para esse método de extensão.

scope
String

O escopo da operação ou do recurso. Os escopos válidos são: assinatura (formato: '/subscriptions/{subscriptionId}'), grupo de recursos (formato: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', ou recurso (formato: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'

odataQuery
ODataQuery<RoleAssignmentFilter>

Parâmetros OData a serem aplicados à operação.

tenantId
String

ID do locatário para solicitação entre locatários

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a