Skip to content

Commit

Permalink
CodeGen from PR 13979 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
fix service name for Java (Azure#13979)
  • Loading branch information
SDKAuto committed Apr 16, 2021
1 parent 1051a43 commit 8c0f0e8
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": "3cba7d6b8ffe73ff8c96be56b111317200d646b0",
"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 [email protected]/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 8c0f0e8

Please sign in to comment.