Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ReleasePR azure-mgmt-machinelearningservices] Replace linkedWorkspaces with linkedService in 2020-09-01-preview #13335

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 12 additions & 21 deletions sdk/machinelearning/azure-mgmt-machinelearningservices/README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,21 @@
## Microsoft Azure SDK for Python
# Microsoft Azure SDK for Python

This is the Microsoft Azure Machine Learning Services Management Client
Library.
This is the Microsoft Azure Machine Learning Services Management Client Library.
This package has been tested with Python 2.7, 3.5, 3.6, 3.7 and 3.8.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

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

This package has been tested with Python 2.7, 3.5, 3.6 and 3.7.
# Usage

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

For a more complete set of Azure libraries, see the
[azure sdk python release](https://aka.ms/azsdk/python/all).

## Usage
# Provide Feedback

For code examples, see [Machine Learning Services
Management](https://docs.microsoft.com/python/api/overview/azure/) on
docs.microsoft.com.

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in
the [Issues](https://github.com/Azure/azure-sdk-for-python/issues)
If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project.

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

![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-machinelearningservices%2FREADME.png)
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,22 @@
from msrest import Serializer, Deserializer

from ._configuration import AzureMachineLearningWorkspacesConfiguration
from .operations import AzureMachineLearningWorkspacesOperationsMixin
from .operations import Operations
from .operations import WorkspacesOperations
from .operations import WorkspaceFeaturesOperations
from .operations import NotebooksOperations
from .operations import UsagesOperations
from .operations import VirtualMachineSizesOperations
from .operations import QuotasOperations
from .operations import WorkspaceConnectionsOperations
from .operations import MachineLearningComputeOperations
from .operations import PrivateEndpointConnectionsOperations
from .operations import PrivateLinkResourcesOperations
from . import models


class AzureMachineLearningWorkspaces(SDKClient):
class AzureMachineLearningWorkspaces(AzureMachineLearningWorkspacesOperationsMixin, SDKClient):
"""These APIs allow end users to operate on Azure Machine Learning Workspace resources.

:ivar config: Configuration for client.
Expand All @@ -31,12 +38,24 @@ 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 notebooks: Notebooks operations
:vartype notebooks: azure.mgmt.machinelearningservices.operations.NotebooksOperations
: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 workspace_connections: WorkspaceConnections operations
:vartype workspace_connections: azure.mgmt.machinelearningservices.operations.WorkspaceConnectionsOperations
:ivar machine_learning_compute: MachineLearningCompute operations
:vartype machine_learning_compute: azure.mgmt.machinelearningservices.operations.MachineLearningComputeOperations
: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

:param credentials: Credentials needed for the client to connect to Azure.
:type credentials: :mod:`A msrestazure Credentials
Expand All @@ -53,17 +72,29 @@ 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 = '2020-06-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.notebooks = NotebooksOperations(
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.workspace_connections = WorkspaceConnectionsOperations(
self._client, self.config, self._serialize, self._deserialize)
self.machine_learning_compute = MachineLearningComputeOperations(
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)
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,15 @@
from ._models_py3 import AmlComputeNodeInformation
from ._models_py3 import AmlComputeNodesInformation
from ._models_py3 import AmlComputeProperties
from ._models_py3 import AmlUserFeature
from ._models_py3 import ClusterUpdateParameters
from ._models_py3 import Compute
from ._models_py3 import ComputeInstance
from ._models_py3 import ComputeInstanceApplication
from ._models_py3 import ComputeInstanceConnectivityEndpoints
from ._models_py3 import ComputeInstanceCreatedBy
from ._models_py3 import ComputeInstanceProperties
from ._models_py3 import ComputeInstanceSshSettings
from ._models_py3 import ComputeNodesInformation
from ._models_py3 import ComputeResource
from ._models_py3 import ComputeSecrets
Expand All @@ -29,24 +36,47 @@
from ._models_py3 import DataFactory
from ._models_py3 import DataLakeAnalytics
from ._models_py3 import DataLakeAnalyticsProperties
from ._models_py3 import EncryptionProperty
from ._models_py3 import ErrorDetail
from ._models_py3 import ErrorResponse
from ._models_py3 import ErrorResponse, ErrorResponseException
from ._models_py3 import HDInsight
from ._models_py3 import HDInsightProperties
from ._models_py3 import Identity
from ._models_py3 import IdentityUserAssignedIdentitiesValue
from ._models_py3 import KeyVaultProperties
from ._models_py3 import ListWorkspaceKeysResult
from ._models_py3 import MachineLearningServiceError, MachineLearningServiceErrorException
from ._models_py3 import NodeStateCounts
from ._models_py3 import NotebookListCredentialsResult
from ._models_py3 import NotebookPreparationError
from ._models_py3 import NotebookResourceInfo
from ._models_py3 import Operation
from ._models_py3 import OperationDisplay
from ._models_py3 import Password
from ._models_py3 import PrivateEndpoint
from ._models_py3 import PrivateEndpointConnection
from ._models_py3 import PrivateLinkResource
from ._models_py3 import PrivateLinkResourceListResult
from ._models_py3 import PrivateLinkServiceConnectionState
from ._models_py3 import QuotaBaseProperties
from ._models_py3 import QuotaUpdateParameters
from ._models_py3 import RegistryListCredentialsResult
from ._models_py3 import Resource
from ._models_py3 import ResourceId
from ._models_py3 import ResourceName
from ._models_py3 import ResourceQuota
from ._models_py3 import ResourceSkuLocationInfo
from ._models_py3 import ResourceSkuZoneDetails
from ._models_py3 import Restriction
from ._models_py3 import ScaleSettings
from ._models_py3 import ServicePrincipalCredentials
from ._models_py3 import SharedPrivateLinkResource
from ._models_py3 import Sku
from ._models_py3 import SKUCapability
from ._models_py3 import SslConfiguration
from ._models_py3 import SystemService
from ._models_py3 import UpdateWorkspaceQuotas
from ._models_py3 import UpdateWorkspaceQuotasResult
from ._models_py3 import Usage
from ._models_py3 import UsageName
from ._models_py3 import UserAccountCredentials
Expand All @@ -57,6 +87,9 @@
from ._models_py3 import VirtualMachineSizeListResult
from ._models_py3 import VirtualMachineSshCredentials
from ._models_py3 import Workspace
from ._models_py3 import WorkspaceConnection
from ._models_py3 import WorkspaceConnectionDto
from ._models_py3 import WorkspaceSku
from ._models_py3 import WorkspaceUpdateParameters
except (SyntaxError, ImportError):
from ._models import AKS
Expand All @@ -67,8 +100,15 @@
from ._models import AmlComputeNodeInformation
from ._models import AmlComputeNodesInformation
from ._models import AmlComputeProperties
from ._models import AmlUserFeature
from ._models import ClusterUpdateParameters
from ._models import Compute
from ._models import ComputeInstance
from ._models import ComputeInstanceApplication
from ._models import ComputeInstanceConnectivityEndpoints
from ._models import ComputeInstanceCreatedBy
from ._models import ComputeInstanceProperties
from ._models import ComputeInstanceSshSettings
from ._models import ComputeNodesInformation
from ._models import ComputeResource
from ._models import ComputeSecrets
Expand All @@ -78,24 +118,47 @@
from ._models import DataFactory
from ._models import DataLakeAnalytics
from ._models import DataLakeAnalyticsProperties
from ._models import EncryptionProperty
from ._models import ErrorDetail
from ._models import ErrorResponse
from ._models import ErrorResponse, ErrorResponseException
from ._models import HDInsight
from ._models import HDInsightProperties
from ._models import Identity
from ._models import IdentityUserAssignedIdentitiesValue
from ._models import KeyVaultProperties
from ._models import ListWorkspaceKeysResult
from ._models import MachineLearningServiceError, MachineLearningServiceErrorException
from ._models import NodeStateCounts
from ._models import NotebookListCredentialsResult
from ._models import NotebookPreparationError
from ._models import NotebookResourceInfo
from ._models import Operation
from ._models import OperationDisplay
from ._models import Password
from ._models import PrivateEndpoint
from ._models import PrivateEndpointConnection
from ._models import PrivateLinkResource
from ._models import PrivateLinkResourceListResult
from ._models import PrivateLinkServiceConnectionState
from ._models import QuotaBaseProperties
from ._models import QuotaUpdateParameters
from ._models import RegistryListCredentialsResult
from ._models import Resource
from ._models import ResourceId
from ._models import ResourceName
from ._models import ResourceQuota
from ._models import ResourceSkuLocationInfo
from ._models import ResourceSkuZoneDetails
from ._models import Restriction
from ._models import ScaleSettings
from ._models import ServicePrincipalCredentials
from ._models import SharedPrivateLinkResource
from ._models import Sku
from ._models import SKUCapability
from ._models import SslConfiguration
from ._models import SystemService
from ._models import UpdateWorkspaceQuotas
from ._models import UpdateWorkspaceQuotasResult
from ._models import Usage
from ._models import UsageName
from ._models import UserAccountCredentials
Expand All @@ -106,18 +169,36 @@
from ._models import VirtualMachineSizeListResult
from ._models import VirtualMachineSshCredentials
from ._models import Workspace
from ._models import WorkspaceConnection
from ._models import WorkspaceConnectionDto
from ._models import WorkspaceSku
from ._models import WorkspaceUpdateParameters
from ._paged_models import AmlUserFeaturePaged
from ._paged_models import ComputeResourcePaged
from ._paged_models import OperationPaged
from ._paged_models import ResourceQuotaPaged
from ._paged_models import UsagePaged
from ._paged_models import WorkspaceConnectionPaged
from ._paged_models import WorkspacePaged
from ._paged_models import WorkspaceSkuPaged
from ._azure_machine_learning_workspaces_enums import (
ProvisioningState,
EncryptionStatus,
PrivateEndpointServiceConnectionStatus,
PrivateEndpointConnectionProvisioningState,
UsageUnit,
QuotaUnit,
Status,
ResourceIdentityType,
VmPriority,
RemoteLoginPortPublicAccess,
AllocationState,
ApplicationSharingPolicy,
SshPublicAccess,
ComputeInstanceState,
NodeState,
ComputeType,
ReasonCode,
UnderlyingResourceAction,
)

Expand All @@ -130,8 +211,15 @@
'AmlComputeNodeInformation',
'AmlComputeNodesInformation',
'AmlComputeProperties',
'AmlUserFeature',
'ClusterUpdateParameters',
'Compute',
'ComputeInstance',
'ComputeInstanceApplication',
'ComputeInstanceConnectivityEndpoints',
'ComputeInstanceCreatedBy',
'ComputeInstanceProperties',
'ComputeInstanceSshSettings',
'ComputeNodesInformation',
'ComputeResource',
'ComputeSecrets',
Expand All @@ -141,24 +229,47 @@
'DataFactory',
'DataLakeAnalytics',
'DataLakeAnalyticsProperties',
'EncryptionProperty',
'ErrorDetail',
'ErrorResponse',
'ErrorResponse', 'ErrorResponseException',
'HDInsight',
'HDInsightProperties',
'Identity',
'IdentityUserAssignedIdentitiesValue',
'KeyVaultProperties',
'ListWorkspaceKeysResult',
'MachineLearningServiceError', 'MachineLearningServiceErrorException',
'NodeStateCounts',
'NotebookListCredentialsResult',
'NotebookPreparationError',
'NotebookResourceInfo',
'Operation',
'OperationDisplay',
'Password',
'PrivateEndpoint',
'PrivateEndpointConnection',
'PrivateLinkResource',
'PrivateLinkResourceListResult',
'PrivateLinkServiceConnectionState',
'QuotaBaseProperties',
'QuotaUpdateParameters',
'RegistryListCredentialsResult',
'Resource',
'ResourceId',
'ResourceName',
'ResourceQuota',
'ResourceSkuLocationInfo',
'ResourceSkuZoneDetails',
'Restriction',
'ScaleSettings',
'ServicePrincipalCredentials',
'SharedPrivateLinkResource',
'Sku',
'SKUCapability',
'SslConfiguration',
'SystemService',
'UpdateWorkspaceQuotas',
'UpdateWorkspaceQuotasResult',
'Usage',
'UsageName',
'UserAccountCredentials',
Expand All @@ -169,16 +280,34 @@
'VirtualMachineSizeListResult',
'VirtualMachineSshCredentials',
'Workspace',
'WorkspaceConnection',
'WorkspaceConnectionDto',
'WorkspaceSku',
'WorkspaceUpdateParameters',
'OperationPaged',
'WorkspacePaged',
'AmlUserFeaturePaged',
'UsagePaged',
'ResourceQuotaPaged',
'WorkspaceConnectionPaged',
'ComputeResourcePaged',
'WorkspaceSkuPaged',
'ProvisioningState',
'EncryptionStatus',
'PrivateEndpointServiceConnectionStatus',
'PrivateEndpointConnectionProvisioningState',
'UsageUnit',
'QuotaUnit',
'Status',
'ResourceIdentityType',
'VmPriority',
'RemoteLoginPortPublicAccess',
'AllocationState',
'ApplicationSharingPolicy',
'SshPublicAccess',
'ComputeInstanceState',
'NodeState',
'ComputeType',
'ReasonCode',
'UnderlyingResourceAction',
]
Loading