-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Migrate vmware #6617
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
Merged
Merged
Migrate vmware #6617
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
645825c
Migrate vmware private-cloud show/create/update/delete/list
kairu-ms 068e104
migrate vmware private-cloud list-admin-credential/rotate-vcenter-pas…
kairu-ms 622b8a7
Migrate commands vmware private-cloud identity and enable-cmk-encrypt…
kairu-ms ea20144
migrate commands group 'vmware cluster'
kairu-ms 0b68ad3
migrate commands group 'vmware authorization'
kairu-ms 821019e
migrate commands group 'vmware hcx-enterprise-site'
kairu-ms 61643e6
Optimize the confirmation prompt for vmware create command
kairu-ms 2ebee1a
migrate commands group 'vmware location'
kairu-ms fa566a0
migrate commands group 'vmware datastore'
kairu-ms 55dbf91
migrate commands group 'vmware addon'
kairu-ms dc59538
migrate commands group 'vmware global-reach-connection'
kairu-ms a13d2eb
migrate commands group 'vmware cloud-link'
kairu-ms 7487758
migrate commands group 'vmware script-cmdlet'
kairu-ms 0785228
migrate commands group 'vmware script-package'
kairu-ms 89b73bb
migrate commands group 'vmware workload-network dhcp'
kairu-ms 298b4b7
migrate commands group 'vmware workload-network dns-service'
kairu-ms 1d81774
migrate commands group 'vmware workload-network dns-zone'
kairu-ms 76b5c8f
migrate commands group 'vmware workload-network port-mirroring'
kairu-ms febbe61
migrate commands group 'vmware workload-network segment'
kairu-ms 4c6c8f8
migrate commands group 'vmware workload-network public-ip'
kairu-ms 68e7fde
migrate commands group 'vmware workload-network vm-group'
kairu-ms ec4b8dd
migrate commands group 'vmware workload-network vm'
kairu-ms a0da5a9
migrate commands group 'vmware workload-network gateway'
kairu-ms 8d02596
migrate commands group 'vmware placement-policy'
kairu-ms 45e25d0
migrate commands group 'vmware vm'
kairu-ms 92d846d
Migrate vmware private-cloud identity-source
kairu-ms 29dfbab
migrate command group 'vmware script-execution', except create command
kairu-ms 68284df
record test for test_vmware_private_cloud
kairu-ms e87fbeb
fix test issues
kairu-ms f39b0f7
add tests for vmware delete
kairu-ms d389a8f
update vmware tests
kairu-ms 6cee033
fix identity source create tests
kairu-ms ab015a6
fix ci issues
kairu-ms dcc63b5
fix ci issues
kairu-ms 08eb28f
migrate command 'az vmware script-execution create'
kairu-ms dc1117e
clean up code
kairu-ms 2d54c31
fix linter issues
kairu-ms d668007
remove vendored_sdks
kairu-ms 994b6c9
fix linter issues
kairu-ms 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 hidden or 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 hidden or 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from azure.cli.core.aaz import * | ||
|
|
||
|
|
||
| @register_command_group( | ||
| "vmware", | ||
| ) | ||
| class __CMDGroup(AAZCommandGroup): | ||
| """Commands to manage Azure VMware Solution. | ||
| """ | ||
| pass | ||
|
|
||
|
|
||
| __all__ = ["__CMDGroup"] |
22 changes: 11 additions & 11 deletions
22
src/vmware/azext_vmware/_client_factory.py → ...zext_vmware/aaz/latest/vmware/__init__.py
This file contains hidden or 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 |
|---|---|---|
| @@ -1,11 +1,11 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # -------------------------------------------------------------------------------------------- | ||
| def cf_vmware(cli_ctx, *_): | ||
| from azure.cli.core.commands.client_factory import get_mgmt_service_client | ||
| from azext_vmware.vendored_sdks.avs_client import AVSClient | ||
| return get_mgmt_service_client(cli_ctx, AVSClient) | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from .__cmd_group import * |
23 changes: 23 additions & 0 deletions
23
src/vmware/azext_vmware/aaz/latest/vmware/addon/__cmd_group.py
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from azure.cli.core.aaz import * | ||
|
|
||
|
|
||
| @register_command_group( | ||
| "vmware addon", | ||
| ) | ||
| class __CMDGroup(AAZCommandGroup): | ||
| """Commands to manage addons for a private cloud. | ||
| """ | ||
| pass | ||
|
|
||
|
|
||
| __all__ = ["__CMDGroup"] |
16 changes: 16 additions & 0 deletions
16
src/vmware/azext_vmware/aaz/latest/vmware/addon/__init__.py
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # -------------------------------------------------------------------------------------------- | ||
| # Copyright (c) Microsoft Corporation. All rights reserved. | ||
| # Licensed under the MIT License. See License.txt in the project root for license information. | ||
| # | ||
| # Code generated by aaz-dev-tools | ||
| # -------------------------------------------------------------------------------------------- | ||
|
|
||
| # pylint: skip-file | ||
| # flake8: noqa | ||
|
|
||
| from .__cmd_group import * | ||
| from ._create import * | ||
| from ._delete import * | ||
| from ._list import * | ||
| from ._show import * | ||
| from ._update import * |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.