Skip to main content

streaming_locators

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

Overview

Namestreaming_locators
TypeResource
Idazure.media_services.streaming_locators

Fields

NameDatatypeDescription
accountNametextfield from the properties object
alternative_media_idtextfield from the properties object
asset_nametextfield from the properties object
content_keystextfield from the properties object
createdtextfield from the properties object
default_content_key_policy_nametextfield from the properties object
end_timetextfield from the properties object
filterstextfield from the properties object
resourceGroupNametextfield from the properties object
start_timetextfield from the properties object
streamingLocatorNametextfield from the properties object
streaming_locator_idtextfield from the properties object
streaming_policy_nametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, streamingLocatorName, subscriptionIdGet the details of a Streaming Locator in the Media Services account
listSELECTaccountName, resourceGroupName, subscriptionIdLists the Streaming Locators in the account
createINSERTaccountName, resourceGroupName, streamingLocatorName, subscriptionIdCreate a Streaming Locator in the Media Services account
deleteDELETEaccountName, resourceGroupName, streamingLocatorName, subscriptionIdDeletes a Streaming Locator in the Media Services account

SELECT examples

Lists the Streaming Locators in the account

SELECT
accountName,
alternative_media_id,
asset_name,
content_keys,
created,
default_content_key_policy_name,
end_time,
filters,
resourceGroupName,
start_time,
streamingLocatorName,
streaming_locator_id,
streaming_policy_name,
subscriptionId,
system_data
FROM azure.media_services.vw_streaming_locators
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified streaming_locators resource.

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