Skip to content

Commit

Permalink
CodeGen from PR 17000 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Go] Track2 modify readme.go.md 9 (Azure#17000)

* [Go] Track2 modify readme.go.md 9

* fix
  • Loading branch information
SDKAuto committed Dec 10, 2021
1 parent 3a14782 commit ee6768f
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": "2ab4371edba33c23e8d680ed2bf6f98705b5cadb",
"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 ee6768f

Please sign in to comment.