IDatabase Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20230301Preview.DatabaseTypeConverter))]
public interface IDatabase : Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api30.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedisEnterpriseCache.Models.Api20230301Preview.DatabaseTypeConverter))>]
type IDatabase = interface
    interface IJsonSerializable
    interface IResource
Public Interface IDatabase
Implements IResource
Derived
Attributes
Implements

Properties

ClientProtocol

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

ClusteringPolicy

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

EvictionPolicy

Redis eviction policy - default is VolatileLRU

GeoReplicationGroupNickname

Name for the group of linked database resources

GeoReplicationLinkedDatabase

List of database resources to link with this database

Id

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

(Inherited from IResource)
Module

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

Name

The name of the resource

(Inherited from IResource)
PersistenceAofEnabled

Sets whether AOF is enabled.

PersistenceAofFrequency

Sets the frequency at which data is written to disk.

PersistenceRdbEnabled

Sets whether RDB is enabled.

PersistenceRdbFrequency

Sets the frequency at which a snapshot of the database is created.

Port

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

ProvisioningState

Current provisioning status of the database

ResourceState

Current resource status of the database

SystemDataCreatedAt

The timestamp of resource creation (UTC).

(Inherited from IResource)
SystemDataCreatedBy

The identity that created the resource.

(Inherited from IResource)
SystemDataCreatedByType

The type of identity that created the resource.

(Inherited from IResource)
SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

(Inherited from IResource)
SystemDataLastModifiedBy

The identity that last modified the resource.

(Inherited from IResource)
SystemDataLastModifiedByType

The type of identity that last modified the resource.

(Inherited from IResource)
Type

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

(Inherited from IResource)

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to