Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

MongodbProfile

import type { MongodbProfile } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

MongoDB profile.

interface MongodbProfile {
hostAddresses?: HostAddress[];
password?: string;
replicaSet?: string;
secretManagerStoredPassword?: string;
srvConnectionFormat?: SrvConnectionFormat;
sslConfig?: MongodbSslConfig;
standardConnectionFormat?: StandardConnectionFormat;
username?: string;
}

§Properties

§
hostAddresses?: HostAddress[]
[src]

Required. List of host addresses for a MongoDB cluster. For SRV connection format, this list must contain exactly one DNS host without a port. For Standard connection format, this list must contain all the required hosts in the cluster with their respective ports.

§
password?: string
[src]

Optional. Password for the MongoDB connection. Mutually exclusive with the secret_manager_stored_password field.

§
replicaSet?: string
[src]

Optional. Name of the replica set. Only needed for self hosted replica set type MongoDB cluster. For SRV connection format, this field must be empty. For Standard connection format, this field must be specified.

§
secretManagerStoredPassword?: string
[src]

Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually exclusive with the password field.

§
srvConnectionFormat?: SrvConnectionFormat
[src]

Srv connection format.

§

Optional. SSL configuration for the MongoDB connection.

§
standardConnectionFormat?: StandardConnectionFormat
[src]

Standard connection format.

§
username?: string
[src]

Required. Username for the MongoDB connection.