Share via


PolicyDefinitionsOperationsExtensions.ListBuiltInNextAsync Method

Definition

Retrieve built-in policy definitions

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition>> ListBuiltInNextAsync (this Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations operations, string nextPageLink, System.Threading.CancellationToken cancellationToken = default);
static member ListBuiltInNextAsync : Microsoft.Azure.Management.ResourceManager.IPolicyDefinitionsOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.ResourceManager.Models.PolicyDefinition>>
<Extension()>
Public Function ListBuiltInNextAsync (operations As IPolicyDefinitionsOperations, nextPageLink As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PolicyDefinition))

Parameters

operations
IPolicyDefinitionsOperations

The operations group for this extension method.

nextPageLink
String

The NextLink from the previous successful call to List operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

This operation retrieves a list of all the built-in policy definitions that match the optional given $filter. If $filter='policyType -eq {value}' is provided, the returned list only includes all built-in policy definitions whose type match the {value}. Possible policyType values are NotSpecified, BuiltIn, Custom, and Static. If $filter='category -eq {value}' is provided, the returned list only includes all built-in policy definitions whose category match the {value}.

Applies to