共用方式為


MediaServicesAccountResource.GetEdgePoliciesAsync Method

Definition

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.

Applies to