@yandex-cloud/nodejs-sdk
Version:
Yandex.Cloud NodeJS SDK
976 lines • 57.9 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.0/reference/configuration-options/).
*/
export interface Mongodconfig40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0";
/** `storage` section of mongod configuration. */
storage?: Mongodconfig40_Storage;
/** `operationProfiling` section of mongod configuration. */
operationProfiling?: Mongodconfig40_OperationProfiling;
/** `net` section of mongod configuration. */
net?: Mongodconfig40_Network;
}
export interface Mongodconfig40_Storage {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage";
/** Configuration of the WiredTiger storage engine. */
wiredTiger?: Mongodconfig40_Storage_WiredTiger;
/** Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.0/reference/glossary/#term-journal). */
journal?: Mongodconfig40_Storage_Journal;
}
/** Configuration of WiredTiger storage engine. */
export interface Mongodconfig40_Storage_WiredTiger {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger";
/** Engine configuration for WiredTiger. */
engineConfig?: Mongodconfig40_Storage_WiredTiger_EngineConfig;
/** Collection configuration for WiredTiger. */
collectionConfig?: Mongodconfig40_Storage_WiredTiger_CollectionConfig;
}
export interface Mongodconfig40_Storage_WiredTiger_EngineConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.EngineConfig";
/** The maximum size of the internal cache that WiredTiger will use for all data. */
cacheSizeGb?: number;
}
export interface Mongodconfig40_Storage_WiredTiger_CollectionConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.CollectionConfig";
/** Default type of compression to use for collection data. */
blockCompressor: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor;
}
export declare enum Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor {
COMPRESSOR_UNSPECIFIED = 0,
/** NONE - No compression. */
NONE = 1,
/** SNAPPY - The [Snappy](https://docs.mongodb.com/v4.0/reference/glossary/#term-snappy) compression. */
SNAPPY = 2,
/** ZLIB - The [zlib](https://docs.mongodb.com/v4.0/reference/glossary/#term-zlib) compression. */
ZLIB = 3,
UNRECOGNIZED = -1
}
export declare function mongodconfig40_Storage_WiredTiger_CollectionConfig_CompressorFromJSON(object: any): Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor;
export declare function mongodconfig40_Storage_WiredTiger_CollectionConfig_CompressorToJSON(object: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor): string;
export interface Mongodconfig40_Storage_Journal {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.Journal";
/**
* Commit interval between journal operations, in milliseconds.
* Default: 100.
*/
commitInterval?: number;
}
export interface Mongodconfig40_OperationProfiling {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.OperationProfiling";
/** Mode which specifies operations that should be profiled. */
mode: Mongodconfig40_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 Mongodconfig40_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 mongodconfig40_OperationProfiling_ModeFromJSON(object: any): Mongodconfig40_OperationProfiling_Mode;
export declare function mongodconfig40_OperationProfiling_ModeToJSON(object: Mongodconfig40_OperationProfiling_Mode): string;
export interface Mongodconfig40_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Network";
/** The maximum number of simultaneous connections that mongod will accept. */
maxIncomingConnections?: number;
}
export interface Mongocfgconfig40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0";
/** `storage` section of mongocfg configuration. */
storage?: Mongocfgconfig40_Storage;
/** `operationProfiling` section of mongocfg configuration. */
operationProfiling?: Mongocfgconfig40_OperationProfiling;
/** `net` section of mongocfg configuration. */
net?: Mongocfgconfig40_Network;
}
export interface Mongocfgconfig40_Storage {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage";
/** Configuration of the WiredTiger storage engine. */
wiredTiger?: Mongocfgconfig40_Storage_WiredTiger;
}
/** Configuration of WiredTiger storage engine. */
export interface Mongocfgconfig40_Storage_WiredTiger {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger";
/** Engine configuration for WiredTiger. */
engineConfig?: Mongocfgconfig40_Storage_WiredTiger_EngineConfig;
}
export interface Mongocfgconfig40_Storage_WiredTiger_EngineConfig {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger.EngineConfig";
/** The maximum size of the internal cache that WiredTiger will use for all data. */
cacheSizeGb?: number;
}
export interface Mongocfgconfig40_OperationProfiling {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.OperationProfiling";
/** Mode which specifies operations that should be profiled. */
mode: Mongocfgconfig40_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.0/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
*/
slowOpThreshold?: number;
}
export declare enum Mongocfgconfig40_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 mongocfgconfig40_OperationProfiling_ModeFromJSON(object: any): Mongocfgconfig40_OperationProfiling_Mode;
export declare function mongocfgconfig40_OperationProfiling_ModeToJSON(object: Mongocfgconfig40_OperationProfiling_Mode): string;
export interface Mongocfgconfig40_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Network";
/** The maximum number of simultaneous connections that mongocfg will accept. */
maxIncomingConnections?: number;
}
export interface Mongosconfig40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0";
/** Network settings for mongos. */
net?: Mongosconfig40_Network;
}
export interface Mongosconfig40_Network {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0.Network";
/** The maximum number of simultaneous connections that mongos will accept. */
maxIncomingConnections?: number;
}
export interface Mongodconfigset40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_0";
/**
* Effective mongod settings for a MongoDB 4.0 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongodconfig40;
/** User-defined mongod settings for a MongoDB 4.0 cluster. */
userConfig?: Mongodconfig40;
/** Default mongod configuration for a MongoDB 4.0 cluster. */
defaultConfig?: Mongodconfig40;
}
export interface Mongocfgconfigset40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_0";
/**
* Effective mongocfg settings for a MongoDB 4.0 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongocfgconfig40;
/** User-defined mongocfg settings for a MongoDB 4.0 cluster. */
userConfig?: Mongocfgconfig40;
/** Default mongocfg configuration for a MongoDB 4.0 cluster. */
defaultConfig?: Mongocfgconfig40;
}
export interface Mongosconfigset40 {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_0";
/**
* Effective mongos settings for a MongoDB 4.0 cluster (a combination of settings defined
* in [user_config] and [default_config]).
*/
effectiveConfig?: Mongosconfig40;
/** User-defined mongos settings for a MongoDB 4.0 cluster. */
userConfig?: Mongosconfig40;
/** Default mongos configuration for a MongoDB 4.0 cluster. */
defaultConfig?: Mongosconfig40;
}
export declare const Mongodconfig40: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0";
encode(message: Mongodconfig40, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40;
fromJSON(object: any): Mongodconfig40;
toJSON(message: Mongodconfig40): unknown;
fromPartial<I extends {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig40_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): Mongodconfig40;
};
export declare const Mongodconfig40_Storage: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage";
encode(message: Mongodconfig40_Storage, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Storage;
fromJSON(object: any): Mongodconfig40_Storage;
toJSON(message: Mongodconfig40_Storage): unknown;
fromPartial<I extends {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_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): Mongodconfig40_Storage;
};
export declare const Mongodconfig40_Storage_WiredTiger: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger";
encode(message: Mongodconfig40_Storage_WiredTiger, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Storage_WiredTiger;
fromJSON(object: any): Mongodconfig40_Storage_WiredTiger;
toJSON(message: Mongodconfig40_Storage_WiredTiger): unknown;
fromPartial<I extends {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} & {
engineConfig?: ({
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I["engineConfig"], "$type" | "cacheSizeGb">, never>) | undefined;
collectionConfig?: ({
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I["collectionConfig"], "$type" | "blockCompressor">, never>) | undefined;
} & Record<Exclude<keyof I, "$type" | "engineConfig" | "collectionConfig">, never>>(object: I): Mongodconfig40_Storage_WiredTiger;
};
export declare const Mongodconfig40_Storage_WiredTiger_EngineConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.EngineConfig";
encode(message: Mongodconfig40_Storage_WiredTiger_EngineConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Storage_WiredTiger_EngineConfig;
fromJSON(object: any): Mongodconfig40_Storage_WiredTiger_EngineConfig;
toJSON(message: Mongodconfig40_Storage_WiredTiger_EngineConfig): unknown;
fromPartial<I extends {
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "cacheSizeGb">, never>>(object: I): Mongodconfig40_Storage_WiredTiger_EngineConfig;
};
export declare const Mongodconfig40_Storage_WiredTiger_CollectionConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.CollectionConfig";
encode(message: Mongodconfig40_Storage_WiredTiger_CollectionConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Storage_WiredTiger_CollectionConfig;
fromJSON(object: any): Mongodconfig40_Storage_WiredTiger_CollectionConfig;
toJSON(message: Mongodconfig40_Storage_WiredTiger_CollectionConfig): unknown;
fromPartial<I extends {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & Record<Exclude<keyof I, "$type" | "blockCompressor">, never>>(object: I): Mongodconfig40_Storage_WiredTiger_CollectionConfig;
};
export declare const Mongodconfig40_Storage_Journal: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.Journal";
encode(message: Mongodconfig40_Storage_Journal, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Storage_Journal;
fromJSON(object: any): Mongodconfig40_Storage_Journal;
toJSON(message: Mongodconfig40_Storage_Journal): unknown;
fromPartial<I extends {
commitInterval?: number | undefined;
} & {
commitInterval?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "commitInterval">, never>>(object: I): Mongodconfig40_Storage_Journal;
};
export declare const Mongodconfig40_OperationProfiling: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.OperationProfiling";
encode(message: Mongodconfig40_OperationProfiling, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_OperationProfiling;
fromJSON(object: any): Mongodconfig40_OperationProfiling;
toJSON(message: Mongodconfig40_OperationProfiling): unknown;
fromPartial<I extends {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "mode" | "slowOpThreshold">, never>>(object: I): Mongodconfig40_OperationProfiling;
};
export declare const Mongodconfig40_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Network";
encode(message: Mongodconfig40_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfig40_Network;
fromJSON(object: any): Mongodconfig40_Network;
toJSON(message: Mongodconfig40_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongodconfig40_Network;
};
export declare const Mongocfgconfig40: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0";
encode(message: Mongocfgconfig40, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40;
fromJSON(object: any): Mongocfgconfig40;
toJSON(message: Mongocfgconfig40): unknown;
fromPartial<I extends {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig40_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?: Mongocfgconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig40_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): Mongocfgconfig40;
};
export declare const Mongocfgconfig40_Storage: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage";
encode(message: Mongocfgconfig40_Storage, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40_Storage;
fromJSON(object: any): Mongocfgconfig40_Storage;
toJSON(message: Mongocfgconfig40_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): Mongocfgconfig40_Storage;
};
export declare const Mongocfgconfig40_Storage_WiredTiger: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger";
encode(message: Mongocfgconfig40_Storage_WiredTiger, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40_Storage_WiredTiger;
fromJSON(object: any): Mongocfgconfig40_Storage_WiredTiger;
toJSON(message: Mongocfgconfig40_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): Mongocfgconfig40_Storage_WiredTiger;
};
export declare const Mongocfgconfig40_Storage_WiredTiger_EngineConfig: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger.EngineConfig";
encode(message: Mongocfgconfig40_Storage_WiredTiger_EngineConfig, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40_Storage_WiredTiger_EngineConfig;
fromJSON(object: any): Mongocfgconfig40_Storage_WiredTiger_EngineConfig;
toJSON(message: Mongocfgconfig40_Storage_WiredTiger_EngineConfig): unknown;
fromPartial<I extends {
cacheSizeGb?: number | undefined;
} & {
cacheSizeGb?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "cacheSizeGb">, never>>(object: I): Mongocfgconfig40_Storage_WiredTiger_EngineConfig;
};
export declare const Mongocfgconfig40_OperationProfiling: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.OperationProfiling";
encode(message: Mongocfgconfig40_OperationProfiling, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40_OperationProfiling;
fromJSON(object: any): Mongocfgconfig40_OperationProfiling;
toJSON(message: Mongocfgconfig40_OperationProfiling): unknown;
fromPartial<I extends {
mode?: Mongocfgconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "mode" | "slowOpThreshold">, never>>(object: I): Mongocfgconfig40_OperationProfiling;
};
export declare const Mongocfgconfig40_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Network";
encode(message: Mongocfgconfig40_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfig40_Network;
fromJSON(object: any): Mongocfgconfig40_Network;
toJSON(message: Mongocfgconfig40_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongocfgconfig40_Network;
};
export declare const Mongosconfig40: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0";
encode(message: Mongosconfig40, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongosconfig40;
fromJSON(object: any): Mongosconfig40;
toJSON(message: Mongosconfig40): 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): Mongosconfig40;
};
export declare const Mongosconfig40_Network: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0.Network";
encode(message: Mongosconfig40_Network, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongosconfig40_Network;
fromJSON(object: any): Mongosconfig40_Network;
toJSON(message: Mongosconfig40_Network): unknown;
fromPartial<I extends {
maxIncomingConnections?: number | undefined;
} & {
maxIncomingConnections?: number | undefined;
} & Record<Exclude<keyof I, "$type" | "maxIncomingConnections">, never>>(object: I): Mongosconfig40_Network;
};
export declare const Mongodconfigset40: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_0";
encode(message: Mongodconfigset40, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongodconfigset40;
fromJSON(object: any): Mongodconfigset40;
toJSON(message: Mongodconfigset40): unknown;
fromPartial<I extends {
effectiveConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
userConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
defaultConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} | undefined;
} & {
effectiveConfig?: ({
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} | undefined;
net?: {
maxIncomingConnections?: number | undefined;
} | undefined;
} & {
storage?: ({
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} | undefined;
} | undefined;
journal?: {
commitInterval?: number | undefined;
} | undefined;
} & {
wiredTiger?: ({
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
collectionConfig?: {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_Storage_WiredTiger_CollectionConfig_Compressor | undefined;
} & {
blockCompressor?: Mongodconfig40_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?: Mongodconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongodconfig40_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): Mongodconfigset40;
};
export declare const Mongocfgconfigset40: {
$type: "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_0";
encode(message: Mongocfgconfigset40, writer?: _m0.Writer): _m0.Writer;
decode(input: _m0.Reader | Uint8Array, length?: number | undefined): Mongocfgconfigset40;
fromJSON(object: any): Mongocfgconfigset40;
toJSON(message: Mongocfgconfigset40): unknown;
fromPartial<I extends {
effectiveConfig?: {
storage?: {
wiredTiger?: {
engineConfig?: {
cacheSizeGb?: number | undefined;
} | undefined;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: Mongocfgconfig40_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?: Mongocfgconfig40_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?: Mongocfgconfig40_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?: Mongocfgconfig40_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?: Mongocfgconfig40_OperationProfiling_Mode | undefined;
slowOpThreshold?: number | undefined;
} & {
mode?: Mongocfgconfig40_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;
} | undefined;
} | undefined;
operationProfiling?: {
mode?: M