Skip to content

Commit

Permalink
CodeGen from PR 14577 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[MFE] Reorder mfe.json spec for future consistency (Azure#14577)

* Enabling java client (#1)

* Revert "Enabling java client (#1)" (#2)

This reverts commit 26873d33199c64732735a5c0f92fe90f4044453e.

* Revert "Revert "Enabling java client (#1)" (#2)"

This reverts commit 41d5801adebc54d36fba114398c84848e4b4b112.

* Revert "Enabling java client (#1)"

This reverts commit 7537c824c3620b67e18acdfe5ea650fe9c18d962.

* reorder spec

Co-authored-by: Harneet Virk <harnvir@microsoft.com>
  • Loading branch information
SDKAuto and harneetvirk committed May 27, 2021
1 parent 7f05d8c commit 261fbe2
Show file tree
Hide file tree
Showing 23 changed files with 13,820 additions and 1,545 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
include _meta.json
recursive-include tests *.py *.yaml
include *.md
include azure/__init__.py
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"autorest": "V2",
"use": "@microsoft.azure/autorest.python@~4.0.71",
"commit": "47d96ce1e7c6550b5413616e8fb338a2e96d829e",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/machinelearningservices/resource-manager/readme.md --keep-version-file --multiapi --no-async --python --python-mode=update --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk --use=@microsoft.azure/autorest.python@~4.0.71 --version=V2",
"readme": "specification/machinelearningservices/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@
from ._configuration import AzureMachineLearningWorkspacesConfiguration
from .operations import Operations
from .operations import WorkspacesOperations
from .operations import WorkspaceFeaturesOperations
from .operations import UsagesOperations
from .operations import VirtualMachineSizesOperations
from .operations import QuotasOperations
from .operations import MachineLearningComputeOperations
from .operations import WorkspaceOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import MachineLearningServiceOperations
from .operations import NotebooksOperations
from .operations import StorageAccountOperations
from .operations import WorkspaceConnectionsOperations
from . import models


Expand All @@ -31,12 +40,30 @@ class AzureMachineLearningWorkspaces(SDKClient):
:vartype operations: azure.mgmt.machinelearningservices.operations.Operations
:ivar workspaces: Workspaces operations
:vartype workspaces: azure.mgmt.machinelearningservices.operations.WorkspacesOperations
:ivar workspace_features: WorkspaceFeatures operations
:vartype workspace_features: azure.mgmt.machinelearningservices.operations.WorkspaceFeaturesOperations
:ivar usages: Usages operations
:vartype usages: azure.mgmt.machinelearningservices.operations.UsagesOperations
:ivar virtual_machine_sizes: VirtualMachineSizes operations
:vartype virtual_machine_sizes: azure.mgmt.machinelearningservices.operations.VirtualMachineSizesOperations
:ivar quotas: Quotas operations
:vartype quotas: azure.mgmt.machinelearningservices.operations.QuotasOperations
:ivar machine_learning_compute: MachineLearningCompute operations
:vartype machine_learning_compute: azure.mgmt.machinelearningservices.operations.MachineLearningComputeOperations
:ivar workspace: Workspace operations
:vartype workspace: azure.mgmt.machinelearningservices.operations.WorkspaceOperations
:ivar private_endpoint_connections: PrivateEndpointConnections operations
:vartype private_endpoint_connections: azure.mgmt.machinelearningservices.operations.PrivateEndpointConnectionsOperations
:ivar private_link_resources: PrivateLinkResources operations
:vartype private_link_resources: azure.mgmt.machinelearningservices.operations.PrivateLinkResourcesOperations
:ivar machine_learning_service: MachineLearningService operations
:vartype machine_learning_service: azure.mgmt.machinelearningservices.operations.MachineLearningServiceOperations
:ivar notebooks: Notebooks operations
:vartype notebooks: azure.mgmt.machinelearningservices.operations.NotebooksOperations
:ivar storage_account: StorageAccount operations
:vartype storage_account: azure.mgmt.machinelearningservices.operations.StorageAccountOperations
:ivar workspace_connections: WorkspaceConnections operations
:vartype workspace_connections: azure.mgmt.machinelearningservices.operations.WorkspaceConnectionsOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -53,17 +80,35 @@ def __init__(
super(AzureMachineLearningWorkspaces, self).__init__(self.config.credentials, self.config)

client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
self.api_version = '2019-05-01'
self.api_version = '2021-04-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

self.operations = Operations(
self._client, self.config, self._serialize, self._deserialize)
self.workspaces = WorkspacesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace_features = WorkspaceFeaturesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.usages = UsagesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_sizes = VirtualMachineSizesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.quotas = QuotasOperations(
self._client, self.config, self._serialize, self._deserialize)
self.machine_learning_compute = MachineLearningComputeOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace = WorkspaceOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.private_link_resources = PrivateLinkResourcesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.machine_learning_service = MachineLearningServiceOperations(
self._client, self.config, self._serialize, self._deserialize)
self.notebooks = NotebooksOperations(
self._client, self.config, self._serialize, self._deserialize)
self.storage_account = StorageAccountOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace_connections = WorkspaceConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
Loading

0 comments on commit 261fbe2

Please sign in to comment.