Skip to content

[Automation] Generate Fluent Lite from Swagger newrelic#package-2025-05-01-preview#47364

Merged
XiaofeiCao merged 1 commit intoAzure:mainfrom
azure-sdk:fluent-lite-generation-5604177
Nov 24, 2025
Merged

[Automation] Generate Fluent Lite from Swagger newrelic#package-2025-05-01-preview#47364
XiaofeiCao merged 1 commit intoAzure:mainfrom
azure-sdk:fluent-lite-generation-5604177

Conversation

@azure-sdk
Copy link
Collaborator

[Automation] Generate Fluent Lite from Swagger newrelic#package-2025-05-01-preview

@github-actions
Copy link
Contributor

API Change Check

APIView identified API level changes in this PR and created the following API reviews

com.azure.resourcemanager:azure-resourcemanager-newrelicobservability

@XiaofeiCao XiaofeiCao marked this pull request as ready for review November 24, 2025 07:39
Copilot AI review requested due to automatic review settings November 24, 2025 07:39
@XiaofeiCao XiaofeiCao merged commit 4d44359 into Azure:main Nov 24, 2025
28 of 29 checks passed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.AZURE to AzureCloud.AZURE_PUBLIC_CLOUD
  • BillingCycle enum 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

@azure-sdk azure-sdk deleted the fluent-lite-generation-5604177 branch November 30, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants