Skip to content

Commit 90578f8

Browse files
author
SDKAuto
committed
CodeGen from PR 15540 in Azure/azure-rest-api-specs
Merge 3c943fe10854a1fe6f67a91b7f51913274b05893 into 57e30b5
1 parent 927c622 commit 90578f8

File tree

64 files changed

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

64 files changed

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

src/machinelearningservices/README.md

Lines changed: 470 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_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.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: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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 azext_machinelearningservices.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).workspaces
21+
22+
23+
def cf_workspace_feature(cli_ctx, *_):
24+
return cf_machinelearningservices_cl(cli_ctx).workspace_features
25+
26+
27+
def cf_usage(cli_ctx, *_):
28+
return cf_machinelearningservices_cl(cli_ctx).usages
29+
30+
31+
def cf_virtual_machine_size(cli_ctx, *_):
32+
return cf_machinelearningservices_cl(cli_ctx).virtual_machine_sizes
33+
34+
35+
def cf_quota(cli_ctx, *_):
36+
return cf_machinelearningservices_cl(cli_ctx).quotas
37+
38+
39+
def cf_machine_learning_compute(cli_ctx, *_):
40+
return cf_machinelearningservices_cl(cli_ctx).machine_learning_compute
41+
42+
43+
def cf_workspace(cli_ctx, *_):
44+
return cf_machinelearningservices_cl(cli_ctx).workspace
45+
46+
47+
def cf_private_endpoint_connection(cli_ctx, *_):
48+
return cf_machinelearningservices_cl(cli_ctx).private_endpoint_connections
49+
50+
51+
def cf_private_link_resource(cli_ctx, *_):
52+
return cf_machinelearningservices_cl(cli_ctx).private_link_resources
53+
54+
55+
def cf_machine_learning_service(cli_ctx, *_):
56+
return cf_machinelearningservices_cl(cli_ctx).machine_learning_service
57+
58+
59+
def cf_notebook(cli_ctx, *_):
60+
return cf_machinelearningservices_cl(cli_ctx).notebooks
61+
62+
63+
def cf_storage_account(cli_ctx, *_):
64+
return cf_machinelearningservices_cl(cli_ctx).storage_account
65+
66+
67+
def cf_workspace_connection(cli_ctx, *_):
68+
return cf_machinelearningservices_cl(cli_ctx).workspace_connections

0 commit comments

Comments
 (0)