[Refresh] Regenerate purview Go SDK with latest TypeSpec#26171
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
Member
|
PR base on main branch from swagger tag: package-2024-04-01-preview |
jliusan
reviewed
Mar 10, 2026
jliusan
reviewed
Mar 10, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR regenerates the armpurview Go SDK from the latest TypeSpec definitions, upgrading the module from v1 (stable 2021-07-01) to v2 (preview 2024-04-01-preview) and migrating the code generator from AutoRest to the Go Code Generator.
Changes:
- Migrates
armpurviewfrom AutoRest (v1.2.0) to TypeSpec (v2.0.0-beta.1), bumping the API version from2021-07-01to2024-04-01-preview - Adds new clients and resources:
FeaturesClient,KafkaConfigurationsClient,IngestionPrivateEndpointConnectionsClient,UsagesClient, plus new models/constants - Updates existing clients (
AccountsClient,PrivateEndpointConnectionsClient, etc.) with improved doc comments, API version bumps, and removes legacy AutoRest artifacts (autorest.md,build.go,time_rfc3339.go)
Reviewed changes
Copilot reviewed 45 out of 46 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
tsp-location.yaml |
New TypeSpec configuration file for SDK regeneration |
version.go |
Bumps module version to v2.0.0-beta.1 |
go.mod / go.sum |
Updates module path to v2, bumps dependency versions |
constants.go |
Adds many new enum types, renames/removes old ones |
models.go |
Adds new model types, removes obsolete types, updates field definitions |
client_factory.go |
Updated to share a single arm.Client internally, adds new factory methods |
accounts_client.go |
Updated to API version 2024-04-01-preview with doc improvements |
defaultaccounts_client.go |
Updated to API version 2024-04-01-preview |
operations_client.go |
Updated to API version 2024-04-01-preview |
privateendpointconnections_client.go |
Updated to API version 2024-04-01-preview |
privatelinkresources_client.go |
Updated to API version 2024-04-01-preview |
features_client.go |
New client for listing feature flags |
kafkaconfigurations_client.go |
New client for Kafka configuration management |
ingestionprivateendpointconnections_client.go |
New client for ingestion private endpoint connections |
usages_client.go |
New client for subscription usage quotas |
responses.go |
Adds response types for new clients |
options.go |
Adds option types for new clients |
fake/*.go |
Updated and new fake server implementations for all clients |
*_example_test.go |
Updated example tests for all clients |
CHANGELOG.md |
Documents breaking changes and new features |
autorest.md / build.go |
Removed as part of TypeSpec migration |
time_rfc3339.go (main+fake) |
Removed as part of TypeSpec migration |
testdata/_metadata.json |
New metadata file with emitter version info |
JiaqiZhang-Dev
previously approved these changes
Mar 10, 2026
Member
|
changelog looks good, please update to beta version |
Member
The version is generated beta |
JiaqiZhang-Dev
approved these changes
Mar 11, 2026
JiaqiZhang-Dev
approved these changes
Mar 11, 2026
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automated regeneration of the
purviewGo SDK using the latest TypeSpec definitions.