-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[Peering] SDK validation for TypeSpec #54303
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
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
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 pull request updates the Azure Peering SDK to validate against TypeSpec, migrating from API version 2022-10-01 to 2025-05-01. The changes include:
- Updated API version references across all generated files
- Modified specification paths to include
/Peering/subfolder structure - Added new connectivity probes functionality to peering resources
- Reordered methods in RestOperations files (moving List operations to precede Get/CreateOrUpdate)
- Updated parameter documentation from generic "Azure subscription ID" to "The ID of the target subscription"
- Added new configuration directives in autorest.md
Reviewed changes
Copilot reviewed 3 out of 93 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| Sample_SubscriptionResourceExtensions.cs | Updated example paths, added new InitializePeeringServiceConnectionMonitor sample, reordered samples |
| Sample_PeeringServiceResource.cs | Updated example definition paths to new API version |
| Sample_PeeringServicePrefixResource.cs | Updated example definition paths to new API version |
| Sample_PeeringServicePrefixCollection.cs | Updated example definition paths to new API version |
| Sample_PeeringServiceCollection.cs | Updated example definition paths to new API version |
| Sample_PeeringResource.cs | Updated example definition paths to new API version |
| Sample_PeeringRegisteredPrefixResource.cs | Updated example definition paths to new API version |
| Sample_PeeringRegisteredPrefixCollection.cs | Updated example definition paths to new API version |
| Sample_PeeringRegisteredAsnResource.cs | Updated example definition paths to new API version |
| Sample_PeeringRegisteredAsnCollection.cs | Updated example definition paths to new API version |
| Sample_PeeringCollection.cs | Updated example paths, added ConnectivityProbes to peering creation samples |
| Sample_PeerAsnResource.cs | Updated example definition paths to new API version |
| Sample_PeerAsnCollection.cs | Updated example definition paths to new API version |
| Sample_ConnectionMonitorTestResource.cs | Updated example definition paths to new API version |
| Sample_ConnectionMonitorTestCollection.cs | Updated example definition paths to new API version |
| autorest.md | Updated require path, added lenient-model-deduplication, updated rename-mappings, modified directives |
| RestOperations files (13 files) | Updated API version to 2025-05-01, reordered methods, updated documentation, adjusted query parameter ordering |
| Resource files (6 files) | Updated API version references in XML documentation comments |
The changes appear to be primarily automated code generation updates with no apparent issues detected.
TSP PR: Azure/azure-rest-api-specs#38357
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.