autorest.az
autorest.az copied to clipboard
RESOURCE_TYPE support
Why do you need this feature?
In cli, we may need RESOURCE_TYPE
to manage multi-api resource for different profile. But auto generated code don't contain resource type info.
https://github.com/Azure/azure-cli/blob/4bed6cca3ebb746d0f8bc2b44c75f0d0d2f7ed15/src/azure-cli/azure/cli/command_modules/storage/init.py#L13-L27
Describe the solution you'd like
Support generate cli commands with specified resource type.
Additional context
Existing examples:
remove p0 and put to backlog
need to handle that after CodeGen support multi-api