-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[SSH] [Do not merge] Add support to read target port from resource tags #7807
base: main
Are you sure you want to change the base?
Conversation
|
rule | cmd_name | rule_message | suggest_message |
---|---|---|---|
ssh arc | cmd ssh arc added parameter resource_tag |
||
ssh arc | cmd ssh arc added parameter ssh_args |
||
ssh arc | cmd ssh arc update parameter ssh_args : added property id_part=resource_group |
||
ssh arc | cmd ssh arc update parameter ssh_args : removed property nargs=* |
||
ssh arc | cmd ssh arc update parameter ssh_args : updated property name from ssh_args to resource_group_name |
||
ssh arc | cmd ssh arc update parameter ssh_args : updated property options from [] to ['--resource-group', '-g'] |
||
ssh config | cmd ssh config added parameter resource_tag |
||
ssh vm | cmd ssh vm added parameter resource_tag |
||
ssh vm | cmd ssh vm added parameter ssh_args |
||
ssh vm | cmd ssh vm update parameter ssh_args : added property id_part=resource_group |
||
ssh vm | cmd ssh vm update parameter ssh_args : removed property nargs=* |
||
ssh vm | cmd ssh vm update parameter ssh_args : updated property name from ssh_args to resource_group_name |
||
ssh vm | cmd ssh vm update parameter ssh_args : updated property options from [] to ['--resource-group', '-g'] |
Hi @leonardocoba, |
CodeGen Tools Feedback CollectionThank you for using our CodeGen tool. We value your feedback, and we would like to know how we can improve our product. Please take a few minutes to fill our codegen survey |
For more info about extension versioning, please refer to Extension version schema |
SSH |
@leonardocoba please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
Contributor License AgreementContribution License AgreementThis Contribution License Agreement (“Agreement”) is agreed to by the party signing below (“You”),
|
This PR introduces a new
--resource-tag
parameter that allows the client to specify a resource tag that will hold a value to be used as the port number for SSH connections. The resource tag can be sourced from the resource tags of a Virtual Machine or an Arc Server.Use Case:
This feature is particularly useful for users who manage multiple VMs or Arc Servers and need a flexible way to designate port numbers without hardcoding them.
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally? (pip install wheel==0.30.0
required)For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update
src/index.json
automatically.You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify
src/index.json
.