Skip to main content

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

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.

Impressions

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

Metadata

Release files for azure-mgmt-workloads 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for azure-mgmt-workloads 1.0.0
File Size Uploaded Provenance Actions
azure-mgmt-workloads-1.0.0.zip 160.2 kB Without provenance Details for azure-mgmt-workloads-1.0.0.zip

Built distribution (wheel)

Table of built distributions (wheels) for azure-mgmt-workloads 1.0.0
File Interpreter ABI Platform Actions
azure_mgmt_workloads-1.0.0-py3-none-any.whl Python 3 none any Details for azure_mgmt_workloads-1.0.0-py3-none-any.whl

Total release size: 310.8 kB

Release files / azure-mgmt-workloads-1.0.0.zip

Download URL azure-mgmt-workloads-1.0.0.zip
Size 160.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6c16b58bea76619650636e9a5ab6ad19889cfe4cd1b84204e432ec364984ea19
BLAKE2b-256 checksum
How to use checksums
2f9462fffdd5d2d795d84c79be321d3a84e4f0811e356e19c90641d3ed6c07ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Release files / azure_mgmt_workloads-1.0.0-py3-none-any.whl

Download URL azure_mgmt_workloads-1.0.0-py3-none-any.whl
Size 150.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0de03b91229a7c14591ce92639b6ea6c64ea943839c0249af6813bf602ea484b
BLAKE2b-256 checksum
How to use checksums
cef391b1a5fdff7a7f0cc8bdfc9a7177f1c1dbab909f857a5ba4cc837650635e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via RestSharp/106.13.0.0

Security for azure-mgmt-workloads 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page