Metadata-Version: 2.4
Name: azure-mgmt-newrelicobservability
Version: 2.0.0b2
Summary: Microsoft Azure Newrelicobservability Management Client Library for Python
Author-email: Microsoft Corporation <azpysdkhelp@microsoft.com>
License-Expression: MIT
Project-URL: repository, https://github.com/Azure/azure-sdk-for-python
Keywords: azure,azure sdk
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: isodate>=0.6.1
Requires-Dist: azure-mgmt-core>=1.6.0
Requires-Dist: typing-extensions>=4.6.0
Dynamic: license-file

# 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](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.10+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

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

### Authentication

By default, [Microsoft Entra](https://learn.microsoft.com/entra/fundamentals/what-is-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:

```python
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:
- [Search Newrelicobservability 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.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
