Metadata-Version: 2.1
Name: azure-mgmt-workloads
Version: 1.0.0
Summary: Microsoft Azure Workloads Management Client Library for Python
Home-page: https://github.com/Azure/azure-sdk-for-python
Author: Microsoft Corporation
Author-email: azpysdkhelp@microsoft.com
License: MIT License
Keywords: azure,azure sdk
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: License :: OSI Approved :: MIT License
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE

# 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
