Share via


DataPolicyManifestCollection.GetAllAsync(String, CancellationToken) Method

Definition

This operation retrieves a list of all the data policy manifests that match the optional given $filter. Valid values for $filter are: "$filter=namespace eq '{0}'". If $filter is not provided, the unfiltered list includes all data policy manifests for data resource types. If $filter=namespace is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.

  • Request Path: /providers/Microsoft.Authorization/dataPolicyManifests
  • Operation Id: DataPolicyManifests_List
  • Default Api Version: 2020-09-01
  • Resource: DataPolicyManifestResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Resources.DataPolicyManifestResource> GetAllAsync (string filter = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.DataPolicyManifestResource>
override this.GetAllAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Resources.DataPolicyManifestResource>
Public Overridable Function GetAllAsync (Optional filter As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DataPolicyManifestResource)

Parameters

filter
String

The filter to apply on the operation. Valid values for $filter are: "namespace eq '{value}'". If $filter is not provided, no filtering is performed. If $filter=namespace eq '{value}' is provided, the returned list only includes all data policy manifests that have a namespace matching the provided value.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DataPolicyManifestResource that may take multiple service requests to iterate over.

Applies to