SaasAdminUserConfiguration¶
- 
class oci.database.models.SaasAdminUserConfiguration(**kwargs)¶
- Bases: - object- SaaS administrative user configuration. - Attributes - ACCESS_TYPE_ADMIN- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. - ACCESS_TYPE_READ_ONLY- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. - ACCESS_TYPE_READ_WRITE- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. - access_type- Gets the access_type of this SaasAdminUserConfiguration. - duration- Gets the duration of this SaasAdminUserConfiguration. - is_enabled- Gets the is_enabled of this SaasAdminUserConfiguration. - password- Gets the password of this SaasAdminUserConfiguration. - secret_id- Gets the secret_id of this SaasAdminUserConfiguration. - secret_version_number- Gets the secret_version_number of this SaasAdminUserConfiguration. - time_saas_admin_user_enabled- Gets the time_saas_admin_user_enabled of this SaasAdminUserConfiguration. - Methods - __init__(**kwargs)- Initializes a new SaasAdminUserConfiguration object with values from keyword arguments. - 
ACCESS_TYPE_ADMIN= 'ADMIN'¶
- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. This constant has a value of “ADMIN” 
 - 
ACCESS_TYPE_READ_ONLY= 'READ_ONLY'¶
- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. This constant has a value of “READ_ONLY” 
 - 
ACCESS_TYPE_READ_WRITE= 'READ_WRITE'¶
- A constant which can be used with the access_type property of a SaasAdminUserConfiguration. This constant has a value of “READ_WRITE” 
 - 
__init__(**kwargs)¶
- Initializes a new SaasAdminUserConfiguration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - password (str) – The value to assign to the password property of this SaasAdminUserConfiguration.
- secret_id (str) – The value to assign to the secret_id property of this SaasAdminUserConfiguration.
- secret_version_number (int) – The value to assign to the secret_version_number property of this SaasAdminUserConfiguration.
- duration (int) – The value to assign to the duration property of this SaasAdminUserConfiguration.
- is_enabled (bool) – The value to assign to the is_enabled property of this SaasAdminUserConfiguration.
- access_type (str) – The value to assign to the access_type property of this SaasAdminUserConfiguration. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, “ADMIN”
- time_saas_admin_user_enabled (datetime) – The value to assign to the time_saas_admin_user_enabled property of this SaasAdminUserConfiguration.
 
 - 
access_type¶
- Gets the access_type of this SaasAdminUserConfiguration. The access type for the SaaS administrative user. If no access type is specified, the READ_ONLY access type is used. - Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, “ADMIN” - Returns: - The access_type of this SaasAdminUserConfiguration. - Return type: - str 
 - 
duration¶
- Gets the duration of this SaasAdminUserConfiguration. How long, in hours, the SaaS administrative user will stay enabled. If no duration is specified, the default value 1 will be used. - Returns: - The duration of this SaasAdminUserConfiguration. - Return type: - int 
 - 
is_enabled¶
- Gets the is_enabled of this SaasAdminUserConfiguration. Indicates if the SaaS administrative user is enabled for the Autonomous AI Database. - Returns: - The is_enabled of this SaasAdminUserConfiguration. - Return type: - bool 
 - 
password¶
- Gets the password of this SaasAdminUserConfiguration. A strong password for SaaS administrative user. The password must be a minimum of nine (9) characters and contain a minimum of two (2) uppercase, two (2) lowercase, two (2) numbers, and two (2) special characters from _ (underscore), # (hashtag), or - (dash). - Returns: - The password of this SaasAdminUserConfiguration. - Return type: - str 
 - 
secret_id¶
- Gets the secret_id of this SaasAdminUserConfiguration. The OCID of the Oracle Cloud Infrastructure secret. - Returns: - The secret_id of this SaasAdminUserConfiguration. - Return type: - str 
 - 
secret_version_number¶
- Gets the secret_version_number of this SaasAdminUserConfiguration. The version of the vault secret. If no version is specified, the latest version will be used. - Returns: - The secret_version_number of this SaasAdminUserConfiguration. - Return type: - int 
 - 
time_saas_admin_user_enabled¶
- Gets the time_saas_admin_user_enabled of this SaasAdminUserConfiguration. The date and time the SaaS administrative user was enabled at, for the Autonomous AI Database. - Returns: - The time_saas_admin_user_enabled of this SaasAdminUserConfiguration. - Return type: - datetime 
 
-