forked from Azure/azure-cli-extensions
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 54d137437c4d3c5c4e274cf5dccc8e817adb7433
Merge branch 'new_version' of https://github.com/shail2208/azure-rest-api-specs into new_version
- Loading branch information
SDK Automation
committed
May 6, 2020
1 parent
5926f06
commit 3b49f32
Showing
58 changed files
with
15,513 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.. :changelog: | ||
Release History | ||
=============== | ||
|
||
0.1.0 | ||
++++++ | ||
* Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Microsoft Azure CLI 'machinelearningservices' Extension | ||
========================================== | ||
|
||
This package is for the 'machinelearningservices' extension. | ||
i.e. 'az machinelearningservices' |
46 changes: 46 additions & 0 deletions
46
src/machinelearningservices/azext_machinelearningservices/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from azure.cli.core import AzCommandsLoader | ||
from azext_machinelearningservices.generated._help import helps # pylint: disable=unused-import | ||
|
||
|
||
class AzureMachineLearningWorkspacesCommandsLoader(AzCommandsLoader): | ||
|
||
def __init__(self, cli_ctx=None): | ||
from azure.cli.core.commands import CliCommandType | ||
from azext_machinelearningservices.generated._client_factory import cf_machinelearningservices | ||
machinelearningservices_custom = CliCommandType( | ||
operations_tmpl='azext_machinelearningservices.custom#{}', | ||
client_factory=cf_machinelearningservices) | ||
super(AzureMachineLearningWorkspacesCommandsLoader, self).__init__(cli_ctx=cli_ctx, | ||
custom_command_type=machinelearningservices_custom) | ||
|
||
def load_command_table(self, args): | ||
from azext_machinelearningservices.generated.commands import load_command_table | ||
load_command_table(self, args) | ||
try: | ||
from azext_machinelearningservices.manual.commands import load_command_table as load_command_table_manual | ||
load_command_table_manual(self, args) | ||
except ImportError: | ||
pass | ||
return self.command_table | ||
|
||
def load_arguments(self, command): | ||
from azext_machinelearningservices.generated._params import load_arguments | ||
load_arguments(self, command) | ||
try: | ||
from azext_machinelearningservices.manual._params import load_arguments as load_arguments_manual | ||
load_arguments_manual(self, command) | ||
except ImportError: | ||
pass | ||
|
||
|
||
COMMAND_LOADER_CLS = AzureMachineLearningWorkspacesCommandsLoader |
17 changes: 17 additions & 0 deletions
17
src/machinelearningservices/azext_machinelearningservices/action.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wildcard-import | ||
# pylint: disable=unused-wildcard-import | ||
|
||
from .generated.action import * # noqa: F403 | ||
try: | ||
from .manual.action import * # noqa: F403 | ||
except ImportError: | ||
pass |
4 changes: 4 additions & 0 deletions
4
src/machinelearningservices/azext_machinelearningservices/azext_metadata.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"azext.isExperimental": true, | ||
"azext.minCliCoreVersion": "2.3.1" | ||
} |
17 changes: 17 additions & 0 deletions
17
src/machinelearningservices/azext_machinelearningservices/custom.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wildcard-import | ||
# pylint: disable=unused-wildcard-import | ||
|
||
from .generated.custom import * # noqa: F403 | ||
try: | ||
from .manual.custom import * # noqa: F403 | ||
except ImportError: | ||
pass |
12 changes: 12 additions & 0 deletions
12
src/machinelearningservices/azext_machinelearningservices/generated/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
47 changes: 47 additions & 0 deletions
47
src/machinelearningservices/azext_machinelearningservices/generated/_client_factory.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
|
||
def cf_machinelearningservices(cli_ctx, *_): | ||
from azure.cli.core.commands.client_factory import get_mgmt_service_client | ||
from ..vendored_sdks.machinelearningservices import AzureMachineLearningWorkspaces | ||
return get_mgmt_service_client(cli_ctx, AzureMachineLearningWorkspaces) | ||
|
||
|
||
def cf_workspace(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).workspace | ||
|
||
|
||
def cf_workspace_feature(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).workspace_feature | ||
|
||
|
||
def cf_usage(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).usage | ||
|
||
|
||
def cf_virtual_machine_size(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).virtual_machine_size | ||
|
||
|
||
def cf_quota(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).quota | ||
|
||
|
||
def cf_machine_learning_compute(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).machine_learning_compute | ||
|
||
|
||
def cf_private_endpoint_connection(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).private_endpoint_connection | ||
|
||
|
||
def cf_private_link_resource(cli_ctx, *_): | ||
return cf_machinelearningservices(cli_ctx).private_link_resource |
Oops, something went wrong.