autorest.az
autorest.az copied to clipboard
Will we remove custom function for GET, and DELETE, possibly LIST?
from: Jiashuo Li:
A quick question for AutoRest team. Will we remove custom function for GET, and DELETE, possibly LIST? The customization doesn't seem to be necessary.
An exmaple: https://github.com/Azure/azure-cli/blob/117c7df07b0fd77d4897fcf7a797573be1c6ccab/src/azure-cli/azure/cli/command_modules/servicebus/commands.py#L117-L122
with self.command_group('servicebus topic subscription rule', sb_rule_util, client_factory=rules_mgmt_client_factory) as g:
g.custom_command('create', 'cli_rules_create')
g.show_command('show', 'get')
g.command('list', 'list_by_subscriptions')
g.command('delete', 'delete')
g.generic_update_command('update', custom_func_name='cli_rules_update')