Show / Hide Table of Contents

Class PreferredCredentialSummary

The summary of preferred credentials.

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

Properties

CredentialName

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

The name of the preferred credential.

Remarks

Required

IsAccessible

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

Indicates whether the preferred credential is accessible.

Remarks

Required

NamedCredentialId

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

The OCID of the Named Credential that contains the database user password metadata.

PasswordSecretId

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

The OCID of the Vault service secret that contains the database user password.

Role

Declaration
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Role? Role { get; set; }
Property Value
Type Description
Role?

The role of the database user.

Status

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

The status of the preferred credential.

Remarks

Required

UserName

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

The user name used to connect to the database.

In this article
Back to top