@@ -65,6 +65,7 @@ Create an agent pool by using the [az acr agentpool create][az-acr-agentpool-cre
65
65
66
66
``` azurecli
67
67
az acr agentpool create \
68
+ --registry MyRegistry \
68
69
--name myagentpool \
69
70
--tier S2
70
71
```
@@ -78,6 +79,7 @@ Scale the pool size up or down with the [az acr agentpool update][az-acr-agentpo
78
79
79
80
``` azurecli
80
81
az acr agentpool update \
82
+ --registry MyRegistry \
81
83
--name myagentpool \
82
84
--count 2
83
85
```
@@ -112,6 +114,7 @@ subnetId=$(az network vnet subnet show \
112
114
--query id --output tsv)
113
115
114
116
az acr agentpool create \
117
+ --registry MyRegistry \
115
118
--name myagentpool \
116
119
--tier S2 \
117
120
--subnet-id $subnetId
@@ -131,6 +134,7 @@ Queue a quick task on the agent pool by using the [az acr build][az-acr-build] c
131
134
132
135
``` azurecli
133
136
az acr build \
137
+ --registry MyRegistry \
134
138
--agent-pool myagentpool \
135
139
--image myimage:mytag \
136
140
--file Dockerfile \
@@ -143,6 +147,7 @@ For example, create a scheduled task on the agent pool with [az acr task create]
143
147
144
148
``` azurecli
145
149
az acr task create \
150
+ --registry MyRegistry \
146
151
--name mytask \
147
152
--agent-pool myagentpool \
148
153
--image myimage:mytag \
@@ -156,6 +161,7 @@ To verify task setup, run [az acr task run][az-acr-task-run]:
156
161
157
162
``` azurecli
158
163
az acr task run \
164
+ --registry MyRegistry \
159
165
--name mytask
160
166
```
161
167
@@ -165,6 +171,7 @@ To find the number of runs currently scheduled on the agent pool, run [az acr ag
165
171
166
172
``` azurecli
167
173
az acr agentpool show \
174
+ --registry MyRegistry \
168
175
--name myagentpool \
169
176
--queue-count
170
177
```
0 commit comments