Skip to main content

Microsoft Azure Newrelicobservability Management Client Library for Python

Project description

Microsoft Azure SDK for Python

This is the Microsoft Azure Newrelicobservability Management Client Library. This package has been tested with Python 3.10+. 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-newrelicobservability
pip install azure-identity

Authentication

By default, Microsoft Entra 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:

from azure.identity import DefaultAzureCredential
from azure.mgmt.newrelicobservability import NewRelicObservabilityMgmtClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = NewRelicObservabilityMgmtClient(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

2.0.0b2 (2026-07-07)

Features Added

  • Client NewRelicObservabilityMgmtClient added method send_request
  • Model MonitoredSubscriptionProperties added property system_data

Breaking Changes

  • This version introduces new hybrid models which have dual dictionary and model nature. Please follow https://aka.ms/azsdk/python/migrate/hybrid-models for migration.
  • For the method breakings, please refer to https://aka.ms/azsdk/python/migrate/operations for migration.
  • Model AccountResource moved instance variable organization_id, account_id, account_name and region under property properties whose type is AccountProperties
  • Model NewRelicMonitorResource moved instance variable provisioning_state, monitoring_status, marketplace_subscription_status, marketplace_subscription_id, new_relic_account_properties, user_info, plan_data, saa_s_data, liftr_resource_category, liftr_resource_preference, org_creation_source, account_creation_source, subscription_state and saa_s_azure_subscription_status under property properties whose type is MonitorProperties
  • Model NewRelicMonitorResourceUpdate moved instance variable new_relic_account_properties, user_info, plan_data, saa_s_data, org_creation_source and account_creation_source under property properties whose type is NewRelicMonitorResourceUpdateProperties
  • Model OrganizationResource moved instance variable organization_id, organization_name and billing_source under property properties whose type is OrganizationProperties
  • Model PlanDataResource moved instance variable plan_data, org_creation_source and account_creation_source under property properties whose type is PlanDataProperties
  • Model TagRule moved instance variable provisioning_state, log_rules and metric_rules under property properties whose type is MonitoringTagRulesProperties
  • Model TagRuleUpdate moved instance variable log_rules and metric_rules under property properties whose type is TagRuleUpdateProperties
  • Method AccountsOperations.list changed its parameter user_email/location from positional_or_keyword to keyword_only
  • Method MonitorsOperations.begin_delete changed its parameter user_email from positional_or_keyword to keyword_only
  • Method OrganizationsOperations.list changed its parameter user_email/location from positional_or_keyword to keyword_only
  • Method PlansOperations.list changed its parameter account_id/organization_id from positional_or_keyword to keyword_only

Other Changes

  • Deleted model AccountsListResponse/AppServicesListResponse/ConnectedPartnerResourcesListResponse/LinkedResourceListResponse/MonitoredResourceListResponse/MonitoredSubscriptionPropertiesList/NewRelicMonitorResourceListResult/OperationListResult/OrganizationsListResponse/PlanDataListResponse/TagRuleListResult/VMHostsListResponse which actually were not used by SDK users
  • Deleted model AppServicesGetParameter/HostsGetParameter/MetricsRequestParameter/MetricsStatusRequestParameter/SwitchBillingParameter which actually were not used by SDK users

2.0.0b1 (2025-11-17)

Features Added

  • Model NewRelicObservabilityMgmtClient added parameter cloud_setting in method __init__
  • Client NewRelicObservabilityMgmtClient added operation group saa_s
  • Model MarketplaceSaaSInfo added property publisher_id
  • Model MarketplaceSaaSInfo added property offer_id
  • Model NewRelicMonitorResource added property saa_s_data
  • Model NewRelicMonitorResourceUpdate added property saa_s_data
  • Added model ActivateSaaSParameterRequest
  • Added model LatestLinkedSaaSResponse
  • Added model ResubscribeProperties
  • Added model SaaSData
  • Added model SaaSResourceDetailsResponse
  • Operation group MonitorsOperations added method begin_link_saa_s
  • Operation group MonitorsOperations added method begin_resubscribe
  • Operation group MonitorsOperations added method latest_linked_saa_s
  • Operation group MonitorsOperations added method refresh_ingestion_key
  • Added operation group SaaSOperations

Breaking Changes

  • Deleted or renamed model BillingCycle
  • Operation group MonitoredSubscriptionsOperations renamed method begin_createor_update to begin_create_or_update
  • Operation group MonitorsOperations renamed method update to begin_update

1.1.0 (2024-03-18)

Features Added

  • Added operation MonitorsOperations.list_linked_resources
  • Added operation group BillingInfoOperations
  • Added operation group ConnectedPartnerResourcesOperations
  • Added operation group MonitoredSubscriptionsOperations
  • Model NewRelicMonitorResource has a new parameter saa_s_azure_subscription_status
  • Model NewRelicMonitorResource has a new parameter subscription_state

1.0.0 (2023-05-20)

Other Changes

  • First GA

1.0.0b1 (2023-03-24)

  • 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_newrelicobservability-2.0.0b2.tar.gz (107.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file azure_mgmt_newrelicobservability-2.0.0b2.tar.gz.

File metadata

File hashes

Hashes for azure_mgmt_newrelicobservability-2.0.0b2.tar.gz
Algorithm Hash digest
SHA256 98d02d8abea2ddc5564c52f27ab496c2976144bac972af977e9b7bdcc1604830
MD5 9dcb6da8eeb11d224cb3c34f3af011d1
BLAKE2b-256 1d24d9be5b6280352befc58204b36e37d7a733c88a7c57ff887a17fc77a363b1

See more details on using hashes here.

File details

Details for the file azure_mgmt_newrelicobservability-2.0.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azure_mgmt_newrelicobservability-2.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 57accdaaf4c35cf331c701d94da58f4f4ad2560012656ffd5e116271b0dc27da
MD5 93abcfb040264215e5e32f20aca5e250
BLAKE2b-256 e5368f37c52fa680178c087f93baa077cadf124a7a298c5ab7b3b133ce3540f0

See more details on using hashes here.

Supported by

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