Skip to main content

Microsoft Azure Machine Learning Services Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Machine Learning Services Management Client Library. This package has been tested with Python 3.7+. For a more complete view of Azure libraries, see the azure sdk python release.

Disclaimer

Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691

Getting started

Prerequisites

Install the package

pip install azure-mgmt-machinelearningservices
pip install azure-identity

Authentication

By default, Azure Active Directory token authentication depends on correct configure of following environment variables.

  • AZURE_CLIENT_ID for Azure client ID.
  • AZURE_TENANT_ID for Azure tenant ID.
  • AZURE_CLIENT_SECRET for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable AZURE_SUBSCRIPTION_ID.

With above configuration, client can be authenticated by following code:

from azure.identity import DefaultAzureCredential
from azure.mgmt.machinelearningservices import MachineLearningServicesMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MachineLearningServicesMgmtClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Examples

Code samples for this package can be found at:

Troubleshooting

Next steps

Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.

Impressions

Release History

2.0.0b2 (2023-05-12)

Features Added

  • Added operation PrivateEndpointConnectionsOperations.create_or_update
  • Added operation PrivateEndpointConnectionsOperations.delete
  • Added operation PrivateEndpointConnectionsOperations.list
  • Added operation PrivateLinkResourcesOperations.list
  • Added operation WorkspacesOperations.begin_diagnose
  • Added operation WorkspacesOperations.begin_prepare_notebook
  • Added operation WorkspacesOperations.list_notebook_access_token
  • Added operation WorkspacesOperations.list_notebook_keys
  • Added operation WorkspacesOperations.list_outbound_network_dependencies_endpoints
  • Added operation WorkspacesOperations.list_storage_account_keys
  • Added operation group BatchDeploymentsOperations
  • Added operation group BatchEndpointsOperations
  • Added operation group CodeContainersOperations
  • Added operation group CodeVersionsOperations
  • Added operation group ComponentContainersOperations
  • Added operation group ComponentVersionsOperations
  • Added operation group ComputeOperations
  • Added operation group DataContainersOperations
  • Added operation group DataVersionsOperations
  • Added operation group DatastoresOperations
  • Added operation group EnvironmentContainersOperations
  • Added operation group EnvironmentVersionsOperations
  • Added operation group JobsOperations
  • Added operation group ModelContainersOperations
  • Added operation group ModelVersionsOperations
  • Added operation group OnlineDeploymentsOperations
  • Added operation group OnlineEndpointsOperations
  • Added operation group RegistriesOperations
  • Added operation group RegistryCodeContainersOperations
  • Added operation group RegistryCodeVersionsOperations
  • Added operation group RegistryComponentContainersOperations
  • Added operation group RegistryComponentVersionsOperations
  • Added operation group RegistryDataContainersOperations
  • Added operation group RegistryDataVersionsOperations
  • Added operation group RegistryEnvironmentContainersOperations
  • Added operation group RegistryEnvironmentVersionsOperations
  • Added operation group RegistryModelContainersOperations
  • Added operation group RegistryModelVersionsOperations
  • Added operation group SchedulesOperations
  • Model AKS has a new parameter disable_local_auth
  • Model AmlCompute has a new parameter disable_local_auth
  • Model AmlComputeProperties has a new parameter enable_node_public_ip
  • Model AmlComputeProperties has a new parameter isolated_network
  • Model AmlComputeProperties has a new parameter os_type
  • Model AmlComputeProperties has a new parameter property_bag
  • Model AmlComputeProperties has a new parameter virtual_machine_image
  • Model ClusterUpdateParameters has a new parameter properties
  • Model Compute has a new parameter disable_local_auth
  • Model ComputeInstance has a new parameter disable_local_auth
  • Model ComputeInstanceLastOperation has a new parameter operation_trigger
  • Model ComputeInstanceProperties has a new parameter compute_instance_authorization_type
  • Model ComputeInstanceProperties has a new parameter containers
  • Model ComputeInstanceProperties has a new parameter custom_services
  • Model ComputeInstanceProperties has a new parameter data_disks
  • Model ComputeInstanceProperties has a new parameter data_mounts
  • Model ComputeInstanceProperties has a new parameter enable_node_public_ip
  • Model ComputeInstanceProperties has a new parameter os_image_metadata
  • Model ComputeInstanceProperties has a new parameter personal_compute_instance_settings
  • Model ComputeInstanceProperties has a new parameter schedules
  • Model ComputeInstanceProperties has a new parameter setup_scripts
  • Model ComputeInstanceProperties has a new parameter versions
  • Model ComputeResource has a new parameter system_data
  • Model DataFactory has a new parameter disable_local_auth
  • Model DataLakeAnalytics has a new parameter disable_local_auth
  • Model Databricks has a new parameter disable_local_auth
  • Model DatabricksProperties has a new parameter workspace_url
  • Model EncryptionProperty has a new parameter identity
  • Model ErrorDetail has a new parameter additional_info
  • Model ErrorDetail has a new parameter details
  • Model ErrorDetail has a new parameter target
  • Model ErrorResponse has a new parameter error
  • Model HDInsight has a new parameter disable_local_auth
  • Model PrivateEndpointConnection has a new parameter identity
  • Model PrivateEndpointConnection has a new parameter location
  • Model PrivateEndpointConnection has a new parameter sku
  • Model PrivateEndpointConnection has a new parameter system_data
  • Model PrivateEndpointConnection has a new parameter tags
  • Model PrivateLinkResource has a new parameter system_data
  • Model QuotaUpdateParameters has a new parameter location
  • Model Resource has a new parameter system_data
  • Model ResourceQuota has a new parameter aml_workspace_location
  • Model Sku has a new parameter capacity
  • Model Sku has a new parameter family
  • Model Sku has a new parameter size
  • Model SslConfiguration has a new parameter leaf_domain_label
  • Model SslConfiguration has a new parameter overwrite_existing_domain
  • Model Usage has a new parameter aml_workspace_location
  • Model VirtualMachine has a new parameter disable_local_auth
  • Model VirtualMachineSizeListResult has a new parameter value
  • Model Workspace has a new parameter ml_flow_tracking_uri
  • Model Workspace has a new parameter primary_user_assigned_identity
  • Model Workspace has a new parameter public_network_access
  • Model Workspace has a new parameter service_managed_resources_settings
  • Model Workspace has a new parameter storage_hns_enabled
  • Model Workspace has a new parameter system_data
  • Model Workspace has a new parameter tenant_id
  • Model Workspace has a new parameter v1_legacy_mode
  • Model WorkspaceUpdateParameters has a new parameter application_insights
  • Model WorkspaceUpdateParameters has a new parameter container_registry
  • Model WorkspaceUpdateParameters has a new parameter identity
  • Model WorkspaceUpdateParameters has a new parameter image_build_compute
  • Model WorkspaceUpdateParameters has a new parameter primary_user_assigned_identity
  • Model WorkspaceUpdateParameters has a new parameter public_network_access
  • Model WorkspaceUpdateParameters has a new parameter service_managed_resources_settings
  • Operation WorkspacesOperations.list_by_resource_group has a new optional parameter skip
  • Operation WorkspacesOperations.list_by_subscription has a new optional parameter skip

Breaking Changes

  • Client name is changed from AzureMachineLearningWorkspaces to MachineLearningServicesMgmtClient
  • Model AmlComputeNodesInformation no longer has parameter compute_type
  • Model ClusterUpdateParameters no longer has parameter scale_settings
  • Model ErrorResponse no longer has parameter code
  • Model ErrorResponse no longer has parameter details
  • Model ErrorResponse no longer has parameter message
  • Model Resource no longer has parameter identity
  • Model Resource no longer has parameter location
  • Model Resource no longer has parameter sku
  • Model Resource no longer has parameter tags
  • Model VirtualMachineSizeListResult no longer has parameter aml_compute
  • Model Workspace no longer has parameter creation_time
  • Operation VirtualMachineSizesOperations.list no longer has parameter compute_type
  • Operation VirtualMachineSizesOperations.list no longer has parameter recommended
  • Operation WorkspacesOperations.list_by_resource_group no longer has parameter skiptoken
  • Operation WorkspacesOperations.list_by_subscription no longer has parameter skiptoken
  • Parameter name of model Sku is now required
  • Removed operation PrivateEndpointConnectionsOperations.begin_delete
  • Removed operation PrivateEndpointConnectionsOperations.put
  • Removed operation PrivateLinkResourcesOperations.list_by_workspace
  • Removed operation group AzureMachineLearningWorkspacesOperationsMixin
  • Removed operation group MachineLearningComputeOperations
  • Removed operation group NotebooksOperations
  • Renamed operation WorkspacesOperations.resync_keys to WorkspacesOperations.begin_resync_keys
  • Renamed operation WorkspacesOperations.update to WorkspacesOperations.begin_update

2.0.0b1 (2022-11-17)

Features Added

  • Added operation PrivateEndpointConnectionsOperations.create_or_update
  • Added operation PrivateEndpointConnectionsOperations.delete
  • Added operation PrivateEndpointConnectionsOperations.list
  • Added operation PrivateLinkResourcesOperations.list
  • Added operation WorkspacesOperations.begin_diagnose
  • Added operation WorkspacesOperations.begin_prepare_notebook
  • Added operation WorkspacesOperations.list_notebook_access_token
  • Added operation WorkspacesOperations.list_notebook_keys
  • Added operation WorkspacesOperations.list_outbound_network_dependencies_endpoints
  • Added operation WorkspacesOperations.list_storage_account_keys
  • Added operation group BatchDeploymentsOperations
  • Added operation group BatchEndpointsOperations
  • Added operation group CodeContainersOperations
  • Added operation group CodeVersionsOperations
  • Added operation group ComponentContainersOperations
  • Added operation group ComponentVersionsOperations
  • Added operation group ComputeOperations
  • Added operation group DataContainersOperations
  • Added operation group DataVersionsOperations
  • Added operation group DatastoresOperations
  • Added operation group EnvironmentContainersOperations
  • Added operation group EnvironmentVersionsOperations
  • Added operation group JobsOperations
  • Added operation group ModelContainersOperations
  • Added operation group ModelVersionsOperations
  • Added operation group OnlineDeploymentsOperations
  • Added operation group OnlineEndpointsOperations
  • Added operation group SchedulesOperations
  • Model AKS has a new parameter disable_local_auth
  • Model AmlCompute has a new parameter disable_local_auth
  • Model AmlComputeProperties has a new parameter enable_node_public_ip
  • Model AmlComputeProperties has a new parameter isolated_network
  • Model AmlComputeProperties has a new parameter os_type
  • Model AmlComputeProperties has a new parameter property_bag
  • Model AmlComputeProperties has a new parameter virtual_machine_image
  • Model ClusterUpdateParameters has a new parameter properties
  • Model Compute has a new parameter disable_local_auth
  • Model ComputeInstance has a new parameter disable_local_auth
  • Model ComputeInstanceLastOperation has a new parameter operation_trigger
  • Model ComputeInstanceProperties has a new parameter compute_instance_authorization_type
  • Model ComputeInstanceProperties has a new parameter containers
  • Model ComputeInstanceProperties has a new parameter data_disks
  • Model ComputeInstanceProperties has a new parameter data_mounts
  • Model ComputeInstanceProperties has a new parameter enable_node_public_ip
  • Model ComputeInstanceProperties has a new parameter personal_compute_instance_settings
  • Model ComputeInstanceProperties has a new parameter schedules
  • Model ComputeInstanceProperties has a new parameter setup_scripts
  • Model ComputeInstanceProperties has a new parameter versions
  • Model ComputeResource has a new parameter system_data
  • Model DataFactory has a new parameter disable_local_auth
  • Model DataLakeAnalytics has a new parameter disable_local_auth
  • Model Databricks has a new parameter disable_local_auth
  • Model DatabricksProperties has a new parameter workspace_url
  • Model EncryptionProperty has a new parameter identity
  • Model ErrorDetail has a new parameter additional_info
  • Model ErrorDetail has a new parameter details
  • Model ErrorDetail has a new parameter target
  • Model ErrorResponse has a new parameter error
  • Model HDInsight has a new parameter disable_local_auth
  • Model PrivateEndpoint has a new parameter subnet_arm_id
  • Model PrivateEndpointConnection has a new parameter identity
  • Model PrivateEndpointConnection has a new parameter location
  • Model PrivateEndpointConnection has a new parameter sku
  • Model PrivateEndpointConnection has a new parameter system_data
  • Model PrivateEndpointConnection has a new parameter tags
  • Model PrivateLinkResource has a new parameter system_data
  • Model QuotaUpdateParameters has a new parameter location
  • Model Resource has a new parameter system_data
  • Model ResourceQuota has a new parameter aml_workspace_location
  • Model Sku has a new parameter capacity
  • Model Sku has a new parameter family
  • Model Sku has a new parameter size
  • Model SslConfiguration has a new parameter leaf_domain_label
  • Model SslConfiguration has a new parameter overwrite_existing_domain
  • Model Usage has a new parameter aml_workspace_location
  • Model VirtualMachine has a new parameter disable_local_auth
  • Model VirtualMachineSizeListResult has a new parameter value
  • Model Workspace has a new parameter ml_flow_tracking_uri
  • Model Workspace has a new parameter primary_user_assigned_identity
  • Model Workspace has a new parameter public_network_access
  • Model Workspace has a new parameter service_managed_resources_settings
  • Model Workspace has a new parameter storage_hns_enabled
  • Model Workspace has a new parameter system_data
  • Model Workspace has a new parameter tenant_id
  • Model Workspace has a new parameter v1_legacy_mode
  • Model WorkspaceUpdateParameters has a new parameter application_insights
  • Model WorkspaceUpdateParameters has a new parameter container_registry
  • Model WorkspaceUpdateParameters has a new parameter identity
  • Model WorkspaceUpdateParameters has a new parameter image_build_compute
  • Model WorkspaceUpdateParameters has a new parameter primary_user_assigned_identity
  • Model WorkspaceUpdateParameters has a new parameter public_network_access
  • Model WorkspaceUpdateParameters has a new parameter service_managed_resources_settings

Breaking Changes

  • Client name is changed from AzureMachineLearningWorkspaces to MachineLearningServicesMgmtClient
  • Model AmlComputeNodesInformation no longer has parameter compute_type
  • Model ClusterUpdateParameters no longer has parameter scale_settings
  • Model ErrorResponse no longer has parameter code
  • Model ErrorResponse no longer has parameter details
  • Model ErrorResponse no longer has parameter message
  • Model Resource no longer has parameter identity
  • Model Resource no longer has parameter location
  • Model Resource no longer has parameter sku
  • Model Resource no longer has parameter tags
  • Model VirtualMachineSizeListResult no longer has parameter aml_compute
  • Model Workspace no longer has parameter creation_time
  • Operation VirtualMachineSizesOperations.list no longer has parameter compute_type
  • Operation VirtualMachineSizesOperations.list no longer has parameter recommended
  • Operation WorkspacesOperations.list_by_resource_group has a new parameter skip
  • Operation WorkspacesOperations.list_by_resource_group no longer has parameter skiptoken
  • Operation WorkspacesOperations.list_by_subscription has a new parameter skip
  • Operation WorkspacesOperations.list_by_subscription no longer has parameter skiptoken
  • Parameter name of model Sku is now required
  • Removed operation PrivateEndpointConnectionsOperations.begin_delete
  • Removed operation PrivateEndpointConnectionsOperations.put
  • Removed operation PrivateLinkResourcesOperations.list_by_workspace
  • Removed operation group AzureMachineLearningWorkspacesOperationsMixin
  • Removed operation group MachineLearningComputeOperations
  • Removed operation group NotebooksOperations
  • Renamed operation WorkspacesOperations.resync_keys to WorkspacesOperations.begin_resync_keys
  • Renamed operation WorkspacesOperations.update to WorkspacesOperations.begin_update

1.0.0 (2020-12-21)

Breaking changes

  • Operation MachineLearningComputeOperations.begin_update has a new signature
  • Operation PrivateEndpointConnectionsOperations.put has a new signature
  • Operation QuotasOperations.update has a new signature
  • Operation PrivateEndpointConnectionsOperations.put has a new signature

1.0.0b1 (2020-10-31)

This is beta preview version. For detailed changelog please refer to equivalent stable version 0.1.0 (https://pypi-hypernode.com/project/azure-mgmt-machinelearningservices/0.1.0/)

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

General breaking changes

  • Credential system has been completly revamped:

  • The config attribute no longer exists on a client, configuration should be passed as kwarg. Example: MyClient(credential, subscription_id, enable_logging=True). For a complete set of supported options, see the parameters accept in init documentation of azure-core

  • You can't import a version module anymore, use __version__ instead

  • Operations that used to return a msrest.polling.LROPoller now returns a azure.core.polling.LROPoller and are prefixed with begin_.

  • Exceptions tree have been simplified and most exceptions are now azure.core.exceptions.HttpResponseError (CloudError has been removed).

  • Most of the operation kwarg have changed. Some of the most noticeable:

General new features

  • Type annotations support using typing. SDKs are mypy ready.
  • This client has now stable and official support for async. Check the aio namespace of your package to find the async client.
  • This client now support natively tracing library like OpenCensus or OpenTelemetry. See this tracing quickstart for an overview.

0.1.0 (2019-06-27)

  • Initial Release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure-mgmt-machinelearningservices-2.0.0b2.zip (513.8 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file azure-mgmt-machinelearningservices-2.0.0b2.zip.

File metadata

File hashes

Hashes for azure-mgmt-machinelearningservices-2.0.0b2.zip
Algorithm Hash digest
SHA256 51ff30917b9621ed3c2fd93dc31213f1aff8ba3ff8ee58043294ef3dc74177aa
MD5 5578ba6e19b1c0c70aebd0852bd20bb6
BLAKE2b-256 1469066eb3ed660ce969bebe2c1bd72e2bb04362fac6faa8a291d832b5acf10e

See more details on using hashes here.

File details

Details for the file azure_mgmt_machinelearningservices-2.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_machinelearningservices-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 8a73d4d71ba84e75b054ce08ac0d8b853f86cc2280ff1cf59408babf045bd7d6
MD5 5399545452bb138a0d1bb0a1641a3d93
BLAKE2b-256 34e9b38a31f9ab05e5dd4f3fdc301bda88918077b0086d81e57446fcfc8a6ac4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page