EncryptionKeyInfoSummary

class oci.log_analytics.models.EncryptionKeyInfoSummary(**kwargs)

Bases: object

This is the summary of an encryption key.

Attributes

KEY_SOURCE_CUSTOMER_MANAGED A constant which can be used with the key_source property of a EncryptionKeyInfoSummary.
KEY_SOURCE_ORACLE_MANAGED A constant which can be used with the key_source property of a EncryptionKeyInfoSummary.
KEY_TYPE_ACTIVE_DATA A constant which can be used with the key_type property of a EncryptionKeyInfoSummary.
KEY_TYPE_ALL A constant which can be used with the key_type property of a EncryptionKeyInfoSummary.
KEY_TYPE_ARCHIVAL_DATA A constant which can be used with the key_type property of a EncryptionKeyInfoSummary.
key_id [Required] Gets the key_id of this EncryptionKeyInfoSummary.
key_source [Required] Gets the key_source of this EncryptionKeyInfoSummary.
key_type [Required] Gets the key_type of this EncryptionKeyInfoSummary.

Methods

__init__(**kwargs) Initializes a new EncryptionKeyInfoSummary object with values from keyword arguments.
KEY_SOURCE_CUSTOMER_MANAGED = 'CUSTOMER_MANAGED'

A constant which can be used with the key_source property of a EncryptionKeyInfoSummary. This constant has a value of “CUSTOMER_MANAGED”

KEY_SOURCE_ORACLE_MANAGED = 'ORACLE_MANAGED'

A constant which can be used with the key_source property of a EncryptionKeyInfoSummary. This constant has a value of “ORACLE_MANAGED”

KEY_TYPE_ACTIVE_DATA = 'ACTIVE_DATA'

A constant which can be used with the key_type property of a EncryptionKeyInfoSummary. This constant has a value of “ACTIVE_DATA”

KEY_TYPE_ALL = 'ALL'

A constant which can be used with the key_type property of a EncryptionKeyInfoSummary. This constant has a value of “ALL”

KEY_TYPE_ARCHIVAL_DATA = 'ARCHIVAL_DATA'

A constant which can be used with the key_type property of a EncryptionKeyInfoSummary. This constant has a value of “ARCHIVAL_DATA”

__init__(**kwargs)

Initializes a new EncryptionKeyInfoSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • key_source (str) – The value to assign to the key_source property of this EncryptionKeyInfoSummary. Allowed values for this property are: “ORACLE_MANAGED”, “CUSTOMER_MANAGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • key_id (str) – The value to assign to the key_id property of this EncryptionKeyInfoSummary.
  • key_type (str) – The value to assign to the key_type property of this EncryptionKeyInfoSummary. Allowed values for this property are: “ACTIVE_DATA”, “ARCHIVAL_DATA”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
key_id

[Required] Gets the key_id of this EncryptionKeyInfoSummary. This is the key OCID of the encryption key (null if Oracle-managed).

Returns:The key_id of this EncryptionKeyInfoSummary.
Return type:str
key_source

[Required] Gets the key_source of this EncryptionKeyInfoSummary. This is the source of the encryption key.

Allowed values for this property are: “ORACLE_MANAGED”, “CUSTOMER_MANAGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_source of this EncryptionKeyInfoSummary.
Return type:str
key_type

[Required] Gets the key_type of this EncryptionKeyInfoSummary. This is the type of data to be encrypted. It can be either active or archival.

Allowed values for this property are: “ACTIVE_DATA”, “ARCHIVAL_DATA”, “ALL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The key_type of this EncryptionKeyInfoSummary.
Return type:str