Show / Hide Table of Contents

Class UpdateMySqlDatabaseConnectorDetails

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

Inheritance
object
UpdateMySqlDatabaseConnectorDetails
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 UpdateMySqlDatabaseConnectorDetails

Properties

CredentialType

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

Type of the credential.

DisplayName

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

External MySQL Database Connector Name.

ExternalDatabaseId

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

OCID of MySQL Database resource.

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