TablespaceAdminPasswordCredentialDetails¶
- class oci.database_management.models.TablespaceAdminPasswordCredentialDetails(**kwargs)¶
Bases:
TablespaceAdminCredentialDetailsUser provides a password to be used to connect to the database.
Attributes:
A constant which can be used with the role property of a TablespaceAdminCredentialDetails.
A constant which can be used with the role property of a TablespaceAdminCredentialDetails.
A constant which can be used with the tablespace_admin_credential_type property of a TablespaceAdminCredentialDetails.
A constant which can be used with the tablespace_admin_credential_type property of a TablespaceAdminCredentialDetails.
[Required] Gets the password of this TablespaceAdminPasswordCredentialDetails.
[Required] Gets the role of this TablespaceAdminCredentialDetails.
[Required] Gets the tablespace_admin_credential_type of this TablespaceAdminCredentialDetails.
[Required] Gets the username of this TablespaceAdminCredentialDetails.
Methods:
__init__(**kwargs)Initializes a new TablespaceAdminPasswordCredentialDetails 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'¶
A constant which can be used with the role property of a TablespaceAdminCredentialDetails. This constant has a value of “NORMAL”
- ROLE_SYSDBA = 'SYSDBA'¶
A constant which can be used with the role property of a TablespaceAdminCredentialDetails. This constant has a value of “SYSDBA”
- TABLESPACE_ADMIN_CREDENTIAL_TYPE_PASSWORD = 'PASSWORD'¶
A constant which can be used with the tablespace_admin_credential_type property of a TablespaceAdminCredentialDetails. This constant has a value of “PASSWORD”
- TABLESPACE_ADMIN_CREDENTIAL_TYPE_SECRET = 'SECRET'¶
A constant which can be used with the tablespace_admin_credential_type property of a TablespaceAdminCredentialDetails. This constant has a value of “SECRET”
- __init__(**kwargs)¶
Initializes a new TablespaceAdminPasswordCredentialDetails object with values from keyword arguments. The default value of the
tablespace_admin_credential_typeattribute of this class isPASSWORDand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
tablespace_admin_credential_type (str) – The value to assign to the tablespace_admin_credential_type property of this TablespaceAdminPasswordCredentialDetails. Allowed values for this property are: “SECRET”, “PASSWORD”
username (str) – The value to assign to the username property of this TablespaceAdminPasswordCredentialDetails.
role (str) – The value to assign to the role property of this TablespaceAdminPasswordCredentialDetails. Allowed values for this property are: “NORMAL”, “SYSDBA”
password (str) – The value to assign to the password property of this TablespaceAdminPasswordCredentialDetails.
- 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.
- property password¶
[Required] Gets the password of this TablespaceAdminPasswordCredentialDetails. The database user’s password encoded using BASE64 scheme.
- Returns
The password of this TablespaceAdminPasswordCredentialDetails.
- Return type
str
- property role¶
[Required] Gets the role of this TablespaceAdminCredentialDetails. The role of the database user.
Allowed values for this property are: “NORMAL”, “SYSDBA”
- Returns
The role of this TablespaceAdminCredentialDetails.
- Return type
str
- property tablespace_admin_credential_type¶
[Required] Gets the tablespace_admin_credential_type of this TablespaceAdminCredentialDetails. The type of the credential for tablespace administration tasks.
Allowed values for this property are: “SECRET”, “PASSWORD”
- Returns
The tablespace_admin_credential_type of this TablespaceAdminCredentialDetails.
- Return type
str
- property username¶
[Required] Gets the username of this TablespaceAdminCredentialDetails. The user to connect to the database.
- Returns
The username of this TablespaceAdminCredentialDetails.
- Return type
str