Package: azure-mgmt-workloads
Microsoft Azure SDK for PythonThis 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 theazure sdk python release.DisclaimerAzure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer tohttps://github.com/Azure/azure-sdk-for-python/issues/20691Getting startedPrerequisitesPython 3.7+ is required to use this package.Azure subscriptionInstall the packagepipinstallazure-mgmt-workloads
pipinstallazure-identityAuthenticationBy default,Azure Active Directorytoken authentication depends on correct configure of following environment variables.AZURE_CLIENT_IDfor Azure client ID.AZURE_TENANT_IDfor Azure tenant ID.AZURE_CLIENT_SECRETfor Azure client secret.In addition, Azure subscription ID can be configured via environment variableAZURE_SUBSCRIPTION_ID.With above configuration, client can be authenticated by following code:fromazure.identityimportDefaultAzureCredentialfromazure.mgmt.workloadsimportWorkloadsClientimportossub_id=os.getenv("AZURE_SUBSCRIPTION_ID")client=WorkloadsClient(credential=DefaultAzureCredential(),subscription_id=sub_id)ExamplesCode samples for this package can be found atWorkloads Managementon docs.microsoft.com andSamples RepoTroubleshootingNext stepsProvide FeedbackIf you encounter any bugs or have suggestions, please file an issue in theIssuessection of the project.Release History1.0.0 (2023-04-19)Breaking ChangesClient name is changed fromWorkloadsClienttoWorkloadsMgmtClientModel ImageReference no longer has parameter exact_versionModel ImageReference no longer has parameter shared_gallery_image_id1.0.0b3 (2023-02-15)Features AddedAdded operation SAPApplicationServerInstancesOperations.begin_start_instanceAdded operation SAPApplicationServerInstancesOperations.begin_stop_instanceAdded operation SAPCentralInstancesOperations.begin_start_instanceAdded operation SAPCentralInstancesOperations.begin_stop_instanceAdded operation SAPDatabaseInstancesOperations.begin_start_instanceAdded operation SAPDatabaseInstancesOperations.begin_stop_instanceAdded operation group SapLandscapeMonitorOperationsModel CentralServerVmDetails has a new parameter storage_detailsModel DatabaseConfiguration has a new parameter disk_configurationModel DatabaseVmDetails has a new parameter storage_detailsModel DiscoveryConfiguration has a new parameter managed_rg_storage_account_nameModel HanaDbProviderInstanceProperties has a new parameter sap_sidModel PrometheusOSProviderInstanceProperties has a new parameter sap_sidModel SAPApplicationServerInstance has a new parameter load_balancer_detailsModel SAPApplicationServerInstance has a new parameter vm_detailsModel SAPCentralServerInstance has a new parameter load_balancer_detailsModel SAPDatabaseInstance has a new parameter load_balancer_detailsModel SAPDiskConfiguration has a new parameter recommended_configurationModel SAPDiskConfiguration has a new parameter supported_configurationsModel SAPDiskConfigurationsResult has a new parameter volume_configurationsModel SingleServerConfiguration has a new parameter custom_resource_namesModel SingleServerConfiguration has a new parameter db_disk_configurationModel StopRequest has a new parameter soft_stop_timeout_secondsModel ThreeTierConfiguration has a new parameter custom_resource_namesModel ThreeTierConfiguration has a new parameter storage_configurationBreaking ChangesModel HanaDbProviderInstanceProperties no longer has parameter db_ssl_certificate_uriModel SAPApplicationServerInstance no longer has parameter virtual_machine_idModel SAPDiskConfiguration no longer has parameter disk_countModel SAPDiskConfiguration no longer has parameter disk_iops_read_writeModel SAPDiskConfiguration no longer has parameter disk_m_bps_read_writeModel SAPDiskConfiguration no longer has parameter disk_size_gbModel SAPDiskConfiguration no longer has parameter disk_storage_typeModel SAPDiskConfiguration no longer has parameter disk_typeModel SAPDiskConfiguration no longer has parameter volumeModel SAPDiskConfigurationsResult no longer has parameter disk_configurationsModel SapNetWeaverProviderInstanceProperties no longer has parameter sap_ssl_certificate_uriModel StopRequest no longer has parameter hard_stopRemoved operation group PhpWorkloadsOperationsRemoved operation group SkusOperationsRemoved operation group WordpressInstancesOperations1.0.0b2 (2022-11-30)Features AddedModel DB2ProviderInstanceProperties has a new parameter ssl_certificate_uriModel DB2ProviderInstanceProperties has a new parameter ssl_preferenceModel HanaDbProviderInstanceProperties has a new parameter ssl_certificate_uriModel HanaDbProviderInstanceProperties has a new parameter ssl_preferenceModel Monitor has a new parameter storage_account_arm_idModel Monitor has a new parameter zone_redundancy_preferenceModel MsSqlServerProviderInstanceProperties has a new parameter ssl_certificate_uriModel MsSqlServerProviderInstanceProperties has a new parameter ssl_preferenceModel PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_certificate_uriModel PrometheusHaClusterProviderInstanceProperties has a new parameter ssl_preferenceModel PrometheusOSProviderInstanceProperties has a new parameter ssl_certificate_uriModel PrometheusOSProviderInstanceProperties has a new parameter ssl_preferenceModel SapNetWeaverProviderInstanceProperties has a new parameter ssl_certificate_uriModel SapNetWeaverProviderInstanceProperties has a new parameter ssl_preference1.0.0b1 (2022-06-30)Initial Release