Share via


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

Experimental Preview Deprecated

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]

Examples

Required Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--asset-name
Experimental Preview Deprecated

The name of the asset used by the streaming locator.

--name -n
Experimental Preview Deprecated

The name of the streaming locator.

--resource-group -g
Experimental Preview Deprecated

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

--streaming-policy-name
Experimental Preview Deprecated

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
Experimental Preview Deprecated

An alternative media identifier associated with the streaming locator.

--content-key-policy-name
Experimental Preview Deprecated

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

--content-keys
Experimental Preview Deprecated

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
Experimental Preview Deprecated

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

--filters
Experimental Preview Deprecated

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

--start-time
Experimental Preview Deprecated

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

--streaming-locator-id
Experimental Preview Deprecated

The identifier of the streaming locator.

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az ams streaming-locator delete

Experimental Preview Deprecated

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]

Examples

Required Parameters

Optional Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

The name of the streaming locator.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az ams streaming-locator get-paths

Experimental Preview Deprecated

List paths supported by a streaming locator.

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

Examples

Required Parameters

Optional Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

The name of the streaming locator.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az ams streaming-locator list

Experimental Preview Deprecated

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

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

Examples

Required Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--resource-group -g
Experimental Preview Deprecated

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

Optional Parameters

--filter
Experimental Preview Deprecated

Restricts the set of items returned.

--orderby
Experimental Preview Deprecated

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

--top
Experimental Preview Deprecated

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.

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az ams streaming-locator list-content-keys

Experimental Preview Deprecated

List content keys used by a streaming locator.

az ams streaming-locator list-content-keys [--account-name]
                                           [--ids]
                                           [--name]
                                           [--resource-group]
                                           [--subscription]

Examples

Required Parameters

Optional Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

The name of the streaming locator.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.

az ams streaming-locator show

Experimental Preview Deprecated

Show the details of a streaming locator.

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

Examples

Required Parameters

Optional Parameters

--account-name -a
Experimental Preview Deprecated

The name of the Azure Media Services account.

--ids
Experimental Preview Deprecated

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
Experimental Preview Deprecated

The name of the streaming locator.

--resource-group -g
Experimental Preview Deprecated

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

--subscription
Experimental Preview Deprecated

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

Global Parameters
--debug
Experimental Preview Deprecated

Increase logging verbosity to show all debug logs.

--help -h
Experimental Preview Deprecated

Show this help message and exit.

--only-show-errors
Experimental Preview Deprecated

Only show errors, suppressing warnings.

--output -o
Experimental Preview Deprecated

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query
Experimental Preview Deprecated

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription
Experimental Preview Deprecated

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

--verbose
Experimental Preview Deprecated

Increase logging verbosity. Use --debug for full debug logs.