Skip to main content

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

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:

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

azure_mgmt_elastic-1.1.0b4.tar.gz (85.8 kB view hashes)

Uploaded Source

Built Distribution

azure_mgmt_elastic-1.1.0b4-py3-none-any.whl (184.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page