BootVolumeSourceFromBootVolumeBackupDeltaDetails¶
- class oci.core.models.BootVolumeSourceFromBootVolumeBackupDeltaDetails(**kwargs)¶
Bases:
BootVolumeSourceDetailsSpecifies the boot volume backups (first & second) and block size in bytes.
Methods:
__init__(**kwargs)Initializes a new BootVolumeSourceFromBootVolumeBackupDeltaDetails 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:
Gets the change_block_size_in_bytes of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
[Required] Gets the first_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
[Required] Gets the second_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
[Required] Gets the type of this BootVolumeSourceDetails.
- __init__(**kwargs)¶
Initializes a new BootVolumeSourceFromBootVolumeBackupDeltaDetails object with values from keyword arguments. The default value of the
typeattribute of this class isbootVolumeBackupDeltaand 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 BootVolumeSourceFromBootVolumeBackupDeltaDetails.
first_backup_id (str) – The value to assign to the first_backup_id property of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
second_backup_id (str) – The value to assign to the second_backup_id property of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
change_block_size_in_bytes (int) – The value to assign to the change_block_size_in_bytes property of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
- property change_block_size_in_bytes¶
Gets the change_block_size_in_bytes of this BootVolumeSourceFromBootVolumeBackupDeltaDetails. 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 BootVolumeSourceFromBootVolumeBackupDeltaDetails.
- Return type
int
- property first_backup_id¶
[Required] Gets the first_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails. The OCID of the first boot volume backup.
- Returns
The first_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
- 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.
- property second_backup_id¶
[Required] Gets the second_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails. The OCID of the second boot volume backup.
- Returns
The second_backup_id of this BootVolumeSourceFromBootVolumeBackupDeltaDetails.
- Return type
str
- property type¶
[Required] Gets the type of this BootVolumeSourceDetails.
- Returns
The type of this BootVolumeSourceDetails.
- Return type
str