Skip to main content

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.0 (2026-08-11)

Features Added

  • Client NewRelicObservabilityMgmtClient added parameter cloud_setting in method __init__
  • Client NewRelicObservabilityMgmtClient added method send_request
  • Client NewRelicObservabilityMgmtClient added operation group saa_s
  • Model MarketplaceSaaSInfo added property offer_id
  • Model MarketplaceSaaSInfo added property publisher_id
  • Model MonitoredSubscriptionProperties added property system_data
  • Added model ActivateSaaSParameterRequest
  • Added model LatestLinkedSaaSResponse
  • Added model ResubscribeProperties
  • Added model SaaSData
  • Added model SaaSResourceDetailsResponse
  • Operation group MonitoredSubscriptionsOperations added method begin_create_or_update
  • Operation group MonitorsOperations added method begin_link_saa_s
  • Operation group MonitorsOperations added method begin_resubscribe
  • Operation group MonitorsOperations added method begin_update
  • Operation group MonitorsOperations added method latest_linked_saa_s
  • Operation group MonitorsOperations added method refresh_ingestion_key
  • Added operation group SaaSOperations

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 account_id, account_name, organization_id and region under property properties whose type is AccountProperties
  • Model NewRelicMonitorResource moved instance variable account_creation_source, liftr_resource_category, liftr_resource_preference, marketplace_subscription_id, marketplace_subscription_status, monitoring_status, new_relic_account_properties, org_creation_source, plan_data, provisioning_state, saa_s_azure_subscription_status, subscription_state and user_info under property properties whose type is MonitorProperties
  • Model NewRelicMonitorResourceUpdate moved instance variable account_creation_source, new_relic_account_properties, org_creation_source, plan_data and user_info under property properties whose type is NewRelicMonitorResourceUpdateProperties
  • Model OrganizationResource moved instance variable billing_source, organization_id and organization_name under property properties whose type is OrganizationProperties
  • Model PlanDataResource moved instance variable account_creation_source, org_creation_source and plan_data under property properties whose type is PlanDataProperties
  • Model TagRule moved instance variable log_rules, metric_rules and provisioning_state under property properties whose type is MonitoringTagRulesProperties
  • Model TagRuleUpdate moved instance variable log_rules and metric_rules under property properties whose type is TagRuleUpdateProperties
  • Deleted or renamed model BillingCycle
  • Method AccountsOperations.list changed its parameter location/user_email from positional_or_keyword to keyword_only
  • Operation group MonitoredSubscriptionsOperations renamed method begin_createor_update to begin_create_or_update
  • Method MonitorsOperations.begin_delete changed its parameter user_email from positional_or_keyword to keyword_only
  • Operation group MonitorsOperations renamed method update to begin_update
  • Method OrganizationsOperations.list changed its parameter location/user_email 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.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

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.0.tar.gz (105.1 kB view details)

Uploaded Source

Built Distribution

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

azure_mgmt_newrelicobservability-2.0.0-py3-none-any.whl (104.9 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for azure_mgmt_newrelicobservability-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f6399736849fc6fb7a6cfa8a5be03224eba9e6c2c555ef412bc69ce99796f75f
MD5 fba8b7abc92a38d4cf60a843d892e2b3
BLAKE2b-256 a622c652915cd96dd1dc06a9c8969c78ef500ca50ce652f3d2c9ad37555aa99c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for azure_mgmt_newrelicobservability-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3d3f43b42ed77188d1accb9db6d855afc6bc4273ec2906834b4535937dc0a6e7
MD5 607d7e7e1db0578e9eac66a38eb772fb
BLAKE2b-256 56167a1965e9b530e6b30492a1e3dbe41f64711ac5ae0939367b6491cb4523e4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 files

1.1.0

2 files

1.0.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page