你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

az ams asset-track

管理 Azure 媒体服务帐户的资产跟踪。

命令

名称 说明 类型 Status
az ams asset-track create

为 Azure 媒体服务资产创建跟踪。

Core GA
az ams asset-track delete

删除跟踪。

Core GA
az ams asset-track list

列出资产中的跟踪。

Core GA
az ams asset-track show

显示曲目的详细信息。

Core GA
az ams asset-track update

更新跟踪的参数。

Core GA
az ams asset-track update-data

如果最近修改了存储容器中的文件,请更新跟踪。

Core GA

az ams asset-track create

为 Azure 媒体服务资产创建跟踪。

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]

示例

为 Azure 媒体服务资产创建跟踪。

az ams asset-track create -a myAMS -g rg --track-name track --track-type Text --asset-name asset --file-name assetTrack.ttml

必需参数

--account-name -a

Azure 媒体服务帐户的名称。

--asset-name

资产名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

--track-name

曲目的名称。

--track-type

跟踪的类型。允许的值:文本。

可选参数

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

--display-name

视频播放器上文本轨道的显示名称。 在 HLS 中,这映射到 EXT-X-MEDIA 的 NAME 属性。

属性
Parameter group: Text Track Arguments
--file-name

文件的名称。 注意:此文件应已上传到存储容器。

属性
Parameter group: Text Track Arguments
--language-code

文本轨道的RFC5646语言代码。

属性
Parameter group: Text Track Arguments
--no-wait

不等待长时间运行的操作完成。

属性
默认值: False
--player-visibility

当 PlayerVisibility 设置为“Visible”时,当客户端请求时,文本曲目将显示在 DASH 清单或 HLS 播放列表中。 当 PlayerVisibility 设置为“Hidden”时,文本将不适用于客户端。 默认值为“Visible”。 可能的值包括:“Hidden”、“Visible”。

属性
Parameter group: Text Track Arguments
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ams asset-track delete

删除跟踪。

删除资产中的 Track。

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

必需参数

--asset-name

资产名称。

--track-name

曲目的名称。

可选参数

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

Azure 媒体服务帐户的名称。

属性
Parameter group: Resource Id Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
Parameter group: Resource Id Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

属性
Parameter group: Resource Id Arguments
--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

属性
Parameter group: Resource Id Arguments
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ams asset-track list

列出资产中的跟踪。

列出资产中的曲目。

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

必需参数

--account-name -a

Azure 媒体服务帐户的名称。

--asset-name

资产名称。

--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ams asset-track show

显示曲目的详细信息。

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

必需参数

--asset-name

资产名称。

--track-name

曲目的名称。

可选参数

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

Azure 媒体服务帐户的名称。

属性
Parameter group: Resource Id Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
Parameter group: Resource Id Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

属性
Parameter group: Resource Id Arguments
--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

属性
Parameter group: Resource Id Arguments
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ams asset-track update

更新跟踪的参数。

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

必需参数

--asset-name

资产名称。

--track-name

曲目的名称。

可选参数

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

Azure 媒体服务帐户的名称。

属性
Parameter group: Resource Id Arguments
--display-name

视频播放器上文本轨道的显示名称。 在 HLS 中,这映射到 EXT-X-MEDIA 的 NAME 属性。

属性
Parameter group: Text Track Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
Parameter group: Resource Id Arguments
--language-code

文本轨道的RFC5646语言代码。

属性
Parameter group: Text Track Arguments
--no-wait

不等待长时间运行的操作完成。

属性
默认值: False
--player-visibility

当 PlayerVisibility 设置为“Visible”时,当客户端请求时,文本曲目将显示在 DASH 清单或 HLS 播放列表中。 当 PlayerVisibility 设置为“Hidden”时,文本将不适用于客户端。 默认值为“Visible”。 可能的值包括:“Hidden”、“Visible”。

属性
Parameter group: Text Track Arguments
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

属性
Parameter group: Resource Id Arguments
--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

属性
Parameter group: Resource Id Arguments
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False

az ams asset-track update-data

如果最近修改了存储容器中的文件,请更新跟踪。

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

必需参数

--asset-name

资产名称。

--track-name

曲目的名称。

可选参数

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

Azure 媒体服务帐户的名称。

属性
Parameter group: Resource Id Arguments
--ids

一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。

属性
Parameter group: Resource Id Arguments
--no-wait

不等待长时间运行的操作完成。

属性
默认值: False
--resource-group -g

资源组的名称。 可以使用 az configure --defaults group=<name>配置默认组。

属性
Parameter group: Resource Id Arguments
--subscription

订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。

属性
Parameter group: Resource Id Arguments
全局参数
--debug

提高日志记录详细程度以显示所有调试日志。

属性
默认值: False
--help -h

显示此帮助消息并退出。

--only-show-errors

仅显示错误,禁止显示警告。

属性
默认值: False
--output -o

Output format.

属性
默认值: json
接受的值: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/

--verbose

增加日志记录详细程度。 使用 --debug 获取完整的调试日志。

属性
默认值: False