DbCredentialSummary¶
-
class
oci.identity.models.
DbCredentialSummary
(**kwargs)¶ Bases:
object
As the name suggests, an DbCredentialSummary object contains information about an DbCredential. The DB credential is used for DB authentication with the [DB Service].
Methods
__init__
(**kwargs)Initializes a new DbCredentialSummary object with values from keyword arguments. Attributes
description
Gets the description of this DbCredentialSummary. id
Gets the id of this DbCredentialSummary. lifecycle_state
Gets the lifecycle_state of this DbCredentialSummary. time_created
Gets the time_created of this DbCredentialSummary. time_expires
Gets the time_expires of this DbCredentialSummary. user_id
Gets the user_id of this DbCredentialSummary. -
__init__
(**kwargs)¶ Initializes a new DbCredentialSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this DbCredentialSummary.
- user_id (str) – The value to assign to the user_id property of this DbCredentialSummary.
- description (str) – The value to assign to the description property of this DbCredentialSummary.
- time_created (datetime) – The value to assign to the time_created property of this DbCredentialSummary.
- time_expires (datetime) – The value to assign to the time_expires property of this DbCredentialSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbCredentialSummary.
-
description
¶ Gets the description of this DbCredentialSummary. The description you assign to the DB credential. Does not have to be unique, and it’s changeable.
Returns: The description of this DbCredentialSummary. Return type: str
-
id
¶ Gets the id of this DbCredentialSummary. The OCID of the DB credential.
Returns: The id of this DbCredentialSummary. Return type: str
-
lifecycle_state
¶ Gets the lifecycle_state of this DbCredentialSummary. The credential’s current state. After creating a DB credential, make sure its lifecycleState changes from CREATING to ACTIVE before using it.
Returns: The lifecycle_state of this DbCredentialSummary. Return type: str
-
time_created
¶ Gets the time_created of this DbCredentialSummary. Date and time the DbCredential object was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_created of this DbCredentialSummary. Return type: datetime
-
time_expires
¶ Gets the time_expires of this DbCredentialSummary. Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires.
Example: 2016-08-25T21:10:29.600Z
Returns: The time_expires of this DbCredentialSummary. Return type: datetime
-
user_id
¶ Gets the user_id of this DbCredentialSummary. The OCID of the user the DB credential belongs to.
Returns: The user_id of this DbCredentialSummary. Return type: str
-