Class DatabasePasswordCredentialDetails
User provides a password to be used to connect to the database.
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
public class DatabasePasswordCredentialDetails : DatabaseCredentialDetails
Properties
Password
Declaration
[Required(ErrorMessage = "Password is required.")]
[JsonProperty(PropertyName = "password")]
public string Password { get; set; }
Property Value
Type | Description |
---|---|
string | The database user's password encoded using BASE64 scheme. |
Remarks
Required
Role
Declaration
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public DatabasePasswordCredentialDetails.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
DatabasePasswordCredentialDetails.RoleEnum? | The role of the database user. |
Username
Declaration
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string | The user to connect to the database. |