Azure / autorest.az

Azure CLI Code Generator
MIT License
22 stars 20 forks source link

Update command misses parameters #830

Open qwordy opened 3 years ago

qwordy commented 3 years ago

I used autorest to generate cloud service commands. A cloud service has many parameters. But update command can update nothing. Is special configuration required? Readme file

> az cloud-service update -h
This command is from the following extension: cloud-service

Command
    az cloud-service update : Update a cloud service.
        Command group 'cloud-service' is experimental and under development. Reference and
        support levels: https://aka.ms/CLI_refstatus
Arguments
    --no-wait                      : Do not wait for the long-running operation to finish.
    --tags                         : Space-separated tags: key[=value] [key[=value] ...]. Use "" to
                                     clear existing tags.

Resource Id Arguments
    --cloud-service-name --name -n : Name of the cloud service.
    --ids                          : One or more resource IDs (space-delimited). It should be a
                                     complete resource ID containing all information of 'Resource
                                     Id' arguments. You should provide either --ids or other
                                     'Resource Id' arguments.
    --resource-group -g            : Name of resource group. You can configure the default group
                                     using `az configure --defaults group=<name>`.
    --subscription                 : Name or ID of subscription. You can configure the default
                                     subscription using `az account set -s NAME_OR_ID`.

Global Arguments
    --debug                        : Increase logging verbosity to show all debug logs.
    --help -h                      : Show this help message and exit.
    --only-show-errors             : Only show errors, suppressing warnings.
    --output -o                    : Output format.  Allowed values: json, jsonc, none, table, tsv,
                                     yaml, yamlc.  Default: json.
    --query                        : JMESPath query string. See http://jmespath.org/ for more
                                     information and examples.
    --verbose                      : Increase logging verbosity. Use --debug for full debug logs.

Another issue

There is no parameter for $expand=instanceView in GET API. The command is az cloud-service role-instance show.

These questions are from cloud service team.