az pipelines queue
Note
此参考是 Azure CLI(版本 2.30.0 或更高版本)的 azure-devops 扩展的一部分。 该扩展将在首次运行 az pipelines queue 命令时自动安装。 了解更多关于扩展的信息。
管理代理队列。
命令
| 名称 | 说明 | 类型 | Status | 
|---|---|---|---|
| az pipelines queue list | 列出代理队列。 | Extension | GA | 
| az pipelines queue show | 显示代理队列的详细信息。 | Extension | GA | 
az pipelines queue list
列出代理队列。
az pipelines queue list [--action {manage, none, use}]
                        [--detect {false, true}]
                        [--org --organization]
                        [--project]
                        [--queue-name]可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
按呼叫用户是否具有使用或管理权限进行筛选。
| 属性 | 值 | 
|---|---|
| 接受的值: | manage, none, use | 
自动检测组织。
| 属性 | 值 | 
|---|---|
| 接受的值: | false, true | 
Azure DevOps 组织 URL。 可以使用 az devops configure -d organization=ORG_URL 配置默认组织。 如果未配置为默认或通过 git 配置选取,则为必需。示例:https://dev.azure.com/MyOrganizationName/。
项目的名称或 ID。 可以使用 az devops configure -d project=NAME_OR_ID 配置默认项目。 如果未配置为默认或通过 git 配置进行选取,则为必需。
使用匹配的队列名称正则表达式筛选列表。 例如 ,用于 名为“Hosted Ubuntu 1604”的队列的 ubuntu。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 | 
|---|---|
| 默认值: | False | 
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 | 
|---|---|
| 默认值: | False | 
输出格式。
| 属性 | 值 | 
|---|---|
| 默认值: | json | 
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc | 
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 | 
|---|---|
| 默认值: | False | 
az pipelines queue show
显示代理队列的详细信息。
az pipelines queue show --id --queue-id
                        [--action {manage, none, use}]
                        [--detect {false, true}]
                        [--org --organization]
                        [--project]必需参数
要获取相关信息的代理队列的 ID。
可选参数
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
按呼叫用户是否具有使用或管理权限进行筛选。
| 属性 | 值 | 
|---|---|
| 接受的值: | manage, none, use | 
自动检测组织。
| 属性 | 值 | 
|---|---|
| 接受的值: | false, true | 
Azure DevOps 组织 URL。 可以使用 az devops configure -d organization=ORG_URL 配置默认组织。 如果未配置为默认或通过 git 配置选取,则为必需。示例:https://dev.azure.com/MyOrganizationName/。
项目的名称或 ID。 可以使用 az devops configure -d project=NAME_OR_ID 配置默认项目。 如果未配置为默认或通过 git 配置进行选取,则为必需。
全局参数
提高日志记录详细程度以显示所有调试日志。
| 属性 | 值 | 
|---|---|
| 默认值: | False | 
显示此帮助消息并退出。
仅显示错误,禁止显示警告。
| 属性 | 值 | 
|---|---|
| 默认值: | False | 
输出格式。
| 属性 | 值 | 
|---|---|
| 默认值: | json | 
| 接受的值: | json, jsonc, none, table, tsv, yaml, yamlc | 
JMESPath 查询字符串。 有关更多信息和示例,请参阅 http://jmespath.org/。
订阅的名称或 ID。 可以使用 az account set -s NAME_OR_ID 配置默认订阅。
增加日志记录详细程度。 使用 --debug 获取完整的调试日志。
| 属性 | 值 | 
|---|---|
| 默认值: | False |