MediaServicesAccountResource.GetEdgePoliciesAsync 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.
List all the media edge policies associated with the Media Services account.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/listEdgePolicies
- Operation Id: Mediaservices_ListEdgePolicies
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.MediaServicesEdgePolicies>> GetEdgePoliciesAsync (Azure.ResourceManager.Media.Models.EdgePoliciesRequestContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetEdgePoliciesAsync : Azure.ResourceManager.Media.Models.EdgePoliciesRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.MediaServicesEdgePolicies>>
override this.GetEdgePoliciesAsync : Azure.ResourceManager.Media.Models.EdgePoliciesRequestContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Media.Models.MediaServicesEdgePolicies>>
Public Overridable Function GetEdgePoliciesAsync (content As EdgePoliciesRequestContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MediaServicesEdgePolicies))
Parameters
- content
- EdgePoliciesRequestContent
The request parameters.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.