KeyStoreSummary¶
- class oci.database.models.KeyStoreSummary(**kwargs)¶
Bases:
objectDetails of the Key Store.
Attributes:
A constant which can be used with the lifecycle_state property of a KeyStoreSummary.
A constant which can be used with the lifecycle_state property of a KeyStoreSummary.
A constant which can be used with the lifecycle_state property of a KeyStoreSummary.
Gets the associated_databases of this KeyStoreSummary.
Gets the associated_long_term_backup_count of this KeyStoreSummary.
Gets the associated_long_term_backups of this KeyStoreSummary.
[Required] Gets the compartment_id of this KeyStoreSummary.
Gets the defined_tags of this KeyStoreSummary.
[Required] Gets the display_name of this KeyStoreSummary.
Gets the freeform_tags of this KeyStoreSummary.
[Required] Gets the id of this KeyStoreSummary.
Gets the lifecycle_details of this KeyStoreSummary.
[Required] Gets the lifecycle_state of this KeyStoreSummary.
Gets the system_tags of this KeyStoreSummary.
Gets the time_created of this KeyStoreSummary.
[Required] Gets the type_details of this KeyStoreSummary.
Methods:
__init__(**kwargs)Initializes a new KeyStoreSummary object with values from keyword arguments.
- LIFECYCLE_STATE_ACTIVE = 'ACTIVE'¶
A constant which can be used with the lifecycle_state property of a KeyStoreSummary. This constant has a value of “ACTIVE”
- LIFECYCLE_STATE_DELETED = 'DELETED'¶
A constant which can be used with the lifecycle_state property of a KeyStoreSummary. This constant has a value of “DELETED”
- LIFECYCLE_STATE_NEEDS_ATTENTION = 'NEEDS_ATTENTION'¶
A constant which can be used with the lifecycle_state property of a KeyStoreSummary. This constant has a value of “NEEDS_ATTENTION”
- __init__(**kwargs)¶
Initializes a new KeyStoreSummary 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 KeyStoreSummary.
compartment_id (str) – The value to assign to the compartment_id property of this KeyStoreSummary.
display_name (str) – The value to assign to the display_name property of this KeyStoreSummary.
time_created (datetime) – The value to assign to the time_created property of this KeyStoreSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this KeyStoreSummary. Allowed values for this property are: “ACTIVE”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this KeyStoreSummary.
type_details (oci.database.models.KeyStoreTypeDetails) – The value to assign to the type_details property of this KeyStoreSummary.
associated_databases (list[oci.database.models.KeyStoreAssociatedDatabaseDetails]) – The value to assign to the associated_databases property of this KeyStoreSummary.
associated_long_term_backups (list[oci.database.models.AssociatedLongTermBackup]) – The value to assign to the associated_long_term_backups property of this KeyStoreSummary.
associated_long_term_backup_count (int) – The value to assign to the associated_long_term_backup_count property of this KeyStoreSummary.
freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this KeyStoreSummary.
defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this KeyStoreSummary.
system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this KeyStoreSummary.
- property associated_databases¶
Gets the associated_databases of this KeyStoreSummary. List of databases associated with the key store.
- Returns
The associated_databases of this KeyStoreSummary.
- Return type
- property associated_long_term_backup_count¶
Gets the associated_long_term_backup_count of this KeyStoreSummary. Indicates the number of long term backups of Autonomous AI Databases associated with this backup destination.
- Returns
The associated_long_term_backup_count of this KeyStoreSummary.
- Return type
int
- property associated_long_term_backups¶
Gets the associated_long_term_backups of this KeyStoreSummary. List of long term backups of Autonomous AI Databases associated with this backup destination.The maximum associated number of long term backup listed here would be 1024.
- Returns
The associated_long_term_backups of this KeyStoreSummary.
- Return type
- property compartment_id¶
[Required] Gets the compartment_id of this KeyStoreSummary. The OCID of the compartment.
- Returns
The compartment_id of this KeyStoreSummary.
- Return type
str
- property defined_tags¶
Gets the defined_tags of this KeyStoreSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The defined_tags of this KeyStoreSummary.
- Return type
dict(str, dict(str, object))
- property display_name¶
[Required] Gets the display_name of this KeyStoreSummary. The user-friendly name for the key store. The name does not need to be unique.
- Returns
The display_name of this KeyStoreSummary.
- Return type
str
- property freeform_tags¶
Gets the freeform_tags of this KeyStoreSummary. 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 KeyStoreSummary.
- Return type
dict(str, str)
- property id¶
[Required] Gets the id of this KeyStoreSummary. The OCID of the key store.
- Returns
The id of this KeyStoreSummary.
- Return type
str
- property lifecycle_details¶
Gets the lifecycle_details of this KeyStoreSummary. Additional information about the current lifecycle state.
- Returns
The lifecycle_details of this KeyStoreSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this KeyStoreSummary. The current state of the key store.
Allowed values for this property are: “ACTIVE”, “DELETED”, “NEEDS_ATTENTION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The lifecycle_state of this KeyStoreSummary.
- Return type
str
- property system_tags¶
Gets the system_tags of this KeyStoreSummary. System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
- Returns
The system_tags of this KeyStoreSummary.
- Return type
dict(str, dict(str, object))
- property time_created¶
Gets the time_created of this KeyStoreSummary. The date and time that the key store was created.
- Returns
The time_created of this KeyStoreSummary.
- Return type
datetime
- property type_details¶
[Required] Gets the type_details of this KeyStoreSummary.
- Returns
The type_details of this KeyStoreSummary.
- Return type