Skip to content

Commit 3f34eb0

Browse files
[AutoRelease] t2-newrelicobservability-2025-10-14-72186(can only be merged by SDK owner) (Azure#43408)
* code and test * update testcases * Update CHANGELOG.md * Update CHANGELOG with new operation group methods * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <[email protected]> Co-authored-by: ChenxiJiang333 <[email protected]>
1 parent 12c79f7 commit 3f34eb0

File tree

126 files changed

+6702
-2904
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+6702
-2904
lines changed

sdk/newrelicobservability/azure-mgmt-newrelicobservability/CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Release History
22

3+
## 2.0.0b1 (2025-11-17)
4+
5+
### Features Added
6+
7+
- Model `NewRelicObservabilityMgmtClient` added parameter `cloud_setting` in method `__init__`
8+
- Client `NewRelicObservabilityMgmtClient` added operation group `saa_s`
9+
- Model `MarketplaceSaaSInfo` added property `publisher_id`
10+
- Model `MarketplaceSaaSInfo` added property `offer_id`
11+
- Model `NewRelicMonitorResource` added property `saa_s_data`
12+
- Model `NewRelicMonitorResourceUpdate` added property `saa_s_data`
13+
- Added model `ActivateSaaSParameterRequest`
14+
- Added model `LatestLinkedSaaSResponse`
15+
- Added model `ResubscribeProperties`
16+
- Added model `SaaSData`
17+
- Added model `SaaSResourceDetailsResponse`
18+
- Operation group `MonitorsOperations` added method `begin_link_saa_s`
19+
- Operation group `MonitorsOperations` added method `begin_resubscribe`
20+
- Operation group `MonitorsOperations` added method `latest_linked_saa_s`
21+
- Operation group `MonitorsOperations` added method `refresh_ingestion_key`
22+
- Added operation group `SaaSOperations`
23+
24+
### Breaking Changes
25+
26+
- Deleted or renamed model `BillingCycle`
27+
- Operation group `MonitoredSubscriptionsOperations` renamed method `begin_createor_update` to `begin_create_or_update`
28+
- Operation group `MonitorsOperations` renamed method `update` to `begin_update`
29+
330
## 1.1.0 (2024-03-18)
431

532
### Features Added
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
include _meta.json
2-
recursive-include tests *.py *.json
3-
recursive-include samples *.py *.md
41
include *.md
5-
include azure/__init__.py
6-
include azure/mgmt/__init__.py
72
include LICENSE
83
include azure/mgmt/newrelicobservability/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/mgmt/__init__.py

sdk/newrelicobservability/azure-mgmt-newrelicobservability/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Microsoft Azure SDK for Python
22

33
This is the Microsoft Azure Newrelicobservability Management Client Library.
4-
This package has been tested with Python 3.8+.
4+
This package has been tested with Python 3.9+.
55
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).
66

77
## _Disclaimer_
@@ -12,7 +12,7 @@ _Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For
1212

1313
### Prerequisites
1414

15-
- Python 3.8+ is required to use this package.
15+
- Python 3.9+ is required to use this package.
1616
- [Azure subscription](https://azure.microsoft.com/free/)
1717

1818
### Install the package
@@ -24,7 +24,7 @@ pip install azure-identity
2424

2525
### Authentication
2626

27-
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.
27+
By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configuration of the following environment variables.
2828

2929
- `AZURE_CLIENT_ID` for Azure client ID.
3030
- `AZURE_TENANT_ID` for Azure tenant ID.

sdk/newrelicobservability/azure-mgmt-newrelicobservability/_meta.json

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"commit": "22ae5674fc98c32b29fb60791bd51a8fbd41b25f",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"autorest": "3.10.2",
5+
"use": [
6+
"@autorest/[email protected]",
7+
"@autorest/[email protected]"
8+
],
9+
"autorest_command": "autorest specification/newrelic/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --package-mode=azure-mgmt --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
10+
"readme": "specification/newrelic/resource-manager/readme.md"
11+
}
Lines changed: 167 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,167 @@
1+
{
2+
"CrossLanguagePackageId": null,
3+
"CrossLanguageDefinitionId": {
4+
"azure.mgmt.newrelicobservability.models.AccountInfo": null,
5+
"azure.mgmt.newrelicobservability.models.Resource": null,
6+
"azure.mgmt.newrelicobservability.models.ProxyResource": null,
7+
"azure.mgmt.newrelicobservability.models.AccountResource": null,
8+
"azure.mgmt.newrelicobservability.models.AccountsListResponse": null,
9+
"azure.mgmt.newrelicobservability.models.ActivateSaaSParameterRequest": null,
10+
"azure.mgmt.newrelicobservability.models.AppServiceInfo": null,
11+
"azure.mgmt.newrelicobservability.models.AppServicesGetParameter": null,
12+
"azure.mgmt.newrelicobservability.models.AppServicesGetRequest": null,
13+
"azure.mgmt.newrelicobservability.models.AppServicesListResponse": null,
14+
"azure.mgmt.newrelicobservability.models.BillingInfoResponse": null,
15+
"azure.mgmt.newrelicobservability.models.ConnectedPartnerResourceProperties": null,
16+
"azure.mgmt.newrelicobservability.models.ConnectedPartnerResourcesListFormat": null,
17+
"azure.mgmt.newrelicobservability.models.ConnectedPartnerResourcesListResponse": null,
18+
"azure.mgmt.newrelicobservability.models.ErrorAdditionalInfo": null,
19+
"azure.mgmt.newrelicobservability.models.ErrorDetail": null,
20+
"azure.mgmt.newrelicobservability.models.ErrorResponse": null,
21+
"azure.mgmt.newrelicobservability.models.FilteringTag": null,
22+
"azure.mgmt.newrelicobservability.models.HostsGetParameter": null,
23+
"azure.mgmt.newrelicobservability.models.HostsGetRequest": null,
24+
"azure.mgmt.newrelicobservability.models.LatestLinkedSaaSResponse": null,
25+
"azure.mgmt.newrelicobservability.models.LinkedResource": null,
26+
"azure.mgmt.newrelicobservability.models.LinkedResourceListResponse": null,
27+
"azure.mgmt.newrelicobservability.models.LogRules": null,
28+
"azure.mgmt.newrelicobservability.models.ManagedServiceIdentity": null,
29+
"azure.mgmt.newrelicobservability.models.MarketplaceSaaSInfo": null,
30+
"azure.mgmt.newrelicobservability.models.MetricRules": null,
31+
"azure.mgmt.newrelicobservability.models.MetricsRequest": null,
32+
"azure.mgmt.newrelicobservability.models.MetricsRequestParameter": null,
33+
"azure.mgmt.newrelicobservability.models.MetricsStatusRequest": null,
34+
"azure.mgmt.newrelicobservability.models.MetricsStatusRequestParameter": null,
35+
"azure.mgmt.newrelicobservability.models.MetricsStatusResponse": null,
36+
"azure.mgmt.newrelicobservability.models.MonitoredResource": null,
37+
"azure.mgmt.newrelicobservability.models.MonitoredResourceListResponse": null,
38+
"azure.mgmt.newrelicobservability.models.MonitoredSubscription": null,
39+
"azure.mgmt.newrelicobservability.models.MonitoredSubscriptionProperties": null,
40+
"azure.mgmt.newrelicobservability.models.MonitoredSubscriptionPropertiesList": null,
41+
"azure.mgmt.newrelicobservability.models.MonitoringTagRulesProperties": null,
42+
"azure.mgmt.newrelicobservability.models.NewRelicAccountProperties": null,
43+
"azure.mgmt.newrelicobservability.models.TrackedResource": null,
44+
"azure.mgmt.newrelicobservability.models.NewRelicMonitorResource": null,
45+
"azure.mgmt.newrelicobservability.models.NewRelicMonitorResourceListResult": null,
46+
"azure.mgmt.newrelicobservability.models.NewRelicMonitorResourceUpdate": null,
47+
"azure.mgmt.newrelicobservability.models.NewRelicSingleSignOnProperties": null,
48+
"azure.mgmt.newrelicobservability.models.Operation": null,
49+
"azure.mgmt.newrelicobservability.models.OperationDisplay": null,
50+
"azure.mgmt.newrelicobservability.models.OperationListResult": null,
51+
"azure.mgmt.newrelicobservability.models.OrganizationInfo": null,
52+
"azure.mgmt.newrelicobservability.models.OrganizationResource": null,
53+
"azure.mgmt.newrelicobservability.models.OrganizationsListResponse": null,
54+
"azure.mgmt.newrelicobservability.models.PartnerBillingEntity": null,
55+
"azure.mgmt.newrelicobservability.models.PlanData": null,
56+
"azure.mgmt.newrelicobservability.models.PlanDataListResponse": null,
57+
"azure.mgmt.newrelicobservability.models.PlanDataResource": null,
58+
"azure.mgmt.newrelicobservability.models.ResubscribeProperties": null,
59+
"azure.mgmt.newrelicobservability.models.SaaSData": null,
60+
"azure.mgmt.newrelicobservability.models.SaaSResourceDetailsResponse": null,
61+
"azure.mgmt.newrelicobservability.models.SubscriptionList": null,
62+
"azure.mgmt.newrelicobservability.models.SwitchBillingParameter": null,
63+
"azure.mgmt.newrelicobservability.models.SwitchBillingRequest": null,
64+
"azure.mgmt.newrelicobservability.models.SystemData": null,
65+
"azure.mgmt.newrelicobservability.models.TagRule": null,
66+
"azure.mgmt.newrelicobservability.models.TagRuleListResult": null,
67+
"azure.mgmt.newrelicobservability.models.TagRuleUpdate": null,
68+
"azure.mgmt.newrelicobservability.models.UserAssignedIdentity": null,
69+
"azure.mgmt.newrelicobservability.models.UserInfo": null,
70+
"azure.mgmt.newrelicobservability.models.VMExtensionPayload": null,
71+
"azure.mgmt.newrelicobservability.models.VMHostsListResponse": null,
72+
"azure.mgmt.newrelicobservability.models.VMInfo": null,
73+
"azure.mgmt.newrelicobservability.models.Origin": null,
74+
"azure.mgmt.newrelicobservability.models.ActionType": null,
75+
"azure.mgmt.newrelicobservability.models.CreatedByType": null,
76+
"azure.mgmt.newrelicobservability.models.ManagedServiceIdentityType": null,
77+
"azure.mgmt.newrelicobservability.models.ProvisioningState": null,
78+
"azure.mgmt.newrelicobservability.models.MonitoringStatus": null,
79+
"azure.mgmt.newrelicobservability.models.MarketplaceSubscriptionStatus": null,
80+
"azure.mgmt.newrelicobservability.models.SingleSignOnStates": null,
81+
"azure.mgmt.newrelicobservability.models.UsageType": null,
82+
"azure.mgmt.newrelicobservability.models.LiftrResourceCategories": null,
83+
"azure.mgmt.newrelicobservability.models.OrgCreationSource": null,
84+
"azure.mgmt.newrelicobservability.models.AccountCreationSource": null,
85+
"azure.mgmt.newrelicobservability.models.BillingSource": null,
86+
"azure.mgmt.newrelicobservability.models.TagAction": null,
87+
"azure.mgmt.newrelicobservability.models.SendingMetricsStatus": null,
88+
"azure.mgmt.newrelicobservability.models.SendingLogsStatus": null,
89+
"azure.mgmt.newrelicobservability.models.SendAadLogsStatus": null,
90+
"azure.mgmt.newrelicobservability.models.SendSubscriptionLogsStatus": null,
91+
"azure.mgmt.newrelicobservability.models.SendActivityLogsStatus": null,
92+
"azure.mgmt.newrelicobservability.models.SendMetricsStatus": null,
93+
"azure.mgmt.newrelicobservability.models.Status": null,
94+
"azure.mgmt.newrelicobservability.models.PatchOperation": null,
95+
"azure.mgmt.newrelicobservability.models.ConfigurationName": null,
96+
"azure.mgmt.newrelicobservability.operations.Operations.list": null,
97+
"azure.mgmt.newrelicobservability.aio.operations.Operations.list": null,
98+
"azure.mgmt.newrelicobservability.operations.AccountsOperations.list": null,
99+
"azure.mgmt.newrelicobservability.aio.operations.AccountsOperations.list": null,
100+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_by_subscription": null,
101+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_by_subscription": null,
102+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_by_resource_group": null,
103+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_by_resource_group": null,
104+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.get": null,
105+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.get": null,
106+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.begin_create_or_update": null,
107+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.begin_create_or_update": null,
108+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.begin_update": null,
109+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.begin_update": null,
110+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.begin_delete": null,
111+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.begin_delete": null,
112+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.get_metric_rules": null,
113+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.get_metric_rules": null,
114+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.get_metric_status": null,
115+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.get_metric_status": null,
116+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_app_services": null,
117+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_app_services": null,
118+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.switch_billing": null,
119+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.switch_billing": null,
120+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_hosts": null,
121+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_hosts": null,
122+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.refresh_ingestion_key": null,
123+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.refresh_ingestion_key": null,
124+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_monitored_resources": null,
125+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_monitored_resources": null,
126+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.list_linked_resources": null,
127+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.list_linked_resources": null,
128+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.vm_host_payload": null,
129+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.vm_host_payload": null,
130+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.latest_linked_saa_s": null,
131+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.latest_linked_saa_s": null,
132+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.begin_link_saa_s": null,
133+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.begin_link_saa_s": null,
134+
"azure.mgmt.newrelicobservability.operations.MonitorsOperations.begin_resubscribe": null,
135+
"azure.mgmt.newrelicobservability.aio.operations.MonitorsOperations.begin_resubscribe": null,
136+
"azure.mgmt.newrelicobservability.operations.OrganizationsOperations.list": null,
137+
"azure.mgmt.newrelicobservability.aio.operations.OrganizationsOperations.list": null,
138+
"azure.mgmt.newrelicobservability.operations.PlansOperations.list": null,
139+
"azure.mgmt.newrelicobservability.aio.operations.PlansOperations.list": null,
140+
"azure.mgmt.newrelicobservability.operations.SaaSOperations.activate_resource": null,
141+
"azure.mgmt.newrelicobservability.aio.operations.SaaSOperations.activate_resource": null,
142+
"azure.mgmt.newrelicobservability.operations.BillingInfoOperations.get": null,
143+
"azure.mgmt.newrelicobservability.aio.operations.BillingInfoOperations.get": null,
144+
"azure.mgmt.newrelicobservability.operations.ConnectedPartnerResourcesOperations.list": null,
145+
"azure.mgmt.newrelicobservability.aio.operations.ConnectedPartnerResourcesOperations.list": null,
146+
"azure.mgmt.newrelicobservability.operations.TagRulesOperations.list_by_new_relic_monitor_resource": null,
147+
"azure.mgmt.newrelicobservability.aio.operations.TagRulesOperations.list_by_new_relic_monitor_resource": null,
148+
"azure.mgmt.newrelicobservability.operations.TagRulesOperations.get": null,
149+
"azure.mgmt.newrelicobservability.aio.operations.TagRulesOperations.get": null,
150+
"azure.mgmt.newrelicobservability.operations.TagRulesOperations.begin_create_or_update": null,
151+
"azure.mgmt.newrelicobservability.aio.operations.TagRulesOperations.begin_create_or_update": null,
152+
"azure.mgmt.newrelicobservability.operations.TagRulesOperations.begin_delete": null,
153+
"azure.mgmt.newrelicobservability.aio.operations.TagRulesOperations.begin_delete": null,
154+
"azure.mgmt.newrelicobservability.operations.TagRulesOperations.update": null,
155+
"azure.mgmt.newrelicobservability.aio.operations.TagRulesOperations.update": null,
156+
"azure.mgmt.newrelicobservability.operations.MonitoredSubscriptionsOperations.list": null,
157+
"azure.mgmt.newrelicobservability.aio.operations.MonitoredSubscriptionsOperations.list": null,
158+
"azure.mgmt.newrelicobservability.operations.MonitoredSubscriptionsOperations.get": null,
159+
"azure.mgmt.newrelicobservability.aio.operations.MonitoredSubscriptionsOperations.get": null,
160+
"azure.mgmt.newrelicobservability.operations.MonitoredSubscriptionsOperations.begin_create_or_update": null,
161+
"azure.mgmt.newrelicobservability.aio.operations.MonitoredSubscriptionsOperations.begin_create_or_update": null,
162+
"azure.mgmt.newrelicobservability.operations.MonitoredSubscriptionsOperations.begin_update": null,
163+
"azure.mgmt.newrelicobservability.aio.operations.MonitoredSubscriptionsOperations.begin_update": null,
164+
"azure.mgmt.newrelicobservability.operations.MonitoredSubscriptionsOperations.begin_delete": null,
165+
"azure.mgmt.newrelicobservability.aio.operations.MonitoredSubscriptionsOperations.begin_delete": null
166+
}
167+
}

sdk/newrelicobservability/azure-mgmt-newrelicobservability/assets.json

Lines changed: 0 additions & 6 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore

sdk/newrelicobservability/azure-mgmt-newrelicobservability/azure/mgmt/newrelicobservability/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._new_relic_observability_mgmt_client import NewRelicObservabilityMgmtClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._new_relic_observability_mgmt_client import NewRelicObservabilityMgmtClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"NewRelicObservabilityMgmtClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

0 commit comments

Comments
 (0)