SqlTuningTaskPasswordCredentialDetails

class oci.database_management.models.SqlTuningTaskPasswordCredentialDetails(**kwargs)

Bases: oci.database_management.models.sql_tuning_task_credential_details.SqlTuningTaskCredentialDetails

User provides a password to be used to connect to the database.

Attributes

ROLE_NORMAL str(object=’’) -> str
ROLE_SYSDBA str(object=’’) -> str
SQL_TUNING_TASK_CREDENTIAL_TYPE_PASSWORD str(object=’’) -> str
SQL_TUNING_TASK_CREDENTIAL_TYPE_SECRET str(object=’’) -> str
password [Required] Gets the password of this SqlTuningTaskPasswordCredentialDetails.
role [Required] Gets the role of this SqlTuningTaskCredentialDetails.
sql_tuning_task_credential_type [Required] Gets the sql_tuning_task_credential_type of this SqlTuningTaskCredentialDetails.
username [Required] Gets the username of this SqlTuningTaskCredentialDetails.

Methods

__init__(**kwargs) Initializes a new SqlTuningTaskPasswordCredentialDetails object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
ROLE_NORMAL = 'NORMAL'
ROLE_SYSDBA = 'SYSDBA'
SQL_TUNING_TASK_CREDENTIAL_TYPE_PASSWORD = 'PASSWORD'
SQL_TUNING_TASK_CREDENTIAL_TYPE_SECRET = 'SECRET'
__init__(**kwargs)

Initializes a new SqlTuningTaskPasswordCredentialDetails object with values from keyword arguments. The default value of the sql_tuning_task_credential_type attribute of this class is PASSWORD and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • sql_tuning_task_credential_type (str) – The value to assign to the sql_tuning_task_credential_type property of this SqlTuningTaskPasswordCredentialDetails. Allowed values for this property are: “SECRET”, “PASSWORD”
  • username (str) – The value to assign to the username property of this SqlTuningTaskPasswordCredentialDetails.
  • role (str) – The value to assign to the role property of this SqlTuningTaskPasswordCredentialDetails. Allowed values for this property are: “NORMAL”, “SYSDBA”
  • password (str) – The value to assign to the password property of this SqlTuningTaskPasswordCredentialDetails.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

password

[Required] Gets the password of this SqlTuningTaskPasswordCredentialDetails. The database user’s password encoded using BASE64 scheme.

Returns:The password of this SqlTuningTaskPasswordCredentialDetails.
Return type:str
role

[Required] Gets the role of this SqlTuningTaskCredentialDetails. The role of the database user.

Allowed values for this property are: “NORMAL”, “SYSDBA”

Returns:The role of this SqlTuningTaskCredentialDetails.
Return type:str
sql_tuning_task_credential_type

[Required] Gets the sql_tuning_task_credential_type of this SqlTuningTaskCredentialDetails. The type pf the credential for SQL tuning task.

Allowed values for this property are: “SECRET”, “PASSWORD”

Returns:The sql_tuning_task_credential_type of this SqlTuningTaskCredentialDetails.
Return type:str
username

[Required] Gets the username of this SqlTuningTaskCredentialDetails. The user to connect to the database.

Returns:The username of this SqlTuningTaskCredentialDetails.
Return type:str