Skip to content

[AutoPR @azure-arm-serialconsole]-generated-from-SDK Generation - JS-6318683#38585

Merged
JialinHuang803 merged 11 commits into
mainfrom
sdkauto/@azure-arm-serialconsole-6318683
May 26, 2026
Merged

[AutoPR @azure-arm-serialconsole]-generated-from-SDK Generation - JS-6318683#38585
JialinHuang803 merged 11 commits into
mainfrom
sdkauto/@azure-arm-serialconsole-6318683

Conversation

@azure-sdk
Copy link
Copy Markdown
Collaborator

Configurations: 'specification/serialconsole/resource-manager/Microsoft.SerialConsole/SerialConsole/tspconfig.yaml', API Version: 2024-07-01, SDK Release Type: beta, and CommitSHA: 'b373ded4a6c77a9f541ca8f020fd2072db632751' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6318683 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.

…ft.SerialConsole/SerialConsole/tspconfig.yaml', API Version: 2024-07-01, SDK Release Type: beta, and CommitSHA: 'b373ded4a6c77a9f541ca8f020fd2072db632751' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6318683 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
@github-actions github-actions Bot added the Mgmt This issue is related to a management-plane library. label May 19, 2026
@v-jiaodi v-jiaodi added refresh PR for SDK refresh mgmt-review-needed labels May 19, 2026
@v-jiaodi v-jiaodi marked this pull request as ready for review May 19, 2026 07:09
Copilot AI review requested due to automatic review settings May 19, 2026 07:09
@github-actions github-actions Bot added mgmt-review-in-progress Management SDK review is in progress and removed mgmt-review-needed labels May 19, 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

This is an auto-generated management-plane SDK refresh for @azure/arm-serialconsole based on the SerialConsole TypeSpec (2024-07-01), moving the package to a new 3.0.0-beta.1 shape and updating build/test/sample infrastructure accordingly.

Changes:

  • Regenerated the client from TypeSpec, shifting implementation to @azure-rest/core-client-based API + classic operation-group facades, and updated the public API reports.
  • Updated package build/test configs (warp, vitest, tsconfigs), repo metadata (tsp-location.yaml, metadata.json), and pipeline/CODEOWNERS labeling.
  • Refreshed samples (new v3-beta) and removed older v2 sample set.

Reviewed changes

Copilot reviewed 116 out of 118 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
sdk/serialconsole/ci.mgmt.yml Pipeline trigger exclusion tweak
sdk/serialconsole/arm-serialconsole/warp.config.yml Warp exports/targets updated
sdk/serialconsole/arm-serialconsole/vitest.config.ts Minor config cleanup
sdk/serialconsole/arm-serialconsole/vitest.browser.config.ts Switch to shared eng browser config
sdk/serialconsole/arm-serialconsole/tsp-location.yaml New TypeSpec source metadata
sdk/serialconsole/arm-serialconsole/tsconfig.json Add browser test project ref; reorder refs
sdk/serialconsole/arm-serialconsole/test/snippets.spec.ts Snippet ordering adjustment
sdk/serialconsole/arm-serialconsole/test/sampleTest.spec.ts Recorder imports/formatting cleanup
sdk/serialconsole/arm-serialconsole/src/static-helpers/urlTemplate.ts New URI-template helper implementation
sdk/serialconsole/arm-serialconsole/src/static-helpers/serialization/check-prop-undefined.ts New serialization helper
sdk/serialconsole/arm-serialconsole/src/static-helpers/cloudSettingHelpers.ts Add sovereign cloud endpoint helper/types
sdk/serialconsole/arm-serialconsole/src/operationsInterfaces/serialPorts.ts Remove legacy ops interface (old generator)
sdk/serialconsole/arm-serialconsole/src/operationsInterfaces/index.ts Remove legacy barrel export
sdk/serialconsole/arm-serialconsole/src/operations/serialPorts.ts Remove legacy operation implementation
sdk/serialconsole/arm-serialconsole/src/operations/index.ts Remove legacy barrel export
sdk/serialconsole/arm-serialconsole/src/models/parameters.ts Remove legacy core-client parameter map
sdk/serialconsole/arm-serialconsole/src/models/mappers.ts Remove legacy core-client mappers
sdk/serialconsole/arm-serialconsole/src/models/index.ts Switch to models re-exports from models.js
sdk/serialconsole/arm-serialconsole/src/microsoftSerialConsoleClient.ts New DPG-style client wrapper + op groups
sdk/serialconsole/arm-serialconsole/src/logger.ts Add package logger
sdk/serialconsole/arm-serialconsole/src/index.ts Update public exports (models/options/op groups)
sdk/serialconsole/arm-serialconsole/src/classic/serialPorts/index.ts New classic op-group facade for serialPorts
sdk/serialconsole/arm-serialconsole/src/classic/serialConsoleOperationGroup/index.ts New classic op-group facade for enable/disable
sdk/serialconsole/arm-serialconsole/src/classic/index.ts Classic types barrel
sdk/serialconsole/arm-serialconsole/src/api/serialPorts/options.ts New REST options types
sdk/serialconsole/arm-serialconsole/src/api/serialPorts/operations.ts New REST operation implementations
sdk/serialconsole/arm-serialconsole/src/api/serialPorts/index.ts REST serialPorts entrypoint
sdk/serialconsole/arm-serialconsole/src/api/serialConsoleOperationGroup/options.ts New REST options types
sdk/serialconsole/arm-serialconsole/src/api/serialConsoleOperationGroup/operations.ts New REST enable/disable implementations
sdk/serialconsole/arm-serialconsole/src/api/serialConsoleOperationGroup/index.ts REST operation-group entrypoint
sdk/serialconsole/arm-serialconsole/src/api/options.ts Client-level REST options types
sdk/serialconsole/arm-serialconsole/src/api/operations.ts Client-level REST operations (list/get status)
sdk/serialconsole/arm-serialconsole/src/api/microsoftSerialConsoleContext.ts New REST client context factory
sdk/serialconsole/arm-serialconsole/src/api/index.ts REST api barrel
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/tsconfig.json Samples tsconfig modernized (nodenext)
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialPortsListSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialPortsListBySubscriptionsSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialPortsGetSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialPortsCreateSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialPortsConnectSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialConsoleOperationGroupEnableConsoleSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/serialConsoleOperationGroupDisableConsoleSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/listOperationsSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/src/getConsoleStatusSample.ts New beta TS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/sample.env New beta TS sample env template
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/README.md New beta TS samples README
sdk/serialconsole/arm-serialconsole/samples/v3-beta/typescript/package.json New beta TS samples package metadata
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialPortsListSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialPortsListBySubscriptionsSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialPortsGetSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialPortsCreateSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialPortsConnectSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialConsoleOperationGroupEnableConsoleSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/serialConsoleOperationGroupDisableConsoleSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/listOperationsSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/getConsoleStatusSample.js New beta JS sample
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/sample.env New beta JS sample env template
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/README.md New beta JS samples README
sdk/serialconsole/arm-serialconsole/samples/v3-beta/javascript/package.json New beta JS samples package metadata
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsListSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsListBySubscriptionsSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsGetSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsDeleteSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsCreateSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/serialPortsConnectSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/listOperationsSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/getConsoleStatusSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/enableConsoleSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/src/disableConsoleSample.ts Remove legacy v2 TS sample
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/sample.env Remove legacy v2 TS env template
sdk/serialconsole/arm-serialconsole/samples/v2/typescript/README.md Remove legacy v2 TS README
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsListSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsListBySubscriptionsSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsGetSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsDeleteSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsCreateSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/serialPortsConnectSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/sample.env Remove legacy v2 JS env template
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/README.md Remove legacy v2 JS README
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/listOperationsSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/getConsoleStatusSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/enableConsoleSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples/v2/javascript/disableConsoleSample.js Remove legacy v2 JS sample
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsListSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsListBySubscriptionsSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsGetSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsDeleteSample.ts Remove samples-dev delete sample
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsCreateSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/samples-dev/serialPortsConnectSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/samples-dev/serialConsoleOperationGroupEnableConsoleSample.ts Update samples-dev to new op group API
sdk/serialconsole/arm-serialconsole/samples-dev/serialConsoleOperationGroupDisableConsoleSample.ts Update samples-dev to new op group API
sdk/serialconsole/arm-serialconsole/samples-dev/listOperationsSample.ts Update samples-dev to new constructor usage
sdk/serialconsole/arm-serialconsole/samples-dev/getConsoleStatusSample.ts Update samples-dev to new API version
sdk/serialconsole/arm-serialconsole/sample.env Simplify root sample.env template
sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-node.api.md Update API report for new surface
sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-models-node.api.md Add split API report for models
sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-api-serialPorts-node.api.md Add split API report for serialPorts API
sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-api-serialConsoleOperationGroup-node.api.md Add split API report for op group API
sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-api-node.api.md Add split API report for core API
sdk/serialconsole/arm-serialconsole/README.md Refresh package README links + snippet
sdk/serialconsole/arm-serialconsole/package.json Major packaging/export/build metadata updates
sdk/serialconsole/arm-serialconsole/metadata.json Add generation metadata + cross-language map
sdk/serialconsole/arm-serialconsole/LICENSE Normalize newline at EOF
sdk/serialconsole/arm-serialconsole/eslint.config.mjs Simplify eslint config (potentially risky)
sdk/serialconsole/arm-serialconsole/config/tsconfig.test.node.json Add path mappings for tests
sdk/serialconsole/arm-serialconsole/config/tsconfig.test.browser.json Add browser test tsconfig
sdk/serialconsole/arm-serialconsole/config/tsconfig.src.react-native.json Add react-native src tsconfig
sdk/serialconsole/arm-serialconsole/config/tsconfig.src.esm.json Formatting-only update
sdk/serialconsole/arm-serialconsole/config/tsconfig.src.cjs.json Formatting-only update
sdk/serialconsole/arm-serialconsole/config/tsconfig.src.browser.json Formatting-only update
sdk/serialconsole/arm-serialconsole/config/tsconfig.samples.json Formatting-only update
sdk/serialconsole/arm-serialconsole/config/tsconfig.lint.json Remove lint tsconfig
sdk/serialconsole/arm-serialconsole/CHANGELOG.md Bump to 3.0.0-beta.1 + describe API changes
sdk/serialconsole/arm-serialconsole/api-extractor.json Formatting-only update
sdk/serialconsole/arm-serialconsole/_meta.json Remove legacy autorest metadata file
pnpm-lock.yaml Lock updates for new deps/scripts
.github/CODEOWNERS Add mgmt review-needed label for package
sdk/serialconsole/arm-serialconsole/src/api/microsoftSerialConsoleContext.ts (Context) auth scopes/cloud endpoint behavior
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

sdk/serialconsole/arm-serialconsole/warp.config.yml:23

  • warp.config.yml no longer extends the repo warp.base.config.yml and the targets list omits the react-native target even though config/tsconfig.src.react-native.json was added in this PR. Either add the react-native target (or restore extending the base config and include it in the overridden targets) or drop the unused react-native tsconfig to keep the build config consistent.

Comment thread sdk/serialconsole/arm-serialconsole/package.json
Comment thread sdk/serialconsole/arm-serialconsole/eslint.config.mjs Outdated
Comment thread sdk/serialconsole/arm-serialconsole/CHANGELOG.md Outdated
Comment thread sdk/serialconsole/arm-serialconsole/eslint.config.mjs
v-jiaodi and others added 4 commits May 19, 2026 16:24
… sdkauto/@azure-arm-serialconsole-6318683
…ft.SerialConsole/SerialConsole/tspconfig.yaml', API Version: 2024-07-01, SDK Release Type: beta, and CommitSHA: '04e1bf1293607d05faacc008c84d64a9bb3f3338' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6319425 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
@v-jiaodi
Copy link
Copy Markdown
Member

v-jiaodi commented May 22, 2026

Note

This analysis was generated by AI. Please review the classifications and root causes for accuracy.

Breaking Change Analysis: @azure/arm-serialconsole 3.0.0-beta.1

Old SDK (main) New SDK (PR)
Generator Swagger / AutoRest TypeSpec / emitter
API Version 2018-05-01 2024-07-01
Package Version 2.1.1 3.0.0-beta.1

Spec References:


Type 1: API Version Upgrade (2018-05-01 -> 2024-07-01) -- 3 items

# Breaking Change Root Cause
1 Removed operation SerialPorts.delete SerialPorts_Delete operation exists in 2018-05-01 swagger but is absent from the 2024-07-01 TypeSpec-generated swagger. The DELETE endpoint was removed in the new API version.
2 Removed Interface SerialPortsDeleteOptionalParams Cascading from row 1: options interface for the removed SerialPorts.delete operation.
3 Interface SerialConsoleStatus no longer has parameter disabled In 2018-05-01 swagger, SerialConsoleStatus has disabled as a direct property. In 2024-07-01 swagger, disabled is nested inside a properties sub-object (SerialConsoleStatusProperties). The model was restructured in the new API version.

Total: 3 (Type 1: API Version Upgrade) breaking changes

… sdkauto/@azure-arm-serialconsole-6318683
Comment thread sdk/serialconsole/arm-serialconsole/review/arm-serialconsole-node.api.md Outdated
@JialinHuang803
Copy link
Copy Markdown
Member

JialinHuang803 commented May 25, 2026

You may need to remove the additional subpath api.md files to resolve the pipeline failure.

v-jiaodi and others added 2 commits May 26, 2026 09:46
…ft.SerialConsole/SerialConsole/tspconfig.yaml', API Version: 2024-07-01, SDK Release Type: beta, and CommitSHA: '09f28748225dfa888ed244701dc762aaf13efb41' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6350135 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release.
@JialinHuang803 JialinHuang803 merged commit 382fe2e into main May 26, 2026
13 checks passed
@JialinHuang803 JialinHuang803 deleted the sdkauto/@azure-arm-serialconsole-6318683 branch May 26, 2026 07:36
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. mgmt-review-in-progress Management SDK review is in progress refresh PR for SDK refresh

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants