Class ConnectionDetails
Connection details for the database.
Inherited Members
Namespace: Oci.StackmonitoringService.Models
Assembly: OCI.DotNetSDK.Stackmonitoring.dll
Syntax
public class ConnectionDetails
Properties
ConnectorId
Declaration
[JsonProperty(PropertyName = "connectorId")]
public string ConnectorId { get; set; }
Property Value
Type | Description |
---|---|
string | Database connector Identifier OCID. |
DbId
Declaration
[JsonProperty(PropertyName = "dbId")]
public string DbId { get; set; }
Property Value
Type | Description |
---|---|
string | dbId of the database. |
DbUniqueName
Declaration
[JsonProperty(PropertyName = "dbUniqueName")]
public string DbUniqueName { get; set; }
Property Value
Type | Description |
---|---|
string | UniqueName used for database connection requests. |
Port
Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type | Description |
---|---|
int? | Listener Port number used for connection requests. |
Remarks
Required
Protocol
Declaration
[Required(ErrorMessage = "Protocol is required.")]
[JsonProperty(PropertyName = "protocol")]
[JsonConverter(typeof(ResponseEnumConverter))]
public ConnectionDetails.ProtocolEnum? Protocol { get; set; }
Property Value
Type | Description |
---|---|
ConnectionDetails.ProtocolEnum? | Protocol used in DB connection string when connecting to external database service. |
Remarks
Required
ServiceName
Declaration
[Required(ErrorMessage = "ServiceName is required.")]
[JsonProperty(PropertyName = "serviceName")]
public string ServiceName { get; set; }
Property Value
Type | Description |
---|---|
string | Service name used for connection requests. |
Remarks
Required
SslSecretId
Declaration
[JsonProperty(PropertyName = "sslSecretId")]
public string SslSecretId { get; set; }
Property Value
Type | Description |
---|---|
string | SSL Secret Identifier for TCPS connector in OCI VaultOCID. |