Show / Hide Table of Contents

Class DatabaseConnectionCredentialsByDetails

User information to connect to the database. Required when performing the {@link #createExternalDatabaseConnectorDetails(CreateExternalDatabaseConnectorDetailsRequest) createExternalDatabaseConnectorDetails} operation. IMPORTANT: Not supported for the {@link #updateExternalDatabaseConnectorDetails(UpdateExternalDatabaseConnectorDetailsRequest) updateExternalDatabaseConnectorDetails} operation.

Inheritance
object
DatabaseConnectionCredentials
DatabaseConnectionCredentialsByDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatabaseService.Models
Assembly: OCI.DotNetSDK.Database.dll
Syntax
public class DatabaseConnectionCredentialsByDetails : DatabaseConnectionCredentials

Properties

CredentialName

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

The name of the credential information that used to connect to the database. The name should be in "x.y" format, where the length of "x" has a maximum of 64 characters, and length of "y" has a maximum of 199 characters. The name strings can contain letters, numbers and the underscore character only. Other characters are not valid, except for the "." character that separates the "x" and "y" portions of the name. IMPORTANT - The name must be unique within the OCI region the credential is being created in. If you specify a name that duplicates the name of another credential within the same OCI region, you may overwrite or corrupt the credential that is already using the name.
For Example: inventorydb.abc112233445566778899

Password

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

The password that will be used to connect to the database.

Remarks

Required

Role

Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabaseConnectionCredentialsByDetails.RoleEnum? Role { get; set; }
Property Value
Type Description
DatabaseConnectionCredentialsByDetails.RoleEnum?

The role of the user that will be connecting to the database.

Remarks

Required

Username

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

The username that will be used to connect to the database.

Remarks

Required

In this article
Back to top