forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 13597 in Azure/azure-rest-api-specs
Merge 89d7a7ef4a00734646ae952056174605c609e4d5 into 961799e
- Loading branch information
SDKAuto
committed
Mar 24, 2021
1 parent
abb8872
commit d50dca4
Showing
49 changed files
with
10,470 additions
and
4,155 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,6 @@ | |
Release History | ||
=============== | ||
0.1.1 | ||
++++++ | ||
* GA databox module. | ||
|
||
0.1.0 | ||
++++++ | ||
|
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 |
---|---|---|
@@ -1,32 +1,50 @@ | ||
# -------------------------------------------------------------------------------------------- | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# -------------------------------------------------------------------------------------------- | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from azure.cli.core import AzCommandsLoader | ||
from azext_databox.generated._help import helps # pylint: disable=unused-import | ||
try: | ||
from azext_databox.manual._help import helps # pylint: disable=reimported | ||
except ImportError: | ||
pass | ||
|
||
import azext_databox._help # pylint: disable=unused-import | ||
|
||
|
||
class DataBoxCommandsLoader(AzCommandsLoader): | ||
class DataBoxManagementClientCommandsLoader(AzCommandsLoader): | ||
|
||
def __init__(self, cli_ctx=None): | ||
from azure.cli.core.commands import CliCommandType | ||
from azext_databox._client_factory import cf_databox | ||
from azext_databox.generated._client_factory import cf_databox_cl | ||
databox_custom = CliCommandType( | ||
operations_tmpl='azext_databox.custom#{}', | ||
client_factory=cf_databox) | ||
super(DataBoxCommandsLoader, self).__init__(cli_ctx=cli_ctx, | ||
custom_command_type=databox_custom) | ||
client_factory=cf_databox_cl) | ||
parent = super(DataBoxManagementClientCommandsLoader, self) | ||
parent.__init__(cli_ctx=cli_ctx, custom_command_type=databox_custom) | ||
|
||
def load_command_table(self, args): | ||
from azext_databox.commands import load_command_table | ||
from azext_databox.generated.commands import load_command_table | ||
load_command_table(self, args) | ||
try: | ||
from azext_databox.manual.commands import load_command_table as load_command_table_manual | ||
load_command_table_manual(self, args) | ||
except ImportError: | ||
pass | ||
return self.command_table | ||
|
||
def load_arguments(self, command): | ||
from azext_databox._params import load_arguments | ||
from azext_databox.generated._params import load_arguments | ||
load_arguments(self, command) | ||
try: | ||
from azext_databox.manual._params import load_arguments as load_arguments_manual | ||
load_arguments_manual(self, command) | ||
except ImportError: | ||
pass | ||
|
||
|
||
COMMAND_LOADER_CLS = DataBoxCommandsLoader | ||
COMMAND_LOADER_CLS = DataBoxManagementClientCommandsLoader |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -------------------------------------------------------------------------- | ||
# 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 Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wildcard-import | ||
# pylint: disable=unused-wildcard-import | ||
|
||
from .generated.action import * # noqa: F403 | ||
try: | ||
from .manual.action import * # noqa: F403 | ||
except ImportError: | ||
pass |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"azext.minCliCoreVersion": "2.3.1" | ||
"azext.isExperimental": true, | ||
"azext.minCliCoreVersion": "2.15.0" | ||
} |
Oops, something went wrong.