Skip to content

feat: avm/res/cognitive-services/account support `modelProviderData…#7199

Open
dmytroslotvinskyy wants to merge 4 commits into
Azure:mainfrom
dmytroslotvinskyy:feat/cognitive-services-account-modelproviderdata
Open

feat: avm/res/cognitive-services/account support `modelProviderData…#7199
dmytroslotvinskyy wants to merge 4 commits into
Azure:mainfrom
dmytroslotvinskyy:feat/cognitive-services-account-modelproviderdata

Conversation

@dmytroslotvinskyy

@dmytroslotvinskyy dmytroslotvinskyy commented Jul 7, 2026

Copy link
Copy Markdown

…` for GA partner models (Anthropic Claude)

Adds optional modelProviderData (organizationName, countryCode, industry) to deploymentType and projects it onto Microsoft.CognitiveServices/accounts/deployments. This carries the model-provider attestation the Cognitive Services RP requires for GA partner models such as Anthropic Claude (model.format == 'Anthropic'); the RP uses it to auto-accept the partner's Azure Marketplace offer.

  • Bump accounts/deployments API version 2025-06-01 -> 2026-05-01 (minimum GA version that accepts properties.modelProviderData). BCP081 is expected/suppressed as the version is newer than the current Bicep type catalog; it does not block deployment.
  • Project modelProviderData: deployment.?modelProviderData (null-omitted when absent, same mechanics as raiPolicyName/versionUpgradeOption); first-party (OpenAI) deployments are unaffected.
  • Add ai-model-deployment-anthropic e2e test.
  • Bump module version 0.15 -> 0.16; update CHANGELOG, README, main.json.

Fixes #7197

Description

Pipeline Reference

Pipeline

Type of Change

  • Azure Verified Module updates:
    • Bugfix containing backwards-compatible bug fixes, and I have NOT bumped the MAJOR or MINOR version in version.json:
    • Feature update backwards compatible feature updates, and I have bumped the MINOR version in version.json.
    • Breaking changes and I have bumped the MAJOR version in version.json.
    • Update to documentation
  • Update to CI Environment or utilities (Non-module affecting changes)

Checklist

  • I'm sure there are no other open Pull Requests for the same update/change
  • I have run Set-AVMModule locally to generate the supporting module files.
  • My corresponding pipelines / checks run clean and green without any errors or warnings
  • I have updated the module's CHANGELOG.md file with an entry for the next version

…` for GA partner models (Anthropic Claude)

Adds optional `modelProviderData` (`organizationName`, `countryCode`, `industry`)
to `deploymentType` and projects it onto `Microsoft.CognitiveServices/accounts/deployments`.
This carries the model-provider attestation the Cognitive Services RP requires for GA
partner models such as Anthropic Claude (`model.format == 'Anthropic'`); the RP uses it
to auto-accept the partner's Azure Marketplace offer.

- Bump `accounts/deployments` API version 2025-06-01 -> 2026-05-01 (minimum GA version
  that accepts `properties.modelProviderData`). BCP081 is expected/suppressed as the
  version is newer than the current Bicep type catalog; it does not block deployment.
- Project `modelProviderData: deployment.?modelProviderData` (null-omitted when absent,
  same mechanics as `raiPolicyName`/`versionUpgradeOption`); first-party (OpenAI)
  deployments are unaffected.
- Add `ai-model-deployment-anthropic` e2e test.
- Bump module version 0.15 -> 0.16; update CHANGELOG, README, main.json.

Fixes Azure#7197
@dmytroslotvinskyy dmytroslotvinskyy requested review from a team as code owners July 7, 2026 06:03
@microsoft-github-policy-service microsoft-github-policy-service Bot added the Needs: Triage 🔍 Maintainers need to triage still label Jul 7, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown

Important

The "Needs: Triage 🔍" label must be removed once the triage process is complete!

Tip

For additional guidance on how to triage this issue/PR, see the BRM Issue Triage documentation.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue label Jul 7, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown

Important

If this is a module-related PR, being submitted by the sole owner of the module, the AVM core team must review and approve it (as module owners can't approve their own PRs).

To indicate this PR needs the core team''s attention, apply the "Needs: Core Team 🧞" label!

The core team will only review and approve PRs that have this label applied!

@dmytroslotvinskyy

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

@dmytroslotvinskyy

Copy link
Copy Markdown
Author

@mswantek68 Please take a look on my PR, u can use it and update it if need. I made issue to reflect my latest findings.

@dmytroslotvinskyy

Copy link
Copy Markdown
Author

@eriqua please take a look

// Production EA subscription. It is newer than the current Bicep type catalog, so BCP081 (no
// pre-deploy property validation) is expected and intentional; it does not block deployment.
#disable-next-line BCP081
resource cognitiveService_deployments 'Microsoft.CognitiveServices/accounts/deployments@2026-05-01' = [

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be implemented as a child resource

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dmytroslotvinskyy since this was already implemented in this way we can keep it for this PR, but track the required update. Please create an issue for this resource module, to update the implementation of the deployments child resource as a separare child module. Please reply to this comment with the issue link. Thanks!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @eriqua
Created #7206 to track updating the deployments child resource as a separate child module. Thanks!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @eriqua,

I created #7206 to track the requested child-module refactor and prepared the implementation in #7207.

PR #7207 extracts Microsoft.CognitiveServices/accounts/deployments into a separate deployment child module while preserving the existing parent deployments interface.

Thanks!

Comment thread avm/res/cognitive-services/account/CHANGELOG.md Outdated
Co-authored-by: Erika Gressi <56914614+eriqua@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs: Triage 🔍 Maintainers need to triage still Type: AVM 🅰️ ✌️ Ⓜ️ This is an AVM related issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AVM Module Issue]: [avm/res/cognitive-services/account] Support modelProviderData for GA partner models (Anthropic Claude)

2 participants