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

The following fields are returned by SELECT queries:

NameDatatypeDescription
propertiesobjectProperties of the Streaming Locator.
systemDataobjectThe system metadata relating to this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, accountName, streamingLocatorNameapi-versionGet the details of a Streaming Locator in the Media Services account
listselectsubscriptionId, resourceGroupName, accountNameapi-version, $filter, $top, $orderbyLists the Streaming Locators in the account
createinsertsubscriptionId, resourceGroupName, accountName, streamingLocatorNameapi-versionCreate a Streaming Locator in the Media Services account
deletedeletesubscriptionId, resourceGroupName, accountName, streamingLocatorNameapi-versionDeletes a Streaming Locator in 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.
streamingLocatorNamestringThe Streaming Locator name.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription.
$filterstringRestricts the set of items returned.
$orderbystringSpecifies the key by which the result collection should be ordered.
$topinteger (int32)Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.
api-versionstringThe version of the API to be used with the client request.

SELECT examples

Get the details of a Streaming Locator in the Media Services account

SELECT
properties,
systemData
FROM azure.media_services.streaming_locators
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND streamingLocatorName = '{{ streamingLocatorName }}' -- required
AND api-version = '{{ api-version }}'
;

INSERT examples

Create a Streaming Locator in the Media Services account

INSERT INTO azure.media_services.streaming_locators (
data__properties,
subscriptionId,
resourceGroupName,
accountName,
streamingLocatorName,
api-version
)
SELECT
'{{ properties }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ accountName }}',
'{{ streamingLocatorName }}',
'{{ api-version }}'
RETURNING
properties,
systemData
;

DELETE examples

Deletes a Streaming Locator in the Media Services account

DELETE FROM azure.media_services.streaming_locators
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND accountName = '{{ accountName }}' --required
AND streamingLocatorName = '{{ streamingLocatorName }}' --required
AND api-version = '{{ api-version }}'
;