CmdID

CmdID / az / az discovery / az discovery tool

az discovery tool create

Create a Tool Azure CLI extensions reference

1 example 5 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a tool from inline definition content.

az discovery tool create --resource-group MyResourceGroup --name MyTool --location eastus --version 1.0.0 --definition-content '{"name":"mytool","description":"Utility tool","version":"1.0.0","category":"testing","infra":[{"infra_type":"container","name":"worker","image":{"acr":"myregistry.azurecr.io/mytool:1.0.0"},"compute":{"min_resources":{"cpu":"1","ram":"2Gi","gpu":"0","storage":"0"},"max_resources":{"cpu":"2","ram":"4Gi","storage":"0"},"recommended_sku":["Standard_D4s_v6"],"pool_type":"static","pool_size":1}}]}'Identify
--resource-groupName of resource group.
--nameThe name of the Tool
--locationLocation.
--versionThe version of a resource definition
--definition-contentThe JSON content for defining a resource

Options

5 in the Azure CLI extensions reference
--definition-contentThe JSON content for defining a resource
--environment-variablesEnvironment variables to make available
--tagsResource tags.
--tool-name, --name, -nThe name of the Tool
--versionThe version of a resource definition