AssignEncryptionKeyDetails¶
- 
class oci.log_analytics.models.AssignEncryptionKeyDetails(**kwargs)¶
- Bases: - object- This is the input used to assign customer encryption key. - Attributes - KEY_TYPE_ACTIVE_DATA- A constant which can be used with the key_type property of a AssignEncryptionKeyDetails. - KEY_TYPE_ALL- A constant which can be used with the key_type property of a AssignEncryptionKeyDetails. - KEY_TYPE_ARCHIVAL_DATA- A constant which can be used with the key_type property of a AssignEncryptionKeyDetails. - key_id- [Required] Gets the key_id of this AssignEncryptionKeyDetails. - key_type- [Required] Gets the key_type of this AssignEncryptionKeyDetails. - Methods - __init__(**kwargs)- Initializes a new AssignEncryptionKeyDetails object with values from keyword arguments. - 
KEY_TYPE_ACTIVE_DATA= 'ACTIVE_DATA'¶
- A constant which can be used with the key_type property of a AssignEncryptionKeyDetails. 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 AssignEncryptionKeyDetails. 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 AssignEncryptionKeyDetails. This constant has a value of “ARCHIVAL_DATA” 
 - 
__init__(**kwargs)¶
- Initializes a new AssignEncryptionKeyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): - Parameters: - key_id (str) – The value to assign to the key_id property of this AssignEncryptionKeyDetails.
- key_type (str) – The value to assign to the key_type property of this AssignEncryptionKeyDetails. Allowed values for this property are: “ACTIVE_DATA”, “ARCHIVAL_DATA”, “ALL”
 
 - 
key_id¶
- [Required] Gets the key_id of this AssignEncryptionKeyDetails. This is the key OCID for encryption key. - Returns: - The key_id of this AssignEncryptionKeyDetails. - Return type: - str 
 - 
key_type¶
- [Required] Gets the key_type of this AssignEncryptionKeyDetails. 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” - Returns: - The key_type of this AssignEncryptionKeyDetails. - Return type: - str 
 
-