Skip to content

Commit 0de10e7

Browse files
author
SDK Automation
committed
Generated from 078bba06a578b16cf3eba0b97360c52c50674693
1 parent b17f994 commit 0de10e7

File tree

59 files changed

+19941
-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.

59 files changed

+19941
-0
lines changed
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.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Microsoft Azure CLI 'machinelearningservices' Extension
2+
==========================================
3+
4+
This package is for the 'machinelearningservices' extension.
5+
i.e. 'az machinelearningservices'
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_machinelearningservices.generated._help import helps # pylint: disable=unused-import
13+
try:
14+
from azext_machinelearningservices.manual._help import helps # pylint: disable=reimported
15+
except ImportError:
16+
pass
17+
18+
19+
class AzureMachineLearningWorkspacesCommandsLoader(AzCommandsLoader):
20+
21+
def __init__(self, cli_ctx=None):
22+
from azure.cli.core.commands import CliCommandType
23+
from azext_machinelearningservices.generated._client_factory import cf_machinelearningservices_cl
24+
machinelearningservices_custom = CliCommandType(
25+
operations_tmpl='azext_machinelearningservices.custom#{}',
26+
client_factory=cf_machinelearningservices_cl)
27+
parent = super(AzureMachineLearningWorkspacesCommandsLoader, self)
28+
parent.__init__(cli_ctx=cli_ctx, custom_command_type=machinelearningservices_custom)
29+
30+
def load_command_table(self, args):
31+
from azext_machinelearningservices.generated.commands import load_command_table
32+
load_command_table(self, args)
33+
try:
34+
from azext_machinelearningservices.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_machinelearningservices.generated._params import load_arguments
42+
load_arguments(self, command)
43+
try:
44+
from azext_machinelearningservices.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 = AzureMachineLearningWorkspacesCommandsLoader
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.11.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: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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_machinelearningservices_cl(cli_ctx, *_):
13+
from azure.cli.core.commands.client_factory import get_mgmt_service_client
14+
from ..vendored_sdks.machinelearningservices import AzureMachineLearningWorkspaces
15+
return get_mgmt_service_client(cli_ctx,
16+
AzureMachineLearningWorkspaces)
17+
18+
19+
def cf_workspace(cli_ctx, *_):
20+
return cf_machinelearningservices_cl(cli_ctx).workspace
21+
22+
23+
def cf_workspace_feature(cli_ctx, *_):
24+
return cf_machinelearningservices_cl(cli_ctx).workspace_feature
25+
26+
27+
def cf_notebook(cli_ctx, *_):
28+
return cf_machinelearningservices_cl(cli_ctx).notebook
29+
30+
31+
def cf_usage(cli_ctx, *_):
32+
return cf_machinelearningservices_cl(cli_ctx).usage
33+
34+
35+
def cf_virtual_machine_size(cli_ctx, *_):
36+
return cf_machinelearningservices_cl(cli_ctx).virtual_machine_size
37+
38+
39+
def cf_quota(cli_ctx, *_):
40+
return cf_machinelearningservices_cl(cli_ctx).quota
41+
42+
43+
def cf_workspace_connection(cli_ctx, *_):
44+
return cf_machinelearningservices_cl(cli_ctx).workspace_connection
45+
46+
47+
def cf_machine_learning_compute(cli_ctx, *_):
48+
return cf_machinelearningservices_cl(cli_ctx).machine_learning_compute
49+
50+
51+
def cf_private_endpoint_connection(cli_ctx, *_):
52+
return cf_machinelearningservices_cl(cli_ctx).private_endpoint_connection
53+
54+
55+
def cf_private_link_resource(cli_ctx, *_):
56+
return cf_machinelearningservices_cl(cli_ctx).private_link_resource

0 commit comments

Comments
 (0)