Partager via


PolicyAssignmentsOperationsExtensions.ListForResourceAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment>> ListForResourceAsync (this Microsoft.Azure.Management.Internal.Resources.IPolicyAssignmentsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceAsync : Microsoft.Azure.Management.Internal.Resources.IPolicyAssignmentsOperations * string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment>>
<Extension()>
Public Function ListForResourceAsync (operations As IPolicyAssignmentsOperations, resourceGroupName As String, resourceProviderNamespace As String, parentResourcePath As String, resourceType As String, resourceName As String, Optional odataQuery As ODataQuery(Of PolicyAssignment) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PolicyAssignment))

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String
cancellationToken
CancellationToken

Returns

Applies to