Skip to content

Commit b19abf7

Browse files
author
SDK Automation
committed
Generated from d6eedbe0eae84bb708180f299f9fb8e9cd1556e9
1 parent 4e5de77 commit b19abf7

Some content is hidden

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

55 files changed

+6623
-2804
lines changed

src/connectedmachine/HISTORY.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33
Release History
44
===============
55

6-
0.1.1
7-
+++++
8-
* Remove the limitation of max compatible cli core version
9-
106
0.1.0
117
++++++
12-
* Initial release.
8+
* Initial release.

src/connectedmachine/README.rst renamed to src/connectedmachine/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Microsoft Azure CLI 'connectedmachine' Extension
22
==========================================
33

44
This package is for the 'connectedmachine' extension.
5-
i.e. 'az connectedmachine'
5+
i.e. 'az connectedmachine'
Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,50 @@
1-
# --------------------------------------------------------------------------------------------
1+
# --------------------------------------------------------------------------
22
# Copyright (c) Microsoft Corporation. All rights reserved.
3-
# Licensed under the MIT License. See License.txt in the project root for license information.
4-
# --------------------------------------------------------------------------------------------
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+
# --------------------------------------------------------------------------
510

611
from azure.cli.core import AzCommandsLoader
12+
from azext_connectedmachine.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_connectedmachine.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
717

8-
from azext_connectedmachine._help import helps # pylint: disable=unused-import
918

10-
11-
class ConnectedmachineCommandsLoader(AzCommandsLoader):
19+
class ConnectedMachineCommandsLoader(AzCommandsLoader):
1220

1321
def __init__(self, cli_ctx=None):
1422
from azure.cli.core.commands import CliCommandType
15-
from azext_connectedmachine._client_factory import cf_connectedmachine
23+
from azext_connectedmachine.generated._client_factory import cf_connectedmachine_cl
1624
connectedmachine_custom = CliCommandType(
1725
operations_tmpl='azext_connectedmachine.custom#{}',
18-
client_factory=cf_connectedmachine)
19-
super(ConnectedmachineCommandsLoader, self).__init__(cli_ctx=cli_ctx,
20-
custom_command_type=connectedmachine_custom)
26+
client_factory=cf_connectedmachine_cl)
27+
parent = super(ConnectedMachineCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=connectedmachine_custom)
2129

2230
def load_command_table(self, args):
23-
from azext_connectedmachine.commands import load_command_table
31+
from azext_connectedmachine.generated.commands import load_command_table
2432
load_command_table(self, args)
33+
try:
34+
from azext_connectedmachine.manual.commands import load_command_table as load_command_table_manual
35+
load_command_table_manual(self, args)
36+
except ImportError:
37+
pass
2538
return self.command_table
2639

2740
def load_arguments(self, command):
28-
from azext_connectedmachine._params import load_arguments
41+
from azext_connectedmachine.generated._params import load_arguments
2942
load_arguments(self, command)
43+
try:
44+
from azext_connectedmachine.manual._params import load_arguments as load_arguments_manual
45+
load_arguments_manual(self, command)
46+
except ImportError:
47+
pass
3048

3149

32-
COMMAND_LOADER_CLS = ConnectedmachineCommandsLoader
50+
COMMAND_LOADER_CLS = ConnectedMachineCommandsLoader

src/connectedmachine/azext_connectedmachine/_client_factory.py

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/connectedmachine/azext_connectedmachine/_help.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

src/connectedmachine/azext_connectedmachine/_params.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/connectedmachine/azext_connectedmachine/_validators.py

Lines changed: 0 additions & 21 deletions
This file was deleted.
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"azext.isPreview": true,
3-
"azext.minCliCoreVersion": "2.0.67"
2+
"azext.isExperimental": true,
3+
"azext.minCliCoreVersion": "2.11.0"
44
}

src/connectedmachine/azext_connectedmachine/commands.py

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)