GetDatabaseResult

data class GetDatabaseResult(val clientProtocol: String? = null, val clusteringPolicy: String? = null, val evictionPolicy: String? = null, val id: String, val modules: List<ModuleResponse>? = null, val name: String, val persistence: PersistenceResponse? = null, val port: Int? = null, val provisioningState: String, val resourceState: String, val type: String)

Describes a database on the RedisEnterprise cluster

Constructors

Link copied to clipboard
constructor(clientProtocol: String? = null, clusteringPolicy: String? = null, evictionPolicy: String? = null, id: String, modules: List<ModuleResponse>? = null, name: String, persistence: PersistenceResponse? = null, port: Int? = null, provisioningState: String, resourceState: String, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clientProtocol: String? = null

Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.

Link copied to clipboard

Clustering policy - default is OSSCluster. Specified at create time.

Link copied to clipboard
val evictionPolicy: String? = null

Redis eviction policy - default is VolatileLRU

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

Link copied to clipboard

Optional set of redis modules to enable in this database - modules can only be added at creation time.

Link copied to clipboard

The name of the resource

Link copied to clipboard

Persistence settings

Link copied to clipboard
val port: Int? = null

TCP port of the database endpoint. Specified at create time. Defaults to an available port.

Link copied to clipboard

Current provisioning status of the database

Link copied to clipboard

Current resource status of the database

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"