autorest.az
autorest.az copied to clipboard
Azure CLI Code Generator
**Why do you need this feature?** **Is your feature request related to a problem? Please describe.** **Describe the solution you'd like** **Describe alternatives you've considered** **Additional context**
  use this branch to repro: https://github.com/Azure/azure-rest-api-specs/tree/cli-config-for-dataprotection
if some schema satisfy the action requirement after flattening and python sdk hasn't been flattened, then we need to add custom logic in action definition
swagger: https://github.com/changlong-liu/azure-rest-api-specs/tree/20210210-marketplace/specification/marketplace/resource-manager for private store id defined in https://github.com/Azure/azure-rest-api-specs/blob/master/specification/marketplace/resource-manager/Microsoft.Marketplace/stable/2020-01-01/Marketplace.json#L588 the generated CLI parameter is :  Looks it should be "--private-store-properties-private-store-id" instead of "--private-store-properties-private-store-id-private-store-id" ?
## Overview **autorest.az** runs out of memory when generating extensions listed in `affected extensions`. You can find the swagger definitions for these extensions in [msgraph-cli](github.com/microsoftgraph/msgraph-cli) under the **open-api-docs** directory. ##...

e.g. for object sample: {"foo": { "bar" : { "name" : "sample-name" } } } This would appear in the generated cli as az sample --foo "{\"bar\" : {\"name\" :...
The "azext_network" in import path don't exist  generate command: autorest --version=3.0.6271 --az --use=. c:\zz\projects\codegen\azure-rest-api-specs\specification\network\resource-manager\readme.md --azure-cli-folder=..\azure-cli --target-mode=core --compatible-level=track2 --generate-sdk=yes az.md: ``` yaml $(az) az: extensions: network namespace: azure.mgmt.network package-name: azure-mgmt-network...
 probably need to discuss with cli team what the default rename strategy
Want somewhere to see all arguments `--az` supports 