Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix CLI style
  • Loading branch information
Bolun Huang committed Jan 30, 2021
commit 59c16dd3325a3a83a71fdbc53afc5e4fa833305e
3 changes: 2 additions & 1 deletion src/azure-cli/azure/cli/command_modules/search/_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,17 @@ def load_arguments(self, _):
with self.argument_context('search shared-private-link-resource') as c:
c.ignore('search_management_request_options')
c.argument('search_service_name', options_list=['--service-name'], help='The name of the search service.')
c.argument('shared_private_link_resource_name', options_list=['--name', '-n'])

with self.argument_context('search shared-private-link-resource create') as c:
c.ignore('search_management_request_options')
c.argument('shared_private_link_resource_name', options_list=['--name', '-n'])
c.argument('shared_private_link_resource_group_id', options_list=['--group-id'])
c.argument('shared_private_link_resource_id', options_list=['--resource-id'])
c.argument('shared_private_link_resource_request_message', options_list=['--request-message'])

with self.argument_context('search shared-private-link-resource update') as c:
c.ignore('search_management_request_options')
c.argument('shared_private_link_resource_name', options_list=['--name', '-n'])
c.argument('shared_private_link_resource_group_id', options_list=['--group-id'])
c.argument('shared_private_link_resource_id', options_list=['--resource-id'])
c.argument('shared_private_link_resource_request_message', options_list=['--request-message'])
Expand Down