streaming_locators
Creates, updates, deletes, gets or lists a streaming_locators
resource.
Overview
Name | streaming_locators |
Type | Resource |
Id | azure.media_services.streaming_locators |
Fields
- vw_streaming_locators
- streaming_locators
Name | Datatype | Description |
---|---|---|
accountName | text | field from the properties object |
alternative_media_id | text | field from the properties object |
asset_name | text | field from the properties object |
content_keys | text | field from the properties object |
created | text | field from the properties object |
default_content_key_policy_name | text | field from the properties object |
end_time | text | field from the properties object |
filters | text | field from the properties object |
resourceGroupName | text | field from the properties object |
start_time | text | field from the properties object |
streamingLocatorName | text | field from the properties object |
streaming_locator_id | text | field from the properties object |
streaming_policy_name | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Properties of the Streaming Locator. |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accountName, resourceGroupName, streamingLocatorName, subscriptionId | Get the details of a Streaming Locator in the Media Services account |
list | SELECT | accountName, resourceGroupName, subscriptionId | Lists the Streaming Locators in the account |
create | INSERT | accountName, resourceGroupName, streamingLocatorName, subscriptionId | Create a Streaming Locator in the Media Services account |
delete | DELETE | accountName, resourceGroupName, streamingLocatorName, subscriptionId | Deletes a Streaming Locator in the Media Services account |
SELECT
examples
Lists the Streaming Locators in the account
- vw_streaming_locators
- streaming_locators
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 }}';
SELECT
properties,
systemData
FROM azure.media_services.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.media_services.streaming_locators (
accountName,
resourceGroupName,
streamingLocatorName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ streamingLocatorName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: assetName
value: string
- name: created
value: string
- name: startTime
value: string
- name: endTime
value: string
- name: streamingLocatorId
value: string
- name: streamingPolicyName
value: string
- name: defaultContentKeyPolicyName
value: string
- name: contentKeys
value:
- - name: id
value: string
- name: type
value: string
- name: labelReferenceInStreamingPolicy
value: string
- name: value
value: string
- name: policyName
value: string
- name: tracks
value:
- - name: trackSelections
value:
- - name: property
value: string
- name: operation
value: string
- name: value
value: string
- name: alternativeMediaId
value: string
- name: filters
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
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 }}';