Share via


PolicyAssignmentsOperationsExtensions.ListForResource Method

Definition

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment> ListForResource (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);
static member ListForResource : Microsoft.Azure.Management.Internal.Resources.IPolicyAssignmentsOperations * string * string * string * string * string * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Internal.Resources.Models.PolicyAssignment>
<Extension()>
Public Function ListForResource (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) As IPage(Of PolicyAssignment)

Parameters

resourceGroupName
String
resourceProviderNamespace
String
parentResourcePath
String
resourceType
String
resourceName
String

Returns

Applies to