Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR machinelearningservices] Add track2 for JS for machinelearningservices for 2021-03-01-preview #2012

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/machinelearningservices/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.. :changelog:
Release History
===============

0.1.0
++++++
* Initial release.
730 changes: 730 additions & 0 deletions src/machinelearningservices/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# --------------------------------------------------------------------------
# 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
try:
from azext_machinelearningservices.manual._help import helps # pylint: disable=reimported
except ImportError:
pass


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_cl
machinelearningservices_custom = CliCommandType(
operations_tmpl='azext_machinelearningservices.custom#{}',
client_factory=cf_machinelearningservices_cl)
parent = super(AzureMachineLearningWorkspacesCommandsLoader, self)
parent.__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
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"azext.isExperimental": true,
"azext.minCliCoreVersion": "2.15.0"
}
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
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__)
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# --------------------------------------------------------------------------
# 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_cl(cli_ctx, *_):
from azure.cli.core.commands.client_factory import get_mgmt_service_client
from azext_machinelearningservices.vendored_sdks.machinelearningservices import AzureMachineLearningWorkspaces
return get_mgmt_service_client(cli_ctx,
AzureMachineLearningWorkspaces)


def cf_workspace(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).workspaces


def cf_usage(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).usages


def cf_virtual_machine_size(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).virtual_machine_sizes


def cf_quota(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).quotas


def cf_compute(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).compute


def cf_private_endpoint_connection(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).private_endpoint_connections


def cf_private_link_resource(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).private_link_resources


def cf_workspace_connection(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).workspace_connections


def cf_batch_endpoint(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).batch_endpoints


def cf_batch_deployment(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).batch_deployments


def cf_code_container(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).code_containers


def cf_code_version(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).code_versions


def cf_data_container(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).data_containers


def cf_data_version(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).data_versions


def cf_datastore(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).datastores


def cf_environment_container(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).environment_containers


def cf_environment_specification_version(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).environment_specification_versions


def cf_job(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).jobs


def cf_labeling_job(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).labeling_jobs


def cf_model_container(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).model_containers


def cf_model_version(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).model_versions


def cf_online_endpoint(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).online_endpoints


def cf_online_deployment(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).online_deployments


def cf_workspace_feature(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).workspace_features


def cf_workspace_sku(cli_ctx, *_):
return cf_machinelearningservices_cl(cli_ctx).workspace_skus
Loading