ProfileSummary¶
- class oci.data_safe.models.ProfileSummary(**kwargs)¶
Bases:
objectThe summary of information about the user profiles. It includes details such as profile name, failed login attempts, sessions per user, inactive account time, password lock time, user created, target id, and the compartment id.
Methods:
__init__(**kwargs)Initializes a new ProfileSummary object with values from keyword arguments.
Attributes:
[Required] Gets the compartment_id of this ProfileSummary.
Gets the defined_tags of this ProfileSummary.
Gets the failed_login_attempts of this ProfileSummary.
Gets the freeform_tags of this ProfileSummary.
Gets the inactive_account_time of this ProfileSummary.
Gets the is_user_created of this ProfileSummary.
Gets the password_lock_time of this ProfileSummary.
Gets the password_verification_function of this ProfileSummary.
Gets the profile_name of this ProfileSummary.
Gets the sessions_per_user of this ProfileSummary.
Gets the target_id of this ProfileSummary.
[Required] Gets the user_assessment_id of this ProfileSummary.
Gets the user_count of this ProfileSummary.
- __init__(**kwargs)¶
Initializes a new ProfileSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
user_assessment_id (str) – The value to assign to the user_assessment_id property of this ProfileSummary.
compartment_id (str) – The value to assign to the compartment_id property of this ProfileSummary.
target_id (str) – The value to assign to the target_id property of this ProfileSummary.
profile_name (str) – The value to assign to the profile_name property of this ProfileSummary.
user_count (int) – The value to assign to the user_count property of this ProfileSummary.
failed_login_attempts (str) – The value to assign to the failed_login_attempts property of this ProfileSummary.
password_verification_function (str) – The value to assign to the password_verification_function property of this ProfileSummary.
sessions_per_user (str) – The value to assign to the sessions_per_user property of this ProfileSummary.
inactive_account_time (str) – The value to assign to the inactive_account_time property of this ProfileSummary.
password_lock_time (str) – The value to assign to the password_lock_time property of this ProfileSummary.
is_user_created (bool) – The value to assign to the is_user_created property of this ProfileSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ProfileSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ProfileSummary.
- property compartment_id¶
[Required] Gets the compartment_id of this ProfileSummary. The OCID of the compartment that contains the user assessment.
- Returns
The compartment_id of this ProfileSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this ProfileSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {“Operations”: {“CostCenter”: “42”}}
- Returns
The defined_tags of this ProfileSummary.
- Return type
dict(str, dict(str, object))
- property failed_login_attempts¶
Gets the failed_login_attempts of this ProfileSummary. Maximum times the user is allowed to fail login before the user account is locked.
- Returns
The failed_login_attempts of this ProfileSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this ProfileSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags
Example: {“Department”: “Finance”}
- Returns
The freeform_tags of this ProfileSummary.
- Return type
dict(str, str)
- property inactive_account_time¶
Gets the inactive_account_time of this ProfileSummary. The permitted periods of continuous inactive time during a session, expressed in minutes. Long-running queries and other operations are not subjected to this limit.
- Returns
The inactive_account_time of this ProfileSummary.
- Return type
str
- property is_user_created¶
Gets the is_user_created of this ProfileSummary. Represents if the profile is created by user.
- Returns
The is_user_created of this ProfileSummary.
- Return type
bool
- property password_lock_time¶
Gets the password_lock_time of this ProfileSummary. Number of days the user account remains locked after failed login
- Returns
The password_lock_time of this ProfileSummary.
- Return type
str
- property password_verification_function¶
Gets the password_verification_function of this ProfileSummary. PL/SQL that can be used for password verification.
- Returns
The password_verification_function of this ProfileSummary.
- Return type
str
- property profile_name¶
Gets the profile_name of this ProfileSummary. The name of the profile.
- Returns
The profile_name of this ProfileSummary.
- Return type
str
- property sessions_per_user¶
Gets the sessions_per_user of this ProfileSummary. The maximum number of sessions a user is allowed to create.
- Returns
The sessions_per_user of this ProfileSummary.
- Return type
str
- property target_id¶
Gets the target_id of this ProfileSummary. The OCID of the target database.
- Returns
The target_id of this ProfileSummary.
- Return type
str
- property user_assessment_id¶
[Required] Gets the user_assessment_id of this ProfileSummary. The OCID of the latest user assessment corresponding to the target under consideration. A compartment type assessment can also be passed to profiles from all the targets from the corresponding compartment.
- Returns
The user_assessment_id of this ProfileSummary.
- Return type
str
- property user_count¶
Gets the user_count of this ProfileSummary. The number of users having a given profile.
- Returns
The user_count of this ProfileSummary.
- Return type
int