Compartilhar via


IRoleAssignmentsOperations.ListForResourceWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignment>>> ListForResourceWithHttpMessagesAsync (string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignmentFilter> odataQuery = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListForResourceWithHttpMessagesAsync : string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignmentFilter> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Authorization.Version2015_07_01.Models.RoleAssignment>>>
Public Function ListForResourceWithHttpMessagesAsync (resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional odataQuery As ODataQuery(Of RoleAssignmentFilter) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IPage(Of RoleAssignment)))

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to