Class MongodbProfile
MongoDB profile.
Implements
Inherited Members
Namespace: Google.Apis.Datastream.v1.Data
Assembly: Google.Apis.Datastream.v1.dll
Syntax
public class MongodbProfile : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HostAddresses
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.
Declaration
[JsonProperty("hostAddresses")]
public virtual IList<HostAddress> HostAddresses { get; set; }
Property Value
Type | Description |
---|---|
IList<HostAddress> |
Password
Optional. Password for the MongoDB connection. Mutually exclusive with the secret_manager_stored_password
field.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
ReplicaSet
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.
Declaration
[JsonProperty("replicaSet")]
public virtual string ReplicaSet { get; set; }
Property Value
Type | Description |
---|---|
string |
SecretManagerStoredPassword
Optional. A reference to a Secret Manager resource name storing the SQLServer connection password. Mutually
exclusive with the password
field.
Declaration
[JsonProperty("secretManagerStoredPassword")]
public virtual string SecretManagerStoredPassword { get; set; }
Property Value
Type | Description |
---|---|
string |
SrvConnectionFormat
Srv connection format.
Declaration
[JsonProperty("srvConnectionFormat")]
public virtual SrvConnectionFormat SrvConnectionFormat { get; set; }
Property Value
Type | Description |
---|---|
SrvConnectionFormat |
SslConfig
Optional. SSL configuration for the MongoDB connection.
Declaration
[JsonProperty("sslConfig")]
public virtual MongodbSslConfig SslConfig { get; set; }
Property Value
Type | Description |
---|---|
MongodbSslConfig |
StandardConnectionFormat
Standard connection format.
Declaration
[JsonProperty("standardConnectionFormat")]
public virtual StandardConnectionFormat StandardConnectionFormat { get; set; }
Property Value
Type | Description |
---|---|
StandardConnectionFormat |
Username
Required. Username for the MongoDB connection.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |