account_filters
Creates, updates, deletes, gets or lists a account_filters
resource.
Overview
Name | account_filters |
Type | Resource |
Id | azure.media_services.account_filters |
Fields
- vw_account_filters
- account_filters
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
filterName | text | field from the properties object |
first_quality | text | field from the properties object |
presentation_time_range | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tracks | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | The Media Filter properties. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, filterName, resourceGroupName, subscriptionId | Get the details of an Account Filter in the Media Services account. |
list | SELECT | accountName, resourceGroupName, subscriptionId | List Account Filters in the Media Services account. |
create_or_update | INSERT | accountName, filterName, resourceGroupName, subscriptionId | Creates or updates an Account Filter in the Media Services account. |
delete | DELETE | accountName, filterName, resourceGroupName, subscriptionId | Deletes an Account Filter in the Media Services account. |
update | UPDATE | accountName, filterName, resourceGroupName, subscriptionId | Updates an existing Account Filter in the Media Services account. |
SELECT
examples
List Account Filters in the Media Services account.
- vw_account_filters
- account_filters
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 }}';
SELECT
properties,
systemData
FROM azure.media_services.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.media_services.account_filters (
accountName,
filterName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ filterName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: presentationTimeRange
value:
- name: startTimestamp
value: integer
- name: endTimestamp
value: integer
- name: presentationWindowDuration
value: integer
- name: liveBackoffDuration
value: integer
- name: timescale
value: integer
- name: forceEndTimestamp
value: boolean
- name: firstQuality
value:
- name: bitrate
value: integer
- name: tracks
value:
- - name: trackSelections
value:
- - name: property
value: string
- name: value
value: string
- name: operation
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
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 }}';