Skip to content

Conversation

@HarveyLink
Copy link
Member

TSP PR: Azure/azure-rest-api-specs#38436

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.

@github-actions github-actions bot added the Mgmt This issue is related to a management package. label Dec 11, 2025
@github-actions
Copy link

github-actions bot commented Dec 11, 2025

API Change Check

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

Azure.ResourceManager.RedisEnterprise

@HarveyLink HarveyLink marked this pull request as ready for review December 12, 2025 05:48
Copilot AI review requested due to automatic review settings December 12, 2025 05:48
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 PR validates the TypeSpec changes for the RedisEnterprise SDK by regenerating the SDK code for a new preview API version (2025-08-01-preview). The changes primarily involve updating API version references, adding support for a new Migration resource, introducing maintenance window configuration, and updating example file paths to reference the new preview API version.

  • Updates API version from 2025-07-01 to 2025-08-01-preview across all generated files
  • Introduces new RedisEnterpriseMigration resource with Get, CreateOrUpdate, and Cancel operations
  • Adds maintenance window configuration support to cluster resources
  • Updates sample/test files to reference the new preview API version examples
  • Adds groupIds property to private endpoint connection data model

Reviewed changes

Copilot reviewed 3 out of 75 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Sample_SubscriptionResourceExtensions.cs Updates example paths from stable to preview API version
Sample_RedisEnterprisePrivateEndpointConnectionResource.cs Updates example paths to preview version
Sample_RedisEnterprisePrivateEndpointConnectionCollection.cs Updates example paths to preview version
Sample_RedisEnterpriseMigrationResource.cs New sample file for migration resource operations
Sample_RedisEnterpriseDatabaseResource.cs Updates example paths and reorders method samples
Sample_RedisEnterpriseDatabaseCollection.cs Updates example paths to preview version
Sample_RedisEnterpriseClusterResource.cs Adds System.Xml import and maintenance window samples
Sample_RedisEnterpriseClusterCollection.cs Adds System.Xml import and maintenance window samples
Sample_AccessPolicyAssignmentResource.cs Updates example paths to preview version
Sample_AccessPolicyAssignmentCollection.cs Updates example paths to preview version
autorest.md Updates spec reference, adds new rename mappings, and format directives
RedisEnterpriseRestOperations.cs Updates API version and reorders methods
PrivateLinkResourcesRestOperations.cs Updates API version and adds pagination support
PrivateEndpointConnectionsRestOperations.cs Updates API version and adds pagination support
OperationsStatusRestOperations.cs Updates API version and documentation
MigrationRestOperations.cs New REST operations file for migration resource
DatabasesRestOperations.cs Updates API version and reorders operation methods
AccessPolicyAssignmentRestOperations.cs Updates API version and reorders methods
RedisEnterprisePrivateEndpointConnectionResource.cs Updates default API version references
RedisEnterprisePrivateEndpointConnectionData.cs Adds groupIds property to the model
RedisEnterprisePrivateEndpointConnectionData.Serialization.cs Adds serialization for groupIds property
RedisEnterprisePrivateEndpointConnectionCollection.cs Adds pagination support and updates API version
RedisEnterpriseMigrationResource.cs New resource class for migration operations
RedisEnterpriseMigrationResource.Serialization.cs Serialization support for migration resource
RedisEnterpriseMigrationData.cs Data model for migration resource
RedisEnterpriseMigrationData.Serialization.cs Serialization implementation for migration data
RedisEnterpriseDatabaseCollection.cs Updates default API version
RedisEnterpriseClusterResource.cs Adds migration resource accessor and pagination support
RedisEnterpriseClusterData.cs Adds maintenance configuration property
UnknownMigrationProperties.cs New unknown type handler for migration properties

System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.ImportRedisEnterpriseDatabaseContent>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct MaintenanceDayOfWeek : System.IEquatable<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceDayOfWeek>
Copy link
Member

Choose a reason for hiding this comment

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

I think we need to make this more specific to this RP to avoid collision.

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to ClusterCustomMaintenanceDayOfWeek

public static bool operator !=(Azure.ResourceManager.RedisEnterprise.Models.MaintenanceDayOfWeek left, Azure.ResourceManager.RedisEnterprise.Models.MaintenanceDayOfWeek right) { throw null; }
public override string ToString() { throw null; }
}
public partial class MaintenanceWindow : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindow>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindow>
Copy link
Member

Choose a reason for hiding this comment

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

name too generic

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to ClusterCustomMaintenanceWindow

string System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindow>.GetFormatFromOptions(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindow>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
public partial class MaintenanceWindowSchedule : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowSchedule>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowSchedule>
Copy link
Member

Choose a reason for hiding this comment

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

name too generic

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to ClusterCustomMaintenanceWindowSchedule

System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowSchedule>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct MaintenanceWindowType : System.IEquatable<Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowType>
Copy link
Member

Choose a reason for hiding this comment

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

name too generic

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to ClusterCustomMaintenanceWindowType

public static bool operator !=(Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowType left, Azure.ResourceManager.RedisEnterprise.Models.MaintenanceWindowType right) { throw null; }
public override string ToString() { throw null; }
}
public abstract partial class MigrationProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.RedisEnterprise.Models.MigrationProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MigrationProperties>
Copy link
Member

Choose a reason for hiding this comment

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

this should follow the same naming pattern for Migration model

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to RedisEnterpriseMigrationProperties

System.BinaryData System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.RedisEnterprise.Models.MigrationProperties>.Write(System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct MigrationProvisioningState : System.IEquatable<Azure.ResourceManager.RedisEnterprise.Models.MigrationProvisioningState>
Copy link
Member

Choose a reason for hiding this comment

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

same here

Copy link
Member Author

Choose a reason for hiding this comment

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

Renamed to RedisEnterpriseMigrationProvisioningState

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants