VolumeSourceFromVolumeBackupDeltaDetails¶
-
class
oci.core.models.
VolumeSourceFromVolumeBackupDeltaDetails
(**kwargs)¶ Bases:
oci.core.models.volume_source_details.VolumeSourceDetails
Specifies the volume backups (first & second) and block size in bytes.
Methods
__init__
(**kwargs)Initializes a new VolumeSourceFromVolumeBackupDeltaDetails object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. Attributes
change_block_size_in_bytes
Gets the change_block_size_in_bytes of this VolumeSourceFromVolumeBackupDeltaDetails. first_backup_id
[Required] Gets the first_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. second_backup_id
[Required] Gets the second_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. type
[Required] Gets the type of this VolumeSourceDetails. -
__init__
(**kwargs)¶ Initializes a new VolumeSourceFromVolumeBackupDeltaDetails object with values from keyword arguments. The default value of the
type
attribute of this class isvolumeBackupDelta
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - type (str) – The value to assign to the type property of this VolumeSourceFromVolumeBackupDeltaDetails.
- first_backup_id (str) – The value to assign to the first_backup_id property of this VolumeSourceFromVolumeBackupDeltaDetails.
- second_backup_id (str) – The value to assign to the second_backup_id property of this VolumeSourceFromVolumeBackupDeltaDetails.
- change_block_size_in_bytes (int) – The value to assign to the change_block_size_in_bytes property of this VolumeSourceFromVolumeBackupDeltaDetails.
-
change_block_size_in_bytes
¶ Gets the change_block_size_in_bytes of this VolumeSourceFromVolumeBackupDeltaDetails. Block size in bytes to be considered while performing volume restore. The value must be a power of 2; ranging from 4KB (4096 bytes) to 1MB (1048576 bytes). If omitted, defaults to 4,096 bytes (4 KiB).
Returns: The change_block_size_in_bytes of this VolumeSourceFromVolumeBackupDeltaDetails. Return type: int
-
first_backup_id
¶ [Required] Gets the first_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. The OCID of the first volume backup.
Returns: The first_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. Return type: str
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
second_backup_id
¶ [Required] Gets the second_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. The OCID of the second volume backup.
Returns: The second_backup_id of this VolumeSourceFromVolumeBackupDeltaDetails. Return type: str
-
type
¶ [Required] Gets the type of this VolumeSourceDetails.
Returns: The type of this VolumeSourceDetails. Return type: str
-