diff --git a/eng/Packages.Data.props b/eng/Packages.Data.props index 9a0f165b0d669..48b1fe78abb58 100644 --- a/eng/Packages.Data.props +++ b/eng/Packages.Data.props @@ -141,7 +141,7 @@ - + diff --git a/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs b/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs index d85e27a88165c..15fdab6918ed9 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/api/Azure.Provisioning.Redis.netstandard2.0.cs @@ -130,6 +130,7 @@ public RedisCommonConfiguration() { } public Azure.Provisioning.BicepValue MaxMemoryDelta { get { throw null; } set { } } public Azure.Provisioning.BicepValue MaxMemoryPolicy { get { throw null; } set { } } public Azure.Provisioning.BicepValue MaxMemoryReserved { get { throw null; } set { } } + public Azure.Provisioning.BicepValue NotifyKeyspaceEvents { get { throw null; } set { } } public Azure.Provisioning.BicepValue PreferredDataArchiveAuthMethod { get { throw null; } } public Azure.Provisioning.BicepValue PreferredDataPersistenceAuthMethod { get { throw null; } set { } } public Azure.Provisioning.BicepValue RdbBackupFrequency { get { throw null; } set { } } @@ -361,6 +362,7 @@ public partial class RedisResource : Azure.Provisioning.Primitives.Resource public Azure.Provisioning.BicepValue Id { get { throw null; } } public Azure.Provisioning.BicepValue Identity { get { throw null; } set { } } public Azure.Provisioning.BicepList Instances { get { throw null; } } + public Azure.Provisioning.BicepValue IsAccessKeyAuthenticationDisabled { get { throw null; } set { } } public Azure.Provisioning.BicepList LinkedServers { get { throw null; } } public Azure.Provisioning.BicepValue Location { get { throw null; } set { } } public Azure.Provisioning.BicepValue MinimumTlsVersion { get { throw null; } set { } } diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisCommonConfiguration.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisCommonConfiguration.cs index 5ab26956bc417..a360df901ea50 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisCommonConfiguration.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/Models/RedisCommonConfiguration.cs @@ -11,8 +11,9 @@ namespace Azure.Provisioning.Redis; /// /// All Redis Settings. Few possible keys: -/// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value -/// etc. +/// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, +/// maxmemory-policy,notify-keyspace-events, aof-backup-enabled, +/// aof-storage-connection-string-0, aof-storage-connection-string-1 etc. /// public partial class RedisCommonConfiguration : ProvisioningConstruct { @@ -90,6 +91,12 @@ public partial class RedisCommonConfiguration : ProvisioningConstruct public BicepValue MaxClients { get => _maxClients; } private readonly BicepValue _maxClients; + /// + /// The keyspace events which should be monitored. + /// + public BicepValue NotifyKeyspaceEvents { get => _notifyKeyspaceEvents; set => _notifyKeyspaceEvents.Assign(value); } + private readonly BicepValue _notifyKeyspaceEvents; + /// /// Preferred auth method to communicate to storage account used for data /// archive, specify SAS or ManagedIdentity, default value is SAS. @@ -167,6 +174,7 @@ public RedisCommonConfiguration() _maxMemoryReserved = BicepValue.DefineProperty(this, "MaxMemoryReserved", ["maxmemory-reserved"]); _maxMemoryDelta = BicepValue.DefineProperty(this, "MaxMemoryDelta", ["maxmemory-delta"]); _maxClients = BicepValue.DefineProperty(this, "MaxClients", ["maxclients"], isOutput: true); + _notifyKeyspaceEvents = BicepValue.DefineProperty(this, "NotifyKeyspaceEvents", ["notify-keyspace-events"]); _preferredDataArchiveAuthMethod = BicepValue.DefineProperty(this, "PreferredDataArchiveAuthMethod", ["preferred-data-archive-auth-method"], isOutput: true); _preferredDataPersistenceAuthMethod = BicepValue.DefineProperty(this, "PreferredDataPersistenceAuthMethod", ["preferred-data-persistence-auth-method"]); _zonalConfiguration = BicepValue.DefineProperty(this, "ZonalConfiguration", ["zonal-configuration"], isOutput: true); diff --git a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs index 5c99b5900c355..b46b787bd44c4 100644 --- a/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs +++ b/sdk/provisioning/Azure.Provisioning.Redis/src/Generated/RedisResource.cs @@ -53,6 +53,13 @@ public partial class RedisResource : Resource public BicepValue Identity { get => _identity; set => _identity.Assign(value); } private readonly BicepValue _identity; + /// + /// Authentication to Redis through access keys is disabled when set as + /// true. Default value is false. + /// + public BicepValue IsAccessKeyAuthenticationDisabled { get => _isAccessKeyAuthenticationDisabled; set => _isAccessKeyAuthenticationDisabled.Assign(value); } + private readonly BicepValue _isAccessKeyAuthenticationDisabled; + /// /// Optional: requires clients to use a specified TLS version (or higher) /// to connect (e,g, '1.0', '1.1', '1.2'). @@ -71,8 +78,9 @@ public partial class RedisResource : Resource /// /// All Redis Settings. Few possible keys: - /// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value - /// etc. + /// rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, + /// maxmemory-policy,notify-keyspace-events, aof-backup-enabled, + /// aof-storage-connection-string-0, aof-storage-connection-string-1 etc. /// public BicepValue RedisConfiguration { get => _redisConfiguration; set => _redisConfiguration.Assign(value); } private readonly BicepValue _redisConfiguration; @@ -229,6 +237,7 @@ public RedisResource(string identifierName, string? resourceVersion = default) _sku = BicepValue.DefineProperty(this, "Sku", ["properties", "sku"], isRequired: true); _enableNonSslPort = BicepValue.DefineProperty(this, "EnableNonSslPort", ["properties", "enableNonSslPort"]); _identity = BicepValue.DefineProperty(this, "Identity", ["identity"]); + _isAccessKeyAuthenticationDisabled = BicepValue.DefineProperty(this, "IsAccessKeyAuthenticationDisabled", ["properties", "disableAccessKeyAuthentication"]); _minimumTlsVersion = BicepValue.DefineProperty(this, "MinimumTlsVersion", ["properties", "minimumTlsVersion"]); _publicNetworkAccess = BicepValue.DefineProperty(this, "PublicNetworkAccess", ["properties", "publicNetworkAccess"]); _redisConfiguration = BicepValue.DefineProperty(this, "RedisConfiguration", ["properties", "redisConfiguration"]);