Skip to content

Commit d39a360

Browse files
author
SDK Automation
committed
Generated from c9b2285463982e3b068cd31daa013c290e0bb1ce
address comments
1 parent bf87b15 commit d39a360

File tree

58 files changed

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

58 files changed

+15513
-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: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
14+
15+
class AzureMachineLearningWorkspacesCommandsLoader(AzCommandsLoader):
16+
17+
def __init__(self, cli_ctx=None):
18+
from azure.cli.core.commands import CliCommandType
19+
from azext_machinelearningservices.generated._client_factory import cf_machinelearningservices
20+
machinelearningservices_custom = CliCommandType(
21+
operations_tmpl='azext_machinelearningservices.custom#{}',
22+
client_factory=cf_machinelearningservices)
23+
super(AzureMachineLearningWorkspacesCommandsLoader, self).__init__(cli_ctx=cli_ctx,
24+
custom_command_type=machinelearningservices_custom)
25+
26+
def load_command_table(self, args):
27+
from azext_machinelearningservices.generated.commands import load_command_table
28+
load_command_table(self, args)
29+
try:
30+
from azext_machinelearningservices.manual.commands import load_command_table as load_command_table_manual
31+
load_command_table_manual(self, args)
32+
except ImportError:
33+
pass
34+
return self.command_table
35+
36+
def load_arguments(self, command):
37+
from azext_machinelearningservices.generated._params import load_arguments
38+
load_arguments(self, command)
39+
try:
40+
from azext_machinelearningservices.manual._params import load_arguments as load_arguments_manual
41+
load_arguments_manual(self, command)
42+
except ImportError:
43+
pass
44+
45+
46+
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.3.1"
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: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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(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, AzureMachineLearningWorkspaces)
16+
17+
18+
def cf_workspace(cli_ctx, *_):
19+
return cf_machinelearningservices(cli_ctx).workspace
20+
21+
22+
def cf_workspace_feature(cli_ctx, *_):
23+
return cf_machinelearningservices(cli_ctx).workspace_feature
24+
25+
26+
def cf_usage(cli_ctx, *_):
27+
return cf_machinelearningservices(cli_ctx).usage
28+
29+
30+
def cf_virtual_machine_size(cli_ctx, *_):
31+
return cf_machinelearningservices(cli_ctx).virtual_machine_size
32+
33+
34+
def cf_quota(cli_ctx, *_):
35+
return cf_machinelearningservices(cli_ctx).quota
36+
37+
38+
def cf_machine_learning_compute(cli_ctx, *_):
39+
return cf_machinelearningservices(cli_ctx).machine_learning_compute
40+
41+
42+
def cf_private_endpoint_connection(cli_ctx, *_):
43+
return cf_machinelearningservices(cli_ctx).private_endpoint_connection
44+
45+
46+
def cf_private_link_resource(cli_ctx, *_):
47+
return cf_machinelearningservices(cli_ctx).private_link_resource

0 commit comments

Comments
 (0)