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 create

Preview

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
                                            --location
                                            --name
                                            --node-count
                                            --pool-name
                                            --resource-group
                                            [--acquire-policy-token]
                                            [--change-reference]
                                            [--no-wait]
                                            [--vm-priority]

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

Required Parameters

--compute-name

Cognitive Services account compute name.

--instance-type

VM instance type for the pool (e.g. Standard_DS3_v2).

Property Value
Parameter group: Pool Arguments
--location -l

Location for the compute resource.

--name -n

Cognitive service account name.

--node-count

Number of nodes in the pool.

Property Value
Parameter group: Pool Arguments
--pool-name

Name of the compute pool.

Property Value
Parameter group: Pool Arguments
--resource-group -g

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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
--vm-priority

VM priority for the pool (e.g. Dedicated, LowPriority). If omitted, the service default is used.

Property Value
Parameter group: Pool Arguments
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az cognitiveservices account compute delete

Preview

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

Required Parameters

--compute-name

Cognitive Services account compute name.

--name -n

Cognitive service account name.

--resource-group -g

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.

--acquire-policy-token

Acquiring an Azure Policy token automatically for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--change-reference

The related change reference ID for this resource operation.

Property Value
Parameter group: Global Policy Arguments
--no-wait

Do not wait for the long-running operation to finish.

Property Value
Default value: False
Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az cognitiveservices account compute list

Preview

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

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False

az cognitiveservices account compute show

Preview

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

--compute-name

Cognitive Services account compute name.

--name -n

Cognitive service account name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

Property Value
Default value: False
--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

Property Value
Default value: False
--output -o

Output format.

Property Value
Default value: json
Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

Property Value
Default value: False