Skip to content

Commit 0273eb6

Browse files
author
SDKAuto
committed
CodeGen from PR 15566 in Azure/azure-rest-api-specs
Merge 075493b6955de7880fb7a69eef437f8e20c4b6ec into 7384176
1 parent 1698603 commit 0273eb6

File tree

76 files changed

+35149
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+35149
-0
lines changed

src/databoxedge/HISTORY.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.. :changelog:
2+
3+
Release History
4+
===============
5+
6+
0.1.0
7+
++++++
8+
* Initial release.

src/databoxedge/README.md

Lines changed: 366 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
11+
from azure.cli.core import AzCommandsLoader
12+
from azext_databoxedge.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_databoxedge.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
17+
18+
19+
class DataBoxEdgeManagementClientCommandsLoader(AzCommandsLoader):
20+
21+
def __init__(self, cli_ctx=None):
22+
from azure.cli.core.commands import CliCommandType
23+
from azext_databoxedge.generated._client_factory import cf_databoxedge_cl
24+
databoxedge_custom = CliCommandType(
25+
operations_tmpl='azext_databoxedge.custom#{}',
26+
client_factory=cf_databoxedge_cl)
27+
parent = super(DataBoxEdgeManagementClientCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=databoxedge_custom)
29+
30+
def load_command_table(self, args):
31+
from azext_databoxedge.generated.commands import load_command_table
32+
load_command_table(self, args)
33+
try:
34+
from azext_databoxedge.manual.commands import load_command_table as load_command_table_manual
35+
load_command_table_manual(self, args)
36+
except ImportError:
37+
pass
38+
return self.command_table
39+
40+
def load_arguments(self, command):
41+
from azext_databoxedge.generated._params import load_arguments
42+
load_arguments(self, command)
43+
try:
44+
from azext_databoxedge.manual._params import load_arguments as load_arguments_manual
45+
load_arguments_manual(self, command)
46+
except ImportError:
47+
pass
48+
49+
50+
COMMAND_LOADER_CLS = DataBoxEdgeManagementClientCommandsLoader
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
# pylint: disable=wildcard-import
11+
# pylint: disable=unused-wildcard-import
12+
13+
from .generated.action import * # noqa: F403
14+
try:
15+
from .manual.action import * # noqa: F403
16+
except ImportError:
17+
pass
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"azext.isExperimental": true,
3+
"azext.minCliCoreVersion": "2.15.0"
4+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
# pylint: disable=wildcard-import
11+
# pylint: disable=unused-wildcard-import
12+
13+
from .generated.custom import * # noqa: F403
14+
try:
15+
from .manual.custom import * # noqa: F403
16+
except ImportError:
17+
pass
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for
5+
# license information.
6+
#
7+
# Code generated by Microsoft (R) AutoRest Code Generator.
8+
# Changes may cause incorrect behavior and will be lost if the code is
9+
# regenerated.
10+
# --------------------------------------------------------------------------
11+
12+
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
# --------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for
4+
# license information.
5+
#
6+
# Code generated by Microsoft (R) AutoRest Code Generator.
7+
# Changes may cause incorrect behavior and will be lost if the code is
8+
# regenerated.
9+
# --------------------------------------------------------------------------
10+
11+
12+
def cf_databoxedge_cl(cli_ctx, *_):
13+
from azure.cli.core.commands.client_factory import get_mgmt_service_client
14+
from azext_databoxedge.vendored_sdks.databoxedge import DataBoxEdgeManagementClient
15+
return get_mgmt_service_client(cli_ctx,
16+
DataBoxEdgeManagementClient)
17+
18+
19+
def cf_available_sku(cli_ctx, *_):
20+
return cf_databoxedge_cl(cli_ctx).available_skus
21+
22+
23+
def cf_device(cli_ctx, *_):
24+
return cf_databoxedge_cl(cli_ctx).devices
25+
26+
27+
def cf_alert(cli_ctx, *_):
28+
return cf_databoxedge_cl(cli_ctx).alerts
29+
30+
31+
def cf_bandwidth_schedule(cli_ctx, *_):
32+
return cf_databoxedge_cl(cli_ctx).bandwidth_schedules
33+
34+
35+
def cf_diagnostic_setting(cli_ctx, *_):
36+
return cf_databoxedge_cl(cli_ctx).diagnostic_settings
37+
38+
39+
def cf_job(cli_ctx, *_):
40+
return cf_databoxedge_cl(cli_ctx).jobs
41+
42+
43+
def cf_node(cli_ctx, *_):
44+
return cf_databoxedge_cl(cli_ctx).nodes
45+
46+
47+
def cf_operation_status(cli_ctx, *_):
48+
return cf_databoxedge_cl(cli_ctx).operations_status
49+
50+
51+
def cf_order(cli_ctx, *_):
52+
return cf_databoxedge_cl(cli_ctx).orders
53+
54+
55+
def cf_role(cli_ctx, *_):
56+
return cf_databoxedge_cl(cli_ctx).roles
57+
58+
59+
def cf_addon(cli_ctx, *_):
60+
return cf_databoxedge_cl(cli_ctx).addons
61+
62+
63+
def cf_monitoring_config(cli_ctx, *_):
64+
return cf_databoxedge_cl(cli_ctx).monitoring_config
65+
66+
67+
def cf_share(cli_ctx, *_):
68+
return cf_databoxedge_cl(cli_ctx).shares
69+
70+
71+
def cf_storage_account_credentials(cli_ctx, *_):
72+
return cf_databoxedge_cl(cli_ctx).storage_account_credentials
73+
74+
75+
def cf_storage_account(cli_ctx, *_):
76+
return cf_databoxedge_cl(cli_ctx).storage_accounts
77+
78+
79+
def cf_container(cli_ctx, *_):
80+
return cf_databoxedge_cl(cli_ctx).containers
81+
82+
83+
def cf_trigger(cli_ctx, *_):
84+
return cf_databoxedge_cl(cli_ctx).triggers
85+
86+
87+
def cf_support_package(cli_ctx, *_):
88+
return cf_databoxedge_cl(cli_ctx).support_packages
89+
90+
91+
def cf_user(cli_ctx, *_):
92+
return cf_databoxedge_cl(cli_ctx).users

0 commit comments

Comments
 (0)