共用方式為


RoleAssignmentsOperationsExtensions.ListForResourceGroup 方法

定義

列出套用至資源群組的所有角色指派。

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment> ListForResourceGroup (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string resourceGroupName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentFilter> odataQuery = default, string tenantId = default);
static member ListForResourceGroup : 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 ListForResourceGroup (operations As IRoleAssignmentsOperations, resourceGroupName As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional tenantId As String = Nothing) As IPage(Of RoleAssignment)

參數

operations
IRoleAssignmentsOperations

這個擴充方法的作業群組。

resourceGroupName
String

資源群組的名稱。 名稱不區分大小寫。

odataQuery
ODataQuery<RoleAssignmentFilter>

要套用至作業的 OData 參數。

tenantId
String

跨租使用者要求的租使用者識別碼

傳回

適用於