VolumeGroupRecoveryPointChangedRegionsComputeSpec#
- class VolumeGroupRecoveryPointChangedRegionsComputeSpec(offset=None, length=None, block_size_byte=None, reference_volume_group_recovery_point_ext_id=None, reference_recovery_point_ext_id=None, reference_disk_recovery_point_ext_id=None, *args, **kwargs)#
Bases:
VolumeGroupDiskRecoveryPointClusterDiscoverSpec
Compute changed region parameters. These parameters allow you to specify a start offset, length, block size, and a reference disk recovery point. All parameters are optional. However, if you need to set a reference disk recovery point, you must specify all three parameters: recovery point ID, volume group recovery point ID, and disk recovery point ID.
- Parameters:
offset – (
offset
) The start offset value to compute the changed region. If the value is not provided, the difference is executed from the offset of 0. Note: the start offset might automatically align to a system-defined block boundary.length – (
length
) The length to compute the changed region. If the value is not provided, the difference is performed from the start offset to the end of the disk. Note: the end offset might automatically align to a system-defined block boundary.block_size_byte (min=32768, max=262144) – (
block_size_byte
) When blockSizeByte is set, all returned ranges will start and end at blockSize addresses, and the changed blocks will match the block size. Supported values of blockSizeByte are [32768, 65536, 131072, 262144]. Example: if blockSizeByte is set to 32768 (i.e 32KB), all ranges will start at multiple of 32KB and end at multiple of 32KB value. Default blockSizeByte is set to 32KB
- property block_size_byte#
When blockSizeByte is set, all returned ranges will start and end at blockSize addresses, and the changed blocks will match the block size. Supported values of blockSizeByte are [32768, 65536, 131072, 262144]. Example: if blockSizeByte is set to 32768 (i.e 32KB), all ranges will start at multiple of 32KB and end at multiple of 32KB value. Default blockSizeByte is set to 32KB
- Type:
int
- property length#
The length to compute the changed region. If the value is not provided, the difference is performed from the start offset to the end of the disk. Note: the end offset might automatically align to a system-defined block boundary.
- Type:
int
- property offset#
The start offset value to compute the changed region. If the value is not provided, the difference is executed from the offset of 0. Note: the start offset might automatically align to a system-defined block boundary.
- Type:
int
- to_dict()#
Returns the model properties as a dictionary
- to_str()#
Returns the string representation of the model