Skip to content

mgmt, update compute to 2025-11-01#48844

Merged
weidongxu-microsoft merged 2 commits intoAzure:mainfrom
weidongxu-microsoft:mgmt_compute-2025-11
Apr 17, 2026
Merged

mgmt, update compute to 2025-11-01#48844
weidongxu-microsoft merged 2 commits intoAzure:mainfrom
weidongxu-microsoft:mgmt_compute-2025-11

Conversation

@weidongxu-microsoft
Copy link
Copy Markdown
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Apr 17, 2026
@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review April 17, 2026 03:52
Copilot AI review requested due to automatic review settings April 17, 2026 03:52
@weidongxu-microsoft weidongxu-microsoft merged commit 510acfb into Azure:main Apr 17, 2026
22 checks passed
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_compute-2025-11 branch April 17, 2026 03:52
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 PR updates the Azure Resource Manager Compute Java SDK to align with the Microsoft.Compute 2025-11-01 swagger/spec version, regenerating clients/models and updating generated samples accordingly.

Changes:

  • Bumped the tsp-location.yaml spec commit reference used for generation.
  • Updated generated client code to use apiVersion = "2025-11-01" and adjusted method signatures where the REST API changed (e.g., VM deallocate adds forceDeallocate).
  • Added/updated generated models, enums, and samples for newly supported scenarios (e.g., VMSS lifecycle hook events; storage fault domain alignment fields).

Reviewed changes

Copilot reviewed 78 out of 268 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
sdk/compute/azure-resourcemanager-compute/tsp-location.yaml Points generation at the newer azure-rest-api-specs commit.
sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/implementation/* Updates generated clients to 2025-11-01 api-version and new parameters.
sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/models/* Adds new enums/fields surfaced by the updated swagger (e.g., Standard securityType, storage alignment).
sdk/compute/azure-resourcemanager-compute/src/main/java/com/azure/resourcemanager/compute/fluent/ComputeManagementClient* Adds a new lifecycle hook events client accessor.
sdk/compute/azure-resourcemanager-compute/src/samples/java/... Updates sample provenance to 2025-11-01 and adds new samples for new operations.

Comment on lines 1 to +2
directory: specification/compute/resource-manager/Microsoft.Compute/Compute
commit: a6de97d4e9caec8fb976c9c4b430fd01a15d2e8e
commit: 40f196da0154477506dafd25d99e80bcbfc04ac2
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

The PR description is still the default template and doesn’t explain what changed (e.g., api-version bump to 2025-11-01, new lifecycle hook events client/models) or how to verify. Please replace it with a short summary, motivation, and validation steps, and link the source swagger/spec PR if applicable.

Copilot uses AI. Check for mistakes.
Comment on lines 1 to +2
directory: specification/compute/resource-manager/Microsoft.Compute/Compute
commit: a6de97d4e9caec8fb976c9c4b430fd01a15d2e8e
commit: 40f196da0154477506dafd25d99e80bcbfc04ac2
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

This api-version/spec update appears to introduce new public surface area (e.g., new models/enums and VMSS lifecycle hook events client), but the module CHANGELOG doesn’t mention the update (no 2025-11-01 entry). Please add an entry under the current (Unreleased) section describing the api-version bump and notable additions/behavior changes.

Copilot uses AI. Check for mistakes.
Comment on lines 105 to 108
* Get the securityType property: Specifies the SecurityType of the virtual machine. It has to be set to any
* specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this
* property is set.
* property is set and is not Standard. If not specified, Standard will be returned starting api version 2025-11-01.
*
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Line exceeds the repo’s 120 character Checkstyle limit (see eng/lintingconfigs/checkstyle/track2/checkstyle.xml LineLength max=120). Please wrap/reflow this JavaDoc line to avoid Checkstyle failures.

Copilot uses AI. Check for mistakes.
Comment on lines 116 to 119
* Set the securityType property: Specifies the SecurityType of the virtual machine. It has to be set to any
* specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this
* property is set.
* property is set and is not Standard. If not specified, Standard will be returned starting api version 2025-11-01.
*
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Line exceeds the repo’s 120 character Checkstyle limit (see eng/lintingconfigs/checkstyle/track2/checkstyle.xml LineLength max=120). Please wrap/reflow this JavaDoc line to avoid Checkstyle failures.

Copilot uses AI. Check for mistakes.
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.

3 participants