Skip to content
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

Fix ArmResourcePatch* templates to use the resource directly in request body #859

Open
markcowl opened this issue May 17, 2024 · 2 comments
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library
Milestone

Comments

@markcowl
Copy link
Member

markcowl commented May 17, 2024

  • The ArmResourcePatch* templates do not accommodate resources with a required properties bag. They cause an error 'properties' already exist when passed in a resource with a required properties bag. Need to open this up to allow BrownField resources.
@markcowl markcowl changed the title Add new templates and fix ArmResourcePatch* templates to accommodate custom resources Fix ArmResourcePatch* templates to accommodate custom resources May 29, 2024
@markcowl markcowl modified the milestones: [2024] June, [2024] July May 30, 2024
@markcowl
Copy link
Member Author

markcowl commented May 30, 2024

This covers changes to the source of the payload model for Patch: use the Resource directly in the model instead of applying core templates to create a new (optional, updateable) model.

@markcowl
Copy link
Member Author

est: 5

@markcowl markcowl added lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library feature New feature or request and removed needs-area labels May 30, 2024
@markcowl markcowl changed the title Fix ArmResourcePatch* templates to accommodate custom resources Fix ArmResourcePatch* templates to use the resource directly in request body May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request lib:azure-resource-manager Issues for @azure-tools/typespec-azure-core library
Projects
None yet
Development

No branches or pull requests

1 participant