Skip to content

Conversation

@azure-sdk
Copy link
Collaborator

Configurations: 'specification/vmware/Microsoft.AVS.Management/tspconfig.yaml', API Version: 2024-09-01, SDK Release Type: stable, and CommitSHA: '673395fc3962bb6e6cfb55f84d23cc1a0ea6849f' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'

…fig.yaml', API Version: 2024-09-01, SDK Release Type: stable, and CommitSHA: '673395fc3962bb6e6cfb55f84d23cc1a0ea6849f' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Jun 3, 2025
@weidongxu-microsoft weidongxu-microsoft marked this pull request as ready for review June 3, 2025 07:12
Copilot AI review requested due to automatic review settings June 3, 2025 07:12
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 updates generated AVS management clients for Java to use the new TypeSpec generator and aligns method signatures and factory methods with the 2024-09-01 API:

  • Swaps AutoRest headers for TypeSpec in all fluent client classes.
  • Renames and re-docs listing and rotation methods in PrivateCloudsClient and LocationsClient.
  • Adds workloadNetworks support in AvsClient and AvsManager.

Reviewed Changes

Copilot reviewed 568 out of 568 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
sdk/avs/.../PureStoragePoliciesClient.java Updated generator header comment
sdk/avs/.../PrivateCloudsClient.java Renamed list methods, updated rotation API signatures and docs
sdk/avs/.../LocationsClient.java Swapped quota/trial APIs and adjusted Javadoc to match signatures
sdk/avs/.../AvsClient.java Added getWorkloadNetworks(), reordered getters, updated Javadoc
sdk/avs/.../AvsManager.java Added workloadNetworks() factory, reordered resource fields
sdk/avs/.../pom.xml, README.md Changed "tag" to "api-version" in descriptions
Comments suppressed due to low confidence (3)

sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java:23

  • [nitpick] The Javadoc for getApiVersion is ambiguous. It would be clearer to state "Gets the API version."
*     * Gets Version parameter.

sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/AvsClient.java:15

  • [nitpick] Consider updating the Javadoc to "Gets the service endpoint." for consistency with REST client naming conventions.
*     * Gets Service host.

sdk/avs/azure-resourcemanager-avs/src/main/java/com/azure/resourcemanager/avs/fluent/PrivateCloudsClient.java:335

  • The NSX-T rotation only exposes LRO variants (beginRotateNsxtPassword) and lacks a synchronous rotateNsxtPassword method. Consider adding a synchronous variant for consistency with the vCenter rotation API.
SyncPoller<PollResult<Void>, Void> beginRotateNsxtPassword(String resourceGroupName, String privateCloudName);


<name>Microsoft Azure SDK for Avs Management</name>
<description>This package contains Microsoft Azure SDK for Avs Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure VMware Solution API. Package tag package-2024-09-01.</description>
<description>This package contains Microsoft Azure SDK for Avs Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure VMware Solution API. Package api-version 2024-09-01.</description>
Copy link

Copilot AI Jun 3, 2025

Choose a reason for hiding this comment

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

[nitpick] Consider capitalizing "API version" instead of "api-version" to match standard phrasing in Maven POM descriptions.

Copilot uses AI. Check for mistakes.
Azure Resource Manager Avs client library for Java.

This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package tag package-2024-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package api-version 2024-09-01. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
Copy link

Copilot AI Jun 3, 2025

Choose a reason for hiding this comment

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

[nitpick] For consistency with other docs, consider using "API version" instead of "api-version" in the README.

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.

2 participants