azure-mgmt-workloads-1.0.0b3
توضیحات
Microsoft Azure Workloads Management Client Library for Python
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | azure-mgmt-workloads-1.0.0b3 |
| نام | azure-mgmt-workloads |
| نسخه کتابخانه | 1.0.0b3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Microsoft Corporation |
| ایمیل نویسنده | azpysdkhelp@microsoft.com |
| آدرس صفحه اصلی | https://github.com/Azure/azure-sdk-for-python |
| آدرس اینترنتی | https://pypi.org/project/azure-mgmt-workloads/ |
| مجوز | MIT 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.

# 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
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl azure-mgmt-workloads-1.0.0b3:
pip install azure-mgmt-workloads-1.0.0b3.whl
نصب پکیج tar.gz azure-mgmt-workloads-1.0.0b3:
pip install azure-mgmt-workloads-1.0.0b3.tar.gz