Skip to content

Add @patchPolicy decorator for Azure Policy DINE scenarios#18954

Draft
jmorerice wants to merge 5 commits intomainfrom
joshuamoraes/patchPolicy-decorator
Draft

Add @patchPolicy decorator for Azure Policy DINE scenarios#18954
jmorerice wants to merge 5 commits intomainfrom
joshuamoraes/patchPolicy-decorator

Conversation

@jmorerice
Copy link
Contributor

@jmorerice jmorerice commented Feb 4, 2026

  • Add patchPolicy experimental feature flag (disabled by default)

  • Decorator emits 'method: PATCH' on resource with properties from decorator body

  • Feature is hidden until explicitly enabled via bicepconfig.json

  • Integration tests

- Add patchPolicy experimental feature flag (disabled by default)

- Decorator emits 'method: PATCH' on resource with properties from decorator body

- Feature is hidden until explicitly enabled via bicepconfig.json

- Add comprehensive integration tests
@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

Test this change out locally with the following install scripts (Action run 21692938848)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 21692938848
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 21692938848"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 21692938848
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 21692938848"

@jmorerice jmorerice requested a review from majastrz February 5, 2026 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant