@yandex-cloud/nodejs-sdk
Version:
Yandex.Cloud NodeJS SDK
975 lines (974 loc) • 58 kB
TypeScript
import _m0 from "protobufjs/minimal";
export declare const protobufPackage = "yandex.cloud.mdb.mongodb.v1.config";
/**
* Configuration of a mongod daemon. Supported options are a limited subset of all
* options described in [MongoDB documentation](https://docs.mongodb.com/v4.4/reference/configuration-options/).
*/
export interface Mongodconfig44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4";
/** `storage` section of mongod configuration. */
storage?: Mongodconfig44_Storage;
/** `operationProfiling` section of mongod configuration. */
operationProfiling?: Mongodconfig44_OperationProfiling;
/** `net` section of mongod configuration. */
net?: Mongodconfig44_Network;
}
export interface Mongodconfig44_Storage {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage";
/** Configuration of the WiredTiger storage engine. */
wiredTiger?: Mongodconfig44_Storage_WiredTiger;
/** Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.4/reference/glossary/#term-journal). */
journal?: Mongodconfig44_Storage_Journal;
}
/** Configuration of WiredTiger storage engine. */
export interface Mongodconfig44_Storage_WiredTiger {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger";
/** Engine configuration for WiredTiger. */
engineConfig?: Mongodconfig44_Storage_WiredTiger_EngineConfig;
/** Collection configuration for WiredTiger. */
collectionConfig?: Mongodconfig44_Storage_WiredTiger_CollectionConfig;
}
export interface Mongodconfig44_Storage_WiredTiger_EngineConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger.EngineConfig";
/** The maximum size of the internal cache that WiredTiger will use for all data. */
cacheSizeGb?: number;
}
export interface Mongodconfig44_Storage_WiredTiger_CollectionConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger.CollectionConfig";
/** Default type of compression to use for collection data. */
blockCompressor: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor;
}
export declare enum Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor {
COMPRESSOR_UNSPECIFIED = 0,
/** NONE - No compression. */
NONE = 1,
/** SNAPPY - The [Snappy](https://docs.mongodb.com/v4.4/reference/glossary/#term-snappy) compression. */
SNAPPY = 2,
/** ZLIB - The [zlib](https://docs.mongodb.com/v4.4/reference/glossary/#term-zlib) compression. */
ZLIB = 3,
/** ZSTD - The [zstd](https://docs.mongodb.com/v4.4/reference/glossary/#term-zstd) compression. */
ZSTD = 4,
UNRECOGNIZED = -1
}
export declare function mongodconfig44_Storage_WiredTiger_CollectionConfig_CompressorFromJSON(object: any): Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor;
export declare function mongodconfig44_Storage_WiredTiger_CollectionConfig_CompressorToJSON(object: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor): string;
export interface Mongodconfig44_Storage_Journal {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.Journal";
/**
* Commit interval between journal operations, in milliseconds.
* Default: 100.
*/
commitInterval?: number;
}
export interface Mongodconfig44_OperationProfiling {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.OperationProfiling";
/** Mode which specifies operations that should be profiled. */
mode: Mongodconfig44_OperationProfiling_Mode;
/**
* The slow operation time threshold, in milliseconds. Operations that run
* for longer than this threshold are considered slow, and are processed by the profiler
* running in the SLOW_OP mode.
*/
slowOpThreshold?: number;
}
export declare enum Mongodconfig44_OperationProfiling_Mode {
MODE_UNSPECIFIED = 0,
/** OFF - The profiler is off and does not collect any data. */
OFF = 1,
/** SLOW_OP - The profiler collects data for operations that take longer than the value of [slow_op_threshold]. */
SLOW_OP = 2,
/** ALL - The profiler collects data for all operations. */
ALL = 3,
UNRECOGNIZED = -1
}
export declare function mongodconfig44_OperationProfiling_ModeFromJSON(object: any): Mongodconfig44_OperationProfiling_Mode;
export declare function mongodconfig44_OperationProfiling_ModeToJSON(object: Mongodconfig44_OperationProfiling_Mode): string;
export interface Mongodconfig44_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Network";
/** The maximum number of simultaneous connections that mongod will accept. */
maxIncomingConnections?: number;
}
export interface Mongocfgconfig44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4";
/** `storage` section of mongocfg configuration. */
storage?: Mongocfgconfig44_Storage;
/** `operationProfiling` section of mongocfg configuration. */
operationProfiling?: Mongocfgconfig44_OperationProfiling;
/** `net` section of mongocfg configuration. */
net?: Mongocfgconfig44_Network;
}
export interface Mongocfgconfig44_Storage {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage";
/** Configuration of the WiredTiger storage engine. */
wiredTiger?: Mongocfgconfig44_Storage_WiredTiger;
}
/** Configuration of WiredTiger storage engine. */
export interface Mongocfgconfig44_Storage_WiredTiger {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage.WiredTiger";
/** Engine configuration for WiredTiger. */
engineConfig?: Mongocfgconfig44_Storage_WiredTiger_EngineConfig;
}
export interface Mongocfgconfig44_Storage_WiredTiger_EngineConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage.WiredTiger.EngineConfig";
/** The maximum size of the internal cache that WiredTiger will use for all data. */
cacheSizeGb?: number;
}
export interface Mongocfgconfig44_OperationProfiling {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.OperationProfiling";
/** Mode which specifies operations that should be profiled. */
mode: Mongocfgconfig44_OperationProfiling_Mode;
/**
* The slow operation time threshold, in milliseconds. Operations that run
* for longer than this threshold are considered slow, and are processed by the profiler
* running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.4/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
*/
slowOpThreshold?: number;
}
export declare enum Mongocfgconfig44_OperationProfiling_Mode {
MODE_UNSPECIFIED = 0,
/** OFF - The profiler is off and does not collect any data. */
OFF = 1,
/** SLOW_OP - The profiler collects data for operations that take longer than the value of [slow_op_threshold]. */
SLOW_OP = 2,
/** ALL - The profiler collects data for all operations. */
ALL = 3,
UNRECOGNIZED = -1
}
export declare function mongocfgconfig44_OperationProfiling_ModeFromJSON(object: any): Mongocfgconfig44_OperationProfiling_Mode;
export declare function mongocfgconfig44_OperationProfiling_ModeToJSON(object: Mongocfgconfig44_OperationProfiling_Mode): string;
export interface Mongocfgconfig44_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Network";
/** The maximum number of simultaneous connections that mongocfg will accept. */
maxIncomingConnections?: number;
}
export interface Mongosconfig44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_4";
/** Network settings for mongos. */
net?: Mongosconfig44_Network;
}
export interface Mongosconfig44_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_4.Network";
/** The maximum number of simultaneous connections that mongos will accept. */
maxIncomingConnections?: number;
}
export interface Mongodconfigset44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_4";
/**
* Effective mongod settings for a MongoDB 4.4 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongodconfig44;
/** User-defined mongod settings for a MongoDB 4.4 cluster. */
userConfig?: Mongodconfig44;
/** Default mongod configuration for a MongoDB 4.4 cluster. */
defaultConfig?: Mongodconfig44;
}
export interface Mongocfgconfigset44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_4";
/**
* Effective mongocfg settings for a MongoDB 4.4 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongocfgconfig44;
/** User-defined mongocfg settings for a MongoDB 4.4 cluster. */
userConfig?: Mongocfgconfig44;
/** Default mongocfg configuration for a MongoDB 4.4 cluster. */
defaultConfig?: Mongocfgconfig44;
}
export interface Mongosconfigset44 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_4";
/**
* Effective mongos settings for a MongoDB 4.4 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongosconfig44;
/** User-defined mongos settings for a MongoDB 4.4 cluster. */
userConfig?: Mongosconfig44;
/** Default mongos configuration for a MongoDB 4.4 cluster. */
defaultConfig?: Mongosconfig44;
}
export declare const Mongodconfig44: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4";
encode(message: Mongodconfig44, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44;
fromJSON(object: any): Mongodconfig44;
toJSON(message: Mongodconfig44): unknown;
fromPartial<I extends {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["storage"]["wiredTiger"]["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I["storage"]["wiredTiger"], "$type" | "engineConfig" | "collectionConfig">, never>) | undefined;
journal?: ({
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I["storage"]["journal"], "$type" | "commitInterval">, never>) | undefined;
} & Record<Exclude<keyof I["storage"], "$type" | "wiredTiger" | "journal">, never>) | undefined;
operationProfiling?: ({
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "storage" | "operationProfiling" | "net">, never>>(object: I): Mongodconfig44;
};
export declare const Mongodconfig44_Storage: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage";
encode(message: Mongodconfig44_Storage, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Storage;
fromJSON(object: any): Mongodconfig44_Storage;
toJSON(message: Mongodconfig44_Storage): unknown;
fromPartial<I extends {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["wiredTiger"]["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I["wiredTiger"], "$type" | "engineConfig" | "collectionConfig">, never>) | undefined;
journal?: ({
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I["journal"], "$type" | "commitInterval">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "wiredTiger" | "journal">, never>>(object: I): Mongodconfig44_Storage;
};
export declare const Mongodconfig44_Storage_WiredTiger: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger";
encode(message: Mongodconfig44_Storage_WiredTiger, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Storage_WiredTiger;
fromJSON(object: any): Mongodconfig44_Storage_WiredTiger;
toJSON(message: Mongodconfig44_Storage_WiredTiger): unknown;
fromPartial<I extends {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "engineConfig" | "collectionConfig">, never>>(object: I): Mongodconfig44_Storage_WiredTiger;
};
export declare const Mongodconfig44_Storage_WiredTiger_EngineConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger.EngineConfig";
encode(message: Mongodconfig44_Storage_WiredTiger_EngineConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Storage_WiredTiger_EngineConfig;
fromJSON(object: any): Mongodconfig44_Storage_WiredTiger_EngineConfig;
toJSON(message: Mongodconfig44_Storage_WiredTiger_EngineConfig): unknown;
fromPartial<I extends {
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "cacheSizeGb">, never>>(object: I): Mongodconfig44_Storage_WiredTiger_EngineConfig;
};
export declare const Mongodconfig44_Storage_WiredTiger_CollectionConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.WiredTiger.CollectionConfig";
encode(message: Mongodconfig44_Storage_WiredTiger_CollectionConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Storage_WiredTiger_CollectionConfig;
fromJSON(object: any): Mongodconfig44_Storage_WiredTiger_CollectionConfig;
toJSON(message: Mongodconfig44_Storage_WiredTiger_CollectionConfig): unknown;
fromPartial<I extends {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I, "$type" | "blockCompressor">, never>>(object: I): Mongodconfig44_Storage_WiredTiger_CollectionConfig;
};
export declare const Mongodconfig44_Storage_Journal: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Storage.Journal";
encode(message: Mongodconfig44_Storage_Journal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Storage_Journal;
fromJSON(object: any): Mongodconfig44_Storage_Journal;
toJSON(message: Mongodconfig44_Storage_Journal): unknown;
fromPartial<I extends {
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "commitInterval">, never>>(object: I): Mongodconfig44_Storage_Journal;
};
export declare const Mongodconfig44_OperationProfiling: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.OperationProfiling";
encode(message: Mongodconfig44_OperationProfiling, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_OperationProfiling;
fromJSON(object: any): Mongodconfig44_OperationProfiling;
toJSON(message: Mongodconfig44_OperationProfiling): unknown;
fromPartial<I extends {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "mode" | "slowOpThreshold">, never>>(object: I): Mongodconfig44_OperationProfiling;
};
export declare const Mongodconfig44_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_4.Network";
encode(message: Mongodconfig44_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig44_Network;
fromJSON(object: any): Mongodconfig44_Network;
toJSON(message: Mongodconfig44_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongodconfig44_Network;
};
export declare const Mongocfgconfig44: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4";
encode(message: Mongocfgconfig44, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44;
fromJSON(object: any): Mongocfgconfig44;
toJSON(message: Mongocfgconfig44): unknown;
fromPartial<I extends {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
} & Record<Exclude<keyof I["storage"]["wiredTiger"], "$type" | "engineConfig">, never>) | undefined;
} & Record<Exclude<keyof I["storage"], "$type" | "wiredTiger">, never>) | undefined;
operationProfiling?: ({
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "storage" | "operationProfiling" | "net">, never>>(object: I): Mongocfgconfig44;
};
export declare const Mongocfgconfig44_Storage: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage";
encode(message: Mongocfgconfig44_Storage, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44_Storage;
fromJSON(object: any): Mongocfgconfig44_Storage;
toJSON(message: Mongocfgconfig44_Storage): unknown;
fromPartial<I extends {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
} & Record<Exclude<keyof I["wiredTiger"], "$type" | "engineConfig">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "wiredTiger">, never>>(object: I): Mongocfgconfig44_Storage;
};
export declare const Mongocfgconfig44_Storage_WiredTiger: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage.WiredTiger";
encode(message: Mongocfgconfig44_Storage_WiredTiger, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44_Storage_WiredTiger;
fromJSON(object: any): Mongocfgconfig44_Storage_WiredTiger;
toJSON(message: Mongocfgconfig44_Storage_WiredTiger): unknown;
fromPartial<I extends {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "engineConfig">, never>>(object: I): Mongocfgconfig44_Storage_WiredTiger;
};
export declare const Mongocfgconfig44_Storage_WiredTiger_EngineConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Storage.WiredTiger.EngineConfig";
encode(message: Mongocfgconfig44_Storage_WiredTiger_EngineConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44_Storage_WiredTiger_EngineConfig;
fromJSON(object: any): Mongocfgconfig44_Storage_WiredTiger_EngineConfig;
toJSON(message: Mongocfgconfig44_Storage_WiredTiger_EngineConfig): unknown;
fromPartial<I extends {
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "cacheSizeGb">, never>>(object: I): Mongocfgconfig44_Storage_WiredTiger_EngineConfig;
};
export declare const Mongocfgconfig44_OperationProfiling: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.OperationProfiling";
encode(message: Mongocfgconfig44_OperationProfiling, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44_OperationProfiling;
fromJSON(object: any): Mongocfgconfig44_OperationProfiling;
toJSON(message: Mongocfgconfig44_OperationProfiling): unknown;
fromPartial<I extends {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "mode" | "slowOpThreshold">, never>>(object: I): Mongocfgconfig44_OperationProfiling;
};
export declare const Mongocfgconfig44_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_4.Network";
encode(message: Mongocfgconfig44_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig44_Network;
fromJSON(object: any): Mongocfgconfig44_Network;
toJSON(message: Mongocfgconfig44_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongocfgconfig44_Network;
};
export declare const Mongosconfig44: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_4";
encode(message: Mongosconfig44, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongosconfig44;
fromJSON(object: any): Mongosconfig44;
toJSON(message: Mongosconfig44): unknown;
fromPartial<I extends {
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "net">, never>>(object: I): Mongosconfig44;
};
export declare const Mongosconfig44_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_4.Network";
encode(message: Mongosconfig44_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongosconfig44_Network;
fromJSON(object: any): Mongosconfig44_Network;
toJSON(message: Mongosconfig44_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongosconfig44_Network;
};
export declare const Mongodconfigset44: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_4";
encode(message: Mongodconfigset44, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfigset44;
fromJSON(object: any): Mongodconfigset44;
toJSON(message: Mongodconfigset44): unknown;
fromPartial<I extends {
effectiveConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
userConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
defaultConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
} & {
effectiveConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["wiredTiger"]["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["wiredTiger"], "$type" | "engineConfig" | "collectionConfig">, never>) | undefined;
journal?: ({
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["journal"], "$type" | "commitInterval">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"], "$type" | "wiredTiger" | "journal">, never>) | undefined;
operationProfiling?: ({
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"], "$type" | "storage" | "operationProfiling" | "net">, never>) | undefined;
userConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["userConfig"]["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["userConfig"]["storage"]["wiredTiger"]["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I["userConfig"]["storage"]["wiredTiger"], "$type" | "engineConfig" | "collectionConfig">, never>) | undefined;
journal?: ({
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I["userConfig"]["storage"]["journal"], "$type" | "commitInterval">, never>) | undefined;
} & Record<Exclude<keyof I["userConfig"]["storage"], "$type" | "wiredTiger" | "journal">, never>) | undefined;
operationProfiling?: ({
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["userConfig"]["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["userConfig"]["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I["userConfig"], "$type" | "storage" | "operationProfiling" | "net">, never>) | undefined;
defaultConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig44_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["storage"]["wiredTiger"]["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["storage"]["wiredTiger"], "$type" | "engineConfig" | "collectionConfig">, never>) | undefined;
journal?: ({
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["storage"]["journal"], "$type" | "commitInterval">, never>) | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["storage"], "$type" | "wiredTiger" | "journal">, never>) | undefined;
operationProfiling?: ({
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["defaultConfig"]["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I["defaultConfig"], "$type" | "storage" | "operationProfiling" | "net">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "effectiveConfig" | "userConfig" | "defaultConfig">, never>>(object: I): Mongodconfigset44;
};
export declare const Mongocfgconfigset44: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_4";
encode(message: Mongocfgconfigset44, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfigset44;
fromJSON(object: any): Mongocfgconfigset44;
toJSON(message: Mongocfgconfigset44): unknown;
fromPartial<I extends {
effectiveConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
userConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
defaultConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
} & {
effectiveConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["wiredTiger"]["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"]["wiredTiger"], "$type" | "engineConfig">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["storage"], "$type" | "wiredTiger">, never>) | undefined;
operationProfiling?: ({
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig44_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["operationProfiling"], "$type" | "mode" | "slowOpThreshold">, never>) | undefined;
net?: ({
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I["effectiveConfig"]["net"], "$type" | "maxIncomingConnections">, never>) | undefined;
} & Record<Exclude<keyof I["effectiveConfig"], "$type" | "storage" | "operationProfiling" | "net">, never>) | undefined;
userConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;