azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

az repos policy create --policy-configuration should accept json definition in addition to file path

Open mikaelnilsson77 opened this issue 4 months ago • 1 comments

When creating repos and policies it would make sense to be able to specify a newly created repo id as scope without having to create a file. Or even better, provide options for adding policy settings directly in "az repos create".

PS. The documentation for creating policies needs work. For example, there is no explanation of how to set "authorEmailPatterns" and other settings.

mikaelnilsson77 avatar Oct 17 '24 12:10 mikaelnilsson77