NvdimmNamespaceCreateSpec

NvdimmNamespaceCreateSpec
NvdimmNamespaceCreateSpec

Deprecated as of vSphere 6.7u1, use PMemNamespaceCreateReq.

Arguments for creating a namespace.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "friendlyName": "string",
    "blockSize": 0,
    "blockCount": 0,
    "type": "string",
    "locationID": 0
}
string
friendlyName
Optional

Friendly name of the namespace to be created.

A friendly name can be provided by user to assosiate a name to the created namespace, but such a name is not mandatory and is empty string by default.

integer As int64 As int64
blockSize
Required

Size of block in the namespace.

For persistent region type, block size is one. For block region, block size represents one of the logical block sizes of 512, 4096 etc.

integer As int64 As int64
blockCount
Required

Number of blocks in the namespace.

For persistent region type, blockCount is the size of persistent region in bytes. For block region type, block count represent number of bytes per block size.

string
type
Required

Type of the namespace to be created - block or persistent.

Must be one of the values in NvdimmNamespaceTypeEnum

integer As int32 As int32
locationID
Required

This identifier is the interleave set ID if the namespace is being used in persistent mode.

If in block mode, this is a device handle.