[ARM]Support policy exemption#17565
[ARM]Support policy exemption#17565zhoxing-ms merged 13 commits intoAzure:devfrom robga:robga/policy
Conversation
|
ARM |
|
@zhoxing-ms |
|
@zhoxing-ms , for the only test failure left. |
|
@zhoxing-ms , I should remove the 'sku' parameter for policy assignment. Is that a breaking change? How should I remove it without breaking any existing usage? |
|
@robga Hi, since we plan to complete the migration of track 2 for resource module this month, we will upgrade the SDK version of |
|
Hi, @zhoxing-ms , I want to merged it in ASAP. I hope to catch the 4/7 deadline for this PR. |
OK, we will release the PR in this sprint (04/13/2021) |
The following error occurred when executing command Whether this test needs to add creation logic for policy assignment before this command or use other solutions, @Juliehzl please help to have a look and give some advice~ |
Yes, it's a breaking change, because deleting parameter You can add an deprecate annotation for this parameter to let the user know in advance that this parameter will be deprecated. |
...re-cli/azure/cli/command_modules/policyinsights/tests/latest/test_policyinsights_scenario.py
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/resource/tests/latest/test_resource.py
Outdated
Show resolved
Hide resolved
src/azure-cli/azure/cli/command_modules/sql/tests/latest/test_sql_commands.py
Show resolved
Hide resolved
zhoxing-ms
left a comment
There was a problem hiding this comment.
Because there are some nonstandard writing style in the old code that have been referenced in this PR, I approve this PR at first. We could consider refactoring the overall nonstandard part in the future.
Juliehzl
left a comment
There was a problem hiding this comment.
I still have concern for code style. But as it is close to build, approved to merge the feature. But please refactor the code in future. Next time we will not approve for non-standard code style.
Description
Testing Guide
History Notes
This checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.