az acr agentpool
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage private Tasks agent pools with Azure Container Registries.
Commands
Name | Description | Type | Status |
---|---|---|---|
az acr agentpool create |
Create an agent pool for an Azure Container Registry. |
Core | Preview |
az acr agentpool delete |
Delete an agent pool. |
Core | Preview |
az acr agentpool list |
List the agent pools for an Azure Container Registry. |
Core | Preview |
az acr agentpool show |
Get the properties of a specified agent pool for an Azure Container Registry. |
Core | Preview |
az acr agentpool update |
Update an agent pool for an Azure Container Registry. |
Core | Preview |
az acr agentpool create
Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create an agent pool for an Azure Container Registry.
az acr agentpool create --name
--registry
[--count]
[--no-wait]
[--os]
[--resource-group]
[--subnet-id]
[--tier]
Examples
Create the agent pool 'MyAgentName' associated with the registry 'myregistry'.
az acr agentpool create -n MyAgentName -r myregistry
Create the agent pool 'MyAgentName' with 2 agent count.
az acr agentpool create -n MyAgentName -r myregistry --count 2
Create the agent pool 'MyAgentName' associated with the registry 'myregistry' in VNET subnet.
az acr agentpool create -n MyAgentName -r myregistry --subnet-id /subscriptions/<SubscriptionId>/resourceGroups/<ResourceGroupName>/providers/Microsoft.ClassicNetwork/virtualNetworks/<myNetwork>/subnets/<subNet>
Required Parameters
The name of the agent pool.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
The count of the agent pool.
Do not wait for the Agent Pool to complete action and return immediately after queuing the request.
Argument 'os_type' has been deprecated and will be removed in a future release.
The os of the agent pool.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
The Virtual Network Subnet Resource Id of the agent machine.
Sets the VM your agent pool will run on. Valid values are: S1(2 vCPUs, 3 GiB RAM), S2(4 vCPUs, 8 GiB RAM), S3(8 vCPUs, 16 GiB RAM) or I6(64 vCPUs, 216 GiB RAM, Isolated).
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr agentpool delete
Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete an agent pool.
az acr agentpool delete --name
--registry
[--no-wait]
[--resource-group]
[--yes]
Examples
Delete the agent pool 'MyAgentName'.
az acr agentpool delete -n MyAgentName -r myregistry
Required Parameters
The name of the agent pool.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
Do not wait for the Agent Pool to complete action and return immediately after queuing the request.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Do not prompt for confirmation.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr agentpool list
Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List the agent pools for an Azure Container Registry.
az acr agentpool list --registry
[--resource-group]
Examples
List agent pools and show the result in a table.
az acr agentpool list -r myregistry -o table
Required Parameters
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr agentpool show
Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the properties of a specified agent pool for an Azure Container Registry.
az acr agentpool show --name
--registry
[--queue-count]
[--resource-group]
Examples
Get the properties of an agent pool, displaying the results in a table.
az acr agentpool show -n MyAgentName -r myregistry -o table
Required Parameters
The name of the agent pool.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
Get only the queue count.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az acr agentpool update
Command group 'acr agentpool' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Update an agent pool for an Azure Container Registry.
az acr agentpool update --name
--registry
[--count]
[--no-wait]
[--resource-group]
Examples
Update the agent pool 'MyAgentName' count to 5
az acr agentpool update -n MyAgentName -r myregistry --count 5
Required Parameters
The name of the agent pool.
The name of the container registry. It should be specified in lower case. You can configure the default registry name using az configure --defaults acr=<registry name>
.
Optional Parameters
The count of the agent pool.
Do not wait for the Agent Pool to complete action and return immediately after queuing the request.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.