autorest.az icon indicating copy to clipboard operation
autorest.az copied to clipboard

Azure CLI Code Generator

Results 94 autorest.az issues
Sort by recently updated
recently updated
newest added

**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**

![image](https://user-images.githubusercontent.com/55688292/112938361-0ca39d00-915c-11eb-8b6a-1939b68d3c74.png) ![image](https://user-images.githubusercontent.com/55688292/112938432-29d86b80-915c-11eb-9e85-7aa5b3b29f6e.png) 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 : ![image](https://user-images.githubusercontent.com/59815250/110568099-7815d280-818d-11eb-82b0-fd114d0451fb.png) 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. ##...

![image](https://user-images.githubusercontent.com/59815250/110427896-64159680-80e3-11eb-8262-d2c84178a9fa.png)

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 ![image](https://user-images.githubusercontent.com/59815250/106086112-74d60280-615c-11eb-8b46-3c0d8f32cf2b.png) 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...

![image](https://user-images.githubusercontent.com/55688292/101862762-f6260580-3bad-11eb-87db-4c6afd13fef9.png) probably need to discuss with cli team what the default rename strategy

Want somewhere to see all arguments `--az` supports ![image](https://user-images.githubusercontent.com/10227683/99043501-49b22d00-25c9-11eb-9894-56026669f48b.png)