Skip to main content

mediaservices_edge_policies

Creates, updates, deletes, gets or lists a mediaservices_edge_policies resource.

Overview

Namemediaservices_edge_policies
TypeResource
Idazure.media_services.mediaservices_edge_policies

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
usageDataCollectionPolicyobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountNameapi-versionList all the media edge policies associated with the Media Services account.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringThe Media Services account name.
resourceGroupNamestringThe name of the resource group within the Azure subscription.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription.
api-versionstringThe version of the API to be used with the client request.

SELECT examples

List all the media edge policies associated with the Media Services account.

SELECT
usageDataCollectionPolicy
FROM azure.media_services.mediaservices_edge_policies
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND api-version = '{{ api-version }}'
;