az ams asset-track

Manage asset tracks for an Azure Media Services account.

Commands

Name Description Type Status
az ams asset-track create

Create a track for an Azure Media Services asset.

Core GA
az ams asset-track delete

Delete a Track.

Core GA
az ams asset-track list

List Tracks in the Asset.

Core GA
az ams asset-track show

Show the details of a track.

Core GA
az ams asset-track update

Update the parameters of a track.

Core GA
az ams asset-track update-data

Update a track if the file in the storage container was recently modified.

Core GA

az ams asset-track create

Create a track for an Azure Media Services asset.

az ams asset-track create --account-name
                          --asset-name
                          --resource-group
                          --track-name
                          --track-type
                          [--display-name]
                          [--file-name]
                          [--language-code]
                          [--no-wait]
                          [--player-visibility]

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--asset-name

The asset name.

--resource-group -g

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

--track-name

The name of the track.

--track-type

The type of track. Allowed values: Text.

Optional Parameters

--display-name

The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.

--file-name

The name of the file. Note: this file should already be uploaded to the storage container.

--language-code

The RFC5646 language code for the text track.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--player-visibility

When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible". Possible values include: "Hidden", "Visible".

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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

az ams asset-track delete

Delete a Track.

Deletes a Track in the asset.

az ams asset-track delete --asset-name
                          --track-name
                          [--account-name]
                          [--ids]
                          [--resource-group]
                          [--subscription]

Required Parameters

--asset-name

The asset name.

--track-name

The name of the track.

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.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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

az ams asset-track list

List Tracks in the Asset.

Lists the Tracks in the asset.

az ams asset-track list --account-name
                        --asset-name
                        --resource-group

Required Parameters

--account-name -a

The name of the Azure Media Services account.

--asset-name

The asset name.

--resource-group -g

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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

az ams asset-track show

Show the details of a track.

az ams asset-track show --asset-name
                        --track-name
                        [--account-name]
                        [--ids]
                        [--resource-group]
                        [--subscription]

Required Parameters

--asset-name

The asset name.

--track-name

The name of the track.

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.

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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

az ams asset-track update

Update the parameters of a track.

az ams asset-track update --asset-name
                          --track-name
                          [--account-name]
                          [--display-name]
                          [--ids]
                          [--language-code]
                          [--no-wait]
                          [--player-visibility]
                          [--resource-group]
                          [--subscription]

Required Parameters

--asset-name

The asset name.

--track-name

The name of the track.

Optional Parameters

--account-name -a

The name of the Azure Media Services account.

--display-name

The display name of the text track on a video player. In HLS, this maps to the NAME attribute of EXT-X-MEDIA.

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

--language-code

The RFC5646 language code for the text track.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--player-visibility

When PlayerVisibility is set to "Visible", the text track will be present in the DASH manifest or HLS playlist when requested by a client. When the PlayerVisibility is set to "Hidden", the text will not be available to the client. The default value is "Visible". Possible values include: "Hidden", "Visible".

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

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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

az ams asset-track update-data

Update a track if the file in the storage container was recently modified.

az ams asset-track update-data --asset-name
                               --track-name
                               [--account-name]
                               [--ids]
                               [--no-wait]
                               [--resource-group]
                               [--subscription]

Required Parameters

--asset-name

The asset name.

--track-name

The name of the track.

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.

--no-wait

Do not wait for the long-running operation to finish.

Default value: False
--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.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

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

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

--subscription

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

--verbose

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