ConfigureSaasAdminUserDetails

class oci.database.models.ConfigureSaasAdminUserDetails(**kwargs)

Bases: object

Details to update SaaS administrative user configuration.

Attributes

ACCESS_TYPE_ADMIN A constant which can be used with the access_type property of a ConfigureSaasAdminUserDetails.
ACCESS_TYPE_READ_ONLY A constant which can be used with the access_type property of a ConfigureSaasAdminUserDetails.
ACCESS_TYPE_READ_WRITE A constant which can be used with the access_type property of a ConfigureSaasAdminUserDetails.
access_type Gets the access_type of this ConfigureSaasAdminUserDetails.
duration Gets the duration of this ConfigureSaasAdminUserDetails.
is_enabled Gets the is_enabled of this ConfigureSaasAdminUserDetails.
password Gets the password of this ConfigureSaasAdminUserDetails.
secret_id Gets the secret_id of this ConfigureSaasAdminUserDetails.
secret_version_number Gets the secret_version_number of this ConfigureSaasAdminUserDetails.
time_saas_admin_user_enabled Gets the time_saas_admin_user_enabled of this ConfigureSaasAdminUserDetails.

Methods

__init__(**kwargs) Initializes a new ConfigureSaasAdminUserDetails object with values from keyword arguments.
ACCESS_TYPE_ADMIN = 'ADMIN'

A constant which can be used with the access_type property of a ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails. This constant has a value of “READ_WRITE”

__init__(**kwargs)

Initializes a new ConfigureSaasAdminUserDetails 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 ConfigureSaasAdminUserDetails.
  • secret_id (str) – The value to assign to the secret_id property of this ConfigureSaasAdminUserDetails.
  • secret_version_number (int) – The value to assign to the secret_version_number property of this ConfigureSaasAdminUserDetails.
  • duration (int) – The value to assign to the duration property of this ConfigureSaasAdminUserDetails.
  • is_enabled (bool) – The value to assign to the is_enabled property of this ConfigureSaasAdminUserDetails.
  • access_type (str) – The value to assign to the access_type property of this ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails.
access_type

Gets the access_type of this ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails.
Return type:str
duration

Gets the duration of this ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails.
Return type:int
is_enabled

Gets the is_enabled of this ConfigureSaasAdminUserDetails. Indicates if the SaaS administrative user is enabled for the Autonomous Database.

Returns:The is_enabled of this ConfigureSaasAdminUserDetails.
Return type:bool
password

Gets the password of this ConfigureSaasAdminUserDetails. 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 ConfigureSaasAdminUserDetails.
Return type:str
secret_id

Gets the secret_id of this ConfigureSaasAdminUserDetails. The OCID of the Oracle Cloud Infrastructure secret.

Returns:The secret_id of this ConfigureSaasAdminUserDetails.
Return type:str
secret_version_number

Gets the secret_version_number of this ConfigureSaasAdminUserDetails. The version of the vault secret. If no version is specified, the latest version will be used.

Returns:The secret_version_number of this ConfigureSaasAdminUserDetails.
Return type:int
time_saas_admin_user_enabled

Gets the time_saas_admin_user_enabled of this ConfigureSaasAdminUserDetails. The date and time the SaaS administrative user was enabled at, for the Autonomous Database.

Returns:The time_saas_admin_user_enabled of this ConfigureSaasAdminUserDetails.
Return type:datetime