Skip to main content

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

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.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


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-workloads-1.0.0b3.zip (159.7 kB view details)

Uploaded Source

Built Distribution

azure_mgmt_workloads-1.0.0b3-py3-none-any.whl (150.0 kB view details)

Uploaded Python 3

File details

Details for the file azure-mgmt-workloads-1.0.0b3.zip.

File metadata

  • Download URL: azure-mgmt-workloads-1.0.0b3.zip
  • Upload date:
  • Size: 159.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.16

File hashes

Hashes for azure-mgmt-workloads-1.0.0b3.zip
Algorithm Hash digest
SHA256 7cdfe24d7525fe8ca8bd93182b23b5dc3b3511dbc3bb5f7937fca5fa2c6df175
MD5 e54f78e40e02b4a04f74de7b365733da
BLAKE2b-256 5389453ca7768d8c8e321618b59fe6d766ef5aeec7fcd7a47338a4b7459efbcd

See more details on using hashes here.

Provenance

File details

Details for the file azure_mgmt_workloads-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: azure_mgmt_workloads-1.0.0b3-py3-none-any.whl
  • Upload date:
  • Size: 150.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.28.2 setuptools/58.1.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.9.16

File hashes

Hashes for azure_mgmt_workloads-1.0.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 0af023b031c22c24629f7538755d5e13efd102b727e2a965f289ed0e9af9f9de
MD5 420d73e9767f3ad412f73420c071294f
BLAKE2b-256 14a8b54cb50de270af14656404330dd9759f093174aa986dad81994322f1581c

See more details on using hashes here.

Provenance

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