# Microsoft Azure SDK for Python
This is the Microsoft Azure Workloads 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](https://aka.ms/azsdk/python/all).
## _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
- Python 3.7+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)
### Install the package
```bash
pip install azure-mgmt-workloads
pip install azure-identity
```
### Authentication
By default, [Azure Active Directory](https://aka.ms/awps/aad) 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:
```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.workloads import WorkloadsClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = WorkloadsClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```
## Examples
Code samples for this package can be found at [Workloads Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)
## Troubleshooting
## Next steps
## 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)
section of the project.
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-workloads%2FREADME.png)
# Release History
## 1.0.0 (2023-04-19)
### Breaking Changes
- Client name is changed from `WorkloadsClient` to `WorkloadsMgmtClient`
- Model ImageReference no longer has parameter exact_version
- Model ImageReference no longer has parameter shared_gallery_image_id
## 1.0.0b3 (2023-02-15)
### Features Added
- Added operation SAPApplicationServerInstancesOperations.begin_start_instance
- Added operation SAPApplicationServerInstancesOperations.begin_stop_instance
- Added operation SAPCentralInstancesOperations.begin_start_instance
- Added operation SAPCentralInstancesOperations.begin_stop_instance
- Added operation SAPDatabaseInstancesOperations.begin_start_instance
- Added operation SAPDatabaseInstancesOperations.begin_stop_instance
- Added operation group SapLandscapeMonitorOperations
- Model CentralServerVmDetails has a new parameter storage_details
- Model DatabaseConfiguration has a new parameter disk_configuration
- Model DatabaseVmDetails has a new parameter storage_details
- Model DiscoveryConfiguration has a new parameter managed_rg_storage_account_name
- Model HanaDbProviderInstanceProperties has a new parameter sap_sid
- Model PrometheusOSProviderInstanceProperties has a new parameter sap_sid
- Model SAPApplicationServerInstance has a new parameter load_balancer_details
- Model SAPApplicationServerInstance has a new parameter vm_details
- Model SAPCentralServerInstance has a new parameter load_balancer_details
- Model SAPDatabaseInstance has a new parameter load_balancer_details
- Model SAPDiskConfiguration has a new parameter recommended_configuration
- Model SAPDiskConfiguration has a new parameter supported_configurations
- Model SAPDiskConfigurationsResult has a new parameter volume_configurations
- Model SingleServerConfiguration has a new parameter custom_resource_names
- Model SingleServerConfiguration has a new parameter db_disk_configuration
- Model StopRequest has a new parameter soft_stop_timeout_seconds
- Model ThreeTierConfiguration has a new parameter custom_resource_names
- Model ThreeTierConfiguration has a new parameter storage_configuration
### Breaking Changes
- Model HanaDbProviderInstanceProperties no longer has parameter db_ssl_certificate_uri
- Model SAPApplicationServerInstance no longer has parameter virtual_machine_id
- Model SAPDiskConfiguration no longer has parameter disk_count
- Model SAPDiskConfiguration no longer has parameter disk_iops_read_write
- Model SAPDiskConfiguration no longer has parameter disk_m_bps_read_write
- Model SAPDiskConfiguration no longer has parameter disk_size_gb
- Model SAPDiskConfiguration no longer has parameter disk_storage_type
- Model SAPDiskConfiguration no longer has parameter disk_type
- Model SAPDiskConfiguration no longer has parameter volume
- Model SAPDiskConfigurationsResult no longer has parameter disk_configurations
- Model SapNetWeaverProviderInstanceProperties no longer has parameter sap_ssl_certificate_uri
- Model StopRequest no longer has parameter hard_stop
- Removed operation group PhpWorkloadsOperations
- Removed operation group SkusOperations
- Removed operation group WordpressInstancesOperations
## 1.0.0b2 (2022-11-30)
### Features Added
- Model DB2ProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model DB2ProviderInstanceProperties has a new parameter ssl_preference
- Model HanaDbProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model HanaDbProviderInstanceProperties has a new parameter ssl_preference
- Model Monitor has a new parameter storage_account_arm_id
- Model Monitor has a new parameter zone_redundancy_preference
- Model MsSqlServerProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model MsSqlServerProviderInstanceProperties has a new parameter ssl_preference
- Model PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_preference
- Model PrometheusOSProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model PrometheusOSProviderInstanceProperties has a new parameter ssl_preference
- Model SapNetWeaverProviderInstanceProperties has a new parameter ssl_certificate_uri
- Model SapNetWeaverProviderInstanceProperties has a new parameter ssl_preference
## 1.0.0b1 (2022-06-30)
* Initial Release
Raw data
{
"_id": null,
"home_page": "https://github.com/Azure/azure-sdk-for-python",
"name": "azure-mgmt-workloads",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "azure,azure sdk",
"author": "Microsoft Corporation",
"author_email": "azpysdkhelp@microsoft.com",
"download_url": "https://files.pythonhosted.org/packages/2f/94/62fffdd5d2d795d84c79be321d3a84e4f0811e356e19c90641d3ed6c07ce/azure-mgmt-workloads-1.0.0.zip",
"platform": null,
"description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Workloads Management Client Library.\nThis package has been tested with Python 3.7+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_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_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.7+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-workloads\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.workloads import WorkloadsClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = WorkloadsClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\n\nCode samples for this package can be found at [Workloads Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com and [Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-python%2Fazure-mgmt-workloads%2FREADME.png)\n\n\n# Release History\n\n## 1.0.0 (2023-04-19)\n\n### Breaking Changes\n\n - Client name is changed from `WorkloadsClient` to `WorkloadsMgmtClient`\n - Model ImageReference no longer has parameter exact_version\n - Model ImageReference no longer has parameter shared_gallery_image_id\n\n## 1.0.0b3 (2023-02-15)\n\n### Features Added\n\n - Added operation SAPApplicationServerInstancesOperations.begin_start_instance\n - Added operation SAPApplicationServerInstancesOperations.begin_stop_instance\n - Added operation SAPCentralInstancesOperations.begin_start_instance\n - Added operation SAPCentralInstancesOperations.begin_stop_instance\n - Added operation SAPDatabaseInstancesOperations.begin_start_instance\n - Added operation SAPDatabaseInstancesOperations.begin_stop_instance\n - Added operation group SapLandscapeMonitorOperations\n - Model CentralServerVmDetails has a new parameter storage_details\n - Model DatabaseConfiguration has a new parameter disk_configuration\n - Model DatabaseVmDetails has a new parameter storage_details\n - Model DiscoveryConfiguration has a new parameter managed_rg_storage_account_name\n - Model HanaDbProviderInstanceProperties has a new parameter sap_sid\n - Model PrometheusOSProviderInstanceProperties has a new parameter sap_sid\n - Model SAPApplicationServerInstance has a new parameter load_balancer_details\n - Model SAPApplicationServerInstance has a new parameter vm_details\n - Model SAPCentralServerInstance has a new parameter load_balancer_details\n - Model SAPDatabaseInstance has a new parameter load_balancer_details\n - Model SAPDiskConfiguration has a new parameter recommended_configuration\n - Model SAPDiskConfiguration has a new parameter supported_configurations\n - Model SAPDiskConfigurationsResult has a new parameter volume_configurations\n - Model SingleServerConfiguration has a new parameter custom_resource_names\n - Model SingleServerConfiguration has a new parameter db_disk_configuration\n - Model StopRequest has a new parameter soft_stop_timeout_seconds\n - Model ThreeTierConfiguration has a new parameter custom_resource_names\n - Model ThreeTierConfiguration has a new parameter storage_configuration\n\n### Breaking Changes\n\n - Model HanaDbProviderInstanceProperties no longer has parameter db_ssl_certificate_uri\n - Model SAPApplicationServerInstance no longer has parameter virtual_machine_id\n - Model SAPDiskConfiguration no longer has parameter disk_count\n - Model SAPDiskConfiguration no longer has parameter disk_iops_read_write\n - Model SAPDiskConfiguration no longer has parameter disk_m_bps_read_write\n - Model SAPDiskConfiguration no longer has parameter disk_size_gb\n - Model SAPDiskConfiguration no longer has parameter disk_storage_type\n - Model SAPDiskConfiguration no longer has parameter disk_type\n - Model SAPDiskConfiguration no longer has parameter volume\n - Model SAPDiskConfigurationsResult no longer has parameter disk_configurations\n - Model SapNetWeaverProviderInstanceProperties no longer has parameter sap_ssl_certificate_uri\n - Model StopRequest no longer has parameter hard_stop\n - Removed operation group PhpWorkloadsOperations\n - Removed operation group SkusOperations\n - Removed operation group WordpressInstancesOperations\n\n## 1.0.0b2 (2022-11-30)\n\n### Features Added\n\n - Model DB2ProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model DB2ProviderInstanceProperties has a new parameter ssl_preference\n - Model HanaDbProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model HanaDbProviderInstanceProperties has a new parameter ssl_preference\n - Model Monitor has a new parameter storage_account_arm_id\n - Model Monitor has a new parameter zone_redundancy_preference\n - Model MsSqlServerProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model MsSqlServerProviderInstanceProperties has a new parameter ssl_preference\n - Model PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_preference\n - Model PrometheusOSProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model PrometheusOSProviderInstanceProperties has a new parameter ssl_preference\n - Model SapNetWeaverProviderInstanceProperties has a new parameter ssl_certificate_uri\n - Model SapNetWeaverProviderInstanceProperties has a new parameter ssl_preference\n\n## 1.0.0b1 (2022-06-30)\n\n* Initial Release\n",
"bugtrack_url": null,
"license": "MIT License",
"summary": "Microsoft Azure Workloads Management Client Library for Python",
"version": "1.0.0",
"split_keywords": [
"azure",
"azure sdk"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "cef391b1a5fdff7a7f0cc8bdfc9a7177f1c1dbab909f857a5ba4cc837650635e",
"md5": "8238b2b19a01a79baf30173f49646f01",
"sha256": "0de03b91229a7c14591ce92639b6ea6c64ea943839c0249af6813bf602ea484b"
},
"downloads": -1,
"filename": "azure_mgmt_workloads-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8238b2b19a01a79baf30173f49646f01",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 150552,
"upload_time": "2023-04-20T03:21:43",
"upload_time_iso_8601": "2023-04-20T03:21:43.733795Z",
"url": "https://files.pythonhosted.org/packages/ce/f3/91b1a5fdff7a7f0cc8bdfc9a7177f1c1dbab909f857a5ba4cc837650635e/azure_mgmt_workloads-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2f9462fffdd5d2d795d84c79be321d3a84e4f0811e356e19c90641d3ed6c07ce",
"md5": "4da4bf29795e3008da3b0f37629d9e51",
"sha256": "6c16b58bea76619650636e9a5ab6ad19889cfe4cd1b84204e432ec364984ea19"
},
"downloads": -1,
"filename": "azure-mgmt-workloads-1.0.0.zip",
"has_sig": false,
"md5_digest": "4da4bf29795e3008da3b0f37629d9e51",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 160208,
"upload_time": "2023-04-20T03:21:41",
"upload_time_iso_8601": "2023-04-20T03:21:41.526245Z",
"url": "https://files.pythonhosted.org/packages/2f/94/62fffdd5d2d795d84c79be321d3a84e4f0811e356e19c90641d3ed6c07ce/azure-mgmt-workloads-1.0.0.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-20 03:21:41",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "Azure",
"github_project": "azure-sdk-for-python",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"lcname": "azure-mgmt-workloads"
}