-
Notifications
You must be signed in to change notification settings - Fork 526
Expand file tree
/
Copy pathagent.yml
More file actions
159 lines (159 loc) · 5.7 KB
/
agent.yml
File metadata and controls
159 lines (159 loc) · 5.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
### YamlMime:AzureCLIGroup
uid: az_pipelines_agent
name: az pipelines agent
extensionInformation: |-
> [!NOTE]
> This reference is part of the **azure-devops** extension for the Azure CLI (version 2.30.0 or higher). The extension will automatically install the first time you run an **az pipelines agent** command. [Learn more](https://learn.microsoft.com/cli/azure/azure-cli-extensions-overview) about extensions.
summary: |-
Manage agents.
status: GA
sourceType: Extension
directCommands:
- uid: az_pipelines_agent_list
name: az pipelines agent list
summary: |-
Get a list of agents in a pool.
status: GA
sourceType: Extension
syntax: >-
az pipelines agent list --pool-id
[--agent-name]
[--demands]
[--detect {false, true}]
[--include-assigned-request {false, true}]
[--include-capabilities {false, true}]
[--include-last-completed-request {false, true}]
[--org --organization]
requiredParameters:
- isRequired: true
name: --pool-id
summary: |-
The agent pool containing the agents.
optionalParameters:
- name: --agent-name
summary: |-
Filter on agent name.
- name: --demands
summary: |-
Filter by demands the agents can satisfy. Comma separated list.
- name: --detect
acceptedValues: false, true
summary: |-
Automatically detect organization.
- name: --include-assigned-request
acceptedValues: false, true
summary: |-
Whether to include details about the agents' current work.
- name: --include-capabilities
acceptedValues: false, true
summary: |-
Whether to include the agents' capabilities in the response.
- name: --include-last-completed-request
acceptedValues: false, true
summary: |-
Whether to include details about the agents' most recent completed work.
- name: --org --organization
summary: |-
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: `https://dev.azure.com/MyOrganizationName/`.
globalParameters:
- name: --debug
defaultValue: "False"
summary: |-
Increase logging verbosity to show all debug logs.
- name: --help -h
summary: |-
Show this help message and exit.
- name: --only-show-errors
defaultValue: "False"
summary: |-
Only show errors, suppressing warnings.
- name: --output -o
defaultValue: json
acceptedValues: json, jsonc, none, table, tsv, yaml, yamlc
summary: |-
Output format.
- name: --query
summary: |-
JMESPath query string. See http://jmespath.org/ for more information and examples.
- name: --subscription
summary: |-
Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.
- name: --verbose
defaultValue: "False"
summary: |-
Increase logging verbosity. Use --debug for full debug logs.
- uid: az_pipelines_agent_show
name: az pipelines agent show
summary: |-
Show agent details.
status: GA
sourceType: Extension
syntax: >-
az pipelines agent show --agent-id --id
--pool-id
[--detect {false, true}]
[--include-assigned-request {false, true}]
[--include-capabilities {false, true}]
[--include-last-completed-request {false, true}]
[--org --organization]
requiredParameters:
- isRequired: true
name: --agent-id --id
summary: |-
The agent ID to get information about.
- isRequired: true
name: --pool-id
summary: |-
The agent pool containing the agent.
optionalParameters:
- name: --detect
acceptedValues: false, true
summary: |-
Automatically detect organization.
- name: --include-assigned-request
acceptedValues: false, true
summary: |-
Whether to include details about the agents' current work.
- name: --include-capabilities
acceptedValues: false, true
summary: |-
Whether to include the agents' capabilities in the response.
- name: --include-last-completed-request
acceptedValues: false, true
summary: |-
Whether to include details about the agents' most recent completed work.
- name: --org --organization
summary: |-
Azure DevOps organization URL. You can configure the default organization using az devops configure -d organization=ORG_URL. Required if not configured as default or picked up via git config. Example: `https://dev.azure.com/MyOrganizationName/`.
globalParameters:
- name: --debug
defaultValue: "False"
summary: |-
Increase logging verbosity to show all debug logs.
- name: --help -h
summary: |-
Show this help message and exit.
- name: --only-show-errors
defaultValue: "False"
summary: |-
Only show errors, suppressing warnings.
- name: --output -o
defaultValue: json
acceptedValues: json, jsonc, none, table, tsv, yaml, yamlc
summary: |-
Output format.
- name: --query
summary: |-
JMESPath query string. See http://jmespath.org/ for more information and examples.
- name: --subscription
summary: |-
Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.
- name: --verbose
defaultValue: "False"
summary: |-
Increase logging verbosity. Use --debug for full debug logs.
commands:
- az_pipelines_agent_list
- az_pipelines_agent_show
metadata:
description: Manage agents.