azure-mgmt-elastic 2.0.0
Microsoft Azure Elastic Management Client Library for Python
Requires Python: >=3.9
Keywords: azure, azure sdk

# Microsoft Azure SDK for Python

This is the Microsoft Azure Elastic Management Client Library.
This package has been tested with Python 3.9+.
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.9+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-elastic
pip install azure-identity
```

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the 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.elastic import MicrosoftElastic
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = MicrosoftElastic(credential=DefaultAzureCredential(), subscription_id=sub_id)
```

## Examples

Code samples for this package can be found at:
- [Search Elastic Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK 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

## 2.0.0 (2025-11-17)

### Features Added

  - Model `MicrosoftElastic` added parameter `cloud_setting` in method `__init__`
  - Model `MicrosoftElastic` added property `elastic_versions`
  - Model `MicrosoftElastic` added property `monitored_subscriptions`
  - Model `MicrosoftElastic` added property `external_user`
  - Model `MicrosoftElastic` added property `billing_info`
  - Model `MicrosoftElastic` added property `connected_partner_resources`
  - Model `MicrosoftElastic` added property `open_ai`
  - Model `MicrosoftElastic` added property `upgradable_versions`
  - Model `MicrosoftElastic` added property `monitor`
  - Model `MicrosoftElastic` added property `all_traffic_filters`
  - Model `MicrosoftElastic` added property `list_associated_traffic_filters`
  - Model `MicrosoftElastic` added property `create_and_associate_ip_filter`
  - Model `MicrosoftElastic` added property `create_and_associate_pl_filter`
  - Model `MicrosoftElastic` added property `associate_traffic_filter`
  - Model `MicrosoftElastic` added property `detach_and_delete_traffic_filter`
  - Model `MicrosoftElastic` added property `detach_traffic_filter`
  - Model `MicrosoftElastic` added property `traffic_filters`
  - Model `MicrosoftElastic` added property `organizations`
  - Model `DeploymentInfoResponse` added property `elasticsearch_end_point`
  - Model `DeploymentInfoResponse` added property `deployment_url`
  - Model `DeploymentInfoResponse` added property `marketplace_saas_info`
  - Model `DeploymentInfoResponse` added property `project_type`
  - Model `DeploymentInfoResponse` added property `configuration_type`
  - Model `ElasticMonitorResource` added property `kind`
  - Model `MonitorProperties` added property `plan_details`
  - Model `MonitorProperties` added property `version`
  - Model `MonitorProperties` added property `subscription_state`
  - Model `MonitorProperties` added property `saa_s_azure_subscription_status`
  - Model `MonitorProperties` added property `source_campaign_name`
  - Model `MonitorProperties` added property `source_campaign_id`
  - Model `MonitorProperties` added property `generate_api_key`
  - Model `MonitorProperties` added property `hosting_type`
  - Model `MonitorProperties` added property `project_details`
  - Added model `BillingInfoResponse`
  - Added enum `ConfigurationType`
  - Added model `ConnectedPartnerResourceProperties`
  - Added model `ConnectedPartnerResourcesListFormat`
  - Added model `ConnectedPartnerResourcesListResponse`
  - Added model `ElasticMonitorUpgrade`
  - Added model `ElasticOrganizationToAzureSubscriptionMappingResponse`
  - Added model `ElasticOrganizationToAzureSubscriptionMappingResponseProperties`
  - Added model `ElasticTrafficFilter`
  - Added model `ElasticTrafficFilterResponse`
  - Added model `ElasticTrafficFilterRule`
  - Added model `ElasticVersionListFormat`
  - Added model `ElasticVersionListProperties`
  - Added model `ElasticVersionsListResponse`
  - Added model `ErrorAdditionalInfo`
  - Added model `ErrorDetail`
  - Added model `ErrorResponse`
  - Added model `ExternalUserCreationResponse`
  - Added model `ExternalUserInfo`
  - Added enum `HostingType`
  - Added model `MarketplaceSaaSInfo`
  - Added model `MarketplaceSaaSInfoMarketplaceSubscription`
  - Added model `MonitoredSubscription`
  - Added model `MonitoredSubscriptionProperties`
  - Added model `MonitoredSubscriptionPropertiesList`
  - Added model `OpenAIIntegrationProperties`
  - Added model `OpenAIIntegrationRPModel`
  - Added model `OpenAIIntegrationRPModelListResponse`
  - Added model `OpenAIIntegrationStatusResponse`
  - Added model `OpenAIIntegrationStatusResponseProperties`
  - Added enum `Operation`
  - Added model `PartnerBillingEntity`
  - Added model `PlanDetails`
  - Added model `ProjectDetails`
  - Added enum `ProjectType`
  - Added model `ResubscribeProperties`
  - Added enum `Status`
  - Added model `SubscriptionList`
  - Added enum `Type`
  - Added model `UpgradableVersionsList`
  - Added model `UserApiKeyResponse`
  - Added model `UserApiKeyResponseProperties`
  - Added model `UserEmailId`
  - Added operation group `AllTrafficFiltersOperations`
  - Added operation group `AssociateTrafficFilterOperations`
  - Added operation group `BillingInfoOperations`
  - Added operation group `ConnectedPartnerResourcesOperations`
  - Added operation group `CreateAndAssociateIPFilterOperations`
  - Added operation group `CreateAndAssociatePLFilterOperations`
  - Added operation group `DetachAndDeleteTrafficFilterOperations`
  - Added operation group `DetachTrafficFilterOperations`
  - Added operation group `ElasticVersionsOperations`
  - Added operation group `ExternalUserOperations`
  - Added operation group `ListAssociatedTrafficFiltersOperations`
  - Added operation group `MonitorOperations`
  - Added operation group `MonitoredSubscriptionsOperations`
  - Added operation group `OpenAIOperations`
  - Added operation group `OrganizationsOperations`
  - Added operation group `TrafficFiltersOperations`
  - Added operation group `UpgradableVersionsOperations`

### Breaking Changes

  - Deleted or renamed method `MonitorsOperations.update`

## 1.1.0b4 (2024-10-23)

### Features Added

  - Model `MicrosoftElastic` added property `monitored_subscriptions`
  - Model `MicrosoftElastic` added property `billing_info`
  - Model `MicrosoftElastic` added property `connected_partner_resources`
  - Model `MicrosoftElastic` added property `open_ai`
  - Model `DeploymentInfoResponse` added property `elasticsearch_end_point`
  - Model `MarketplaceSaaSInfo` added property `marketplace_status`
  - Model `MarketplaceSaaSInfo` added property `billed_azure_subscription_id`
  - Model `MarketplaceSaaSInfo` added property `subscribed`
  - Model `MarketplaceSaaSInfoMarketplaceSubscription` added property `publisher_id`
  - Model `MarketplaceSaaSInfoMarketplaceSubscription` added property `offer_id`
  - Model `MonitorProperties` added property `plan_details`
  - Model `MonitorProperties` added property `subscription_state`
  - Model `MonitorProperties` added property `saa_s_azure_subscription_status`
  - Model `MonitorProperties` added property `source_campaign_name`
  - Model `MonitorProperties` added property `source_campaign_id`
  - Added model `BillingInfoResponse`
  - Added model `ConnectedPartnerResourceProperties`
  - Added model `ConnectedPartnerResourcesListFormat`
  - Added model `ConnectedPartnerResourcesListResponse`
  - Added model `ElasticOrganizationToAzureSubscriptionMappingResponse`
  - Added model `ElasticOrganizationToAzureSubscriptionMappingResponseProperties`
  - Added model `ErrorAdditionalInfo`
  - Added model `ErrorDetail`
  - Added model `ErrorResponse`
  - Added model `MonitoredSubscription`
  - Added model `MonitoredSubscriptionProperties`
  - Added model `MonitoredSubscriptionPropertiesList`
  - Added model `OpenAIIntegrationProperties`
  - Added model `OpenAIIntegrationRPModel`
  - Added model `OpenAIIntegrationRPModelListResponse`
  - Added model `OpenAIIntegrationStatusResponse`
  - Added model `OpenAIIntegrationStatusResponseProperties`
  - Added enum `Operation`
  - Added model `PartnerBillingEntity`
  - Added model `PlanDetails`
  - Added model `ResubscribeProperties`
  - Added enum `Status`
  - Added model `SubscriptionList`
  - Operation group `OrganizationsOperations` added method `begin_resubscribe`
  - Operation group `OrganizationsOperations` added method `get_elastic_to_azure_subscription_mapping`
  - Added operation group `BillingInfoOperations`
  - Added operation group `ConnectedPartnerResourcesOperations`
  - Added operation group `MonitoredSubscriptionsOperations`
  - Added operation group `OpenAIOperations`

### Breaking Changes

  - Renamed method `update` to `begin_update` in Operation group `MonitorsOperations`

## 1.1.0b3 (2023-05-22)

### Features Added

  - Added operation group ElasticVersionsOperations
  - Model MonitorProperties has a new parameter generate_api_key
  - Model UserApiKeyResponse has a new parameter properties

### Breaking Changes

  - Model ElasticMonitorResource no longer has parameter generate_api_key
  - Model UserApiKeyResponse no longer has parameter api_key
  - Operation OrganizationsOperations.get_api_key no longer has parameter resource_group_name

## 1.1.0b2 (2023-04-20)

### Features Added

  - Added operation group OrganizationsOperations
  - Model DeploymentInfoResponse has a new parameter deployment_url
  - Model DeploymentInfoResponse has a new parameter marketplace_saas_info
  - Model ElasticMonitorResource has a new parameter generate_api_key

## 1.1.0b1 (2022-11-08)

### Features Added

  - Added operation group AllTrafficFiltersOperations
  - Added operation group AssociateTrafficFilterOperations
  - Added operation group CreateAndAssociateIPFilterOperations
  - Added operation group CreateAndAssociatePLFilterOperations
  - Added operation group DetachAndDeleteTrafficFilterOperations
  - Added operation group DetachTrafficFilterOperations
  - Added operation group ExternalUserOperations
  - Added operation group ListAssociatedTrafficFiltersOperations
  - Added operation group MonitorOperations
  - Added operation group TrafficFiltersOperations
  - Added operation group UpgradableVersionsOperations
  - Model MonitorProperties has a new parameter version

## 1.0.0 (2021-08-04)

  - GA Release

## 1.0.0b1 (2021-05-08)

* Initial Release