CmdID / az / az cognitiveservices / az cognitiveservices account / az cognitiveservices account compute
az cognitiveservices account compute create
Create a compute resource for Azure Cognitive Services account. Azure CLI reference
2 examples 5 options Its page in the Azure CLI reference
Examples
Create a compute resource.
az cognitiveservices account compute create -g MyResourceGroup -n MyAccount --compute-name my-compute --location westus2 --pool-name my-pool --instance-type Standard_DS3_v2 --node-count 1Identify-gName of resource group.-ncognitive service account name--compute-nameCognitive Services account compute name.--locationLocation for the compute resource.--pool-nameName of the compute pool.--instance-typeVM instance type for the pool (e.g. Standard_DS3_v2).--node-countNumber of nodes in the pool.Create a Spot compute resource without waiting for completion.
az cognitiveservices account compute create -g MyResourceGroup -n MyAccount --compute-name my-compute --location westus2 --pool-name my-pool --instance-type Standard_DS3_v2 --node-count 1 --vm-priority Spot --no-waitIdentify-gName of resource group.-ncognitive service account name--compute-nameCognitive Services account compute name.--locationLocation for the compute resource.--pool-nameName of the compute pool.--instance-typeVM instance type for the pool (e.g. Standard_DS3_v2).--node-countNumber of nodes in the pool.--vm-priorityVM priority for the pool.Options
--instance-typeVM instance type for the pool (e.g. Standard_DS3_v2).--location, -lLocation for the compute resource.--node-countNumber of nodes in the pool.--pool-nameName of the compute pool.--vm-priorityVM priority for the pool.