[Automation] Generate Fluent Lite from Swagger newrelic#package-2025-05-01-preview#47364
Merged
XiaofeiCao merged 1 commit intoAzure:mainfrom Nov 24, 2025
Merged
Conversation
Contributor
API Change CheckAPIView identified API level changes in this PR and created the following API reviews com.azure.resourcemanager:azure-resourcemanager-newrelicobservability |
XiaofeiCao
approved these changes
Nov 24, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
This PR is an automated code generation update for the Azure SDK for Java's New Relic Observability package, migrating from the stable 2024-01-01 API version to the preview 2025-05-01-preview API version.
Key changes:
- Import statement migration from deprecated
AzureEnvironment.AZUREtoAzureCloud.AZURE_PUBLIC_CLOUD BillingCycleenum replaced with String type for flexibility- New API methods added:
activateResource,resubscribe,refreshIngestionKey,linkSaaS,latestLinkedSaaS - Test data values refreshed with new random strings
- Sample code and test file path references updated to reflect new API version
Reviewed changes
Copilot reviewed 73 out of 182 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Multiple test files (VMInfoInnerTests, UserInfoTests, etc.) | Test data values updated with new random strings |
| Mock test files (TagRulesListByNewRelicMonitorResourceMockTests, etc.) | Migrated from AzureEnvironment.AZURE to AzureCloud.AZURE_PUBLIC_CLOUD |
| SwitchBillingRequestTests, PlanDataTests, etc. | BillingCycle enum import removed, now using String type |
| New test files (SaaSResourceDetailsResponseInnerTests, ResubscribePropertiesTests, etc.) | Added tests for new API functionality |
| Sample files (TagRulesUpdateSamples, MonitorsDeleteSamples, etc.) | Updated file path references to preview/2025-05-01-preview |
| MonitorsDeleteSamples | Parameter order changed from (resourceGroup, userEmail, monitorName) to (resourceGroup, monitorName, userEmail) |
| MonitoredSubscriptionsCreateOrUpdateSamples | Class name corrected from CreateorUpdate to CreateOrUpdate |
| New sample files | Added samples for new API operations (activateResource, resubscribe, etc.) |
| azure-resourcemanager-newrelicobservability.properties | Added version property file |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[Automation] Generate Fluent Lite from Swagger newrelic#package-2025-05-01-preview