共用方式為


Persistence Constructors

Definition

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

aofEnabled
Nullable<Boolean>

Sets whether AOF is enabled.

rdbEnabled
Nullable<Boolean>

Sets whether RDB is enabled.

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