Skip to content

Commit fe39eeb

Browse files
author
SDK Automation
committed
Update from master
1 parent e6ddd44 commit fe39eeb

19 files changed

+2700
-99
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-03-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: 88 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,43 @@
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 KeyVaultProperties
3740
from ._models_py3 import ListWorkspaceKeysResult
3841
from ._models_py3 import MachineLearningServiceError, MachineLearningServiceErrorException
3942
from ._models_py3 import NodeStateCounts
4043
from ._models_py3 import Operation
4144
from ._models_py3 import OperationDisplay
4245
from ._models_py3 import Password
46+
from ._models_py3 import PrivateEndpoint
47+
from ._models_py3 import PrivateEndpointConnection
48+
from ._models_py3 import PrivateLinkResource
49+
from ._models_py3 import PrivateLinkResourceListResult
50+
from ._models_py3 import PrivateLinkServiceConnectionState
51+
from ._models_py3 import QuotaBaseProperties
52+
from ._models_py3 import QuotaUpdateParameters
4353
from ._models_py3 import RegistryListCredentialsResult
4454
from ._models_py3 import Resource
4555
from ._models_py3 import ResourceId
56+
from ._models_py3 import ResourceName
57+
from ._models_py3 import ResourceQuota
58+
from ._models_py3 import ResourceSkuLocationInfo
59+
from ._models_py3 import ResourceSkuZoneDetails
60+
from ._models_py3 import Restriction
4661
from ._models_py3 import ScaleSettings
4762
from ._models_py3 import ServicePrincipalCredentials
63+
from ._models_py3 import SharedPrivateLinkResource
64+
from ._models_py3 import Sku
65+
from ._models_py3 import SKUCapability
4866
from ._models_py3 import SslConfiguration
4967
from ._models_py3 import SystemService
68+
from ._models_py3 import UpdateWorkspaceQuotas
69+
from ._models_py3 import UpdateWorkspaceQuotasResult
5070
from ._models_py3 import Usage
5171
from ._models_py3 import UsageName
5272
from ._models_py3 import UserAccountCredentials
@@ -57,6 +77,7 @@
5777
from ._models_py3 import VirtualMachineSizeListResult
5878
from ._models_py3 import VirtualMachineSshCredentials
5979
from ._models_py3 import Workspace
80+
from ._models_py3 import WorkspaceSku
6081
from ._models_py3 import WorkspaceUpdateParameters
6182
except (SyntaxError, ImportError):
6283
from ._models import AKS
@@ -67,6 +88,7 @@
6788
from ._models import AmlComputeNodeInformation
6889
from ._models import AmlComputeNodesInformation
6990
from ._models import AmlComputeProperties
91+
from ._models import AmlUserFeature
7092
from ._models import ClusterUpdateParameters
7193
from ._models import Compute
7294
from ._models import ComputeNodesInformation
@@ -78,24 +100,43 @@
78100
from ._models import DataFactory
79101
from ._models import DataLakeAnalytics
80102
from ._models import DataLakeAnalyticsProperties
103+
from ._models import EncryptionProperty
81104
from ._models import ErrorDetail
82-
from ._models import ErrorResponse
105+
from ._models import ErrorResponse, ErrorResponseException
83106
from ._models import HDInsight
84107
from ._models import HDInsightProperties
85108
from ._models import Identity
109+
from ._models import KeyVaultProperties
86110
from ._models import ListWorkspaceKeysResult
87111
from ._models import MachineLearningServiceError, MachineLearningServiceErrorException
88112
from ._models import NodeStateCounts
89113
from ._models import Operation
90114
from ._models import OperationDisplay
91115
from ._models import Password
116+
from ._models import PrivateEndpoint
117+
from ._models import PrivateEndpointConnection
118+
from ._models import PrivateLinkResource
119+
from ._models import PrivateLinkResourceListResult
120+
from ._models import PrivateLinkServiceConnectionState
121+
from ._models import QuotaBaseProperties
122+
from ._models import QuotaUpdateParameters
92123
from ._models import RegistryListCredentialsResult
93124
from ._models import Resource
94125
from ._models import ResourceId
126+
from ._models import ResourceName
127+
from ._models import ResourceQuota
128+
from ._models import ResourceSkuLocationInfo
129+
from ._models import ResourceSkuZoneDetails
130+
from ._models import Restriction
95131
from ._models import ScaleSettings
96132
from ._models import ServicePrincipalCredentials
133+
from ._models import SharedPrivateLinkResource
134+
from ._models import Sku
135+
from ._models import SKUCapability
97136
from ._models import SslConfiguration
98137
from ._models import SystemService
138+
from ._models import UpdateWorkspaceQuotas
139+
from ._models import UpdateWorkspaceQuotasResult
99140
from ._models import Usage
100141
from ._models import UsageName
101142
from ._models import UserAccountCredentials
@@ -106,18 +147,30 @@
106147
from ._models import VirtualMachineSizeListResult
107148
from ._models import VirtualMachineSshCredentials
108149
from ._models import Workspace
150+
from ._models import WorkspaceSku
109151
from ._models import WorkspaceUpdateParameters
152+
from ._paged_models import AmlUserFeaturePaged
110153
from ._paged_models import ComputeResourcePaged
111154
from ._paged_models import OperationPaged
155+
from ._paged_models import ResourceQuotaPaged
112156
from ._paged_models import UsagePaged
113157
from ._paged_models import WorkspacePaged
158+
from ._paged_models import WorkspaceSkuPaged
114159
from ._azure_machine_learning_workspaces_enums import (
115160
ProvisioningState,
161+
EncryptionStatus,
162+
PrivateEndpointServiceConnectionStatus,
163+
PrivateEndpointConnectionProvisioningState,
116164
UsageUnit,
165+
QuotaUnit,
166+
Status,
117167
ResourceIdentityType,
118168
VmPriority,
169+
RemoteLoginPortPublicAccess,
119170
AllocationState,
171+
NodeState,
120172
ComputeType,
173+
ReasonCode,
121174
UnderlyingResourceAction,
122175
)
123176

@@ -130,6 +183,7 @@
130183
'AmlComputeNodeInformation',
131184
'AmlComputeNodesInformation',
132185
'AmlComputeProperties',
186+
'AmlUserFeature',
133187
'ClusterUpdateParameters',
134188
'Compute',
135189
'ComputeNodesInformation',
@@ -141,24 +195,43 @@
141195
'DataFactory',
142196
'DataLakeAnalytics',
143197
'DataLakeAnalyticsProperties',
198+
'EncryptionProperty',
144199
'ErrorDetail',
145-
'ErrorResponse',
200+
'ErrorResponse', 'ErrorResponseException',
146201
'HDInsight',
147202
'HDInsightProperties',
148203
'Identity',
204+
'KeyVaultProperties',
149205
'ListWorkspaceKeysResult',
150206
'MachineLearningServiceError', 'MachineLearningServiceErrorException',
151207
'NodeStateCounts',
152208
'Operation',
153209
'OperationDisplay',
154210
'Password',
211+
'PrivateEndpoint',
212+
'PrivateEndpointConnection',
213+
'PrivateLinkResource',
214+
'PrivateLinkResourceListResult',
215+
'PrivateLinkServiceConnectionState',
216+
'QuotaBaseProperties',
217+
'QuotaUpdateParameters',
155218
'RegistryListCredentialsResult',
156219
'Resource',
157220
'ResourceId',
221+
'ResourceName',
222+
'ResourceQuota',
223+
'ResourceSkuLocationInfo',
224+
'ResourceSkuZoneDetails',
225+
'Restriction',
158226
'ScaleSettings',
159227
'ServicePrincipalCredentials',
228+
'SharedPrivateLinkResource',
229+
'Sku',
230+
'SKUCapability',
160231
'SslConfiguration',
161232
'SystemService',
233+
'UpdateWorkspaceQuotas',
234+
'UpdateWorkspaceQuotasResult',
162235
'Usage',
163236
'UsageName',
164237
'UserAccountCredentials',
@@ -169,16 +242,28 @@
169242
'VirtualMachineSizeListResult',
170243
'VirtualMachineSshCredentials',
171244
'Workspace',
245+
'WorkspaceSku',
172246
'WorkspaceUpdateParameters',
173247
'OperationPaged',
174248
'WorkspacePaged',
249+
'AmlUserFeaturePaged',
175250
'UsagePaged',
251+
'ResourceQuotaPaged',
176252
'ComputeResourcePaged',
253+
'WorkspaceSkuPaged',
177254
'ProvisioningState',
255+
'EncryptionStatus',
256+
'PrivateEndpointServiceConnectionStatus',
257+
'PrivateEndpointConnectionProvisioningState',
178258
'UsageUnit',
259+
'QuotaUnit',
260+
'Status',
179261
'ResourceIdentityType',
180262
'VmPriority',
263+
'RemoteLoginPortPublicAccess',
181264
'AllocationState',
265+
'NodeState',
182266
'ComputeType',
267+
'ReasonCode',
183268
'UnderlyingResourceAction',
184269
]

0 commit comments

Comments
 (0)