Skip to content

Commit

Permalink
CodeGen from PR 17079 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 17e70908e81eeabf8ee5579194436a61f3b4bfb4 into 5889138
  • Loading branch information
SDKAuto committed Dec 15, 2021
1 parent 3a14782 commit f8d37c7
Show file tree
Hide file tree
Showing 21 changed files with 9,401 additions and 1,485 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": "ca4629055a484c86bb73dd20574484d24b9a85c5",
"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 @@ -17,7 +17,13 @@
from .operations import WorkspacesOperations
from .operations import UsagesOperations
from .operations import VirtualMachineSizesOperations
from .operations import MachineLearningComputeOperations
from .operations import QuotasOperations
from .operations import ComputeOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from .operations import WorkspaceConnectionsOperations
from .operations import WorkspaceFeaturesOperations
from .operations import WorkspaceSkusOperations
from . import models


Expand All @@ -35,13 +41,25 @@ class AzureMachineLearningWorkspaces(SDKClient):
:vartype usages: azure.mgmt.machinelearningservices.operations.UsagesOperations
:ivar virtual_machine_sizes: VirtualMachineSizes operations
:vartype virtual_machine_sizes: azure.mgmt.machinelearningservices.operations.VirtualMachineSizesOperations
:ivar machine_learning_compute: MachineLearningCompute operations
:vartype machine_learning_compute: azure.mgmt.machinelearningservices.operations.MachineLearningComputeOperations
:ivar quotas: Quotas operations
:vartype quotas: azure.mgmt.machinelearningservices.operations.QuotasOperations
:ivar compute: Compute operations
:vartype compute: azure.mgmt.machinelearningservices.operations.ComputeOperations
: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 workspace_connections: WorkspaceConnections operations
:vartype workspace_connections: azure.mgmt.machinelearningservices.operations.WorkspaceConnectionsOperations
:ivar workspace_features: WorkspaceFeatures operations
:vartype workspace_features: azure.mgmt.machinelearningservices.operations.WorkspaceFeaturesOperations
:ivar workspace_skus: WorkspaceSkus operations
:vartype workspace_skus: azure.mgmt.machinelearningservices.operations.WorkspaceSkusOperations
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: Azure subscription identifier.
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
"""
Expand All @@ -53,7 +71,7 @@ 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-07-01'
self._serialize = Serializer(client_models)
self._deserialize = Deserializer(client_models)

Expand All @@ -65,5 +83,17 @@ def __init__(
self._client, self.config, self._serialize, self._deserialize)
self.virtual_machine_sizes = VirtualMachineSizesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.machine_learning_compute = MachineLearningComputeOperations(
self.quotas = QuotasOperations(
self._client, self.config, self._serialize, self._deserialize)
self.compute = ComputeOperations(
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.workspace_connections = WorkspaceConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace_features = WorkspaceFeaturesOperations(
self._client, self.config, self._serialize, self._deserialize)
self.workspace_skus = WorkspaceSkusOperations(
self._client, self.config, self._serialize, self._deserialize)
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AzureMachineLearningWorkspacesConfiguration(AzureConfiguration):
:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
object<msrestazure.azure_active_directory>`
:param subscription_id: Azure subscription identifier.
:param subscription_id: The ID of the target subscription.
:type subscription_id: str
:param str base_url: Service URL
"""
Expand Down
Loading

0 comments on commit f8d37c7

Please sign in to comment.