-
Notifications
You must be signed in to change notification settings - Fork 951
[Automation] Regenerate Quota SDK based on typespec-go branch main
#25704
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
base: main
Are you sure you want to change the base?
Conversation
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 regenerates the Azure Quota SDK based on the latest TypeSpec definitions. The primary change is the migration from the versioned module path (armquota/v2) to an unversioned path (armquota), along with updates to the underlying TypeSpec source location and emitter version.
Key changes include:
- Migration from module version
v2to unversioned module - Update to TypeSpec emitter from version 0.8.2 to 0.8.6
- Update of TypeSpec source location from
specification/quota/Quota.Managementtospecification/quota/resource-manager/Microsoft.Quota/Quota - Addition of parameter validation checks for empty scope parameters
- Improved documentation comments for client constructors
- Import reorganization in several files
- Addition of new operation client examples
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates module path from v2 to unversioned; adds problematic self-dependency |
| go.sum | Updates dependency checksums; includes entries for self-dependency |
| tsp-location.yaml | Updates TypeSpec source directory and commit reference |
| testdata/_metadata.json | Updates emitter version from 0.8.2 to 0.8.6 |
| *_client.go (multiple) | Updates import paths, adds scope validation, improves documentation; contains variable capitalization bugs |
| *_client_example_test.go (multiple) | Updates import paths from v2 to unversioned; contains incorrect example calls |
| fake/*_server.go (multiple) | Updates import paths from v2 to unversioned |
| operation_client_example_test.go | New file with comprehensive operation examples |
sdk/resourcemanager/quota/armquota/groupquotalimitsrequest_client.go
Outdated
Show resolved
Hide resolved
sdk/resourcemanager/quota/armquota/groupquotasubscriptions_client_example_test.go
Outdated
Show resolved
Hide resolved
sdk/resourcemanager/quota/armquota/groupquotas_client_example_test.go
Outdated
Show resolved
Hide resolved
sdk/resourcemanager/quota/armquota/groupquotasubscriptionallocationrequest_client.go
Outdated
Show resolved
Hide resolved
…ent.go Co-authored-by: Copilot <[email protected]>
…ationrequest_client.go Co-authored-by: Copilot <[email protected]>
…test.go Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
…ent_example_test.go Co-authored-by: Copilot <[email protected]>
#25506