Persistence Constructors
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.
Overloads
Persistence() |
Initializes a new instance of the Persistence class. |
Persistence(Nullable<Boolean>, Nullable<Boolean>, String, String) |
Initializes a new instance of the Persistence class. |
Persistence()
Initializes a new instance of the Persistence class.
public Persistence ();
Public Sub New ()
Applies to
Persistence(Nullable<Boolean>, Nullable<Boolean>, String, String)
Initializes a new instance of the Persistence class.
public Persistence (bool? aofEnabled = default, bool? rdbEnabled = default, string aofFrequency = default, string rdbFrequency = default);
new Microsoft.Azure.Management.RedisEnterprise.Models.Persistence : Nullable<bool> * Nullable<bool> * string * string -> Microsoft.Azure.Management.RedisEnterprise.Models.Persistence
Public Sub New (Optional aofEnabled As Nullable(Of Boolean) = Nothing, Optional rdbEnabled As Nullable(Of Boolean) = Nothing, Optional aofFrequency As String = Nothing, Optional rdbFrequency As String = Nothing)
Parameters
- aofFrequency
- String
Sets the frequency at which data is written to disk. Possible values include: '1s', 'always'
- rdbFrequency
- String
Sets the frequency at which a snapshot of the database is created. Possible values include: '1h', '6h', '12h'
Applies to
Azure SDK for .NET