ArmRedisModelFactory.RedisCommonConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of RedisCommonConfiguration.
public static Azure.ResourceManager.Redis.Models.RedisCommonConfiguration RedisCommonConfiguration (bool? isRdbBackupEnabled = default, string rdbBackupFrequency = default, int? rdbBackupMaxSnapshotCount = default, string rdbStorageConnectionString = default, bool? isAofBackupEnabled = default, string aofStorageConnectionString0 = default, string aofStorageConnectionString1 = default, string maxFragmentationMemoryReserved = default, string maxMemoryPolicy = default, string maxMemoryReserved = default, string maxMemoryDelta = default, string maxClients = default, string notifyKeyspaceEvents = default, string preferredDataArchiveAuthMethod = default, string preferredDataPersistenceAuthMethod = default, string zonalConfiguration = default, string authNotRequired = default, string storageSubscriptionId = default, string isAadEnabled = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member RedisCommonConfiguration : Nullable<bool> * string * Nullable<int> * string * Nullable<bool> * string * string * string * string * string * string * string * string * string * string * string * string * string * string * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.Redis.Models.RedisCommonConfiguration
Public Shared Function RedisCommonConfiguration (Optional isRdbBackupEnabled As Nullable(Of Boolean) = Nothing, Optional rdbBackupFrequency As String = Nothing, Optional rdbBackupMaxSnapshotCount As Nullable(Of Integer) = Nothing, Optional rdbStorageConnectionString As String = Nothing, Optional isAofBackupEnabled As Nullable(Of Boolean) = Nothing, Optional aofStorageConnectionString0 As String = Nothing, Optional aofStorageConnectionString1 As String = Nothing, Optional maxFragmentationMemoryReserved As String = Nothing, Optional maxMemoryPolicy As String = Nothing, Optional maxMemoryReserved As String = Nothing, Optional maxMemoryDelta As String = Nothing, Optional maxClients As String = Nothing, Optional notifyKeyspaceEvents As String = Nothing, Optional preferredDataArchiveAuthMethod As String = Nothing, Optional preferredDataPersistenceAuthMethod As String = Nothing, Optional zonalConfiguration As String = Nothing, Optional authNotRequired As String = Nothing, Optional storageSubscriptionId As String = Nothing, Optional isAadEnabled As String = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As RedisCommonConfiguration
Parameters
- rdbBackupFrequency
- String
Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440).
- rdbStorageConnectionString
- String
The storage account connection string for storing rdb file.
- aofStorageConnectionString0
- String
First storage account connection string.
- aofStorageConnectionString1
- String
Second storage account connection string.
- maxFragmentationMemoryReserved
- String
Value in megabytes reserved for fragmentation per shard.
- maxMemoryPolicy
- String
The eviction strategy used when your data won't fit within its memory limit.
- maxMemoryReserved
- String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxMemoryDelta
- String
Value in megabytes reserved for non-cache usage per shard e.g. failover.
- maxClients
- String
The max clients config.
- notifyKeyspaceEvents
- String
The keyspace events which should be monitored.
- preferredDataArchiveAuthMethod
- String
Preferred auth method to communicate to storage account used for data archive, specify SAS or ManagedIdentity, default value is SAS.
- preferredDataPersistenceAuthMethod
- String
Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS.
- zonalConfiguration
- String
Zonal Configuration.
- authNotRequired
- String
Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view.
- storageSubscriptionId
- String
SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity.
- isAadEnabled
- String
Specifies whether AAD based authentication has been enabled or disabled for the cache.
- additionalProperties
- IDictionary<String,BinaryData>
Additional Properties.
Returns
A new RedisCommonConfiguration instance for mocking.
Applies to
Azure SDK for .NET