public sealed class ClusterPersistenceConfig : IMessage<ClusterPersistenceConfig>, IEquatable<ClusterPersistenceConfig>, IDeepCloneable<ClusterPersistenceConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis (cluster management) v1 API class ClusterPersistenceConfig.
Configuration of the persistence functionality.
Implements
IMessageClusterPersistenceConfig, IEquatableClusterPersistenceConfig, IDeepCloneableClusterPersistenceConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Redis.Cluster.V1Assembly
Google.Cloud.Redis.Cluster.V1.dll
Constructors
ClusterPersistenceConfig()
public ClusterPersistenceConfig()
ClusterPersistenceConfig(ClusterPersistenceConfig)
public ClusterPersistenceConfig(ClusterPersistenceConfig other)
Parameter | |
---|---|
Name | Description |
other |
ClusterPersistenceConfig |
Properties
AofConfig
public ClusterPersistenceConfig.Types.AOFConfig AofConfig { get; set; }
Optional. AOF configuration. This field will be ignored if mode is not AOF.
Property Value | |
---|---|
Type | Description |
ClusterPersistenceConfigTypesAOFConfig |
Mode
public ClusterPersistenceConfig.Types.PersistenceMode Mode { get; set; }
Optional. The mode of persistence.
Property Value | |
---|---|
Type | Description |
ClusterPersistenceConfigTypesPersistenceMode |
RdbConfig
public ClusterPersistenceConfig.Types.RDBConfig RdbConfig { get; set; }
Optional. RDB configuration. This field will be ignored if mode is not RDB.
Property Value | |
---|---|
Type | Description |
ClusterPersistenceConfigTypesRDBConfig |