diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 708df1c54978..2be77f4d9d01 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -161,7 +161,7 @@ - + diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/CHANGELOG.md b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/CHANGELOG.md new file mode 100644 index 000000000000..316cb92808ca --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/CHANGELOG.md @@ -0,0 +1,25 @@ +# Release History + +## 1.1.0-beta.1 (2025-11-28) + +### Features Added + +- Update api-version to `2025-07-01`. +- Removed `ExperimentalAttribute` on the assembly. + +### Breaking Changes + +- Deprecated models `RedisEnterprisePrivateEndpointConnectionData`. Please use `RedisEnterprisePrivateEndpointConnection` instead. +- Deprecated properties `RedisEnterpriseCluster.PrivateEndpointConnections`. Please use `RedisEnterpriseCluster.PrivateEndpointConnectionResources` instead. + +## 1.0.0 (2025-08-26) + +### Features Added + +- The new Azure.Provisioning.RedisEnterprise experience. + +## 1.0.0-beta.1 (2025-07-25) + +### Features Added + +- Initial beta release of new Azure.Provisioning.RedisEnterprise. diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/Changelog.md b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/Changelog.md deleted file mode 100644 index 9e2513b94b1c..000000000000 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/Changelog.md +++ /dev/null @@ -1,23 +0,0 @@ -# Release History - -## 1.1.0-beta.1 (Unreleased) - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes - -## 1.0.0 (2025-08-26) - -### Features Added - -- The new Azure.Provisioning.RedisEnterprise experience. - -## 1.0.0-beta.1 (2025-07-25) - -### Features Added - -- Initial beta release of new Azure.Provisioning.RedisEnterprise. diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.net8.0.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.net8.0.cs index 480b6aff69d1..0d4efc66b6df 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.net8.0.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.net8.0.cs @@ -29,6 +29,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public enum DeferUpgradeSetting @@ -70,8 +71,11 @@ public partial class RedisEnterpriseCluster : Azure.Provisioning.Primitives.Prov public Azure.Provisioning.BicepValue Location { get { throw null; } set { } } public Azure.Provisioning.BicepValue MinimumTlsVersion { get { throw null; } set { } } public Azure.Provisioning.BicepValue Name { get { throw null; } set { } } + public Azure.Provisioning.BicepList PrivateEndpointConnectionResources { get { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public Azure.Provisioning.BicepList PrivateEndpointConnections { get { throw null; } } public Azure.Provisioning.BicepValue ProvisioningState { get { throw null; } } + public Azure.Provisioning.BicepValue PublicNetworkAccess { get { throw null; } set { } } public Azure.Provisioning.BicepValue RedisVersion { get { throw null; } } public Azure.Provisioning.BicepValue RedundancyMode { get { throw null; } } public Azure.Provisioning.BicepValue ResourceState { get { throw null; } } @@ -93,6 +97,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public enum RedisEnterpriseClusteringPolicy @@ -100,6 +105,7 @@ public enum RedisEnterpriseClusteringPolicy EnterpriseCluster = 0, [System.Runtime.Serialization.DataMemberAttribute(Name="OSSCluster")] OssCluster = 1, + NoCluster = 2, } public enum RedisEnterpriseClusterResourceState { @@ -181,6 +187,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public partial class RedisEnterpriseDatabaseGeoReplication : Azure.Provisioning.Primitives.ProvisionableConstruct @@ -263,8 +270,10 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public partial class RedisEnterprisePrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct { public RedisEnterprisePrivateEndpointConnectionData() { } @@ -307,6 +316,11 @@ public enum RedisEnterpriseProvisioningStatus Updating = 4, Deleting = 5, } + public enum RedisEnterprisePublicNetworkAccess + { + Enabled = 0, + Disabled = 1, + } public enum RedisEnterpriseRedundancyMode { None = 0, diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.netstandard2.0.cs index 480b6aff69d1..0d4efc66b6df 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.netstandard2.0.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/api/Azure.Provisioning.RedisEnterprise.netstandard2.0.cs @@ -29,6 +29,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public enum DeferUpgradeSetting @@ -70,8 +71,11 @@ public partial class RedisEnterpriseCluster : Azure.Provisioning.Primitives.Prov public Azure.Provisioning.BicepValue Location { get { throw null; } set { } } public Azure.Provisioning.BicepValue MinimumTlsVersion { get { throw null; } set { } } public Azure.Provisioning.BicepValue Name { get { throw null; } set { } } + public Azure.Provisioning.BicepList PrivateEndpointConnectionResources { get { throw null; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public Azure.Provisioning.BicepList PrivateEndpointConnections { get { throw null; } } public Azure.Provisioning.BicepValue ProvisioningState { get { throw null; } } + public Azure.Provisioning.BicepValue PublicNetworkAccess { get { throw null; } set { } } public Azure.Provisioning.BicepValue RedisVersion { get { throw null; } } public Azure.Provisioning.BicepValue RedundancyMode { get { throw null; } } public Azure.Provisioning.BicepValue ResourceState { get { throw null; } } @@ -93,6 +97,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public enum RedisEnterpriseClusteringPolicy @@ -100,6 +105,7 @@ public enum RedisEnterpriseClusteringPolicy EnterpriseCluster = 0, [System.Runtime.Serialization.DataMemberAttribute(Name="OSSCluster")] OssCluster = 1, + NoCluster = 2, } public enum RedisEnterpriseClusterResourceState { @@ -181,6 +187,7 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } public partial class RedisEnterpriseDatabaseGeoReplication : Azure.Provisioning.Primitives.ProvisionableConstruct @@ -263,8 +270,10 @@ public static partial class ResourceVersions public static readonly string V2024_02_01; public static readonly string V2024_10_01; public static readonly string V2025_04_01; + public static readonly string V2025_07_01; } } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public partial class RedisEnterprisePrivateEndpointConnectionData : Azure.Provisioning.Primitives.ProvisionableConstruct { public RedisEnterprisePrivateEndpointConnectionData() { } @@ -307,6 +316,11 @@ public enum RedisEnterpriseProvisioningStatus Updating = 4, Deleting = 5, } + public enum RedisEnterprisePublicNetworkAccess + { + Enabled = 0, + Disabled = 1, + } public enum RedisEnterpriseRedundancyMode { None = 0, diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionData.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/Models/RedisEnterprisePrivateEndpointConnectionData.cs similarity index 89% rename from sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionData.cs rename to sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/Models/RedisEnterprisePrivateEndpointConnectionData.cs index 423d8106a9fb..12aab0f02e32 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePrivateEndpointConnectionData.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/Models/RedisEnterprisePrivateEndpointConnectionData.cs @@ -1,14 +1,12 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. +// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -// - #nullable enable +using System.ComponentModel; using Azure.Core; using Azure.Provisioning.Primitives; using Azure.Provisioning.Resources; -using System; namespace Azure.Provisioning.RedisEnterprise; @@ -16,12 +14,13 @@ namespace Azure.Provisioning.RedisEnterprise; /// A class representing the RedisEnterprisePrivateEndpointConnection data /// model. The Private Endpoint Connection resource. /// +[EditorBrowsable(EditorBrowsableState.Never)] public partial class RedisEnterprisePrivateEndpointConnectionData : ProvisionableConstruct { /// /// Gets Id. /// - public BicepValue PrivateEndpointId + public BicepValue PrivateEndpointId { get { Initialize(); return _privateEndpointId!; } } @@ -31,7 +30,7 @@ public BicepValue PrivateEndpointId /// A collection of information about the state of the connection between /// service consumer and provider. /// - public RedisEnterprisePrivateLinkServiceConnectionState ConnectionState + public RedisEnterprisePrivateLinkServiceConnectionState ConnectionState { get { Initialize(); return _connectionState!; } set { Initialize(); AssignOrReplace(ref _connectionState, value); } @@ -41,7 +40,7 @@ public RedisEnterprisePrivateLinkServiceConnectionState ConnectionState /// /// The provisioning state of the private endpoint connection resource. /// - public BicepValue ProvisioningState + public BicepValue ProvisioningState { get { Initialize(); return _provisioningState!; } } @@ -50,7 +49,7 @@ public BicepValue Pro /// /// Gets the Id. /// - public BicepValue Id + public BicepValue Id { get { Initialize(); return _id!; } } @@ -59,7 +58,7 @@ public BicepValue Id /// /// Gets the Name. /// - public BicepValue Name + public BicepValue Name { get { Initialize(); return _name!; } } @@ -68,7 +67,7 @@ public BicepValue Name /// /// Gets the ResourceType. /// - public BicepValue ResourceType + public BicepValue ResourceType { get { Initialize(); return _resourceType!; } } @@ -77,7 +76,7 @@ public BicepValue ResourceType /// /// Gets the SystemData. /// - public SystemData SystemData + public SystemData SystemData { get { Initialize(); return _systemData!; } } diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/RedisEnterpriseCluster.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/RedisEnterpriseCluster.cs new file mode 100644 index 000000000000..53d91eeb591c --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/BackCompatible/RedisEnterpriseCluster.cs @@ -0,0 +1,32 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +#nullable enable + +using System.ComponentModel; + +namespace Azure.Provisioning.RedisEnterprise; + +/// +/// RedisEnterpriseCluster. +/// +public partial class RedisEnterpriseCluster +{ + /// + /// List of private endpoint connections associated with the specified + /// Redis Enterprise cluster. + /// + /// This property is obsoleted in favor of 'PrivateEndpointConnectionResources' property. + /// + [EditorBrowsable(EditorBrowsableState.Never)] + public BicepList PrivateEndpointConnections + { + get { Initialize(); return _privateEndpointConnections!; } + } + private BicepList? _privateEndpointConnections; + + private partial void DefineAdditionalProperties() + { + _privateEndpointConnections = DefineListProperty("PrivateEndpointConnections", ["properties", "privateEndpointConnections"], isOutput: true); + } +} diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/AccessPolicyAssignment.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/AccessPolicyAssignment.cs index 169b6dbb419d..3af4f53118ec 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/AccessPolicyAssignment.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/AccessPolicyAssignment.cs @@ -97,7 +97,7 @@ public RedisEnterpriseDatabase? Parent /// /// Version of the AccessPolicyAssignment. public AccessPolicyAssignment(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/databases/accessPolicyAssignments", resourceVersion ?? "2025-04-01") + : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/databases/accessPolicyAssignments", resourceVersion ?? "2025-07-01") { } @@ -121,6 +121,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-07-01. + /// + public static readonly string V2025_07_01 = "2025-07-01"; + /// /// 2025-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusteringPolicy.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusteringPolicy.cs index c93a47282f4c..1f9985a24ff7 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusteringPolicy.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterpriseClusteringPolicy.cs @@ -8,8 +8,9 @@ namespace Azure.Provisioning.RedisEnterprise; /// -/// Clustering policy - default is OSSCluster. This property must be chosen at -/// create time, and cannot be changed without deleting the database. +/// Clustering policy - default is OSSCluster. This property can be updated +/// only if the current value is NoCluster. If the value is OSSCluster or +/// EnterpriseCluster, it cannot be updated without deleting the database. /// public enum RedisEnterpriseClusteringPolicy { @@ -25,4 +26,10 @@ public enum RedisEnterpriseClusteringPolicy /// [DataMember(Name = "OSSCluster")] OssCluster, + + /// + /// The NoCluster policy is used for non-clustered Redis instances that do + /// not require clustering features. + /// + NoCluster, } diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePublicNetworkAccess.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePublicNetworkAccess.cs new file mode 100644 index 000000000000..f0423ed84add --- /dev/null +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/Models/RedisEnterprisePublicNetworkAccess.cs @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +// + +namespace Azure.Provisioning.RedisEnterprise; + +/// +/// Whether or not public network traffic can access the Redis cluster. Only +/// 'Enabled' or 'Disabled' can be set. null is returned +/// only for clusters created using an old API version which do not have this +/// property and cannot be set. +/// +public enum RedisEnterprisePublicNetworkAccess +{ + /// + /// Enabled. + /// + Enabled, + + /// + /// Disabled. + /// + Disabled, +} diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseCluster.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseCluster.cs index eaf7e736ea58..bebcfda51140 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseCluster.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseCluster.cs @@ -98,6 +98,19 @@ public BicepValue MinimumTlsVersion } private BicepValue? _minimumTlsVersion; + /// + /// Whether or not public network traffic can access the Redis cluster. + /// Only 'Enabled' or 'Disabled' can be set. null is + /// returned only for clusters created using an old API version which do + /// not have this property and cannot be set. + /// + public BicepValue PublicNetworkAccess + { + get { Initialize(); return _publicNetworkAccess!; } + set { Initialize(); _publicNetworkAccess!.Assign(value); } + } + private BicepValue? _publicNetworkAccess; + /// /// Gets or sets the Tags. /// @@ -149,11 +162,11 @@ public BicepValue Kind /// List of private endpoint connections associated with the specified /// Redis Enterprise cluster. /// - public BicepList PrivateEndpointConnections + public BicepList PrivateEndpointConnectionResources { - get { Initialize(); return _privateEndpointConnections!; } + get { Initialize(); return _privateEndpointConnectionResources!; } } - private BicepList? _privateEndpointConnections; + private BicepList? _privateEndpointConnectionResources; /// /// Current provisioning status of the cluster. @@ -212,7 +225,7 @@ public SystemData SystemData /// /// Version of the RedisEnterpriseCluster. public RedisEnterpriseCluster(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise", resourceVersion ?? "2025-04-01") + : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise", resourceVersion ?? "2025-07-01") { } @@ -229,24 +242,33 @@ protected override void DefineProvisionableProperties() _highAvailability = DefineProperty("HighAvailability", ["properties", "highAvailability"]); _identity = DefineModelProperty("Identity", ["identity"]); _minimumTlsVersion = DefineProperty("MinimumTlsVersion", ["properties", "minimumTlsVersion"]); + _publicNetworkAccess = DefineProperty("PublicNetworkAccess", ["properties", "publicNetworkAccess"]); _tags = DefineDictionaryProperty("Tags", ["tags"]); _zones = DefineListProperty("Zones", ["zones"]); _hostName = DefineProperty("HostName", ["properties", "hostName"], isOutput: true); _id = DefineProperty("Id", ["id"], isOutput: true); _kind = DefineProperty("Kind", ["kind"], isOutput: true); - _privateEndpointConnections = DefineListProperty("PrivateEndpointConnections", ["properties", "privateEndpointConnections"], isOutput: true); + _privateEndpointConnectionResources = DefineListProperty("PrivateEndpointConnectionResources", ["properties", "privateEndpointConnections"], isOutput: true); _provisioningState = DefineProperty("ProvisioningState", ["properties", "provisioningState"], isOutput: true); _redisVersion = DefineProperty("RedisVersion", ["properties", "redisVersion"], isOutput: true); _redundancyMode = DefineProperty("RedundancyMode", ["properties", "redundancyMode"], isOutput: true); _resourceState = DefineProperty("ResourceState", ["properties", "resourceState"], isOutput: true); _systemData = DefineModelProperty("SystemData", ["systemData"], isOutput: true); + DefineAdditionalProperties(); } + private partial void DefineAdditionalProperties(); + /// /// Supported RedisEnterpriseCluster resource versions. /// public static class ResourceVersions { + /// + /// 2025-07-01. + /// + public static readonly string V2025_07_01 = "2025-07-01"; + /// /// 2025-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseDatabase.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseDatabase.cs index 0689352f09c6..71d41df6ce6f 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseDatabase.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterpriseDatabase.cs @@ -53,8 +53,9 @@ public BicepValue ClientProtocol private BicepValue? _clientProtocol; /// - /// Clustering policy - default is OSSCluster. This property must be chosen - /// at create time, and cannot be changed without deleting the database. + /// Clustering policy - default is OSSCluster. This property can be updated + /// only if the current value is NoCluster. If the value is OSSCluster or + /// EnterpriseCluster, it cannot be updated without deleting the database. /// public BicepValue ClusteringPolicy { @@ -193,7 +194,7 @@ public RedisEnterpriseCluster? Parent /// /// Version of the RedisEnterpriseDatabase. public RedisEnterpriseDatabase(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/databases", resourceVersion ?? "2025-04-01") + : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/databases", resourceVersion ?? "2025-07-01") { } @@ -226,6 +227,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-07-01. + /// + public static readonly string V2025_07_01 = "2025-07-01"; + /// /// 2025-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnection.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnection.cs index 6caeca218905..87923c5b5607 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnection.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Generated/RedisEnterprisePrivateEndpointConnection.cs @@ -97,7 +97,7 @@ public RedisEnterpriseCluster? Parent /// /// Version of the RedisEnterprisePrivateEndpointConnection. public RedisEnterprisePrivateEndpointConnection(string bicepIdentifier, string? resourceVersion = default) - : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/privateEndpointConnections", resourceVersion ?? "2025-04-01") + : base(bicepIdentifier, "Microsoft.Cache/redisEnterprise/privateEndpointConnections", resourceVersion ?? "2025-07-01") { } @@ -122,6 +122,11 @@ protected override void DefineProvisionableProperties() /// public static class ResourceVersions { + /// + /// 2025-07-01. + /// + public static readonly string V2025_07_01 = "2025-07-01"; + /// /// 2025-04-01. /// diff --git a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Properties/AssemblyInfo.cs b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Properties/AssemblyInfo.cs index 3fadc7100f71..ab3816a04aa6 100644 --- a/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Properties/AssemblyInfo.cs +++ b/sdk/provisioning/Azure.Provisioning.RedisEnterprise/src/Properties/AssemblyInfo.cs @@ -2,5 +2,3 @@ // Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; - -[assembly: Experimental("AZPROVISION001")] \ No newline at end of file diff --git a/sdk/provisioning/Generator/src/Specifications/RedisEnterpriseSpecification.cs b/sdk/provisioning/Generator/src/Specifications/RedisEnterpriseSpecification.cs index 56183f6b462b..0f7d41fb014e 100644 --- a/sdk/provisioning/Generator/src/Specifications/RedisEnterpriseSpecification.cs +++ b/sdk/provisioning/Generator/src/Specifications/RedisEnterpriseSpecification.cs @@ -11,6 +11,11 @@ public class RedisEnterpriseSpecification() : { protected override void Customize() { + CustomizeProperty("PrivateEndpointConnections", p => p.Name = "PrivateEndpointConnectionResources"); + CustomizeResource(r => + { + r.GeneratePartialPropertyDefinition = true; + }); // Naming requirements AddNameRequirements(min: 1, max: 60, lower: true, upper: true, digits: true, hyphen: true); AddNameRequirements(min: 1, max: 60, lower: true, upper: true, digits: true, hyphen: true);