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
必需参数
Azure 媒体服务帐户的名称。
资产名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
曲目的名称。
跟踪的类型。允许的值:文本。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
视频播放器上文本轨道的显示名称。 在 HLS 中,这映射到 EXT-X-MEDIA 的 NAME 属性。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
文件的名称。 注意:此文件应已上传到存储容器。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
文本轨道的RFC5646语言代码。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
当 PlayerVisibility 设置为“Visible”时,当客户端请求时,文本曲目将显示在 DASH 清单或 HLS 播放列表中。 当 PlayerVisibility 设置为“Hidden”时,文本将不适用于客户端。 默认值为“Visible”。 可能的值包括:“Hidden”、“Visible”。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az ams asset-track delete
删除跟踪。
删除资产中的 Track。
az ams asset-track delete --asset-name
--track-name
[--account-name]
[--ids]
[--resource-group]
[--subscription]
必需参数
资产名称。
曲目的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Azure 媒体服务帐户的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az ams asset-track list
列出资产中的跟踪。
列出资产中的曲目。
az ams asset-track list --account-name
--asset-name
--resource-group
必需参数
Azure 媒体服务帐户的名称。
资产名称。
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |
az ams asset-track show
显示曲目的详细信息。
az ams asset-track show --asset-name
--track-name
[--account-name]
[--ids]
[--resource-group]
[--subscription]
必需参数
资产名称。
曲目的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Azure 媒体服务帐户的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --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]
必需参数
资产名称。
曲目的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Azure 媒体服务帐户的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
视频播放器上文本轨道的显示名称。 在 HLS 中,这映射到 EXT-X-MEDIA 的 NAME 属性。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
文本轨道的RFC5646语言代码。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
当 PlayerVisibility 设置为“Visible”时,当客户端请求时,文本曲目将显示在 DASH 清单或 HLS 播放列表中。 当 PlayerVisibility 设置为“Hidden”时,文本将不适用于客户端。 默认值为“Visible”。 可能的值包括:“Hidden”、“Visible”。
属性 | 值 |
---|---|
Parameter group: | Text Track Arguments |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --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]
必需参数
资产名称。
曲目的名称。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Azure 媒体服务帐户的名称。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
一个或多个资源 ID(以空格分隔)。 它应该是包含“Resource Id”参数的所有信息的完整资源 ID。 应提供 --ids 或其他“Resource Id”参数。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
不等待长时间运行的操作完成。
属性 | 值 |
---|---|
默认值: | False |
资源组的名称。 可以使用 az configure --defaults group=<name>
配置默认组。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID
配置默认订阅。
属性 | 值 |
---|---|
Parameter group: | Resource Id Arguments |
全局参数
提高日志记录详细程度以显示所有调试日志。
属性 | 值 |
---|---|
默认值: | False |
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
属性 | 值 |
---|---|
默认值: | False |
Output format.
属性 | 值 |
---|---|
默认值: | json |
接受的值: | json, jsonc, none, table, tsv, yaml, yamlc |
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
属性 | 值 |
---|---|
默认值: | False |