RoleAssignmentsOperationsExtensions.ListForResource 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
列出套用至資源的所有角色指派。
public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Models.RoleAssignment> ListForResource (this Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations operations, string resourceGroupName, string resourceProviderNamespace, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Models.RoleAssignmentFilter> odataQuery = default, string tenantId = default);
static member ListForResource : Microsoft.Azure.Management.Authorization.IRoleAssignmentsOperations * string * string * string * 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 ListForResource (operations As IRoleAssignmentsOperations, resourceGroupName As String, resourceProviderNamespace As String, resourceType As String, resourceName As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional tenantId As String = Nothing) As IPage(Of RoleAssignment)
參數
- operations
- IRoleAssignmentsOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
資源群組的名稱。 名稱不區分大小寫。
- resourceProviderNamespace
- String
資源提供者的命名空間。
- resourceType
- String
資源類型名稱。 例如,Web 應用程式的類型名稱是 Microsoft.Web/sites) (。
- resourceName
- String
資源名稱。
- odataQuery
- ODataQuery<RoleAssignmentFilter>
要套用至作業的 OData 參數。
- tenantId
- String
跨租使用者要求的租使用者識別碼