Skip to content

Comments

[Migrate-Check-Typespec] sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery#25994

Open
jliusan wants to merge 1 commit intomainfrom
mitigate-armrecoveryservicessiterecovery
Open

[Migrate-Check-Typespec] sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery#25994
jliusan wants to merge 1 commit intomainfrom
mitigate-armrecoveryservicessiterecovery

Conversation

@jliusan
Copy link
Member

@jliusan jliusan commented Feb 6, 2026

based on:ruih/recoveryservicessiterecovery-tsp-convert

Copilot AI review requested due to automatic review settings February 6, 2026 09:01
@github-actions github-actions bot added the Mgmt This issue is related to a management-plane library. label Feb 6, 2026
- Struct `ProtectedItemsQueryParameter` has been removed

### Features Added

Copy link
Member Author

Choose a reason for hiding this comment

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

New Features Added:

  • New enum type CreatedByType with values CreatedByTypeApplication, 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 SystemData in struct Alert
  • New field SystemData in struct Event
  • New field SystemData in struct Fabric
  • New field SystemData in struct Job
  • New field SystemData in struct LogicalNetwork
  • New field SystemData in struct MigrationItem
  • New field SystemData in struct MigrationRecoveryPoint
  • New field SystemData in struct Network
  • New field SystemData in struct NetworkMapping
  • New field SystemData in struct Policy
  • New field SystemData in struct ProtectableItem
  • New field SystemData in struct ProtectionContainer
  • New field SystemData in struct ProtectionContainerMapping
  • New field SystemData in struct RecoveryPlan
  • New field SystemData in struct RecoveryPoint
  • New field SystemData in struct RecoveryServicesProvider
  • New field SystemData in struct ReplicationEligibilityResults
  • New field SystemData in struct ReplicationProtectedItem
  • New field SystemData in struct ReplicationProtectionCluster
  • New field SystemData in struct ReplicationProtectionIntent
  • New field SystemData in struct StorageClassification
  • New field SystemData in struct StorageClassificationMapping
  • New field SystemData in struct VCenter
  • New field SystemData in struct VaultSetting

- Struct `MigrationItemsQueryParameter` has been removed
- Struct `ProtectableItemQueryParameter` has been removed
- Struct `ProtectedClustersQueryParameter` has been removed
- Struct `ProtectedItemsQueryParameter` has been removed
Copy link
Member Author

Choose a reason for hiding this comment

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

All Breaking Changes are new added

@github-actions
Copy link

github-actions bot commented Feb 6, 2026

API Change Check

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

sdk/resourcemanager/recoveryservices/armrecoveryservicessiterecovery

Copy link
Contributor

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 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

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

Labels

Mgmt This issue is related to a management-plane library.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant