Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az ams streaming-locator

Manage streaming locators for an Azure Media Services account.

Commands

Name Description Type Status
az ams streaming-locator create

Create a streaming locator.

Core GA
az ams streaming-locator delete

Delete a Streaming Locator.

Core GA
az ams streaming-locator get-paths

List paths supported by a streaming locator.

Core GA
az ams streaming-locator list

List all the streaming locators within an Azure Media Services account.

Core GA
az ams streaming-locator list-content-keys

List content keys used by a streaming locator.

Core GA
az ams streaming-locator show

Show the details of a streaming locator.

Core GA

az ams streaming-locator create

Create a streaming locator.

az ams streaming-locator create --account-name
 --asset-name
 --name
 --resource-group
 --streaming-policy-name
 [--acquire-policy-token]
 [--alternative-media-id]
 [--change-reference]
 [--content-key-policy-name]
 [--content-keys]
 [--end-time]
 [--filters]
 [--start-time]
 [--streaming-locator-id]

Examples

Create a streaming locator.

az ams streaming-locator create -n mylocator -a ams -g rg --streaming-policy-name Predefined_ClearStreamingOnly --asset-name asset

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--asset-name

The name of the asset used by the streaming locator.

--name -n

The name of the streaming locator.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--streaming-policy-name

The name of the streaming policy used by the streaming locator. You can either create one with az ams streaming policy create or use any of the predefined policies: Predefined_DownloadOnly, Predefined_ClearStreamingOnly, Predefined_DownloadAndClearStreaming, Predefined_ClearKey, Predefined_MultiDrmCencStreaming, Predefined_MultiDrmStreaming.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--alternative-media-id

An alternative media identifier associated with the streaming locator.

--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--content-key-policy-name

The default content key policy name used by the streaming locator.

--content-keys

JSON string with the content keys to be used by the streaming locator. Use @{file} to load from a file. For further information about the JSON structure please refer to swagger documentation on https://learn.microsoft.com/rest/api/media/streaminglocators/create#streaminglocatorcontentkey.

--end-time

The ISO 8601 DateTime end time (Y-m-d'T'H:M:S'Z') of the streaming locator.

--filters

A space-separated list of asset filter names and/or account filter names.

--start-time

The ISO 8601 DateTime start time (Y-m-d'T'H:M:S'Z') of the streaming locator.

--streaming-locator-id

The identifier of the streaming locator.

az ams streaming-locator delete

Delete a Streaming Locator.

Deletes a Streaming Locator in the Media Services account.

az ams streaming-locator delete [--account-name]
 [--acquire-policy-token]
 [--change-reference]
 [--ids]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the streaming locator.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

az ams streaming-locator get-paths

List paths supported by a streaming locator.

az ams streaming-locator get-paths [--account-name]
 [--acquire-policy-token]
 [--change-reference]
 [--ids]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the streaming locator.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

az ams streaming-locator list

List all the streaming locators within an Azure Media Services account.

az ams streaming-locator list --account-name
 --resource-group
 [--filter]
 [--orderby]
 [--top]

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--filter

Restricts the set of items returned.

--orderby

Specifies the key by which the result collection should be ordered.

--top

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.

az ams streaming-locator list-content-keys

List content keys used by a streaming locator.

az ams streaming-locator list-content-keys [--account-name]
 [--acquire-policy-token]
 [--change-reference]
 [--ids]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the streaming locator.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

az ams streaming-locator show

Show the details of a streaming locator.

az ams streaming-locator show [--account-name]
 [--ids]
 [--name]
 [--resource-group]
 [--subscription]

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--account-name -a

The name of the Azure Media Services account.

Property Value
Parameter group: Resource Id Arguments
--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

Property Value
Parameter group: Resource Id Arguments
--name -n

The name of the streaming locator.

Property Value
Parameter group: Resource Id Arguments
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Property Value
Parameter group: Resource Id Arguments
--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Property Value
Parameter group: Resource Id Arguments

Feedback

Was this page helpful?