-
Notifications
You must be signed in to change notification settings - Fork 529
feat: API Management - add workspaces, diagnostics, PremiumV2 (plus validation tightening) #6447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…into users/krbar/apimUpdate2025-12
- Updated default values for `url` and `tls` parameters in CHANGELOG.md. - Revised descriptions for `url` and `tls` parameters in README.md and main.bicep to clarify usage. - Added `type` property to backend test cases in main.test.bicep for better testing coverage.
…e/bicep-registry-modules into users/krbar/apimMoreUpdates
…le call Co-authored-by: Alexander Sehr <ASehr@hotmail.de>
…e/bicep-registry-modules into users/krbar/apimMoreUpdates
…le call Co-authored-by: Alexander Sehr <ASehr@hotmail.de>
AlexanderSehr
approved these changes
Jan 7, 2026
yffok
pushed a commit
to yffok/bicep-registry-modules
that referenced
this pull request
Jan 15, 2026
…alidation tightening) (Azure#6447) ## Description - API Management service: added `PremiumV2` SKU support - New child module `diagnostic` - New child module `workspace` - Child modules of `workspace`: api, api-version-set, backend, diagnostic, logger, named-value, policy, product with api-link/group-link/policy, subscription) and wiring from the service module. - Aligned service types (API/authorization server/backend/product/policy/subscription) with stricter unions and length constraints. - API modules: tightened parameter validation (length/allowed lists), made policyType.name required, fixed diagnostics unions and operation/policy alignment; similar tightening in api-version-set and child operation modules. - Product module: added validation for name/displayName/description/state, made description nullable, product policy name required, and referenced product/policy submodule. - Other child modules: backend URL length bounds, logger description/nullable description, named-value length bounds, subscription allowed states/length bounds, policy name now required. - Tests updates: - max: testing with `authorizationServers.grantTypes` = `authorizationCodeWithPkce` - max: testing `diagnostic` module (`serviceDiagnostics` parameter) - max: added now mandatory names to the `policies` modules on different levels - max: testing new `workspace` module with two `workspaces` - v2min: renamed `v2sku` test `v2min` to accommodate new v2 test - v2max: new test to test `PremiumV2` sku - waf-aligned: added now mandatory names to the `policies` modules on different levels Resolves Azure#3251 Resolves Azure#5029 Resolves Azure#5419 Resolves Azure#6170 ## Pipeline Reference <!-- Insert your Pipeline Status Badge below --> | Pipeline | | -------- | | [](https://github.com/Azure/bicep-registry-modules/actions/workflows/avm.res.api-management.service.yml) | ## Type of Change <!-- Use the checkboxes [x] on the options that are relevant. --> - 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`. - [x] 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 - [x] I'm sure there are no other open Pull Requests for the same update/change - [x] I have run `Set-AVMModule` locally to generate the supporting module files. - [x] My corresponding pipelines / checks run clean and green without any errors or warnings - [x] I have updated the module's CHANGELOG.md file with an entry for the next version <!-- Please keep up to date with the contribution guide at https://aka.ms/avm/contribute/bicep --> --------- Co-authored-by: Tony Box <tobox@microsoft.com> Co-authored-by: Alexander Sehr <ASehr@hotmail.de>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Needs: Module Owner 📣
This module needs an owner to develop or maintain it
Needs: Triage 🔍
Maintainers need to triage still
Type: AVM 🅰️ ✌️ Ⓜ️
This is an AVM related issue
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
PremiumV2SKU supportdiagnosticworkspaceworkspace: api, api-version-set, backend, diagnostic, logger, named-value, policy, product with api-link/group-link/policy, subscription) and wiring from the service module.authorizationServers.grantTypes=authorizationCodeWithPkcediagnosticmodule (serviceDiagnosticsparameter)policiesmodules on different levelsworkspacemodule with twoworkspacesv2skutestv2minto accommodate new v2 testPremiumV2skupoliciesmodules on different levelsResolves #3251
Resolves #5029
Resolves #5419
Resolves #6170
Pipeline Reference
Type of Change
version.json:version.json.version.json.Checklist
Set-AVMModulelocally to generate the supporting module files.