PolicyAssignmentsOperationsExtensions.List(IPolicyAssignmentsOperations, ODataQuery<PolicyAssignment>) PolicyAssignmentsOperationsExtensions.List(IPolicyAssignmentsOperations, ODataQuery<PolicyAssignment>) PolicyAssignmentsOperationsExtensions.List(IPolicyAssignmentsOperations, ODataQuery<PolicyAssignment>) Method

Definition

Gets all the policy assignments for a subscription.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment> List (this Microsoft.Azure.Management.ResourceManager.IPolicyAssignmentsOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment> odataQuery = null);
static member List : Microsoft.Azure.Management.ResourceManager.IPolicyAssignmentsOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyAssignment>
<Extension()>
Public Function List (operations As IPolicyAssignmentsOperations, Optional odataQuery As ODataQuery(Of PolicyAssignment) = null) As IPage(Of PolicyAssignment)
Parameters
operations
IPolicyAssignmentsOperations IPolicyAssignmentsOperations IPolicyAssignmentsOperations

The operations group for this extension method.

odataQuery
Microsoft.Rest.Azure.OData.ODataQuery<PolicyAssignment>

OData parameters to apply to the operation.

Returns
Microsoft.Rest.Azure.IPage<PolicyAssignment>

Applies to