-
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
VNET extension #176
Merged
Merged
VNET extension #176
Changes from 2 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
e6b2d2f
VNET extension
rahulgouthamDOTgs e25f366
fixing indentation
rahulgouthamDOTgs 11bc3b1
fixing more flake8 reported issues
rahulgouthamDOTgs e06f1c1
Fixing Review comments and formatting issues.
rahulgouthamDOTgs f15a7cb
Fixing some more issues with source static and bug fixes
rahulgouthamDOTgs bebd263
Merge branch 'master' into master
rahulgouthamDOTgs 3e1ff25
Renaming _client_factory to _client_vnet_factory
rahulgouthamDOTgs 8f9dad9
Reverting the last change
rahulgouthamDOTgs eb80f8b
Renaming to azext_rdbms_vnet
rahulgouthamDOTgs b1babff
More formatting issue fix
rahulgouthamDOTgs 81a8a29
adding code owners
rahulgouthamDOTgs e5ef37e
Adding my email id
rahulgouthamDOTgs 79d3d6a
Merge branch 'master' into master
rohit-joy 0cfda9e
Merge branch 'master' into master
rohit-joy 1bd5236
Merge branch 'master' into master
rohit-joy bad76af
Merge branch 'master' into master
rohit-joy 9876498
Merge branch 'master' into master
rohit-joy 8504656
Adding extension to index.json
rahulgouthamDOTgs 6f09d16
Merge branch 'master' of https://github.com/rahulgouthamDOTgs/azure-c…
rahulgouthamDOTgs 592fba6
Merge branch 'master' into master
rahulgouthamDOTgs ec79eeb
fixing index-verify
rahulgouthamDOTgs 233b695
Merge branch 'master' of https://github.com/rahulgouthamDOTgs/azure-c…
rahulgouthamDOTgs File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
from azext_rdbms._client_factory import ( | ||
cf_mysql_virtual_network_rules_operations, | ||
cf_postgres_virtual_network_rules_operations) | ||
cf_postgres_virtual_network_rules_operations) | ||
|
||
|
||
# pylint: disable=too-many-locals, too-many-statements, line-too-long | ||
|
@@ -27,22 +27,20 @@ def load_command_table(self, _): | |
client_factory=cf_postgres_virtual_network_rules_operations | ||
) | ||
with self.command_group('mysql server vnet-rule', mysql_vnet_sdk) as g: | ||
g.command('create', 'create_or_update') | ||
g.command('delete', 'delete', confirmation=True) | ||
g.command('show', 'get') | ||
g.command('list', 'list_by_server') | ||
#g.generic_update_command('update') | ||
g.generic_update_command('update', getter_name='_custom_vnet_update_get', getter_type=rdbms_custom, | ||
g.command('create', 'create_or_update') | ||
g.command('delete', 'delete', confirmation=True) | ||
g.command('show', 'get') | ||
g.command('list', 'list_by_server') | ||
# g.generic_update_command('update') | ||
g.generic_update_command('update', getter_name='_custom_vnet_update_get', getter_type=rdbms_custom, | ||
setter_name='_custom_vnet_update_set', setter_type=rdbms_custom, setter_arg_name='parameters') | ||
|
||
with self.command_group('postgres server vnet-rule', postgres_vnet_sdk) as g: | ||
g.command('create', 'create_or_update') | ||
g.command('delete', 'delete', confirmation=True) | ||
g.command('show', 'get') | ||
g.command('list', 'list_by_server') | ||
#g.generic_update_command('update') | ||
g.generic_update_command('update', | ||
getter_name='_custom_vnet_update_get', getter_type=rdbms_custom, | ||
setter_name='_custom_vnet_update_set', setter_type=rdbms_custom, setter_arg_name='parameters') | ||
#custom_func_name='_custom_vnet_update', custom_func_type=rdbms_custom) | ||
#g.custom_command('update', '_custom_vnet_update') | ||
g.command('create', 'create_or_update') | ||
g.command('delete', 'delete', confirmation=True) | ||
g.command('show', 'get') | ||
g.command('list', 'list_by_server') | ||
# g.generic_update_command('update') | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove the commented lines. |
||
g.generic_update_command('update', | ||
getter_name='_custom_vnet_update_get', getter_type=rdbms_custom, | ||
setter_name='_custom_vnet_update_set', setter_type=rdbms_custom, setter_arg_name='parameters') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Remove the commented lines.