Skip to main content

account_filters

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

Overview

Nameaccount_filters
TypeResource
Idazure.media_services.account_filters

Fields

NameDatatypeDescription
accountNametextfield from the properties object
filterNametextfield from the properties object
first_qualitytextfield from the properties object
presentation_time_rangetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
trackstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, filterName, resourceGroupName, subscriptionIdGet the details of an Account Filter in the Media Services account.
listSELECTaccountName, resourceGroupName, subscriptionIdList Account Filters in the Media Services account.
create_or_updateINSERTaccountName, filterName, resourceGroupName, subscriptionIdCreates or updates an Account Filter in the Media Services account.
deleteDELETEaccountName, filterName, resourceGroupName, subscriptionIdDeletes an Account Filter in the Media Services account.
updateUPDATEaccountName, filterName, resourceGroupName, subscriptionIdUpdates an existing Account Filter in the Media Services account.

SELECT examples

List Account Filters in the Media Services account.

SELECT
accountName,
filterName,
first_quality,
presentation_time_range,
resourceGroupName,
subscriptionId,
system_data,
tracks
FROM azure.media_services.vw_account_filters
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new account_filters resource.

/*+ create */
INSERT INTO azure.media_services.account_filters (
accountName,
filterName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ filterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

UPDATE example

Updates a account_filters resource.

/*+ update */
UPDATE azure.media_services.account_filters
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND filterName = '{{ filterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified account_filters resource.

/*+ delete */
DELETE FROM azure.media_services.account_filters
WHERE accountName = '{{ accountName }}'
AND filterName = '{{ filterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';