az cognitiveservices account compute
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage compute resources for Azure Cognitive Services accounts.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cognitiveservices account compute create |
Create a compute resource for Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account compute delete |
Delete a compute resource from Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account compute list |
List all compute resources for Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account compute show |
Show a compute resource for Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account compute wait |
Wait for a compute resource to reach a specified condition. |
Core | Preview |
az cognitiveservices account compute create
Command group 'cognitiveservices account compute' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a compute resource for Azure Cognitive Services account.
az cognitiveservices account compute create --compute-name
--instance-type
--name
--node-count
--pool-name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--location]
[--no-wait]
[--vm-priority {Regular, Spot}]
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 1
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-wait
Required Parameters
Cognitive Services account compute name.
VM instance type for the pool (e.g. Standard_DS3_v2).
| Property | Value |
|---|---|
| Parameter group: | Pool Arguments |
Cognitive service account name.
Number of nodes in the pool.
| Property | Value |
|---|---|
| Parameter group: | Pool Arguments |
Name of the compute pool.
| Property | Value |
|---|---|
| Parameter group: | Pool Arguments |
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Location for the compute resource. If omitted, uses the configured default location or the resource group location.
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
VM priority for the pool.
| Property | Value |
|---|---|
| Parameter group: | Pool Arguments |
| Accepted values: | Regular, Spot |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cognitiveservices account compute delete
Command group 'cognitiveservices account compute' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a compute resource from Azure Cognitive Services account.
az cognitiveservices account compute delete --compute-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--no-wait]
Examples
Delete a compute resource.
az cognitiveservices account compute delete -g MyResourceGroup -n MyAccount --compute-name my-compute
Delete a compute resource without waiting for completion.
az cognitiveservices account compute delete -g MyResourceGroup -n MyAccount --compute-name my-compute --no-wait
Required Parameters
Cognitive Services account compute name.
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Do not wait for the long-running operation to finish.
| Property | Value |
|---|---|
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cognitiveservices account compute list
Command group 'cognitiveservices account compute' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all compute resources for Azure Cognitive Services account.
az cognitiveservices account compute list --name
--resource-group
Examples
List compute resources.
az cognitiveservices account compute list -g MyResourceGroup -n MyAccount
Required Parameters
Cognitive service account name.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cognitiveservices account compute show
Command group 'cognitiveservices account compute' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show a compute resource for Azure Cognitive Services account.
az cognitiveservices account compute show --compute-name
--name
--resource-group
Examples
Show a compute resource.
az cognitiveservices account compute show -g MyResourceGroup -n MyAccount --compute-name my-compute
Required Parameters
Cognitive Services account compute name.
Cognitive service account name.
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.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |
az cognitiveservices account compute wait
Command group 'cognitiveservices account compute' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Wait for a compute resource to reach a specified condition.
az cognitiveservices account compute wait --compute-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
[--created]
[--custom]
[--deleted]
[--exists]
[--interval]
[--timeout]
[--updated]
Examples
Wait for a compute resource to finish creating.
az cognitiveservices account compute wait -g MyResourceGroup -n MyAccount --compute-name my-compute --created
Wait for a compute resource to be deleted.
az cognitiveservices account compute wait -g MyResourceGroup -n MyAccount --compute-name my-compute --deleted
Required Parameters
Cognitive Services account compute name.
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Acquiring an Azure Policy token automatically for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Wait until created with 'provisioningState' at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the condition satisfies a custom JMESPath query. E.g. provisioningState!='InProgress', instanceView.statuses[?code=='PowerState/running'].
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
Wait until deleted.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Wait until the resource exists.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Polling interval in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 30 |
Maximum wait in seconds.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | 3600 |
Wait until updated with provisioningState at 'Succeeded'.
| Property | Value |
|---|---|
| Parameter group: | Wait Condition Arguments |
| Default value: | False |
Global Parameters
Increase logging verbosity to show all debug logs.
| Property | Value |
|---|---|
| Default value: | False |
Show this help message and exit.
Only show errors, suppressing warnings.
| Property | Value |
|---|---|
| Default value: | False |
Output format.
| Property | Value |
|---|---|
| Default value: | json |
| Accepted values: | json, jsonc, none, table, tsv, yaml, yamlc |
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.
| Property | Value |
|---|---|
| Default value: | False |