diff --git a/avm/res/cognitive-services/account/CHANGELOG.md b/avm/res/cognitive-services/account/CHANGELOG.md
index bed8e245e18..2f0591feb97 100644
--- a/avm/res/cognitive-services/account/CHANGELOG.md
+++ b/avm/res/cognitive-services/account/CHANGELOG.md
@@ -2,6 +2,18 @@
The latest version of the changelog can be found [here](https://github.com/Azure/bicep-registry-modules/blob/main/avm/res/cognitive-services/account/CHANGELOG.md).
+## 0.16.0
+
+### Changes
+
+- Added optional `modelProviderData` (`organizationName`, `countryCode`, `industry`) to `deploymentType`, and project it onto `Microsoft.CognitiveServices/accounts/deployments`. This carries the model-provider attestation that the Cognitive Services RP requires for GA partner models such as Anthropic Claude (`model.format == 'Anthropic'`), which it uses to auto-accept the partner's Azure Marketplace offer (fixes [#7197](https://github.com/Azure/bicep-registry-modules/issues/7197))
+- Bumped the `Microsoft.CognitiveServices/accounts/deployments` API version from `@2025-06-01` to `@2026-05-01`, the minimum GA version that accepts `properties.modelProviderData`
+- Refactored `Microsoft.CognitiveServices/accounts/deployments` from an inline resource loop into a dedicated `deployment` child module while preserving the parent module's existing `deployments` parameter contract.
+
+### Breaking Changes
+
+- None.
+
## 0.15.0
### Changes
diff --git a/avm/res/cognitive-services/account/README.md b/avm/res/cognitive-services/account/README.md
index 10f3fe6c6ee..358e536d46c 100644
--- a/avm/res/cognitive-services/account/README.md
+++ b/avm/res/cognitive-services/account/README.md
@@ -27,7 +27,7 @@ For examples, please refer to the [Usage Examples](#usage-examples) section.
| `Microsoft.Authorization/roleAssignments` | 2022-04-01 |
`.
-- [Using `AIServices` with `deployments` in parameter set, private endpoints, and network injection](#example-1-using-aiservices-with-deployments-in-parameter-set-private-endpoints-and-network-injection)
-- [Using `AIServices` with `deployments` in parameter set and private endpoints](#example-2-using-aiservices-with-deployments-in-parameter-set-and-private-endpoints)
-- [Using `AIServices` with `deployments` in parameter set](#example-3-using-aiservices-with-deployments-in-parameter-set)
-- [Using managed HSM Customer-Managed-Keys with User-Assigned identity](#example-4-using-managed-hsm-customer-managed-keys-with-user-assigned-identity)
-- [Using Customer-Managed-Keys with System-Assigned identity](#example-5-using-customer-managed-keys-with-system-assigned-identity)
-- [Using Customer-Managed-Keys with User-Assigned identity](#example-6-using-customer-managed-keys-with-user-assigned-identity)
-- [Storing keys of service in key vault](#example-7-storing-keys-of-service-in-key-vault)
-- [Using only defaults](#example-8-using-only-defaults)
-- [Using large parameter set](#example-9-using-large-parameter-set)
-- [Using `OpenAI` and `deployments` in parameter set with private endpoint](#example-10-using-openai-and-deployments-in-parameter-set-with-private-endpoint)
-- [As Speech Service](#example-11-as-speech-service)
-- [WAF-aligned](#example-12-waf-aligned)
-
-### Example 1: _Using `AIServices` with `deployments` in parameter set, private endpoints, and network injection_
+- [Using `AIServices` with a GA partner (Anthropic) `deployments` in parameter set](#example-1-using-aiservices-with-a-ga-partner-anthropic-deployments-in-parameter-set)
+- [Using `AIServices` with `deployments` in parameter set, private endpoints, and network injection](#example-2-using-aiservices-with-deployments-in-parameter-set-private-endpoints-and-network-injection)
+- [Using `AIServices` with `deployments` in parameter set and private endpoints](#example-3-using-aiservices-with-deployments-in-parameter-set-and-private-endpoints)
+- [Using `AIServices` with `deployments` in parameter set](#example-4-using-aiservices-with-deployments-in-parameter-set)
+- [Using managed HSM Customer-Managed-Keys with User-Assigned identity](#example-5-using-managed-hsm-customer-managed-keys-with-user-assigned-identity)
+- [Using Customer-Managed-Keys with System-Assigned identity](#example-6-using-customer-managed-keys-with-system-assigned-identity)
+- [Using Customer-Managed-Keys with User-Assigned identity](#example-7-using-customer-managed-keys-with-user-assigned-identity)
+- [Storing keys of service in key vault](#example-8-storing-keys-of-service-in-key-vault)
+- [Using only defaults](#example-9-using-only-defaults)
+- [Using large parameter set](#example-10-using-large-parameter-set)
+- [Using `OpenAI` and `deployments` in parameter set with private endpoint](#example-11-using-openai-and-deployments-in-parameter-set-with-private-endpoint)
+- [As Speech Service](#example-12-as-speech-service)
+- [WAF-aligned](#example-13-waf-aligned)
+
+### Example 1: _Using `AIServices` with a GA partner (Anthropic) `deployments` in parameter set_
+
+This instance deploys the module with a GA partner model deployment that carries the required `modelProviderData` attestation.
+
+You can find the full example and the setup of its dependencies in the deployment test folder path [/tests/e2e/ai-model-deployment-anthropic]
+
+
+
+
+via Bicep module
+
+```bicep
+module account 'br/public:avm/res/cognitive-services/account:' = {
+ params: {
+ // Required parameters
+ kind: 'AIServices'
+ name: 'csaan002'
+ // Non-required parameters
+ customSubDomainName: 'xcsaanai'
+ deployments: [
+ {
+ model: {
+ format: 'Anthropic'
+ name: 'claude-sonnet-4-6'
+ version: '1'
+ }
+ modelProviderData: {
+ countryCode: 'US'
+ industry: 'technology'
+ organizationName: 'Contoso'
+ }
+ name: 'claude-sonnet-4-6'
+ sku: {
+ capacity: 25
+ name: 'GlobalStandard'
+ }
+ }
+ ]
+ }
+}
+```
+
+
+
+
+
+
+via JSON parameters file
+
+```json
+{
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentParameters.json#",
+ "contentVersion": "1.0.0.0",
+ "parameters": {
+ // Required parameters
+ "kind": {
+ "value": "AIServices"
+ },
+ "name": {
+ "value": "csaan002"
+ },
+ // Non-required parameters
+ "customSubDomainName": {
+ "value": "xcsaanai"
+ },
+ "deployments": {
+ "value": [
+ {
+ "model": {
+ "format": "Anthropic",
+ "name": "claude-sonnet-4-6",
+ "version": "1"
+ },
+ "modelProviderData": {
+ "countryCode": "US",
+ "industry": "technology",
+ "organizationName": "Contoso"
+ },
+ "name": "claude-sonnet-4-6",
+ "sku": {
+ "capacity": 25,
+ "name": "GlobalStandard"
+ }
+ }
+ ]
+ }
+ }
+}
+```
+
+
+
+
+
+
+via Bicep parameters file
+
+```bicep-params
+using 'br/public:avm/res/cognitive-services/account:'
+
+// Required parameters
+param kind = 'AIServices'
+param name = 'csaan002'
+// Non-required parameters
+param customSubDomainName = 'xcsaanai'
+param deployments = [
+ {
+ model: {
+ format: 'Anthropic'
+ name: 'claude-sonnet-4-6'
+ version: '1'
+ }
+ modelProviderData: {
+ countryCode: 'US'
+ industry: 'technology'
+ organizationName: 'Contoso'
+ }
+ name: 'claude-sonnet-4-6'
+ sku: {
+ capacity: 25
+ name: 'GlobalStandard'
+ }
+ }
+]
+```
+
+
+
+
+### Example 2: _Using `AIServices` with `deployments` in parameter set, private endpoints, and network injection_
This instance deploys the module with the AI model deployment feature, private endpoint, and network injection for agent service.
@@ -237,7 +367,7 @@ param publicNetworkAccess = 'Disabled'
-### Example 2: _Using `AIServices` with `deployments` in parameter set and private endpoints_
+### Example 3: _Using `AIServices` with `deployments` in parameter set and private endpoints_
This instance deploys the module with the AI model deployment feature and private endpoint.
@@ -403,7 +533,7 @@ param publicNetworkAccess = 'Disabled'
-### Example 3: _Using `AIServices` with `deployments` in parameter set_
+### Example 4: _Using `AIServices` with `deployments` in parameter set_
This instance deploys the module with the AI model deployment feature.
@@ -514,7 +644,7 @@ param deployments = [
-### Example 4: _Using managed HSM Customer-Managed-Keys with User-Assigned identity_
+### Example 5: _Using managed HSM Customer-Managed-Keys with User-Assigned identity_
This instance deploys the module with Managed HSM-based Customer Managed Key (CMK) encryption, using a User-Assigned Managed Identity to access the HSM key.
@@ -635,7 +765,7 @@ param sku = 'S0'
-### Example 5: _Using Customer-Managed-Keys with System-Assigned identity_
+### Example 6: _Using Customer-Managed-Keys with System-Assigned identity_
This instance deploys the module using Customer-Managed-Keys using a System-Assigned Identity. This required the service to be deployed twice, once as a pre-requisite to create the System-Assigned Identity, and once to use it for accessing the Customer-Managed-Key secret.
@@ -740,7 +870,7 @@ param sku = 'S0'
-### Example 6: _Using Customer-Managed-Keys with User-Assigned identity_
+### Example 7: _Using Customer-Managed-Keys with User-Assigned identity_
This instance deploys the module using Customer-Managed-Keys using a User-Assigned Identity to access the Customer-Managed-Key secret.
@@ -854,7 +984,7 @@ param sku = 'S0'
-### Example 7: _Storing keys of service in key vault_
+### Example 8: _Storing keys of service in key vault_
This instance deploys the module and stores its keys in a key vault.
@@ -941,7 +1071,7 @@ param secretsExportConfiguration = {
-### Example 8: _Using only defaults_
+### Example 9: _Using only defaults_
This instance deploys the module with the minimum set of required parameters.
@@ -1003,7 +1133,7 @@ param name = 'csamin001'
-### Example 9: _Using large parameter set_
+### Example 10: _Using large parameter set_
This instance deploys the module with most of its features enabled.
@@ -1502,7 +1632,7 @@ param tags = {
-### Example 10: _Using `OpenAI` and `deployments` in parameter set with private endpoint_
+### Example 11: _Using `OpenAI` and `deployments` in parameter set with private endpoint_
This instance deploys the module with the AI model deployment feature and private endpoint.
@@ -1659,7 +1789,7 @@ param publicNetworkAccess = 'Disabled'
-### Example 11: _As Speech Service_
+### Example 12: _As Speech Service_
This instance deploys the module as a Speech Service.
@@ -1829,7 +1959,7 @@ param tags = {
-### Example 12: _WAF-aligned_
+### Example 13: _WAF-aligned_
This instance deploys the module in alignment with the best-practices of the Azure Well-Architected Framework.
@@ -2294,129 +2424,82 @@ Array of deployments about cognitive service accounts to create.
| Parameter | Type | Description |
| :-- | :-- | :-- |
-| [`model`](#parameter-deploymentsmodel) | object | Properties of Cognitive Services account deployment model. |
+| [`model`](#parameter-deploymentsmodel) | object | Properties of the deployment model. |
**Optional parameters**
| Parameter | Type | Description |
| :-- | :-- | :-- |
-| [`name`](#parameter-deploymentsname) | string | Specify the name of cognitive service account deployment. |
-| [`raiPolicyName`](#parameter-deploymentsraipolicyname) | string | The name of RAI policy. |
-| [`sku`](#parameter-deploymentssku) | object | The resource model definition representing SKU. |
+| [`modelProviderData`](#parameter-deploymentsmodelproviderdata) | object | Model-provider attestation required for GA partner models. |
+| [`name`](#parameter-deploymentsname) | string | The name of the Cognitive Services account deployment. |
+| [`raiPolicyName`](#parameter-deploymentsraipolicyname) | string | The name of the RAI policy. |
+| [`sku`](#parameter-deploymentssku) | object | The resource model definition representing the SKU. |
| [`versionUpgradeOption`](#parameter-deploymentsversionupgradeoption) | string | The version upgrade option. |
### Parameter: `deployments.model`
-Properties of Cognitive Services account deployment model.
+Properties of the deployment model.
- Required: Yes
- Type: object
-**Required parameters**
+### Parameter: `deployments.modelProviderData`
-| Parameter | Type | Description |
-| :-- | :-- | :-- |
-| [`format`](#parameter-deploymentsmodelformat) | string | The format of Cognitive Services account deployment model. |
-| [`name`](#parameter-deploymentsmodelname) | string | The name of Cognitive Services account deployment model. |
+Model-provider attestation required for GA partner models.
-**Conditional parameters**
+- Required: No
+- Type: object
+
+**Required parameters**
| Parameter | Type | Description |
| :-- | :-- | :-- |
-| [`version`](#parameter-deploymentsmodelversion) | string | The version of Cognitive Services account deployment model. Required if the model does not have a default version. |
+| [`countryCode`](#parameter-deploymentsmodelproviderdatacountrycode) | string | Two-letter ISO 3166-1 alpha-2 country or region code. |
+| [`industry`](#parameter-deploymentsmodelproviderdataindustry) | string | The organization industry accepted by the resource provider. |
+| [`organizationName`](#parameter-deploymentsmodelproviderdataorganizationname) | string | Legal entity name of the organization deploying the model. |
-### Parameter: `deployments.model.format`
+### Parameter: `deployments.modelProviderData.countryCode`
-The format of Cognitive Services account deployment model.
+Two-letter ISO 3166-1 alpha-2 country or region code.
- Required: Yes
- Type: string
-### Parameter: `deployments.model.name`
+### Parameter: `deployments.modelProviderData.industry`
-The name of Cognitive Services account deployment model.
+The organization industry accepted by the resource provider.
- Required: Yes
- Type: string
-### Parameter: `deployments.model.version`
+### Parameter: `deployments.modelProviderData.organizationName`
-The version of Cognitive Services account deployment model. Required if the model does not have a default version.
+Legal entity name of the organization deploying the model.
-- Required: No
+- Required: Yes
- Type: string
### Parameter: `deployments.name`
-Specify the name of cognitive service account deployment.
+The name of the Cognitive Services account deployment.
- Required: No
- Type: string
### Parameter: `deployments.raiPolicyName`
-The name of RAI policy.
+The name of the RAI policy.
- Required: No
- Type: string
### Parameter: `deployments.sku`
-The resource model definition representing SKU.
+The resource model definition representing the SKU.
- Required: No
- Type: object
-**Required parameters**
-
-| Parameter | Type | Description |
-| :-- | :-- | :-- |
-| [`name`](#parameter-deploymentsskuname) | string | The name of the resource model definition representing SKU. |
-
-**Optional parameters**
-
-| Parameter | Type | Description |
-| :-- | :-- | :-- |
-| [`capacity`](#parameter-deploymentsskucapacity) | int | The capacity of the resource model definition representing SKU. |
-| [`family`](#parameter-deploymentsskufamily) | string | The family of the resource model definition representing SKU. |
-| [`size`](#parameter-deploymentsskusize) | string | The size of the resource model definition representing SKU. |
-| [`tier`](#parameter-deploymentsskutier) | string | The tier of the resource model definition representing SKU. |
-
-### Parameter: `deployments.sku.name`
-
-The name of the resource model definition representing SKU.
-
-- Required: Yes
-- Type: string
-
-### Parameter: `deployments.sku.capacity`
-
-The capacity of the resource model definition representing SKU.
-
-- Required: No
-- Type: int
-
-### Parameter: `deployments.sku.family`
-
-The family of the resource model definition representing SKU.
-
-- Required: No
-- Type: string
-
-### Parameter: `deployments.sku.size`
-
-The size of the resource model definition representing SKU.
-
-- Required: No
-- Type: string
-
-### Parameter: `deployments.sku.tier`
-
-The tier of the resource model definition representing SKU.
-
-- Required: No
-- Type: string
-
### Parameter: `deployments.versionUpgradeOption`
The version upgrade option.
diff --git a/avm/res/cognitive-services/account/deployment/README.md b/avm/res/cognitive-services/account/deployment/README.md
new file mode 100644
index 00000000000..4fd349864ac
--- /dev/null
+++ b/avm/res/cognitive-services/account/deployment/README.md
@@ -0,0 +1,141 @@
+# Cognitive Services Account Deployment `[Microsoft.CognitiveServices/accounts/deployments]`
+
+This module deploys a Cognitive Services account model deployment.
+
+## Navigation
+
+- [Resource Types](#Resource-Types)
+- [Parameters](#Parameters)
+- [Outputs](#Outputs)
+- [Data Collection](#Data-Collection)
+
+## Resource Types
+
+| Resource Type | API Version | References |
+| :-- | :-- | :-- |
+| `Microsoft.CognitiveServices/accounts/deployments` | 2026-05-01 |
- [AzAdvertizer](https://www.azadvertizer.net/azresourcetypes/microsoft.cognitiveservices_accounts_deployments.html)
- [Template reference](https://learn.microsoft.com/en-us/azure/templates/Microsoft.CognitiveServices/2026-05-01/accounts/deployments)
|
+
+## Parameters
+
+**Required parameters**
+
+| Parameter | Type | Description |
+| :-- | :-- | :-- |
+| [`accountName`](#parameter-accountname) | string | The name of the parent Cognitive Services account. |
+| [`model`](#parameter-model) | object | Properties of the Cognitive Services account deployment model. |
+| [`name`](#parameter-name) | string | The name of the Cognitive Services account deployment. |
+
+**Optional parameters**
+
+| Parameter | Type | Description |
+| :-- | :-- | :-- |
+| [`enableTelemetry`](#parameter-enabletelemetry) | bool | Enable or disable usage telemetry for the module. |
+| [`modelProviderData`](#parameter-modelproviderdata) | object | Model-provider attestation required for GA partner models such as Anthropic Claude. |
+| [`raiPolicyName`](#parameter-raipolicyname) | string | The name of the RAI policy. |
+| [`sku`](#parameter-sku) | object | The resource model definition representing the SKU. |
+| [`versionUpgradeOption`](#parameter-versionupgradeoption) | string | The version upgrade option. |
+
+### Parameter: `accountName`
+
+The name of the parent Cognitive Services account.
+
+- Required: Yes
+- Type: string
+
+### Parameter: `model`
+
+Properties of the Cognitive Services account deployment model.
+
+- Required: Yes
+- Type: object
+
+### Parameter: `name`
+
+The name of the Cognitive Services account deployment.
+
+- Required: Yes
+- Type: string
+
+### Parameter: `enableTelemetry`
+
+Enable or disable usage telemetry for the module.
+
+- Required: No
+- Type: bool
+- Default: `True`
+
+### Parameter: `modelProviderData`
+
+Model-provider attestation required for GA partner models such as Anthropic Claude.
+
+- Required: No
+- Type: object
+
+**Required parameters**
+
+| Parameter | Type | Description |
+| :-- | :-- | :-- |
+| [`countryCode`](#parameter-modelproviderdatacountrycode) | string | Two-letter ISO 3166-1 alpha-2 country or region code. |
+| [`industry`](#parameter-modelproviderdataindustry) | string | The organization industry accepted by the resource provider. |
+| [`organizationName`](#parameter-modelproviderdataorganizationname) | string | Legal entity name of the organization deploying the model. |
+
+### Parameter: `modelProviderData.countryCode`
+
+Two-letter ISO 3166-1 alpha-2 country or region code.
+
+- Required: Yes
+- Type: string
+
+### Parameter: `modelProviderData.industry`
+
+The organization industry accepted by the resource provider.
+
+- Required: Yes
+- Type: string
+
+### Parameter: `modelProviderData.organizationName`
+
+Legal entity name of the organization deploying the model.
+
+- Required: Yes
+- Type: string
+
+### Parameter: `raiPolicyName`
+
+The name of the RAI policy.
+
+- Required: No
+- Type: string
+
+### Parameter: `sku`
+
+The resource model definition representing the SKU.
+
+- Required: No
+- Type: object
+- Default:
+ ```Bicep
+ {
+ capacity: 1
+ name: 'Standard'
+ }
+ ```
+
+### Parameter: `versionUpgradeOption`
+
+The version upgrade option.
+
+- Required: No
+- Type: string
+
+## Outputs
+
+| Output | Type | Description |
+| :-- | :-- | :-- |
+| `name` | string | The name of the Cognitive Services account deployment. |
+| `resourceGroupName` | string | The name of the resource group in which the deployment was created. |
+| `resourceId` | string | The resource ID of the Cognitive Services account deployment. |
+
+## Data Collection
+
+The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the [repository](https://aka.ms/avm/telemetry). There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at . You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
diff --git a/avm/res/cognitive-services/account/deployment/main.bicep b/avm/res/cognitive-services/account/deployment/main.bicep
new file mode 100644
index 00000000000..3a6ca901bc8
--- /dev/null
+++ b/avm/res/cognitive-services/account/deployment/main.bicep
@@ -0,0 +1,114 @@
+metadata name = 'Cognitive Services Account Deployment'
+metadata description = 'This module deploys a Cognitive Services account model deployment.'
+
+@description('Required. The name of the Cognitive Services account deployment.')
+param name string
+
+@description('Required. The name of the parent Cognitive Services account.')
+param accountName string
+
+@description('Required. Properties of the Cognitive Services account deployment model.')
+param model resourceInput<'Microsoft.CognitiveServices/accounts/deployments@2025-06-01'>.properties.model
+
+@description('Optional. The resource model definition representing the SKU.')
+param sku resourceInput<'Microsoft.CognitiveServices/accounts/deployments@2025-06-01'>.sku = {
+ name: 'Standard'
+ capacity: 1
+}
+
+@description('Optional. The name of the RAI policy.')
+param raiPolicyName string?
+
+@description('Optional. The version upgrade option.')
+param versionUpgradeOption string?
+
+@description('Optional. Model-provider attestation required for GA partner models such as Anthropic Claude.')
+param modelProviderData modelProviderDataType?
+
+@description('Optional. Enable or disable usage telemetry for the module.')
+param enableTelemetry bool = true
+
+#disable-next-line no-deployments-resources
+resource avmTelemetry 'Microsoft.Resources/deployments@2025-04-01' = if (enableTelemetry) {
+ name: '46d3xbcp.res.cognitiveservices-account-deployment.${replace('-..--..-', '.', '-')}.${substring(uniqueString(deployment().name), 0, 4)}'
+ properties: {
+ mode: 'Incremental'
+ template: {
+ '$schema': 'https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#'
+ contentVersion: '1.0.0.0'
+ resources: []
+ outputs: {
+ telemetry: {
+ type: 'String'
+ value: 'For more information, see https://aka.ms/avm/TelemetryInfo'
+ }
+ }
+ }
+ }
+}
+
+resource cognitiveServiceAccount 'Microsoft.CognitiveServices/accounts@2025-06-01' existing = {
+ name: accountName
+}
+
+// 2026-05-01 is the minimum GA API version that supports modelProviderData.
+#disable-next-line BCP081
+resource cognitiveServiceDeployment 'Microsoft.CognitiveServices/accounts/deployments@2026-05-01' = {
+ parent: cognitiveServiceAccount
+ name: name
+ properties: {
+ model: model
+ raiPolicyName: raiPolicyName
+ versionUpgradeOption: versionUpgradeOption
+ modelProviderData: modelProviderData
+ }
+ sku: sku
+}
+
+@description('The name of the Cognitive Services account deployment.')
+output name string = cognitiveServiceDeployment.name
+
+@description('The resource ID of the Cognitive Services account deployment.')
+output resourceId string = cognitiveServiceDeployment.id
+
+@description('The name of the resource group in which the deployment was created.')
+output resourceGroupName string = resourceGroup().name
+
+// =============== //
+// Definitions //
+// =============== //
+
+@export()
+@description('Model-provider attestation information.')
+type modelProviderDataType = {
+ @description('Required. Legal entity name of the organization deploying the model.')
+ organizationName: string
+
+ @description('Required. Two-letter ISO 3166-1 alpha-2 country or region code.')
+ countryCode: string
+
+ @description('Required. The organization industry accepted by the resource provider.')
+ industry: string
+}
+
+@export()
+@description('The type for a Cognitive Services account deployment.')
+type deploymentType = {
+ @description('Optional. The name of the Cognitive Services account deployment.')
+ name: string?
+
+ @description('Required. Properties of the deployment model.')
+ model: resourceInput<'Microsoft.CognitiveServices/accounts/deployments@2025-06-01'>.properties.model
+
+ @description('Optional. The resource model definition representing the SKU.')
+ sku: resourceInput<'Microsoft.CognitiveServices/accounts/deployments@2025-06-01'>.sku?
+
+ @description('Optional. The name of the RAI policy.')
+ raiPolicyName: string?
+
+ @description('Optional. The version upgrade option.')
+ versionUpgradeOption: string?
+
+ @description('Optional. Model-provider attestation required for GA partner models.')
+ modelProviderData: modelProviderDataType?
+}
diff --git a/avm/res/cognitive-services/account/deployment/main.json b/avm/res/cognitive-services/account/deployment/main.json
new file mode 100644
index 00000000000..c0569775e5e
--- /dev/null
+++ b/avm/res/cognitive-services/account/deployment/main.json
@@ -0,0 +1,226 @@
+{
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
+ "languageVersion": "2.0",
+ "contentVersion": "1.0.0.0",
+ "metadata": {
+ "_generator": {
+ "name": "bicep",
+ "version": "0.45.6.27763",
+ "templateHash": "7057316138591440411"
+ },
+ "name": "Cognitive Services Account Deployment",
+ "description": "This module deploys a Cognitive Services account model deployment."
+ },
+ "definitions": {
+ "modelProviderDataType": {
+ "type": "object",
+ "properties": {
+ "organizationName": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Legal entity name of the organization deploying the model."
+ }
+ },
+ "countryCode": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Two-letter ISO 3166-1 alpha-2 country or region code."
+ }
+ },
+ "industry": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The organization industry accepted by the resource provider."
+ }
+ }
+ },
+ "metadata": {
+ "__bicep_export!": true,
+ "description": "Model-provider attestation information."
+ }
+ },
+ "deploymentType": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the Cognitive Services account deployment."
+ }
+ },
+ "model": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/properties/properties/model"
+ },
+ "description": "Required. Properties of the deployment model."
+ }
+ },
+ "sku": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/sku"
+ },
+ "description": "Optional. The resource model definition representing the SKU."
+ },
+ "nullable": true
+ },
+ "raiPolicyName": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the RAI policy."
+ }
+ },
+ "versionUpgradeOption": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The version upgrade option."
+ }
+ },
+ "modelProviderData": {
+ "$ref": "#/definitions/modelProviderDataType",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. Model-provider attestation required for GA partner models."
+ }
+ }
+ },
+ "metadata": {
+ "__bicep_export!": true,
+ "description": "The type for a Cognitive Services account deployment."
+ }
+ }
+ },
+ "parameters": {
+ "name": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The name of the Cognitive Services account deployment."
+ }
+ },
+ "accountName": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The name of the parent Cognitive Services account."
+ }
+ },
+ "model": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/properties/properties/model"
+ },
+ "description": "Required. Properties of the Cognitive Services account deployment model."
+ }
+ },
+ "sku": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/sku"
+ },
+ "description": "Optional. The resource model definition representing the SKU."
+ },
+ "defaultValue": {
+ "name": "Standard",
+ "capacity": 1
+ }
+ },
+ "raiPolicyName": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the RAI policy."
+ }
+ },
+ "versionUpgradeOption": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The version upgrade option."
+ }
+ },
+ "modelProviderData": {
+ "$ref": "#/definitions/modelProviderDataType",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. Model-provider attestation required for GA partner models such as Anthropic Claude."
+ }
+ },
+ "enableTelemetry": {
+ "type": "bool",
+ "defaultValue": true,
+ "metadata": {
+ "description": "Optional. Enable or disable usage telemetry for the module."
+ }
+ }
+ },
+ "resources": {
+ "avmTelemetry": {
+ "condition": "[parameters('enableTelemetry')]",
+ "type": "Microsoft.Resources/deployments",
+ "apiVersion": "2025-04-01",
+ "name": "[format('46d3xbcp.res.cognitiveservices-account-deployment.{0}.{1}', replace('-..--..-', '.', '-'), substring(uniqueString(deployment().name), 0, 4))]",
+ "properties": {
+ "mode": "Incremental",
+ "template": {
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
+ "contentVersion": "1.0.0.0",
+ "resources": [],
+ "outputs": {
+ "telemetry": {
+ "type": "String",
+ "value": "For more information, see https://aka.ms/avm/TelemetryInfo"
+ }
+ }
+ }
+ }
+ },
+ "cognitiveServiceAccount": {
+ "existing": true,
+ "type": "Microsoft.CognitiveServices/accounts",
+ "apiVersion": "2025-06-01",
+ "name": "[parameters('accountName')]"
+ },
+ "cognitiveServiceDeployment": {
+ "type": "Microsoft.CognitiveServices/accounts/deployments",
+ "apiVersion": "2026-05-01",
+ "name": "[format('{0}/{1}', parameters('accountName'), parameters('name'))]",
+ "properties": {
+ "model": "[parameters('model')]",
+ "raiPolicyName": "[parameters('raiPolicyName')]",
+ "versionUpgradeOption": "[parameters('versionUpgradeOption')]",
+ "modelProviderData": "[parameters('modelProviderData')]"
+ },
+ "sku": "[parameters('sku')]"
+ }
+ },
+ "outputs": {
+ "name": {
+ "type": "string",
+ "metadata": {
+ "description": "The name of the Cognitive Services account deployment."
+ },
+ "value": "[parameters('name')]"
+ },
+ "resourceId": {
+ "type": "string",
+ "metadata": {
+ "description": "The resource ID of the Cognitive Services account deployment."
+ },
+ "value": "[resourceId('Microsoft.CognitiveServices/accounts/deployments', parameters('accountName'), parameters('name'))]"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "metadata": {
+ "description": "The name of the resource group in which the deployment was created."
+ },
+ "value": "[resourceGroup().name]"
+ }
+ }
+}
\ No newline at end of file
diff --git a/avm/res/cognitive-services/account/main.bicep b/avm/res/cognitive-services/account/main.bicep
index 6daced8d9ec..2b1e3bc24cb 100644
--- a/avm/res/cognitive-services/account/main.bicep
+++ b/avm/res/cognitive-services/account/main.bicep
@@ -130,6 +130,7 @@ param managedIdentities managedIdentityAllType?
@description('Optional. Enable/Disable usage telemetry for module.')
param enableTelemetry bool = true
+import { deploymentType } from 'deployment/main.bicep'
@description('Optional. Array of deployments about cognitive service accounts to create.')
param deployments deploymentType[]?
@@ -388,18 +389,21 @@ resource cognitiveService 'Microsoft.CognitiveServices/accounts@2025-06-01' = {
}
@batchSize(1)
-resource cognitiveService_deployments 'Microsoft.CognitiveServices/accounts/deployments@2025-06-01' = [
- for (deployment, index) in (deployments ?? []): {
- parent: cognitiveService
- name: deployment.?name ?? '${name}-deployments'
- properties: {
- model: deployment.model
- raiPolicyName: deployment.?raiPolicyName
- versionUpgradeOption: deployment.?versionUpgradeOption
- }
- sku: deployment.?sku ?? {
- name: 'Standard'
- capacity: 1
+module cognitiveService_deployments 'deployment/main.bicep' = [
+ for (deploymentConfiguration, index) in (deployments ?? []): {
+ name: '${uniqueString(deploymentConfiguration.?name ?? name, string(index))}-CognitiveService-Deployment'
+ params: {
+ accountName: cognitiveService.name
+ name: deploymentConfiguration.?name ?? '${name}-deployments'
+ model: deploymentConfiguration.model
+ sku: deploymentConfiguration.?sku ?? {
+ name: 'Standard'
+ capacity: 1
+ }
+ raiPolicyName: deploymentConfiguration.?raiPolicyName
+ versionUpgradeOption: deploymentConfiguration.?versionUpgradeOption
+ modelProviderData: deploymentConfiguration.?modelProviderData
+ enableTelemetry: enableReferencedModulesTelemetry
}
}
]
@@ -629,49 +633,6 @@ type privateEndpointOutputType = {
networkInterfaceResourceIds: string[]
}
-@export()
-@description('The type for a cognitive services account deployment.')
-type deploymentType = {
- @description('Optional. Specify the name of cognitive service account deployment.')
- name: string?
-
- @description('Required. Properties of Cognitive Services account deployment model.')
- model: {
- @description('Required. The name of Cognitive Services account deployment model.')
- name: string
-
- @description('Required. The format of Cognitive Services account deployment model.')
- format: string
-
- @description('Conditional. The version of Cognitive Services account deployment model. Required if the model does not have a default version.')
- version: string?
- }
-
- @description('Optional. The resource model definition representing SKU.')
- sku: {
- @description('Required. The name of the resource model definition representing SKU.')
- name: string
-
- @description('Optional. The capacity of the resource model definition representing SKU.')
- capacity: int?
-
- @description('Optional. The tier of the resource model definition representing SKU.')
- tier: string?
-
- @description('Optional. The size of the resource model definition representing SKU.')
- size: string?
-
- @description('Optional. The family of the resource model definition representing SKU.')
- family: string?
- }?
-
- @description('Optional. The name of RAI policy.')
- raiPolicyName: string?
-
- @description('Optional. The version upgrade option.')
- versionUpgradeOption: string?
-}
-
@export()
@description('The type for a cognitive services account endpoint.')
type endpointType = {
diff --git a/avm/res/cognitive-services/account/main.json b/avm/res/cognitive-services/account/main.json
index 6e666a9b599..b2ebf229d52 100644
--- a/avm/res/cognitive-services/account/main.json
+++ b/avm/res/cognitive-services/account/main.json
@@ -5,8 +5,8 @@
"metadata": {
"_generator": {
"name": "bicep",
- "version": "0.44.1.10279",
- "templateHash": "1543390349360649528"
+ "version": "0.45.6.27763",
+ "templateHash": "14025880660082037703"
},
"name": "Cognitive Services",
"description": "This module deploys a Cognitive Service."
@@ -76,106 +76,6 @@
"description": "The type for the private endpoint output."
}
},
- "deploymentType": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. Specify the name of cognitive service account deployment."
- }
- },
- "model": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "metadata": {
- "description": "Required. The name of Cognitive Services account deployment model."
- }
- },
- "format": {
- "type": "string",
- "metadata": {
- "description": "Required. The format of Cognitive Services account deployment model."
- }
- },
- "version": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Conditional. The version of Cognitive Services account deployment model. Required if the model does not have a default version."
- }
- }
- },
- "metadata": {
- "description": "Required. Properties of Cognitive Services account deployment model."
- }
- },
- "sku": {
- "type": "object",
- "properties": {
- "name": {
- "type": "string",
- "metadata": {
- "description": "Required. The name of the resource model definition representing SKU."
- }
- },
- "capacity": {
- "type": "int",
- "nullable": true,
- "metadata": {
- "description": "Optional. The capacity of the resource model definition representing SKU."
- }
- },
- "tier": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. The tier of the resource model definition representing SKU."
- }
- },
- "size": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. The size of the resource model definition representing SKU."
- }
- },
- "family": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. The family of the resource model definition representing SKU."
- }
- }
- },
- "nullable": true,
- "metadata": {
- "description": "Optional. The resource model definition representing SKU."
- }
- },
- "raiPolicyName": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. The name of RAI policy."
- }
- },
- "versionUpgradeOption": {
- "type": "string",
- "nullable": true,
- "metadata": {
- "description": "Optional. The version upgrade option."
- }
- }
- },
- "metadata": {
- "__bicep_export!": true,
- "description": "The type for a cognitive services account deployment."
- }
- },
"endpointType": {
"type": "object",
"properties": {
@@ -659,6 +559,35 @@
}
}
},
+ "_3.modelProviderDataType": {
+ "type": "object",
+ "properties": {
+ "organizationName": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Legal entity name of the organization deploying the model."
+ }
+ },
+ "countryCode": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Two-letter ISO 3166-1 alpha-2 country or region code."
+ }
+ },
+ "industry": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The organization industry accepted by the resource provider."
+ }
+ }
+ },
+ "metadata": {
+ "description": "Model-provider attestation information.",
+ "__bicep_imported_from!": {
+ "sourceTemplate": "deployment/main.bicep"
+ }
+ }
+ },
"customerManagedKeyType": {
"type": "object",
"properties": {
@@ -696,6 +625,64 @@
}
}
},
+ "deploymentType": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the Cognitive Services account deployment."
+ }
+ },
+ "model": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/properties/properties/model"
+ },
+ "description": "Required. Properties of the deployment model."
+ }
+ },
+ "sku": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/sku"
+ },
+ "description": "Optional. The resource model definition representing the SKU."
+ },
+ "nullable": true
+ },
+ "raiPolicyName": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the RAI policy."
+ }
+ },
+ "versionUpgradeOption": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The version upgrade option."
+ }
+ },
+ "modelProviderData": {
+ "$ref": "#/definitions/_3.modelProviderDataType",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. Model-provider attestation required for GA partner models."
+ }
+ }
+ },
+ "metadata": {
+ "description": "The type for a Cognitive Services account deployment.",
+ "__bicep_imported_from!": {
+ "sourceTemplate": "deployment/main.bicep"
+ }
+ }
+ },
"diagnosticSettingFullType": {
"type": "object",
"properties": {
@@ -1510,26 +1497,6 @@
"cMKUserAssignedIdentity"
]
},
- "cognitiveService_deployments": {
- "copy": {
- "name": "cognitiveService_deployments",
- "count": "[length(coalesce(parameters('deployments'), createArray()))]",
- "mode": "serial",
- "batchSize": 1
- },
- "type": "Microsoft.CognitiveServices/accounts/deployments",
- "apiVersion": "2025-06-01",
- "name": "[format('{0}/{1}', parameters('name'), coalesce(tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'name'), format('{0}-deployments', parameters('name'))))]",
- "properties": {
- "model": "[coalesce(parameters('deployments'), createArray())[copyIndex()].model]",
- "raiPolicyName": "[tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'raiPolicyName')]",
- "versionUpgradeOption": "[tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'versionUpgradeOption')]"
- },
- "sku": "[coalesce(tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'sku'), createObject('name', 'Standard', 'capacity', 1))]",
- "dependsOn": [
- "cognitiveService"
- ]
- },
"cognitiveService_lock": {
"condition": "[and(not(empty(coalesce(parameters('lock'), createObject()))), not(equals(tryGet(parameters('lock'), 'kind'), 'None')))]",
"type": "Microsoft.Authorization/locks",
@@ -1620,6 +1587,278 @@
"cognitiveService"
]
},
+ "cognitiveService_deployments": {
+ "copy": {
+ "name": "cognitiveService_deployments",
+ "count": "[length(coalesce(parameters('deployments'), createArray()))]",
+ "mode": "serial",
+ "batchSize": 1
+ },
+ "type": "Microsoft.Resources/deployments",
+ "apiVersion": "2025-04-01",
+ "name": "[format('{0}-CognitiveService-Deployment', uniqueString(coalesce(tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'name'), parameters('name')), string(copyIndex())))]",
+ "properties": {
+ "expressionEvaluationOptions": {
+ "scope": "inner"
+ },
+ "mode": "Incremental",
+ "parameters": {
+ "accountName": {
+ "value": "[parameters('name')]"
+ },
+ "name": {
+ "value": "[coalesce(tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'name'), format('{0}-deployments', parameters('name')))]"
+ },
+ "model": {
+ "value": "[coalesce(parameters('deployments'), createArray())[copyIndex()].model]"
+ },
+ "sku": {
+ "value": "[coalesce(tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'sku'), createObject('name', 'Standard', 'capacity', 1))]"
+ },
+ "raiPolicyName": {
+ "value": "[tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'raiPolicyName')]"
+ },
+ "versionUpgradeOption": {
+ "value": "[tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'versionUpgradeOption')]"
+ },
+ "modelProviderData": {
+ "value": "[tryGet(coalesce(parameters('deployments'), createArray())[copyIndex()], 'modelProviderData')]"
+ },
+ "enableTelemetry": {
+ "value": "[variables('enableReferencedModulesTelemetry')]"
+ }
+ },
+ "template": {
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
+ "languageVersion": "2.0",
+ "contentVersion": "1.0.0.0",
+ "metadata": {
+ "_generator": {
+ "name": "bicep",
+ "version": "0.45.6.27763",
+ "templateHash": "7057316138591440411"
+ },
+ "name": "Cognitive Services Account Deployment",
+ "description": "This module deploys a Cognitive Services account model deployment."
+ },
+ "definitions": {
+ "modelProviderDataType": {
+ "type": "object",
+ "properties": {
+ "organizationName": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Legal entity name of the organization deploying the model."
+ }
+ },
+ "countryCode": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. Two-letter ISO 3166-1 alpha-2 country or region code."
+ }
+ },
+ "industry": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The organization industry accepted by the resource provider."
+ }
+ }
+ },
+ "metadata": {
+ "__bicep_export!": true,
+ "description": "Model-provider attestation information."
+ }
+ },
+ "deploymentType": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the Cognitive Services account deployment."
+ }
+ },
+ "model": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/properties/properties/model"
+ },
+ "description": "Required. Properties of the deployment model."
+ }
+ },
+ "sku": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/sku"
+ },
+ "description": "Optional. The resource model definition representing the SKU."
+ },
+ "nullable": true
+ },
+ "raiPolicyName": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the RAI policy."
+ }
+ },
+ "versionUpgradeOption": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The version upgrade option."
+ }
+ },
+ "modelProviderData": {
+ "$ref": "#/definitions/modelProviderDataType",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. Model-provider attestation required for GA partner models."
+ }
+ }
+ },
+ "metadata": {
+ "__bicep_export!": true,
+ "description": "The type for a Cognitive Services account deployment."
+ }
+ }
+ },
+ "parameters": {
+ "name": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The name of the Cognitive Services account deployment."
+ }
+ },
+ "accountName": {
+ "type": "string",
+ "metadata": {
+ "description": "Required. The name of the parent Cognitive Services account."
+ }
+ },
+ "model": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/properties/properties/model"
+ },
+ "description": "Required. Properties of the Cognitive Services account deployment model."
+ }
+ },
+ "sku": {
+ "type": "object",
+ "metadata": {
+ "__bicep_resource_derived_type!": {
+ "source": "Microsoft.CognitiveServices/accounts/deployments@2025-06-01#properties/sku"
+ },
+ "description": "Optional. The resource model definition representing the SKU."
+ },
+ "defaultValue": {
+ "name": "Standard",
+ "capacity": 1
+ }
+ },
+ "raiPolicyName": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The name of the RAI policy."
+ }
+ },
+ "versionUpgradeOption": {
+ "type": "string",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. The version upgrade option."
+ }
+ },
+ "modelProviderData": {
+ "$ref": "#/definitions/modelProviderDataType",
+ "nullable": true,
+ "metadata": {
+ "description": "Optional. Model-provider attestation required for GA partner models such as Anthropic Claude."
+ }
+ },
+ "enableTelemetry": {
+ "type": "bool",
+ "defaultValue": true,
+ "metadata": {
+ "description": "Optional. Enable or disable usage telemetry for the module."
+ }
+ }
+ },
+ "resources": {
+ "avmTelemetry": {
+ "condition": "[parameters('enableTelemetry')]",
+ "type": "Microsoft.Resources/deployments",
+ "apiVersion": "2025-04-01",
+ "name": "[format('46d3xbcp.res.cognitiveservices-account-deployment.{0}.{1}', replace('-..--..-', '.', '-'), substring(uniqueString(deployment().name), 0, 4))]",
+ "properties": {
+ "mode": "Incremental",
+ "template": {
+ "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
+ "contentVersion": "1.0.0.0",
+ "resources": [],
+ "outputs": {
+ "telemetry": {
+ "type": "String",
+ "value": "For more information, see https://aka.ms/avm/TelemetryInfo"
+ }
+ }
+ }
+ }
+ },
+ "cognitiveServiceAccount": {
+ "existing": true,
+ "type": "Microsoft.CognitiveServices/accounts",
+ "apiVersion": "2025-06-01",
+ "name": "[parameters('accountName')]"
+ },
+ "cognitiveServiceDeployment": {
+ "type": "Microsoft.CognitiveServices/accounts/deployments",
+ "apiVersion": "2026-05-01",
+ "name": "[format('{0}/{1}', parameters('accountName'), parameters('name'))]",
+ "properties": {
+ "model": "[parameters('model')]",
+ "raiPolicyName": "[parameters('raiPolicyName')]",
+ "versionUpgradeOption": "[parameters('versionUpgradeOption')]",
+ "modelProviderData": "[parameters('modelProviderData')]"
+ },
+ "sku": "[parameters('sku')]"
+ }
+ },
+ "outputs": {
+ "name": {
+ "type": "string",
+ "metadata": {
+ "description": "The name of the Cognitive Services account deployment."
+ },
+ "value": "[parameters('name')]"
+ },
+ "resourceId": {
+ "type": "string",
+ "metadata": {
+ "description": "The resource ID of the Cognitive Services account deployment."
+ },
+ "value": "[resourceId('Microsoft.CognitiveServices/accounts/deployments', parameters('accountName'), parameters('name'))]"
+ },
+ "resourceGroupName": {
+ "type": "string",
+ "metadata": {
+ "description": "The name of the resource group in which the deployment was created."
+ },
+ "value": "[resourceGroup().name]"
+ }
+ }
+ }
+ },
+ "dependsOn": [
+ "cognitiveService"
+ ]
+ },
"cognitiveService_privateEndpoints": {
"copy": {
"name": "cognitiveService_privateEndpoints",
@@ -2307,8 +2546,8 @@
"metadata": {
"_generator": {
"name": "bicep",
- "version": "0.44.1.10279",
- "templateHash": "2580543474029344729"
+ "version": "0.45.6.27763",
+ "templateHash": "9103817615860225284"
}
},
"definitions": {
diff --git a/avm/res/cognitive-services/account/tests/e2e/ai-model-deployment-anthropic/main.test.bicep b/avm/res/cognitive-services/account/tests/e2e/ai-model-deployment-anthropic/main.test.bicep
new file mode 100644
index 00000000000..b5681f9cb7d
--- /dev/null
+++ b/avm/res/cognitive-services/account/tests/e2e/ai-model-deployment-anthropic/main.test.bicep
@@ -0,0 +1,80 @@
+targetScope = 'subscription'
+
+metadata name = 'Using `AIServices` with a GA partner (Anthropic) `deployments` in parameter set'
+metadata description = 'This instance deploys the module with a GA partner model deployment that carries the required `modelProviderData` attestation.'
+
+// PREREQUISITE: Anthropic/Claude quota is gated by subscription offer type. A Production EA
+// subscription (offer MS-AZR-0017P) receives Anthropic quota; an Enterprise Dev/Test subscription
+// (MS-AZR-0148P) shows the model in the catalog but has 0/0 TPM. This deploy test therefore only
+// succeeds on a Production EA subscription with approved Anthropic quota in `enforcedLocation`.
+// (Confirmed via a Microsoft support case; Opus 4.8 deployed on a Production EA subscription.)
+
+// ========== //
+// Parameters //
+// ========== //
+
+@description('Optional. The name of the resource group to deploy for testing purposes.')
+@maxLength(90)
+param resourceGroupName string = 'dep-${namePrefix}-cognitiveservices.accounts-${serviceShort}-rg'
+
+@description('Optional. The location to deploy resources to.')
+#disable-next-line no-unused-params
+param resourceLocation string = deployment().location
+
+@description('Optional. A short identifier for the kind of deployment. Should be kept short to not run into resource-name length-constraints.')
+param serviceShort string = 'csaan'
+
+@description('Optional. A token to inject into the name of each resource. This value can be automatically injected by the CI.')
+param namePrefix string = '#_namePrefix_#'
+
+// Due to AI Services capacity constraints, this region must be used in the AVM testing subscription
+import { enforcedLocation } from '../../shared/constants.bicep'
+
+// ============ //
+// Dependencies //
+// ============ //
+
+// General resources
+// =================
+resource resourceGroup 'Microsoft.Resources/resourceGroups@2025-04-01' = {
+ name: resourceGroupName
+ location: enforcedLocation
+}
+
+// ============== //
+// Test Execution //
+// ============== //
+
+@batchSize(1)
+module testDeployment '../../../main.bicep' = [
+ for iteration in ['init', 'idem']: {
+ scope: resourceGroup
+ name: '${uniqueString(deployment().name, enforcedLocation)}-test-${serviceShort}-${iteration}-ai'
+ params: {
+ name: '${namePrefix}${serviceShort}002'
+ kind: 'AIServices'
+ customSubDomainName: '${namePrefix}x${serviceShort}ai'
+ deployments: [
+ {
+ name: 'claude-sonnet-4-6'
+ model: {
+ format: 'Anthropic'
+ name: 'claude-sonnet-4-6'
+ version: '1'
+ }
+ sku: {
+ name: 'GlobalStandard'
+ capacity: 25
+ }
+ // Required for GA partner (Anthropic) models: the RP uses this to
+ // auto-accept the Anthropic Azure Marketplace offer.
+ modelProviderData: {
+ organizationName: 'Contoso'
+ countryCode: 'US'
+ industry: 'technology'
+ }
+ }
+ ]
+ }
+ }
+]
diff --git a/avm/res/cognitive-services/account/version.json b/avm/res/cognitive-services/account/version.json
index db4a36794ae..dede35a855b 100644
--- a/avm/res/cognitive-services/account/version.json
+++ b/avm/res/cognitive-services/account/version.json
@@ -1,4 +1,4 @@
{
"$schema": "https://aka.ms/bicep-registry-module-version-file-schema#",
- "version": "0.15"
+ "version": "0.16"
}