UpdateVolumeKmsKeyDetails

class oci.core.models.UpdateVolumeKmsKeyDetails(**kwargs)

Bases: object

UpdateVolumeKmsKeyDetails model.

__init__(**kwargs)

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

Parameters:kms_key_id (str) -- The value to assign to the kms_key_id property of this UpdateVolumeKmsKeyDetails.
kms_key_id

Gets the kms_key_id of this UpdateVolumeKmsKeyDetails. The OCID of the new KMS key which will be used to protect the specified volume. This key has to be a valid KMS key OCID, and the user must have key delegation policy to allow them to access this key. Even if the new KMS key is the same as the previous KMS key ID, the Block Volume service will use it to regenerate a new volume encryption key.

Returns:The kms_key_id of this UpdateVolumeKmsKeyDetails.
Return type:str