ContentKeyPolicyCollection.GetAll 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.
Lists the Content Key Policies in the account
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/contentKeyPolicies
 - Operation Id: ContentKeyPolicies_List
 - Default Api Version: 2023-01-01
 - Resource: ContentKeyPolicyResource
 
public virtual Azure.Pageable<Azure.ResourceManager.Media.ContentKeyPolicyResource> GetAll(string filter = default, int? top = default, string orderby = default, System.Threading.CancellationToken cancellationToken = default);
	abstract member GetAll : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Media.ContentKeyPolicyResource>
override this.GetAll : string * Nullable<int> * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Media.ContentKeyPolicyResource>
	Public Overridable Function GetAll (Optional filter As String = Nothing, Optional top As Nullable(Of Integer) = Nothing, Optional orderby As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ContentKeyPolicyResource)
	Parameters
- filter
 - System.String
 
Restricts the set of items returned.
- top
 - System.Nullable<System.Int32>
 
Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
- orderby
 - System.String
 
Specifies the key by which the result collection should be ordered.
- cancellationToken
 - System.Threading.CancellationToken
 
The cancellation token to use.
Returns
A collection of ContentKeyPolicyResource that may take multiple service requests to iterate over.