Create a storage class

Virtual Storage Platform One Object API Reference Guide

Version
3.0.x
File Size
270 KB
Audience
anonymous
Part Number
MK-24VSP1OB002-01

Creates a storage class on your system.

Endpoint

POST /storage_class/create

Request structure

{
  "name": "string",
  "dataCount": 0,
  "parityCount": 0
}
Parameter Type Description
name String The name of the storage class.
dataCount Integer The number of data blocks the system will use to store the data.
parityCount Integer The number of parity blocks generated for redundancy.

Response structure

Not applicable.

Return codes

Status code

HTTP name

Description

201 Created The storage class was created successfully.
default Error An error has occurred while attempting to create the storage class.