Skip to content

[AutoPR azure-resourcemanager-monitor-slis]-generated-from-SDK Generation - Java-6342625#49251

Open
azure-sdk wants to merge 14 commits into
mainfrom
sdkauto/azure-resourcemanager-monitor-slis-6342625
Open

[AutoPR azure-resourcemanager-monitor-slis]-generated-from-SDK Generation - Java-6342625#49251
azure-sdk wants to merge 14 commits into
mainfrom
sdkauto/azure-resourcemanager-monitor-slis-6342625

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

@azure-sdk azure-sdk commented May 23, 2026

Configurations: 'specification/monitoringservice/resource-manager/Microsoft.Monitor/Slis/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: '8be8c75d9bb11ea95d8a7e251db74aa78b5cd76c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6342625 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. Release plan link: https://azsdk-releaseplan-dashboard-hveph5aqhhcfhtgu.westus-01.azurewebsites.net/?releaseplan=2199 Submitted by: Saleel.Kattiyat@microsoft.com

Release Plan Details

…rosoft.Monitor/Slis/tspconfig.yaml', API Version: 2025-03-01-preview, SDK Release Type: beta, and CommitSHA: '8be8c75d9bb11ea95d8a7e251db74aa78b5cd76c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6342625 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
Copilot AI review requested due to automatic review settings May 23, 2026 00:21
@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label May 23, 2026
Copy link
Copy Markdown
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

Updates the generated azure-resourcemanager-monitor-slis (beta) package to align with the latest TypeSpec/spec snapshot for Microsoft.Monitor/Slis (2025-03-01-preview), including regenerated models/tests and updated release artifacts.

Changes:

  • Bumps the spec commit reference in tsp-location.yaml and regenerates the SDK accordingly.
  • Updates several expandable enums’ serialized values (e.g., ConditionOperator, SamplingType, WindowUptimeCriteriaComparator) and refreshes generated tests/mocks to match.
  • Updates package metadata and docs (README version + CHANGELOG entries).

Reviewed changes

Copilot reviewed 8 out of 19 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sdk/monitor/azure-resourcemanager-monitor-slis/tsp-location.yaml Updates the referenced swagger/TypeSpec commit SHA for regeneration.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/WindowUptimeCriteriaTests.java Updates comparator wire value used in deserialization test.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SlisListByParentMockTests.java Updates mock payload comparator wire value.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SlisGetWithResponseMockTests.java Updates mock payload comparator wire value.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SlisCreateOrUpdateWithResponseMockTests.java Updates mock payload comparator wire value.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SliResourceTests.java Updates deserialization payload to new operator/sampling/comparator values.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SliPropertiesTests.java Updates operator/sampling values and assertions for SamplingType changes.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SliListResultTests.java Updates comparator wire values in list-result test payload.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SliInnerTests.java Updates operator/sampling/comparator values in inner-model payload.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SignalTests.java Updates operator/sampling values and related assertions.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/SignalSourceTests.java Updates sampling/operator wire values and assertions.
sdk/monitor/azure-resourcemanager-monitor-slis/src/test/java/com/azure/resourcemanager/monitor/slis/generated/ConditionTests.java Updates sampling/operator wire values and assertions.
sdk/monitor/azure-resourcemanager-monitor-slis/src/main/resources/META-INF/azure-resourcemanager-monitor-slis_metadata.json Updates generated metadata (adds cross-language package/version fields).
sdk/monitor/azure-resourcemanager-monitor-slis/src/main/java/com/azure/resourcemanager/monitor/slis/models/WindowUptimeCriteriaComparator.java Updates comparator serialized values (lt/gt/lte/gte).
sdk/monitor/azure-resourcemanager-monitor-slis/src/main/java/com/azure/resourcemanager/monitor/slis/models/SamplingType.java Reworks sampling-type values and removes AVG in favor of new set (AVERAGE, COUNT, etc.).
sdk/monitor/azure-resourcemanager-monitor-slis/src/main/java/com/azure/resourcemanager/monitor/slis/models/ConditionOperator.java Updates operator serialized values (eq/ne/lt/..., in/notin, etc.) and adds explanatory docs.
sdk/monitor/azure-resourcemanager-monitor-slis/src/main/java/com/azure/resourcemanager/monitor/slis/models/Condition.java Expands documentation for value formatting for in/notin operators.
sdk/monitor/azure-resourcemanager-monitor-slis/README.md Bumps dependency snippet version to 1.0.0-beta.2.
sdk/monitor/azure-resourcemanager-monitor-slis/CHANGELOG.md Updates the 1.0.0-beta.2 section with release notes (needs adjustments per review comments).

Comment thread sdk/monitor/azure-resourcemanager-monitor-slis/CHANGELOG.md Outdated
Comment thread sdk/monitor/azure-resourcemanager-monitor-slis/CHANGELOG.md
@saleelpk
Copy link
Copy Markdown
Contributor

Layered CRUD recording-based test scaffolding (test: SliCrudLiveTest.java). Recording step pending - see test SETUP doc.

Pipeline status: Regen pipeline 6342625 finished as PartiallySucceeded (see pipeline link in PR description), but PR was created as expected.

Copilot AI and others added 2 commits May 22, 2026 18:12
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@saleelpk saleelpk marked this pull request as draft May 23, 2026 18:18
saleelpk and others added 8 commits May 23, 2026 11:57
- Drop @liveonly annotation and rebuild test atop TestProxyTestBase
- Use interceptorManager record policy / playback client to route through test-proxy
- Hard-code sanitized subscription id in playback to match scrubbed recording
- Use testResourceNamer.randomName so sli name is replayed deterministically
- Push session-record to azure-sdk-assets (Tag java/monitor/azure-resourcemanager-monitor-slis_7b447d0598)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Introduce a hand-written sibling utility class ConditionValues in the
models package, alongside the generated final Condition class. It
exposes values(Condition), withValues(Condition, List), and
forListOperator(ConditionOperator, List) helpers that round-trip
through the wire `value` string by joining/splitting on the ^^
separator used by the SLI resource provider for the in/notin
operators. forListOperator rejects non-list operators, empty lists,
and items containing the reserved separator.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This reverts commit 5e19002.

The SDK-side ^^-splitting customization papers over a wire-format
quirk that should be fixed in the service contract instead. Drop the
customization until the service exposes a structured `values` field;
once it does, the SDK will surface it naturally without us hand-rolling
a parser whose round-trip / mutability semantics are non-obvious.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@saleelpk saleelpk marked this pull request as ready for review May 26, 2026 21:53
@saleelpk saleelpk enabled auto-merge (squash) May 26, 2026 21:53
@saleelpk
Copy link
Copy Markdown
Contributor

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@saleelpk
Copy link
Copy Markdown
Contributor

/azp run prepare-pipelines

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants