Summary: There is a recurring theme in customer feedback that centers around the lack of JSON examples in our autogenerated content. When we tell a customer that they can use a JSON file instead of a complex JSON parameter value, what does that JSON file format look like?
As of 2024-07-25, we have 5,337 instances of this phrase in our reference content: Support shorthand-syntax, json-file and yaml-file. Try "??" to show more. What does ?? show more of? As this phrase is so common, is there a repeatable JSON and YAML file format that we can put into a new article, and this phrase can be followed by "...For example file formats, see []()"?
See [Azure CLI Shorthand Syntax (Preview)](https://github.com/Azure/azure-cli/blob/dev/doc/shorthand_syntax.md) and consider it moving it to azure-docs-cli.
Suggestion: When we mention the use of a JSON or YAML file for a parameter value, we need to provide a very small example file in another example code block, in the short-summary property, or the long-summary property of the parameter.
Example customer verbatims:
Summary: There is a recurring theme in customer feedback that centers around the lack of JSON examples in our autogenerated content. When we tell a customer that they can use a JSON file instead of a complex JSON parameter value, what does that JSON file format look like?
As of 2024-07-25, we have 5,337 instances of this phrase in our reference content:
Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.What does??show more of? As this phrase is so common, is there a repeatable JSON and YAML file format that we can put into a new article, and this phrase can be followed by "...For example file formats, see []()"?See [Azure CLI Shorthand Syntax (Preview)](https://github.com/Azure/azure-cli/blob/dev/doc/shorthand_syntax.md) and consider it moving it to azure-docs-cli.
Suggestion: When we mention the use of a JSON or YAML file for a parameter value, we need to provide a very small example file in another example code block, in the
short-summaryproperty, or thelong-summaryproperty of the parameter.Example customer verbatims:
az lab vmcommands, it's possible to use in some cases the--artifactsargument. However, the schema expected for this argument is specified nowhere. I tried extracting it from the ARM template of the formula in the portal, it does not work. There are no links to documentation regarding this file.Linux. The kind is immutable." using the rest api from the docs works, for the same jsonaz monitor data-collection rule createcommand the parameterrule-fileis doceumented poorly: --rule-file The json file for rule parameters. It's not described how to prepare such a file, and no example is given.