Microsoft Azure Workloads Management Client Library for Python
Project description
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.
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
Install the package
pip install azure-mgmt-workloads
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.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 on docs.microsoft.com and Samples Repo
Troubleshooting
Next steps
Provide Feedback
If you encounter any bugs or have suggestions, please file an issue in the Issues section of the project.
Release History
1.0.0 (2023-04-19)
Breaking Changes
- Client name is changed from
WorkloadsClient
toWorkloadsMgmtClient
- 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure-mgmt-workloads-1.0.0.zip
.
File metadata
- Download URL: azure-mgmt-workloads-1.0.0.zip
- Upload date:
- Size: 160.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c16b58bea76619650636e9a5ab6ad19889cfe4cd1b84204e432ec364984ea19 |
|
MD5 | 4da4bf29795e3008da3b0f37629d9e51 |
|
BLAKE2b-256 | 2f9462fffdd5d2d795d84c79be321d3a84e4f0811e356e19c90641d3ed6c07ce |
File details
Details for the file azure_mgmt_workloads-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_workloads-1.0.0-py3-none-any.whl
- Upload date:
- Size: 150.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0de03b91229a7c14591ce92639b6ea6c64ea943839c0249af6813bf602ea484b |
|
MD5 | 8238b2b19a01a79baf30173f49646f01 |
|
BLAKE2b-256 | cef391b1a5fdff7a7f0cc8bdfc9a7177f1c1dbab909f857a5ba4cc837650635e |