Compartilhar via


PolicyAssignmentsOperationsExtensions.ListForResourceAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyAssignment>> ListForResourceAsync (this Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyAssignmentsOperations operations, string resourceGroupName, string resourceProviderNamespace, string parentResourcePath, string resourceType, string resourceName, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyAssignment> odataQuery = default, System.Threading.CancellationToken cancellationToken = default);
static member ListForResourceAsync : Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.IPolicyAssignmentsOperations * string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.Models.PolicyAssignment> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.ResourceManager.Version2018_05_01.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