CreateVolumeBackupPolicyAssignmentDetails

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

Bases: object

CreateVolumeBackupPolicyAssignmentDetails model.

Methods

__init__(**kwargs) Initializes a new CreateVolumeBackupPolicyAssignmentDetails object with values from keyword arguments.

Attributes

asset_id [Required] Gets the asset_id of this CreateVolumeBackupPolicyAssignmentDetails.
policy_id [Required] Gets the policy_id of this CreateVolumeBackupPolicyAssignmentDetails.
xrc_kms_key_id Gets the xrc_kms_key_id of this CreateVolumeBackupPolicyAssignmentDetails.
__init__(**kwargs)

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

Parameters:
  • asset_id (str) – The value to assign to the asset_id property of this CreateVolumeBackupPolicyAssignmentDetails.
  • policy_id (str) – The value to assign to the policy_id property of this CreateVolumeBackupPolicyAssignmentDetails.
  • xrc_kms_key_id (str) – The value to assign to the xrc_kms_key_id property of this CreateVolumeBackupPolicyAssignmentDetails.
asset_id

[Required] Gets the asset_id of this CreateVolumeBackupPolicyAssignmentDetails. The OCID of the volume to assign the policy to.

Returns:The asset_id of this CreateVolumeBackupPolicyAssignmentDetails.
Return type:str
policy_id

[Required] Gets the policy_id of this CreateVolumeBackupPolicyAssignmentDetails. The OCID of the volume backup policy to assign to the volume.

Returns:The policy_id of this CreateVolumeBackupPolicyAssignmentDetails.
Return type:str
xrc_kms_key_id

Gets the xrc_kms_key_id of this CreateVolumeBackupPolicyAssignmentDetails. The OCID of the Vault service key which is the master encryption key for the block / boot volume cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys. For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.

Returns:The xrc_kms_key_id of this CreateVolumeBackupPolicyAssignmentDetails.
Return type:str