Skip to content

[AutoPR @azure-arm-mongocluster]-generated-from-SDK Generation - JS-6627027 - #39434

Open
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/@azure-arm-mongocluster-6627027
Open

[AutoPR @azure-arm-mongocluster]-generated-from-SDK Generation - JS-6627027#39434
azure-sdk-automation[bot] wants to merge 1 commit into
mainfrom
sdkauto/@azure-arm-mongocluster-6627027

Conversation

@azure-sdk-automation

Copy link
Copy Markdown
Contributor

Configurations: 'specification/mongocluster/resource-manager/Microsoft.DocumentDB/MongoCluster/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '358882ad707dcc3b0d1de9df6ba4dfba7e85da1a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6627027 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=35659 Submitted by: acagrawal@microsoft.com

…t.DocumentDB/MongoCluster/tspconfig.yaml', SDK Release Type: beta, and CommitSHA: '358882ad707dcc3b0d1de9df6ba4dfba7e85da1a' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6627027 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 July 28, 2026 10:57
@azure-sdk-automation azure-sdk-automation Bot added the auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. label Jul 28, 2026
@github-actions github-actions Bot added Mgmt This issue is related to a management-plane library. mgmt-review-needed labels Jul 28, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot could not run the full agentic suite for this review because it was automatically requested on a bot-authored pull request. Request a review from Copilot under Reviewers to retry with the full agentic suite. Improved support for bot-authored pull requests is coming soon.

Updates the @azure/arm-mongocluster generated SDK to a newer REST API spec snapshot and newer default API version, publishing as a beta with refreshed samples.

Changes:

  • Bump package/versioning & generation metadata (spec commit, emitter version, user-agent, API ref links) for a 1.3.0-beta.1 release.
  • Switch default ARM api-version usage to 2026-06-15-preview across generated operations.
  • Add KnownPromoteOption.Planned and expand KnownVersions enum; update samples/README/package.json to align with beta.

Reviewed changes

Copilot reviewed 103 out of 106 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
sdk/mongocluster/arm-mongocluster/tsp-location.yaml Points generation to updated azure-rest-api-specs commit.
sdk/mongocluster/arm-mongocluster/src/mongoClusterManagementClient.ts Simplifies client construction to pass options through directly.
sdk/mongocluster/arm-mongocluster/src/models/models.ts Adds new enum values and updates generated model documentation.
sdk/mongocluster/arm-mongocluster/src/classic/users/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/replicas/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/privateLinks/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/privateEndpointConnections/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/operations/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/mongoClusters/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/classic/firewallRules/index.ts Whitespace cleanup in classic operation surface.
sdk/mongocluster/arm-mongocluster/src/api/users/options.ts Formatting cleanup for generated option types.
sdk/mongocluster/arm-mongocluster/src/api/users/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/replicas/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/privateLinks/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/options.ts Formatting cleanup for generated option types.
sdk/mongocluster/arm-mongocluster/src/api/privateEndpointConnections/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/operations/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/options.ts Formatting cleanup for generated option types.
sdk/mongocluster/arm-mongocluster/src/api/mongoClusters/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts Bumps user-agent/version string and adjusts UA prefix format.
sdk/mongocluster/arm-mongocluster/src/api/firewallRules/options.ts Formatting cleanup for generated option types.
sdk/mongocluster/arm-mongocluster/src/api/firewallRules/operations.ts Updates default api-version + paging config formatting.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/usersListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/usersGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/usersDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/usersCreateOrUpdateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/replicasListByParentSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/privateLinksListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/privateEndpointConnectionsListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/privateEndpointConnectionsGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/privateEndpointConnectionsDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/privateEndpointConnectionsCreateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/operationsListSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersUpdateSample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersPromoteSample.ts Adds planned promotion sample + updates x-ms-original-file.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersListSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersListConnectionStringsSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersListByResourceGroupSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersCreateOrUpdateSample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/mongoClustersCheckNameAvailabilitySample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/firewallRulesListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/firewallRulesGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/firewallRulesDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/src/firewallRulesCreateOrUpdateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/package.json Marks samples as beta and switches dependency to beta dist-tag.
sdk/mongocluster/arm-mongocluster/samples/v1/typescript/README.md Updates sample listing and rewrites links for beta docs/location.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/usersListByMongoClusterSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/usersGetSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/usersDeleteSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/usersCreateOrUpdateSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/replicasListByParentSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/privateLinksListByMongoClusterSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/privateEndpointConnectionsListByMongoClusterSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/privateEndpointConnectionsGetSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/privateEndpointConnectionsDeleteSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/privateEndpointConnectionsCreateSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/package.json Marks samples as beta and switches dependency to beta dist-tag.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/operationsListSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersUpdateSample.js Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersPromoteSample.js Adds planned promotion sample + updates x-ms-original-file.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersListSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersListConnectionStringsSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersListByResourceGroupSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersGetSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersDeleteSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersCreateOrUpdateSample.js Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/mongoClustersCheckNameAvailabilitySample.js Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/firewallRulesListByMongoClusterSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/firewallRulesGetSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/firewallRulesDeleteSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/firewallRulesCreateOrUpdateSample.js Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples/v1/javascript/README.md Updates sample listing and rewrites links for beta docs/location.
sdk/mongocluster/arm-mongocluster/samples-dev/usersListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/usersGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/usersDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/usersCreateOrUpdateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/replicasListByParentSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/privateLinksListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/privateEndpointConnectionsListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/privateEndpointConnectionsGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/privateEndpointConnectionsDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/privateEndpointConnectionsCreateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/operationsListSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersUpdateSample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersPromoteSample.ts Adds planned promotion sample + updates x-ms-original-file.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersListSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersListConnectionStringsSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersListByResourceGroupSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersCreateOrUpdateSample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/mongoClustersCheckNameAvailabilitySample.ts Updates x-ms-original-file entries to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/firewallRulesListByMongoClusterSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/firewallRulesGetSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/firewallRulesDeleteSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/samples-dev/firewallRulesCreateOrUpdateSample.ts Updates x-ms-original-file to new api-version folder.
sdk/mongocluster/arm-mongocluster/review/arm-mongocluster-node.api.md Updates public API review surface for new enums/versions.
sdk/mongocluster/arm-mongocluster/package.json Bumps library version to 1.3.0-beta.1 and updates docs link.
sdk/mongocluster/arm-mongocluster/metadata.json Updates default api-version and emitter version metadata.
sdk/mongocluster/arm-mongocluster/README.md Updates API reference link to preview-docs view.
sdk/mongocluster/arm-mongocluster/CHANGELOG.md Adds release notes for 1.3.0-beta.1.
Comments suppressed due to low confidence (2)

sdk/mongocluster/arm-mongocluster/src/models/models.ts:1

  • The trailing \\ at the end of the Forced line will be rendered as a literal backslash in many doc generators and may not produce the intended line break. Prefer splitting into two * lines without escape characters (or use a doc-generator-supported line break convention) so the docs render cleanly.
    sdk/mongocluster/arm-mongocluster/src/api/mongoClusterManagementContext.ts:1
  • This changes the user-agent format by removing the previously included azsdk-js-api token. If downstream telemetry, diagnostics filters, or internal tooling rely on that token to identify REST-based generated clients, this change could reduce observability. Consider preserving azsdk-js-api in the composed user-agent string (while still including userAgentInfo) unless there’s a deliberate standard change across the repo.

Comment on lines +3 to +4
## 1.3.0-beta.1 (2026-07-28)
Compared with version 1.2.0
@github-actions

Copy link
Copy Markdown
Contributor

Next Steps to Merge

Only failed checks and required actions are listed below.

  • ❌ UnitTest (all environments): @azure/arm-mongocluster tests fail with RecorderError: Unable to find a record for the request — the recordings are stale for API version 2026-06-15-preview. Action: Re-record the tests per the test guide (node + browser recordings) and push, or request maintainer approval to skip. Review ADO logs.

Need a hand? Feel free to ask in the [Language – JS & TS 🥷 Teams channel]((teams.microsoft.com/redacted) — we're happy to help.

@github-actions github-actions Bot added mgmt-review-in-progress Management SDK review is in progress mgmt-review-added Management SDK review completed and removed mgmt-review-needed mgmt-review-in-progress Management SDK review is in progress labels Jul 29, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The API surface and tooling for @azure/arm-mongocluster@1.3.0-beta.1 look good. No API design or tool issues were found.

📊 Structured Report
{"agent":"mgmt-reviewer","pr":39434,"summary":"clean","findings":[]}

Benchmarked by Management Release Assistant

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

Labels

auto-release When merged to main, release pipelines for this PR's changed packages trigger automatically. Mgmt This issue is related to a management-plane library. mgmt-review-added Management SDK review completed Self-Service Release PR for self-service release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants