Azure / azure-cli

Azure Command-Line Interface
MIT License
3.97k stars 2.95k forks source link

Support JSON format input for tags #13659

Open zhoxing-ms opened 4 years ago

zhoxing-ms commented 4 years ago

Is your feature request related to a problem? Please describe. If the tag parameter passed in the script contains spaces, the parameter input will be cumbersome. Relevant issues: #10798 #13170

Describe the solution you'd like For this scenario, it is more convenient for customers to input tags in JSON format.

Describe alternatives you've considered

Additional context

yonzhan commented 4 years ago

JSON format for tags

stevenmfowler commented 4 years ago

--tag should support the use of a json input as follows { "Agency": "OCIO", "Application": "Azure", "Description": "RG for testing policies", "FinancialPOC": "John Smith", "Name": "policy-testing-rg", "PMO": "Dan White", "Program": "Cloud Operations", "Purpose": "RG for testing policies", "Service Request": "None", "TechnicalPOC": "Steven Fowler", "Workload-Type": "Resource Group" }