PolicyAssignmentsOperationsExtensions.ListForResourceAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- operations
- IPolicyAssignmentsOperations
- resourceGroupName
- String
- resourceProviderNamespace
- String
- parentResourcePath
- String
- resourceType
- String
- resourceName
- String
- odataQuery
- ODataQuery<PolicyAssignment>
- cancellationToken
- CancellationToken