Skip to content

Commit 0d47cd1

Browse files
author
SDK Automation
committed
Generated from c9b2285463982e3b068cd31daa013c290e0bb1ce
address comments
1 parent 7a432a8 commit 0d47cd1

19 files changed

+2789
-102
lines changed
Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,21 @@
1-
## Microsoft Azure SDK for Python
1+
# Microsoft Azure SDK for Python
22

3-
This is the Microsoft Azure Machine Learning Services Management Client
4-
Library.
3+
This is the Microsoft Azure Machine Learning Services Management Client Library.
4+
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
5+
For a more complete view of Azure libraries, see the [Github repo](https://github.com/Azure/azure-sdk-for-python/)
56

6-
Azure Resource Manager (ARM) is the next generation of management APIs
7-
that replace the old Azure Service Management (ASM).
87

9-
This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
8+
# Usage
109

11-
For the older Azure Service Management (ASM) libraries, see
12-
[azure-servicemanagement-legacy](https://pypi.python.org/pypi/azure-servicemanagement-legacy)
13-
library.
10+
For code examples, see [Machine Learning Services Management](https://docs.microsoft.com/python/api/overview/azure/)
11+
on docs.microsoft.com.
1412

15-
For a more complete set of Azure libraries, see the
16-
[azure](https://pypi.python.org/pypi/azure) bundle package.
1713

18-
## Usage
14+
# Provide Feedback
1915

20-
For code examples, see [Machine Learning Services
21-
Management](https://docs.microsoft.com/python/api/overview/azure/) on
22-
docs.microsoft.com.
23-
24-
## Provide Feedback
25-
26-
If you encounter any bugs or have suggestions, please file an issue in
27-
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
16+
If you encounter any bugs or have suggestions, please file an issue in the
17+
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
2818
section of the project.
2919

30-
![image](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-machinelearningservices%2FREADME.png)
20+
21+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-machinelearningservices%2FREADME.png)

sdk/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices/_azure_machine_learning_workspaces.py

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,20 @@
1313
from msrest import Serializer, Deserializer
1414

1515
from ._configuration import AzureMachineLearningWorkspacesConfiguration
16+
from .operations import AzureMachineLearningWorkspacesOperationsMixin
1617
from .operations import Operations
1718
from .operations import WorkspacesOperations
19+
from .operations import WorkspaceFeaturesOperations
1820
from .operations import UsagesOperations
1921
from .operations import VirtualMachineSizesOperations
22+
from .operations import QuotasOperations
2023
from .operations import MachineLearningComputeOperations
24+
from .operations import PrivateEndpointConnectionsOperations
25+
from .operations import PrivateLinkResourcesOperations
2126
from . import models
2227

2328

24-
class AzureMachineLearningWorkspaces(SDKClient):
29+
class AzureMachineLearningWorkspaces(AzureMachineLearningWorkspacesOperationsMixin, SDKClient):
2530
"""These APIs allow end users to operate on Azure Machine Learning Workspace resources.
2631
2732
:ivar config: Configuration for client.
@@ -31,12 +36,20 @@ class AzureMachineLearningWorkspaces(SDKClient):
3136
:vartype operations: azure.mgmt.machinelearningservices.operations.Operations
3237
:ivar workspaces: Workspaces operations
3338
:vartype workspaces: azure.mgmt.machinelearningservices.operations.WorkspacesOperations
39+
:ivar workspace_features: WorkspaceFeatures operations
40+
:vartype workspace_features: azure.mgmt.machinelearningservices.operations.WorkspaceFeaturesOperations
3441
:ivar usages: Usages operations
3542
:vartype usages: azure.mgmt.machinelearningservices.operations.UsagesOperations
3643
:ivar virtual_machine_sizes: VirtualMachineSizes operations
3744
:vartype virtual_machine_sizes: azure.mgmt.machinelearningservices.operations.VirtualMachineSizesOperations
45+
:ivar quotas: Quotas operations
46+
:vartype quotas: azure.mgmt.machinelearningservices.operations.QuotasOperations
3847
:ivar machine_learning_compute: MachineLearningCompute operations
3948
:vartype machine_learning_compute: azure.mgmt.machinelearningservices.operations.MachineLearningComputeOperations
49+
:ivar private_endpoint_connections: PrivateEndpointConnections operations
50+
:vartype private_endpoint_connections: azure.mgmt.machinelearningservices.operations.PrivateEndpointConnectionsOperations
51+
:ivar private_link_resources: PrivateLinkResources operations
52+
:vartype private_link_resources: azure.mgmt.machinelearningservices.operations.PrivateLinkResourcesOperations
4053
4154
:param credentials: Credentials needed for the client to connect to Azure.
4255
:type credentials: :mod:`A msrestazure Credentials
@@ -53,17 +66,25 @@ def __init__(
5366
super(AzureMachineLearningWorkspaces, self).__init__(self.config.credentials, self.config)
5467

5568
client_models = {k: v for k, v in models.__dict__.items() if isinstance(v, type)}
56-
self.api_version = '2019-05-01'
69+
self.api_version = '2020-04-01'
5770
self._serialize = Serializer(client_models)
5871
self._deserialize = Deserializer(client_models)
5972

6073
self.operations = Operations(
6174
self._client, self.config, self._serialize, self._deserialize)
6275
self.workspaces = WorkspacesOperations(
6376
self._client, self.config, self._serialize, self._deserialize)
77+
self.workspace_features = WorkspaceFeaturesOperations(
78+
self._client, self.config, self._serialize, self._deserialize)
6479
self.usages = UsagesOperations(
6580
self._client, self.config, self._serialize, self._deserialize)
6681
self.virtual_machine_sizes = VirtualMachineSizesOperations(
6782
self._client, self.config, self._serialize, self._deserialize)
83+
self.quotas = QuotasOperations(
84+
self._client, self.config, self._serialize, self._deserialize)
6885
self.machine_learning_compute = MachineLearningComputeOperations(
6986
self._client, self.config, self._serialize, self._deserialize)
87+
self.private_endpoint_connections = PrivateEndpointConnectionsOperations(
88+
self._client, self.config, self._serialize, self._deserialize)
89+
self.private_link_resources = PrivateLinkResourcesOperations(
90+
self._client, self.config, self._serialize, self._deserialize)

sdk/machinelearning/azure-mgmt-machinelearningservices/azure/mgmt/machinelearningservices/models/__init__.py

Lines changed: 91 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from ._models_py3 import AmlComputeNodeInformation
1919
from ._models_py3 import AmlComputeNodesInformation
2020
from ._models_py3 import AmlComputeProperties
21+
from ._models_py3 import AmlUserFeature
2122
from ._models_py3 import ClusterUpdateParameters
2223
from ._models_py3 import Compute
2324
from ._models_py3 import ComputeNodesInformation
@@ -29,24 +30,44 @@
2930
from ._models_py3 import DataFactory
3031
from ._models_py3 import DataLakeAnalytics
3132
from ._models_py3 import DataLakeAnalyticsProperties
33+
from ._models_py3 import EncryptionProperty
3234
from ._models_py3 import ErrorDetail
33-
from ._models_py3 import ErrorResponse
35+
from ._models_py3 import ErrorResponse, ErrorResponseException
3436
from ._models_py3 import HDInsight
3537
from ._models_py3 import HDInsightProperties
3638
from ._models_py3 import Identity
39+
from ._models_py3 import IdentityUserAssignedIdentitiesValue
40+
from ._models_py3 import KeyVaultProperties
3741
from ._models_py3 import ListWorkspaceKeysResult
3842
from ._models_py3 import MachineLearningServiceError, MachineLearningServiceErrorException
3943
from ._models_py3 import NodeStateCounts
4044
from ._models_py3 import Operation
4145
from ._models_py3 import OperationDisplay
4246
from ._models_py3 import Password
47+
from ._models_py3 import PrivateEndpoint
48+
from ._models_py3 import PrivateEndpointConnection
49+
from ._models_py3 import PrivateLinkResource
50+
from ._models_py3 import PrivateLinkResourceListResult
51+
from ._models_py3 import PrivateLinkServiceConnectionState
52+
from ._models_py3 import QuotaBaseProperties
53+
from ._models_py3 import QuotaUpdateParameters
4354
from ._models_py3 import RegistryListCredentialsResult
4455
from ._models_py3 import Resource
4556
from ._models_py3 import ResourceId
57+
from ._models_py3 import ResourceName
58+
from ._models_py3 import ResourceQuota
59+
from ._models_py3 import ResourceSkuLocationInfo
60+
from ._models_py3 import ResourceSkuZoneDetails
61+
from ._models_py3 import Restriction
4662
from ._models_py3 import ScaleSettings
4763
from ._models_py3 import ServicePrincipalCredentials
64+
from ._models_py3 import SharedPrivateLinkResource
65+
from ._models_py3 import Sku
66+
from ._models_py3 import SKUCapability
4867
from ._models_py3 import SslConfiguration
4968
from ._models_py3 import SystemService
69+
from ._models_py3 import UpdateWorkspaceQuotas
70+
from ._models_py3 import UpdateWorkspaceQuotasResult
5071
from ._models_py3 import Usage
5172
from ._models_py3 import UsageName
5273
from ._models_py3 import UserAccountCredentials
@@ -57,6 +78,7 @@
5778
from ._models_py3 import VirtualMachineSizeListResult
5879
from ._models_py3 import VirtualMachineSshCredentials
5980
from ._models_py3 import Workspace
81+
from ._models_py3 import WorkspaceSku
6082
from ._models_py3 import WorkspaceUpdateParameters
6183
except (SyntaxError, ImportError):
6284
from ._models import AKS
@@ -67,6 +89,7 @@
6789
from ._models import AmlComputeNodeInformation
6890
from ._models import AmlComputeNodesInformation
6991
from ._models import AmlComputeProperties
92+
from ._models import AmlUserFeature
7093
from ._models import ClusterUpdateParameters
7194
from ._models import Compute
7295
from ._models import ComputeNodesInformation
@@ -78,24 +101,44 @@
78101
from ._models import DataFactory
79102
from ._models import DataLakeAnalytics
80103
from ._models import DataLakeAnalyticsProperties
104+
from ._models import EncryptionProperty
81105
from ._models import ErrorDetail
82-
from ._models import ErrorResponse
106+
from ._models import ErrorResponse, ErrorResponseException
83107
from ._models import HDInsight
84108
from ._models import HDInsightProperties
85109
from ._models import Identity
110+
from ._models import IdentityUserAssignedIdentitiesValue
111+
from ._models import KeyVaultProperties
86112
from ._models import ListWorkspaceKeysResult
87113
from ._models import MachineLearningServiceError, MachineLearningServiceErrorException
88114
from ._models import NodeStateCounts
89115
from ._models import Operation
90116
from ._models import OperationDisplay
91117
from ._models import Password
118+
from ._models import PrivateEndpoint
119+
from ._models import PrivateEndpointConnection
120+
from ._models import PrivateLinkResource
121+
from ._models import PrivateLinkResourceListResult
122+
from ._models import PrivateLinkServiceConnectionState
123+
from ._models import QuotaBaseProperties
124+
from ._models import QuotaUpdateParameters
92125
from ._models import RegistryListCredentialsResult
93126
from ._models import Resource
94127
from ._models import ResourceId
128+
from ._models import ResourceName
129+
from ._models import ResourceQuota
130+
from ._models import ResourceSkuLocationInfo
131+
from ._models import ResourceSkuZoneDetails
132+
from ._models import Restriction
95133
from ._models import ScaleSettings
96134
from ._models import ServicePrincipalCredentials
135+
from ._models import SharedPrivateLinkResource
136+
from ._models import Sku
137+
from ._models import SKUCapability
97138
from ._models import SslConfiguration
98139
from ._models import SystemService
140+
from ._models import UpdateWorkspaceQuotas
141+
from ._models import UpdateWorkspaceQuotasResult
99142
from ._models import Usage
100143
from ._models import UsageName
101144
from ._models import UserAccountCredentials
@@ -106,18 +149,30 @@
106149
from ._models import VirtualMachineSizeListResult
107150
from ._models import VirtualMachineSshCredentials
108151
from ._models import Workspace
152+
from ._models import WorkspaceSku
109153
from ._models import WorkspaceUpdateParameters
154+
from ._paged_models import AmlUserFeaturePaged
110155
from ._paged_models import ComputeResourcePaged
111156
from ._paged_models import OperationPaged
157+
from ._paged_models import ResourceQuotaPaged
112158
from ._paged_models import UsagePaged
113159
from ._paged_models import WorkspacePaged
160+
from ._paged_models import WorkspaceSkuPaged
114161
from ._azure_machine_learning_workspaces_enums import (
115162
ProvisioningState,
163+
EncryptionStatus,
164+
PrivateEndpointServiceConnectionStatus,
165+
PrivateEndpointConnectionProvisioningState,
116166
UsageUnit,
167+
QuotaUnit,
168+
Status,
117169
ResourceIdentityType,
118170
VmPriority,
171+
RemoteLoginPortPublicAccess,
119172
AllocationState,
173+
NodeState,
120174
ComputeType,
175+
ReasonCode,
121176
UnderlyingResourceAction,
122177
)
123178

@@ -130,6 +185,7 @@
130185
'AmlComputeNodeInformation',
131186
'AmlComputeNodesInformation',
132187
'AmlComputeProperties',
188+
'AmlUserFeature',
133189
'ClusterUpdateParameters',
134190
'Compute',
135191
'ComputeNodesInformation',
@@ -141,24 +197,44 @@
141197
'DataFactory',
142198
'DataLakeAnalytics',
143199
'DataLakeAnalyticsProperties',
200+
'EncryptionProperty',
144201
'ErrorDetail',
145-
'ErrorResponse',
202+
'ErrorResponse', 'ErrorResponseException',
146203
'HDInsight',
147204
'HDInsightProperties',
148205
'Identity',
206+
'IdentityUserAssignedIdentitiesValue',
207+
'KeyVaultProperties',
149208
'ListWorkspaceKeysResult',
150209
'MachineLearningServiceError', 'MachineLearningServiceErrorException',
151210
'NodeStateCounts',
152211
'Operation',
153212
'OperationDisplay',
154213
'Password',
214+
'PrivateEndpoint',
215+
'PrivateEndpointConnection',
216+
'PrivateLinkResource',
217+
'PrivateLinkResourceListResult',
218+
'PrivateLinkServiceConnectionState',
219+
'QuotaBaseProperties',
220+
'QuotaUpdateParameters',
155221
'RegistryListCredentialsResult',
156222
'Resource',
157223
'ResourceId',
224+
'ResourceName',
225+
'ResourceQuota',
226+
'ResourceSkuLocationInfo',
227+
'ResourceSkuZoneDetails',
228+
'Restriction',
158229
'ScaleSettings',
159230
'ServicePrincipalCredentials',
231+
'SharedPrivateLinkResource',
232+
'Sku',
233+
'SKUCapability',
160234
'SslConfiguration',
161235
'SystemService',
236+
'UpdateWorkspaceQuotas',
237+
'UpdateWorkspaceQuotasResult',
162238
'Usage',
163239
'UsageName',
164240
'UserAccountCredentials',
@@ -169,16 +245,28 @@
169245
'VirtualMachineSizeListResult',
170246
'VirtualMachineSshCredentials',
171247
'Workspace',
248+
'WorkspaceSku',
172249
'WorkspaceUpdateParameters',
173250
'OperationPaged',
174251
'WorkspacePaged',
252+
'AmlUserFeaturePaged',
175253
'UsagePaged',
254+
'ResourceQuotaPaged',
176255
'ComputeResourcePaged',
256+
'WorkspaceSkuPaged',
177257
'ProvisioningState',
258+
'EncryptionStatus',
259+
'PrivateEndpointServiceConnectionStatus',
260+
'PrivateEndpointConnectionProvisioningState',
178261
'UsageUnit',
262+
'QuotaUnit',
263+
'Status',
179264
'ResourceIdentityType',
180265
'VmPriority',
266+
'RemoteLoginPortPublicAccess',
181267
'AllocationState',
268+
'NodeState',
182269
'ComputeType',
270+
'ReasonCode',
183271
'UnderlyingResourceAction',
184272
]

0 commit comments

Comments
 (0)