Show / Hide Table of Contents

Class CreateMySqlDatabaseConnectorDetails

Create Details of external database connector. MySQL support within OCI Database Management service has been deprecated as of January 29, 2026.

Inheritance
object
CreateMySqlDatabaseConnectorDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class CreateMySqlDatabaseConnectorDetails

Properties

CredentialType

Declaration
[Required(ErrorMessage = "CredentialType is required.")]
[JsonProperty(PropertyName = "credentialType")]
[JsonConverter(typeof(StringEnumConverter))]
public MySqlCredType? CredentialType { get; set; }
Property Value
Type Description
MySqlCredType?

Type of the credential.

Remarks

Required

DisplayName

Declaration
[Required(ErrorMessage = "DisplayName is required.")]
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

External MySQL Database Connector Name.

Remarks

Required

ExternalDatabaseId

Declaration
[Required(ErrorMessage = "ExternalDatabaseId is required.")]
[JsonProperty(PropertyName = "externalDatabaseId")]
public string ExternalDatabaseId { get; set; }
Property Value
Type Description
string

OCID of MySQL Database resource.

Remarks

Required

HostName

Declaration
[Required(ErrorMessage = "HostName is required.")]
[JsonProperty(PropertyName = "hostName")]
public string HostName { get; set; }
Property Value
Type Description
string

Host name for Connector.

Remarks

Required

MacsAgentId

Declaration
[Required(ErrorMessage = "MacsAgentId is required.")]
[JsonProperty(PropertyName = "macsAgentId")]
public string MacsAgentId { get; set; }
Property Value
Type Description
string

Agent Id of the MACS agent.

Remarks

Required

NetworkProtocol

Declaration
[Required(ErrorMessage = "NetworkProtocol is required.")]
[JsonProperty(PropertyName = "networkProtocol")]
[JsonConverter(typeof(StringEnumConverter))]
public MySqlNetworkProtocolType? NetworkProtocol { get; set; }
Property Value
Type Description
MySqlNetworkProtocolType?

Protocol to be used to connect to External MySQL Database; TCP, TCP with SSL or Socket.

Remarks

Required

Port

Declaration
[Required(ErrorMessage = "Port is required.")]
[JsonProperty(PropertyName = "port")]
public int? Port { get; set; }
Property Value
Type Description
int?

Port number to connect to External MySQL Database.

Remarks

Required

SslSecretId

Declaration
[Required(ErrorMessage = "SslSecretId is required.")]
[JsonProperty(PropertyName = "sslSecretId")]
public string SslSecretId { get; set; }
Property Value
Type Description
string

If using existing SSL secret to connect, OCID for the secret resource.

Remarks

Required

In this article
Back to top