UIPasswordInformation¶
- class oci.identity.models.UIPasswordInformation(**kwargs)¶
Bases:
objectInformation about the UIPassword, which is a text password that enables a user to sign in to the Console, the user interface for interacting with Oracle Cloud Infrastructure.
For more information about user credentials, see User Credentials.
Attributes:
A constant which can be used with the lifecycle_state property of a UIPasswordInformation.
A constant which can be used with the lifecycle_state property of a UIPasswordInformation.
A constant which can be used with the lifecycle_state property of a UIPasswordInformation.
A constant which can be used with the lifecycle_state property of a UIPasswordInformation.
A constant which can be used with the lifecycle_state property of a UIPasswordInformation.
Gets the lifecycle_state of this UIPasswordInformation.
Gets the time_created of this UIPasswordInformation.
Gets the user_id of this UIPasswordInformation.
Methods:
__init__(**kwargs)Initializes a new UIPasswordInformation object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a UIPasswordInformation. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_CREATING = 'CREATING'¶
A constant which can be used with the lifecycle_state property of a UIPasswordInformation. This constant has a value of “CREATING”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a UIPasswordInformation. This constant has a value of “DELETED”
- LIFECYCLE_STATE_DELETING = 'DELETING'¶
A constant which can be used with the lifecycle_state property of a UIPasswordInformation. This constant has a value of “DELETING”
- LIFECYCLE_STATE_INACTIVE = 'INACTIVE'¶
A constant which can be used with the lifecycle_state property of a UIPasswordInformation. This constant has a value of “INACTIVE”
- __init__(**kwargs)¶
Initializes a new UIPasswordInformation object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
user_id (str) – The value to assign to the user_id property of this UIPasswordInformation.
time_created (datetime) – The value to assign to the time_created property of this UIPasswordInformation.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this UIPasswordInformation. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property lifecycle_state¶
Gets the lifecycle_state of this UIPasswordInformation. The password’s current state. After creating a password, make sure its lifecycleState changes from CREATING to ACTIVE before using it.
Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this UIPasswordInformation.
- Return type
str
- property time_created¶
Gets the time_created of this UIPasswordInformation. Date and time the password was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z
- Returns
The time_created of this UIPasswordInformation.
- Return type
datetime
- property user_id¶
Gets the user_id of this UIPasswordInformation. The OCID of the user.
- Returns
The user_id of this UIPasswordInformation.
- Return type
str