az ams streaming-locator

Manage streaming locators for an Azure Media Services account.

Commands

az ams streaming-locator create

Create a streaming locator.

az ams streaming-locator delete

Delete a Streaming Locator.

az ams streaming-locator get-paths

List paths supported by a streaming locator.

az ams streaming-locator list

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

az ams streaming-locator list-content-keys

List content keys used by a streaming locator.

az ams streaming-locator show

Show the details of a streaming locator.

az ams streaming-locator create

Create a streaming locator.

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

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

--alternative-media-id

An alternative media identifier associated with the streaming locator.

--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://docs.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.

--subscription

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

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]
                                [--ids]
                                [--name]
                                [--resource-group]
                                [--subscription]

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--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.

--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>.

--subscription

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

az ams streaming-locator get-paths

List paths supported by a streaming locator.

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

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--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.

--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>.

--subscription

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

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]
                              [--query-examples]
                              [--subscription]
                              [--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

--filter

Restricts the set of items returned.

--orderby

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

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

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

--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]
                                           [--ids]
                                           [--name]
                                           [--resource-group]
                                           [--subscription]

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--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.

--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>.

--subscription

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

az ams streaming-locator show

Show the details of a streaming locator.

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

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--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.

--name -n

The name of the streaming locator.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

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

--subscription

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