SaasAdminUserStatus¶
- class oci.database.models.SaasAdminUserStatus(**kwargs)¶
Bases:
objectSaaS administrative user status.
Attributes:
A constant which can be used with the access_type property of a SaasAdminUserStatus.
A constant which can be used with the access_type property of a SaasAdminUserStatus.
A constant which can be used with the access_type property of a SaasAdminUserStatus.
Gets the access_type of this SaasAdminUserStatus.
Gets the is_enabled of this SaasAdminUserStatus.
Gets the time_saas_admin_user_enabled of this SaasAdminUserStatus.
Methods:
__init__(**kwargs)Initializes a new SaasAdminUserStatus object with values from keyword arguments.
- ACCESS_TYPE_ADMIN = 'ADMIN'¶
A constant which can be used with the access_type property of a SaasAdminUserStatus. 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 SaasAdminUserStatus. 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 SaasAdminUserStatus. This constant has a value of “READ_WRITE”
- __init__(**kwargs)¶
Initializes a new SaasAdminUserStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
is_enabled (bool) – The value to assign to the is_enabled property of this SaasAdminUserStatus.
access_type (str) – The value to assign to the access_type property of this SaasAdminUserStatus. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, “ADMIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
time_saas_admin_user_enabled (datetime) – The value to assign to the time_saas_admin_user_enabled property of this SaasAdminUserStatus.
- property access_type¶
Gets the access_type of this SaasAdminUserStatus. 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”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The access_type of this SaasAdminUserStatus.
- Return type
str
- property is_enabled¶
Gets the is_enabled of this SaasAdminUserStatus. Indicates if the SaaS administrative user is enabled for the Autonomous AI Database.
- Returns
The is_enabled of this SaasAdminUserStatus.
- Return type
bool
- property time_saas_admin_user_enabled¶
Gets the time_saas_admin_user_enabled of this SaasAdminUserStatus. 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 SaasAdminUserStatus.
- Return type
datetime