DatabaseUpdate Constructors
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.
DatabaseUpdate() |
Initializes a new instance of the DatabaseUpdate class. |
DatabaseUpdate(String, Nullable<Int32>, String, String, String, String, Persistence, IList<Module>, DatabasePropertiesGeoReplication) |
Initializes a new instance of the DatabaseUpdate class. |
Initializes a new instance of the DatabaseUpdate class.
public DatabaseUpdate ();
Public Sub New ()
Applies to
Azure SDK for .NET Legacy
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
DatabaseUpdate(String, Nullable<Int32>, String, String, String, String, Persistence, IList<Module>, DatabasePropertiesGeoReplication)
Initializes a new instance of the DatabaseUpdate class.
public DatabaseUpdate (string clientProtocol = default, int? port = default, string provisioningState = default, string resourceState = default, string clusteringPolicy = default, string evictionPolicy = default, Microsoft.Azure.Management.RedisEnterprise.Models.Persistence persistence = default, System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.Module> modules = default, Microsoft.Azure.Management.RedisEnterprise.Models.DatabasePropertiesGeoReplication geoReplication = default);
new Microsoft.Azure.Management.RedisEnterprise.Models.DatabaseUpdate : string * Nullable<int> * string * string * string * string * Microsoft.Azure.Management.RedisEnterprise.Models.Persistence * System.Collections.Generic.IList<Microsoft.Azure.Management.RedisEnterprise.Models.Module> * Microsoft.Azure.Management.RedisEnterprise.Models.DatabasePropertiesGeoReplication -> Microsoft.Azure.Management.RedisEnterprise.Models.DatabaseUpdate
Public Sub New (Optional clientProtocol As String = Nothing, Optional port As Nullable(Of Integer) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As String = Nothing, Optional clusteringPolicy As String = Nothing, Optional evictionPolicy As String = Nothing, Optional persistence As Persistence = Nothing, Optional modules As IList(Of Module) = Nothing, Optional geoReplication As DatabasePropertiesGeoReplication = Nothing)
Parameters
- clientProtocol
- String
Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values include: 'Encrypted', 'Plaintext'
TCP port of the database endpoint. Specified at create time. Defaults to an available port.
- provisioningState
- String
Current provisioning status of the database. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Creating', 'Updating', 'Deleting'
- resourceState
- String
Current resource status of the database. Possible values include: 'Running', 'Creating', 'CreateFailed', 'Updating', 'UpdateFailed', 'Deleting', 'DeleteFailed', 'Enabling', 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled'
- clusteringPolicy
- String
Clustering policy - default is OSSCluster. Specified at create time. Possible values include: 'EnterpriseCluster', 'OSSCluster'
- evictionPolicy
- String
Redis eviction policy - default is VolatileLRU. Possible values include: 'AllKeysLFU', 'AllKeysLRU', 'AllKeysRandom', 'VolatileLRU', 'VolatileLFU', 'VolatileTTL', 'VolatileRandom', 'NoEviction'
- persistence
- Persistence
Persistence settings
Optional set of redis modules to enable in this database - modules can only be added at creation time.
- geoReplication
- DatabasePropertiesGeoReplication
Optional set of properties to configure geo replication for this database.
Applies to
Azure SDK for .NET Legacy
Prodotto | Versioni |
---|---|
Azure SDK for .NET | Legacy |
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: