az cu defaults
Note
This reference is part of the content-understanding extension for the Azure CLI (version 2.75.0 or higher). The extension will automatically install the first time you run an az cu defaults command. Learn more about extensions.
Command group 'cu' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage Content Understanding model-deployment defaults.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cu defaults set |
Configure Content Understanding defaults that map models to deployments. |
Extension | Preview |
| az cu defaults show |
Show Content Understanding defaults that map models to deployments. |
Extension | Preview |
az cu defaults set
Command group 'cu defaults' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Configure Content Understanding defaults that map models to deployments.
az cu defaults set [--acquire-policy-token]
[--api-key]
[--api-version]
[--auth-mode {key, login}]
[--change-reference]
[--endpoint]
[--model]
[--profile]
[--replace]
Examples
Add or update model deployment mappings.
az cu defaults set --model gpt-5.2=gpt52 --model text-embedding-3-large=embedding3
Replace all model deployment mappings.
az cu defaults set --model gpt-5.2=gpt52 --replace
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 |
Microsoft Foundry resource API key.
Content Understanding service API version.
Authentication mode.
| Property | Value |
|---|---|
| Accepted values: | key, login |
The related change reference ID for this resource operation.
| Property | Value |
|---|---|
| Parameter group: | Global Policy Arguments |
Microsoft Foundry resource endpoint for Content Understanding.
Model deployment mapping in MODEL=DEPLOYMENT form.
CU CLI profile used to resolve endpoint and API-version defaults.
Replace defaults instead of merging.
| 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 cu defaults show
Command group 'cu defaults' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show Content Understanding defaults that map models to deployments.
az cu defaults show [--api-key]
[--api-version]
[--auth-mode {key, login}]
[--endpoint]
[--profile]
Examples
Show defaults as JSON.
az cu defaults show --endpoint https://contoso.services.ai.azure.com/
Show defaults as a table.
az cu defaults show --output table
Optional Parameters
The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.
Microsoft Foundry resource API key.
Content Understanding service API version.
Authentication mode.
| Property | Value |
|---|---|
| Accepted values: | key, login |
Microsoft Foundry resource endpoint for Content Understanding.
CU CLI profile used to resolve endpoint and API-version defaults.
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 |