[Migrate-Check-Typespec] sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery#25994
Open
[Migrate-Check-Typespec] sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery#25994
Conversation
jliusan
commented
Feb 6, 2026
| - Struct `ProtectedItemsQueryParameter` has been removed | ||
|
|
||
| ### Features Added | ||
|
|
Member
Author
There was a problem hiding this comment.
New Features Added:
- New enum type
CreatedByTypewith valuesCreatedByTypeApplication,CreatedByTypeKey,CreatedByTypeManagedIdentity,CreatedByTypeUser - New function
*ExistingRecoveryRecoveryResourceGroup.GetRecoveryResourceGroupCustomDetails() *RecoveryResourceGroupCustomDetails - New function
*InMageAzureV2SwitchProviderProviderInput.GetSwitchProviderProviderSpecificInput() *SwitchProviderProviderSpecificInput - New function
*SwitchProviderProviderSpecificInput.GetSwitchProviderProviderSpecificInput() *SwitchProviderProviderSpecificInput - New struct
ExistingRecoveryRecoveryResourceGroup - New struct
InMageAzureV2SwitchProviderProviderInput - New struct
OperationsDiscoveryProperties - New struct
SystemData - New field
SystemDatain structAlert - New field
SystemDatain structEvent - New field
SystemDatain structFabric - New field
SystemDatain structJob - New field
SystemDatain structLogicalNetwork - New field
SystemDatain structMigrationItem - New field
SystemDatain structMigrationRecoveryPoint - New field
SystemDatain structNetwork - New field
SystemDatain structNetworkMapping - New field
SystemDatain structPolicy - New field
SystemDatain structProtectableItem - New field
SystemDatain structProtectionContainer - New field
SystemDatain structProtectionContainerMapping - New field
SystemDatain structRecoveryPlan - New field
SystemDatain structRecoveryPoint - New field
SystemDatain structRecoveryServicesProvider - New field
SystemDatain structReplicationEligibilityResults - New field
SystemDatain structReplicationProtectedItem - New field
SystemDatain structReplicationProtectionCluster - New field
SystemDatain structReplicationProtectionIntent - New field
SystemDatain structStorageClassification - New field
SystemDatain structStorageClassificationMapping - New field
SystemDatain structVCenter - New field
SystemDatain structVaultSetting
jliusan
commented
Feb 6, 2026
| - Struct `MigrationItemsQueryParameter` has been removed | ||
| - Struct `ProtectableItemQueryParameter` has been removed | ||
| - Struct `ProtectedClustersQueryParameter` has been removed | ||
| - Struct `ProtectedItemsQueryParameter` has been removed |
Member
Author
There was a problem hiding this comment.
All Breaking Changes are new added
API Change CheckAPIView identified API level changes in this PR and created the following API reviews sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery |
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request migrates the armrecoveryservicessiterecovery module from AutoRest-based code generation to TypeSpec-based code generation. This is a major version upgrade from v2 to v3, updating the API version from 2025-01-01 to 2025-08-01, and introduces numerous breaking changes and new features.
Changes:
- Migration from AutoRest to TypeSpec code generator with updated code generation headers
- Module version bump from v2.x to v3.0.0 with API version change to 2025-08-01
- Breaking changes including renamed types, removed helper methods, and refactored interfaces
- New features including agent reinstall capabilities, capacity reservation groups, and system metadata fields
- Dependency updates for azcore (1.20.0 → 1.21.0) and related packages
Reviewed changes
Copilot reviewed 86 out of 113 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| version.go | New file defining module name and version v3.0.0 |
| tsp-location.yaml | New TypeSpec configuration pointing to spec commit |
| time_rfc3339.go | Removed - likely replaced by generated time handling |
| go.mod/go.sum | Updated module path to v3 and dependency versions |
| CHANGELOG.md | Comprehensive changelog documenting breaking changes and new features |
| autorest.md/build.go | Removed AutoRest configuration files |
| *_client.go | Updated with TypeSpec code generation patterns and API version 2025-08-01 |
| *_example_test.go | Updated examples with proper response wrapping |
| fake/*_server.go | Updated fake servers with improved regex matching |
| responses.go | Added new response types and updated method references |
| options.go | Added new options for reinstall mobility service |
| interfaces.go | Removed obsolete interface helper methods |
| polymorphic_helpers.go | Fixed type name corrections |
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.
based on:ruih/recoveryservicessiterecovery-tsp-convert