az cognitiveservices account adapter-deployment
This command group is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage LoRA adapter deployments for Azure Cognitive Services accounts.
An adapter deployment is a lightweight LoRA weight patch that attaches to an existing managed compute (parent) deployment. It owns no SKU, capacity, base model, or runtime
- all inference resources come from the parent managed compute deployment referenced by --target-deployment-name.
Commands
| Name | Description | Type | Status |
|---|---|---|---|
| az cognitiveservices account adapter-deployment create |
Create (or replace / re-target) a LoRA adapter deployment attached to a managed compute deployment. |
Core | Preview |
| az cognitiveservices account adapter-deployment delete |
Delete an adapter deployment from Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account adapter-deployment list |
List all adapter deployments for Azure Cognitive Services account. |
Core | Preview |
| az cognitiveservices account adapter-deployment show |
Show an adapter deployment for Azure Cognitive Services account. |
Core | Preview |
az cognitiveservices account adapter-deployment create
Command group 'cognitiveservices account adapter-deployment' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create (or replace / re-target) a LoRA adapter deployment attached to a managed compute deployment.
The adapter must reference a protected Foundry fine-tuning LoRA output as its source model. The target deployment is the name of an existing managed compute deployment in the same account. Re-issuing create with the same adapter name and a different --target-deployment-name re-targets the adapter; --source-model-id is immutable.
az cognitiveservices account adapter-deployment create --adapter-deployment-name --adapter-name
--name
--resource-group
--source-model-id
--target-deployment-name
[--acquire-policy-token]
[--change-reference]
Examples
Create an adapter deployment attached to an existing managed compute deployment.
az cognitiveservices account adapter-deployment create -g myResourceGroup -n myAccount --adapter-deployment-name my-lora-adapter --source-model-id "azureai://accounts/myAccount/projects/myProject/models/my-fine-tuned-lora/versions/1" --target-deployment-name gpt-oss-120b-gpu
Required Parameters
Adapter deployment name.
Cognitive service account name.
Name of resource group. You can configure the default group using az configure --defaults group=<name>.
Immutable Foundry fine-tuning LoRA output model URI (e.g., azureai://accounts/{account}/projects/{project}/models/{model}/versions/{version}).
Name of the existing managed compute parent deployment (resolved within the same account) that will serve this adapter. Re-specify to re-target an existing adapter deployment.
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 |
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 adapter-deployment delete
Command group 'cognitiveservices account adapter-deployment' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete an adapter deployment from Azure Cognitive Services account.
az cognitiveservices account adapter-deployment delete --adapter-deployment-name --adapter-name
--name
--resource-group
[--acquire-policy-token]
[--change-reference]
Examples
Delete an adapter deployment.
az cognitiveservices account adapter-deployment delete -g myResourceGroup -n myAccount --adapter-deployment-name my-lora-adapter
Required Parameters
Adapter deployment 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 |
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 adapter-deployment list
Command group 'cognitiveservices account adapter-deployment' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all adapter deployments for Azure Cognitive Services account.
az cognitiveservices account adapter-deployment list --name
--resource-group
Examples
List all adapter deployments.
az cognitiveservices account adapter-deployment 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 adapter-deployment show
Command group 'cognitiveservices account adapter-deployment' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Show an adapter deployment for Azure Cognitive Services account.
az cognitiveservices account adapter-deployment show --adapter-deployment-name --adapter-name
--name
--resource-group
Examples
Show an adapter deployment.
az cognitiveservices account adapter-deployment show -g myResourceGroup -n myAccount --adapter-deployment-name my-lora-adapter
Required Parameters
Adapter deployment 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 |