Database Class
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.
Describes a database on the RedisEnterprise cluster
[Microsoft.Rest.Serialization.JsonTransformation]
public class Database : Microsoft.Azure.Management.RedisEnterprise.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type Database = class
inherit ProxyResource
Public Class Database
Inherits ProxyResource
- Inheritance
- Attributes
Constructors
Database() |
Initializes a new instance of the Database class. |
Database(String, String, String, String, Nullable<Int32>, String, String, String, String, Persistence, IList<Module>, DatabasePropertiesGeoReplication) |
Initializes a new instance of the Database class. |
Properties
ClientProtocol |
Gets or sets specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted. Possible values include: 'Encrypted', 'Plaintext' |
ClusteringPolicy |
Gets or sets clustering policy - default is OSSCluster. Specified at create time. Possible values include: 'EnterpriseCluster', 'OSSCluster' |
EvictionPolicy |
Gets or sets redis eviction policy - default is VolatileLRU. Possible values include: 'AllKeysLFU', 'AllKeysLRU', 'AllKeysRandom', 'VolatileLRU', 'VolatileLFU', 'VolatileTTL', 'VolatileRandom', 'NoEviction' |
GeoReplication |
Gets or sets optional set of properties to configure geo replication for this database. |
Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
Modules |
Gets or sets optional set of redis modules to enable in this database - modules can only be added at creation time. |
Name |
Gets the name of the resource (Inherited from Resource) |
Persistence |
Gets or sets persistence settings |
Port |
Gets or sets TCP port of the database endpoint. Specified at create time. Defaults to an available port. |
ProvisioningState |
Gets current provisioning status of the database. Possible values include: 'Succeeded', 'Failed', 'Canceled', 'Creating', 'Updating', 'Deleting' |
ResourceState |
Gets current resource status of the database. Possible values include: 'Running', 'Creating', 'CreateFailed', 'Updating', 'UpdateFailed', 'Deleting', 'DeleteFailed', 'Enabling', 'EnableFailed', 'Disabling', 'DisableFailed', 'Disabled' |
Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
Applies to
Azure SDK for .NET