HostDiagnosticPartitionCreateDescription

HostDiagnosticPartitionCreateDescription
HostDiagnosticPartitionCreateDescription

The diagnostic partition create description details what will be done to create a new diagnostic partition on a disk.

It contains a CreateSpec that can be submitted to create the partition and information that can be shown to the user.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "layout": {
        "_typeName": "string",
        "total": {
            "_typeName": "string",
            "blockSize": 0,
            "block": 0
        },
        "partition": [
            {
                "_typeName": "string",
                "partition": 0,
                "type": "string",
                "start": {
                    "_typeName": "string",
                    "blockSize": 0,
                    "block": 0
                },
                "end": {
                    "_typeName": "string",
                    "blockSize": 0,
                    "block": 0
                }
            }
        ]
    },
    "diskUuid": "string",
    "spec": {
        "_typeName": "string",
        "storageType": "string",
        "diagnosticType": "string",
        "id": {
            "_typeName": "string",
            "diskName": "string",
            "partition": 0
        },
        "partition": {
            "_typeName": "string",
            "partitionFormat": "string",
            "chs": {
                "_typeName": "string",
                "cylinder": 0,
                "head": 0,
                "sector": 0
            },
            "totalSectors": 0,
            "partition": [
                {
                    "_typeName": "string",
                    "partition": 0,
                    "startSector": 0,
                    "endSector": 0,
                    "type": "string",
                    "guid": "string",
                    "logical": false,
                    "attributes": 0,
                    "partitionAlignment": 0
                }
            ]
        },
        "active": false
    }
}
layout
Required

This data object type describes the disk partition layout specified as a list of ordered BlockRanges.

This view of the disk partitions shows the data on the disk as a contiguous set of BlockRanges.

string
diskUuid
Required

The UUID of the SCSI disk on which to create the diagnostic partition.

This disk UUID will match that found in the identification field of the creation spec.

See also HostScsiDisk, ScsiLun.uuid.

spec
Required

The diagnostic create specification is used by the system to create a new diagnostic partition on a SCSI disk.