KeyStoreSummary¶
-
class
oci.database.models.KeyStoreSummary(**kwargs)¶ Bases:
objectDetails of the Key Store.
Attributes
LIFECYCLE_STATE_ACTIVEA constant which can be used with the lifecycle_state property of a KeyStoreSummary. LIFECYCLE_STATE_DELETEDA constant which can be used with the lifecycle_state property of a KeyStoreSummary. LIFECYCLE_STATE_NEEDS_ATTENTIONA constant which can be used with the lifecycle_state property of a KeyStoreSummary. associated_databasesGets the associated_databases of this KeyStoreSummary. associated_long_term_backup_countGets the associated_long_term_backup_count of this KeyStoreSummary. associated_long_term_backupsGets the associated_long_term_backups of this KeyStoreSummary. compartment_id[Required] Gets the compartment_id of this KeyStoreSummary. defined_tagsGets the defined_tags of this KeyStoreSummary. display_name[Required] Gets the display_name of this KeyStoreSummary. freeform_tagsGets the freeform_tags of this KeyStoreSummary. id[Required] Gets the id of this KeyStoreSummary. lifecycle_detailsGets the lifecycle_details of this KeyStoreSummary. lifecycle_state[Required] Gets the lifecycle_state of this KeyStoreSummary. system_tagsGets the system_tags of this KeyStoreSummary. time_createdGets the time_created of this KeyStoreSummary. type_details[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.
-
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: list[oci.database.models.KeyStoreAssociatedDatabaseDetails]
-
associated_long_term_backup_count¶ Gets the associated_long_term_backup_count of this KeyStoreSummary. Indicates the number of long term backups of Autonomous Databases associated with this backup destination.
Returns: The associated_long_term_backup_count of this KeyStoreSummary. Return type: int
-
associated_long_term_backups¶ Gets the associated_long_term_backups of this KeyStoreSummary. List of long term backups of Autonomous 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: list[oci.database.models.AssociatedLongTermBackup]
-
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
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))
-
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
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)
-
id¶ [Required] Gets the id of this KeyStoreSummary. The OCID of the key store.
Returns: The id of this KeyStoreSummary. Return type: str
-
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
-
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
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))
-
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
-
type_details¶ [Required] Gets the type_details of this KeyStoreSummary.
Returns: The type_details of this KeyStoreSummary. Return type: oci.database.models.KeyStoreTypeDetails
-