Dela via


RoleAssignmentsOperationsExtensions.ListForScope Metod

Definition

Visa en lista över alla rolltilldelningar som gäller för ett omfång.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment> ListForScope (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);
static member ListForScope : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentFilter> * string -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment>
<Extension()>
Public Function ListForScope (operations As IRoleAssignmentsOperations, scope As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional tenantId As String = Nothing) As IPage(Of RoleAssignment)

Parametrar

operations
IRoleAssignmentsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

scope
String

Åtgärdens eller resursens omfattning. Giltiga omfång är: prenumeration (format: '/subscriptions/{subscriptionId}'), resursgrupp (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' eller resurs (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/[{parentResourcePath}/]{resourceType}/{resourceName}'

odataQuery
ODataQuery<RoleAssignmentFilter>

OData-parametrar som ska tillämpas på åtgärden.

tenantId
String

Klientorganisations-ID för begäran mellan klientorganisationer

Returer

Gäller för