ConnectionProfileMongodbProfile class
Constructors
-
ConnectionProfileMongodbProfile({Input<
Map< ? additionalOptions, required Input<String, String> ?>List< hostAddresses, Input<ConnectionProfileMongodbProfileHostAddress> >String?> ? password, Input<String?> ? replicaSet, Input<String?> ? secretManagerStoredPassword, Input<Map< ? srvConnectionFormat, Input<String, dynamic> ?>ConnectionProfileMongodbProfileSslConfig?> ? sslConfig, Input<ConnectionProfileMongodbProfileStandardConnectionFormat?> ? standardConnectionFormat, required Input<String> username}) -
Creates a new ConnectionProfileMongodbProfile.
additionalOptionsA map of additional options for the MongoDB connection.hostAddressesList of host addresses for a MongoDB cluster.passwordPassword for the MongoDB connection. Mutually exclusive withreplicaSetName of the replica set.secretManagerStoredPasswordA reference to a Secret Manager resource name storing the MongoDBsrvConnectionFormatSrv connection format. Mutually exclusive withsslConfigSSL configuration for the MongoDB connection.standardConnectionFormatStandard connection format. Mutually exclusive withusernameUsername for the MongoDB connection.const -
ConnectionProfileMongodbProfile.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
additionalOptions
→ Input<
Map< ?String, String> ?> -
A map of additional options for the MongoDB connection.
Keys are case-sensitive and should match the official
MongoDB connection string options: https://www.mongodb.com/docs/manual/reference/connection-string-options/
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hostAddresses
→ Input<
List< ConnectionProfileMongodbProfileHostAddress> > -
List of host addresses for a MongoDB cluster.
Structure is documented below.
final
-
password
→ Input<
String?> ? -
Password for the MongoDB connection. Mutually exclusive with
secretManagerStoredPassword.
Note: This property is sensitive and will not be displayed in the plan.
final
-
replicaSet
→ Input<
String?> ? -
Name of the replica set.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretManagerStoredPassword
→ Input<
String?> ? -
A reference to a Secret Manager resource name storing the MongoDB
connection password. Mutually exclusive with password.
final
-
srvConnectionFormat
→ Input<
Map< ?String, dynamic> ?> -
Srv connection format. Mutually exclusive with
standard_connection_Format.
final
-
sslConfig
→ Input<
ConnectionProfileMongodbProfileSslConfig?> ? -
SSL configuration for the MongoDB connection.
Structure is documented below.
final
-
standardConnectionFormat
→ Input<
ConnectionProfileMongodbProfileStandardConnectionFormat?> ? -
Standard connection format. Mutually exclusive with
srv_connection_format.
Structure is documented below.
final
-
username
→ Input<
String> -
Username for the MongoDB connection.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited