Skip to content

Conversation

@pilor
Copy link
Contributor

@pilor pilor commented Dec 6, 2019

Add support for policy set definition grouping in the "resource" command module.

Introduces a --definition-groups parameter to the az policy set-definition create and az policy set-definition update commands.


This checklist is used to make sure that common guidelines for a pull request are followed.

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

@yonzhan
Copy link
Collaborator

yonzhan commented Dec 7, 2019

@Juliehzl please help with the PR.

@yonzhan yonzhan added this to the S162 milestone Dec 7, 2019
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you want to specify object size for response here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

When listing policies to ensure the modified policy is present it retrieves all built-in policies that Microsoft publishes. This is a decent amount of content and was exceeding the default AllowLargeResponse size. We are in the process of adding filters and better pagination to these APIs which should allow me to cut these response sizes down in the tests in a future change.

@Juliehzl
Copy link
Contributor

Juliehzl commented Dec 8, 2019

LGTM. If CI pass, I will agree.

@pilor
Copy link
Contributor Author

pilor commented Dec 10, 2019

@Juliehzl CI checks have passed

@Juliehzl Juliehzl merged commit 3db01bd into Azure:dev Dec 10, 2019
@pilor pilor deleted the policy20190901 branch December 10, 2019 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants