Class UpdateSecureConnectionRequest
Request model for updating an existing secure database connection.
public sealed record UpdateSecureConnectionRequest : IEquatable<UpdateSecureConnectionRequest>
- Inheritance
-
UpdateSecureConnectionRequest
- Implements
- Inherited Members
Properties
DatabaseName
Database name to connect to.
[JsonPropertyName("databaseName")]
public string? DatabaseName { get; init; }
Property Value
Description
Optional description of the connection.
[JsonPropertyName("description")]
public string? Description { get; init; }
Property Value
Host
Database server hostname or IP address.
[JsonPropertyName("host")]
public string? Host { get; init; }
Property Value
IsActive
Whether the connection is active.
[JsonPropertyName("isActive")]
public bool? IsActive { get; init; }
Property Value
- bool?
Password
New database password (optional, only for re-encrypting credentials).
[JsonPropertyName("password")]
public string? Password { get; init; }
Property Value
Port
Database server port number.
[JsonPropertyName("port")]
public int? Port { get; init; }
Property Value
- int?
SslMode
SSL mode for the connection.
[JsonPropertyName("sslMode")]
public string? SslMode { get; init; }
Property Value
SslRequired
Whether SSL/TLS is required for this connection.
[JsonPropertyName("sslRequired")]
public bool? SslRequired { get; init; }
Property Value
- bool?
Username
Database username.
[JsonPropertyName("username")]
public string? Username { get; init; }