Skip to content

Conversation

azure-sdk
Copy link
Collaborator

…n from spec commit: 8a9dbb28e788355a47dc5bad3ea5f8da212b4bf6
@Copilot Copilot AI review requested due to automatic review settings September 26, 2025 01:24
Copy link
Contributor

@Copilot 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 NetApp Azure SDK from version v7.7.0 to v8.0.0-beta.2, transitioning from a stable API version (2025-06-01) to a preview API version (2025-07-01-preview). The update introduces new functionality including bucket management, account-level quota limits, and enhanced LDAP configuration support.

Key changes include:

  • Version upgrade with API version change from stable to preview
  • New bucket resource management capabilities
  • Enhanced account-level LDAP configuration
  • Addition of quota reporting functionality

Reviewed Changes

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

Show a summary per file
File Description
go.mod Updates module path to v8 and upgrades dependencies
version.go Bumps version to v8.0.0-beta.2
models.go Adds new data structures for buckets, LDAP config, and quota management
*_client.go Updates API versions and adds new client methods
*_example_test.go Updates import paths and example API references
fake/ Updates fake server implementations for testing

return nil, err
}
if !runtime.HasStatusCode(httpResp, http.StatusAccepted, http.StatusNoContent) {
if !runtime.HasStatusCode(httpResp, http.StatusOK, http.StatusAccepted) {
Copy link
Preview

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

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

The HTTP status code check for splitCloneFromParent has been changed from accepting StatusNoContent to only accepting StatusOK and StatusAccepted. This is a breaking change that could cause existing code to fail if the API returns 204 No Content, which was previously valid.

Suggested change
if !runtime.HasStatusCode(httpResp, http.StatusOK, http.StatusAccepted) {
if !runtime.HasStatusCode(httpResp, http.StatusOK, http.StatusAccepted, http.StatusNoContent) {

Copilot uses AI. Check for mistakes.

// Properties: &armnetapp.VolumeProperties{
// AcceptGrowCapacityPoolForShortTermCloneSplit: to.Ptr(armnetapp.AcceptGrowCapacityPoolForShortTermCloneSplitAccepted),
// CreationToken: to.Ptr("some-amazing-filepath"),
// FileSystemID: to.Ptr("9760acf5-4638-11e7-9bdb-020073ca7778"),
Copy link
Preview

Copilot AI Sep 26, 2025

Choose a reason for hiding this comment

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

The example still contains a real-looking GUID (9760acf5-4638-11e7-9bdb-020073ca7778) that should be replaced with the placeholder format (00000000-0000-0000-0000-000000000000) for consistency with other examples in the same file.

Suggested change
// FileSystemID: to.Ptr("9760acf5-4638-11e7-9bdb-020073ca7778"),
// FileSystemID: to.Ptr("00000000-0000-0000-0000-000000000000"),

Copilot uses AI. Check for mistakes.

Copy link

API Change Check

APIView identified API level changes in this PR and created the following API reviews

sdk/resourcemanager/netapp/armnetapp

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

Successfully merging this pull request may close these issues.

1 participant