-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add dnc rp cli commands #3433
add dnc rp cli commands #3433
Conversation
dnc |
@@ -67,8 +61,8 @@ def load_arguments(self, _): | |||
c.argument('cluster_root_ca', type=str, help='RootCA certificate of kubernetes cluster base64 encoded') | |||
c.argument('api_server_endpoint', type=str, help='K8s APIServer url. Either one of apiServerEndpoint or ' | |||
'privateLinkResourceId can be specified') | |||
c.argument('private_link_resource_id', type=str, help='private link arm resource id. Either one of ' | |||
'apiServerEndpoint or privateLinkResourceId can be specified') | |||
c.argument('private_link_resource_id', options_list=['--privlinkresourceid'], type=str, help='private link arm ' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you split it by ‘-‘
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm sorry I am not following, I currently have it like this - what split are we trying to accomplish?
- where:
group: .*
parameter: privateLinkResourceId
alias:
- privLinkResourceId
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you try the following configuration?
- where:
group: .*
parameter: privateLinkResourceId
alias:
- priv_link_resource_id
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
g.custom_show_command('show', 'dnc_delegated_subnet_service_show') | ||
g.custom_command('create', 'dnc_delegated_subnet_service_create', supports_no_wait=True) | ||
g.custom_command('delete', 'dnc_delegated_subnet_service_delete', supports_no_wait=True, confirmation=True) | ||
g.custom_command('patch-detail', 'dnc_delegated_subnet_service_patch_detail', supports_no_wait=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use "update" instead of "patch-detail"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
@aegal Please rebase your branch to fix ci issues. |
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.json
automatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json
.