Class ManagedDatabaseCredential
The credential used to connect to the Managed Database and obtain the details of the optimizer statistics tasks.
Inheritance
ManagedDatabaseCredential
Inherited Members
Namespace: Oci.DatabasemanagementService.Models
Assembly: OCI.DotNetSDK.Databasemanagement.dll
Syntax
[JsonConverter(typeof(ManagedDatabaseCredentialModelConverter))]
public class ManagedDatabaseCredential
Properties
Role
Declaration
[Required(ErrorMessage = "Role is required.")]
[JsonProperty(PropertyName = "role")]
[JsonConverter(typeof(StringEnumConverter))]
public ManagedDatabaseCredential.RoleEnum? Role { get; set; }
Property Value
Type | Description |
---|---|
ManagedDatabaseCredential.RoleEnum? | The role of the database user. |
Remarks
Required
Username
Declaration
[Required(ErrorMessage = "Username is required.")]
[JsonProperty(PropertyName = "username")]
public string Username { get; set; }
Property Value
Type | Description |
---|---|
string | The user name used to connect to the database. |
Remarks
Required