Microsoft.CognitiveServices accounts/adapterDeployments

Bicep resource definition

The accounts/adapterDeployments resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.CognitiveServices/accounts/adapterDeployments resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.CognitiveServices/accounts/adapterDeployments@2026-09-15-preview' = {
  parent: resourceSymbolicName
  name: 'string'
  properties: {
    sourceModelId: 'string'
    targetDeploymentName: 'string'
  }
}

Property Values

Microsoft.CognitiveServices/accounts/adapterDeployments

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$ (required)
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
Symbolic name for resource of type: accounts
properties Properties of the Cognitive Services adapter deployment. AdapterDeploymentProperties

AdapterDeploymentProperties

Name Description Value
sourceModelId The immutable Project Models version produced by Foundry fine-tuning.
The identifier uses the Azure AI project model URI format.
Model and version segments use ASCII letters, digits, periods, underscores, and hyphens.
The service validates LoRA weight type, protected status, provenance,
compatibility metadata, and registration state.
string

Constraints:
Pattern = ^azureai://accounts/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/projects/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/models/[A-Za-z0-9_.-]+/versions/[A-Za-z0-9_.-]+(?![\s\S]) (required)
targetDeploymentName The name of the compatible managed compute parent deployment.
The service resolves this name within the adapter's owning account; full
Azure Resource Manager resource IDs and cross-account references are not accepted. It cannot
equal the adapter deployment's resource name. Updating this value
re-targets the adapter while its source model remains unchanged.
string (required)

ARM template resource definition

The accounts/adapterDeployments resource type can be deployed with operations that target:

Usage Examples

Resource format

To create a Microsoft.CognitiveServices/accounts/adapterDeployments resource, add the following JSON to your template.

{
  "type": "Microsoft.CognitiveServices/accounts/adapterDeployments",
  "apiVersion": "2026-09-15-preview",
  "name": "string",
  "properties": {
    "sourceModelId": "string",
    "targetDeploymentName": "string"
  }
}

Property Values

Microsoft.CognitiveServices/accounts/adapterDeployments

Name Description Value
apiVersion The api version '2026-09-15-preview'
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$ (required)
properties Properties of the Cognitive Services adapter deployment. AdapterDeploymentProperties
type The resource type 'Microsoft.CognitiveServices/accounts/adapterDeployments'

AdapterDeploymentProperties

Name Description Value
sourceModelId The immutable Project Models version produced by Foundry fine-tuning.
The identifier uses the Azure AI project model URI format.
Model and version segments use ASCII letters, digits, periods, underscores, and hyphens.
The service validates LoRA weight type, protected status, provenance,
compatibility metadata, and registration state.
string

Constraints:
Pattern = ^azureai://accounts/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/projects/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/models/[A-Za-z0-9_.-]+/versions/[A-Za-z0-9_.-]+(?![\s\S]) (required)
targetDeploymentName The name of the compatible managed compute parent deployment.
The service resolves this name within the adapter's owning account; full
Azure Resource Manager resource IDs and cross-account references are not accepted. It cannot
equal the adapter deployment's resource name. Updating this value
re-targets the adapter while its source model remains unchanged.
string (required)

Terraform (AzAPI provider) resource definition

The accounts/adapterDeployments resource type can be deployed with operations that target:

  • Resource groups For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.CognitiveServices/accounts/adapterDeployments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.CognitiveServices/accounts/adapterDeployments@2026-09-15-preview"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      sourceModelId = "string"
      targetDeploymentName = "string"
    }
  }
}

Property Values

Microsoft.CognitiveServices/accounts/adapterDeployments

Name Description Value
name The resource name string

Constraints:
Pattern = ^[a-zA-Z0-9][a-zA-Z0-9._-]{0,63}$ (required)
parent_id The ID of the resource that is the parent for this resource. ID for resource of type: accounts
properties Properties of the Cognitive Services adapter deployment. AdapterDeploymentProperties
type The resource type "Microsoft.CognitiveServices/accounts/adapterDeployments@2026-09-15-preview"

AdapterDeploymentProperties

Name Description Value
sourceModelId The immutable Project Models version produced by Foundry fine-tuning.
The identifier uses the Azure AI project model URI format.
Model and version segments use ASCII letters, digits, periods, underscores, and hyphens.
The service validates LoRA weight type, protected status, provenance,
compatibility metadata, and registration state.
string

Constraints:
Pattern = ^azureai://accounts/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/projects/[A-Za-z0-9][A-Za-z0-9_.-]{1,63}/models/[A-Za-z0-9_.-]+/versions/[A-Za-z0-9_.-]+(?![\s\S]) (required)
targetDeploymentName The name of the compatible managed compute parent deployment.
The service resolves this name within the adapter's owning account; full
Azure Resource Manager resource IDs and cross-account references are not accepted. It cannot
equal the adapter deployment's resource name. Updating this value
re-targets the adapter while its source model remains unchanged.
string (required)