Interface ICreateBucketSettings

Specifies a number of settings which can be set when creating a bucket.



bucketType?: string

Specifies the type of bucket that should be used.

compressionMode?: string

Specifies the compression mode that should be used.

conflictResolutionType?: string

Specifies the conflict resolution mode to use for XDCR of this bucket.

durabilityMinLevel?: string

Same as minimumDurabilityLevel, but represented as the raw server-side configuration string.


Use minimumDurabilityLevel instead.

ejectionMethod?: string

Same as evictionPolicy, but represented as the raw server-side configuration string.


Use evictionPolicy instead.

evictionPolicy?: string

Specifies the ejection method that should be used.

flushEnabled?: boolean

Whether the flush operation (truncating all data in the bucket) should be enabled.

maxExpiry?: number

Specifies the maximum expiry time that any document should be permitted to have. Any documents stored with an expiry configured higher than this will be forced to this number.

maxTTL?: number

Same as maxExpiry.


Use maxExpiry instead.

minimumDurabilityLevel?: string | DurabilityLevel

Specifies the minimum durability level that should be used for any write operations which are performed against this bucket.

name: string

The name of the bucket.

numReplicas?: number

The number of replicas that should exist for this bucket.

ramQuotaMB: number

The amount of RAM which should be allocated to this bucket, expressed in megabytes.

replicaIndexes?: boolean

Whether the indexes on this bucket should be replicated.

storageBackend?: string

Specifies the storage backend to use for the bucket.

Generated using TypeDoc