HostDiskPartitionBlockRange

HostDiskPartitionBlockRange
HostDiskPartitionBlockRange

A BlockRange data object type describes a contiguous set of blocks on a disk.

A BlockRange may describe either a partition or unpartitioned (primordial) blocks on the disk.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "partition": 0,
    "type": "string",
    "start": {
        "_typeName": "string",
        "blockSize": 0,
        "block": 0
    },
    "end": {
        "_typeName": "string",
        "blockSize": 0,
        "block": 0
    }
}
integer As int32 As int32
partition
Optional

Partition number.

This number is a hint from the server indicating what the partition number for this block range is if the range corresponds to a partition. The partition number should correlate to the one in the partition specification. If sent back to the server, this property is ignored.

string
type
Required

The type of data in the partition.

See also type.

start
Required

This data object type describes the logical block addressing system that uses block numbers and block sizes to refer to a block.

This scheme is employed by SCSI. If a SCSI disk is not involved, then blockSize is 512 bytes.

end
Required

This data object type describes the logical block addressing system that uses block numbers and block sizes to refer to a block.

This scheme is employed by SCSI. If a SCSI disk is not involved, then blockSize is 512 bytes.