-
Notifications
You must be signed in to change notification settings - Fork 2.1k
[AutoPR azure-resourcemanager-avs]-generated-from-SDK Generation - Java-4934257 #45561
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AutoPR azure-resourcemanager-avs]-generated-from-SDK Generation - Java-4934257 #45561
Conversation
…fig.yaml', API Version: 2024-09-01, SDK Release Type: stable, and CommitSHA: '673395fc3962bb6e6cfb55f84d23cc1a0ea6849f' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs'
There was a problem hiding this 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
PrivateCloudsClientandLocationsClient. - Adds
workloadNetworkssupport inAvsClientandAvsManager.
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
getApiVersionis 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 synchronousrotateNsxtPasswordmethod. 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> |
Copilot
AI
Jun 3, 2025
There was a problem hiding this comment.
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.
| 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). |
Copilot
AI
Jun 3, 2025
There was a problem hiding this comment.
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.
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'