Microsoft Azure Elastic Management Client Library for Python
Project description
Microsoft Azure SDK for Python
This is the Microsoft Azure Elastic Management Client Library. This package has been tested with Python 3.8+. 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
- Python 3.8+ is required to use this package.
- Azure subscription
Install the package
pip install azure-mgmt-elastic
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.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 on docs.microsoft.com
- Azure Python Mgmt SDK 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.
Release History
1.1.0b4 (2024-10-23)
Features Added
- Model
MicrosoftElastic
added propertymonitored_subscriptions
- Model
MicrosoftElastic
added propertybilling_info
- Model
MicrosoftElastic
added propertyconnected_partner_resources
- Model
MicrosoftElastic
added propertyopen_ai
- Model
DeploymentInfoResponse
added propertyelasticsearch_end_point
- Model
MarketplaceSaaSInfo
added propertymarketplace_status
- Model
MarketplaceSaaSInfo
added propertybilled_azure_subscription_id
- Model
MarketplaceSaaSInfo
added propertysubscribed
- Model
MarketplaceSaaSInfoMarketplaceSubscription
added propertypublisher_id
- Model
MarketplaceSaaSInfoMarketplaceSubscription
added propertyoffer_id
- Model
MonitorProperties
added propertyplan_details
- Model
MonitorProperties
added propertysubscription_state
- Model
MonitorProperties
added propertysaa_s_azure_subscription_status
- Model
MonitorProperties
added propertysource_campaign_name
- Model
MonitorProperties
added propertysource_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 methodbegin_resubscribe
- Operation group
OrganizationsOperations
added methodget_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
tobegin_update
in Operation groupMonitorsOperations
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file azure_mgmt_elastic-1.1.0b4.tar.gz
.
File metadata
- Download URL: azure_mgmt_elastic-1.1.0b4.tar.gz
- Upload date:
- Size: 85.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0657b5abff4dab0e39e9d02d03ad61c558c7dccd6174134000b0ab0d40c4114 |
|
MD5 | 6ae96052da5abeb684496c2fa4301e5c |
|
BLAKE2b-256 | 3f4cbb66342d5c8aaf8adf6d5035ccfb9a50a24289956eece218dcf905f4e4dc |
File details
Details for the file azure_mgmt_elastic-1.1.0b4-py3-none-any.whl
.
File metadata
- Download URL: azure_mgmt_elastic-1.1.0b4-py3-none-any.whl
- Upload date:
- Size: 184.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: RestSharp/106.13.0.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 839b18168d6b160afad77262648398ce3ff2ce7182fa4d09fdf7b8ddc4b07094 |
|
MD5 | b319ce3b808c65a4e9119d9fbcc6ea2a |
|
BLAKE2b-256 | b6fa313dfc98058bf0ecf652ec827b8c3e24985600b9c7068a394230aaf3e72a |