Getting a list of storage system models

Ops Center Analyzer REST API Reference Guide

Version
11.0.x
Audience
anonymous
Part Number
MK-99ANA003-18

You can obtain a list of storage system models that Ops Center Analyzer is monitoring.

Execution permission

Admin, Modify

Request line

GET baseURL/v1/objects/StorageSystemModels

Request body

Not applicable.

Response body

The structure of the response body and the object attributes is as follows:

Collections

{
        "data":["...", ...],
        "pagination":{
            "page":"...",
            "pageSize":"...",
            "numPages":"...",
            "totalCount":"..."
        },
        "count":"..."
}

Collections (Type: Collections)

Attribute

Type

Description

data

anyType[]

A list of StorageSystemModel objects. For details, see the table below.

pagination

Pagination

Page information. This parameter is displayed only when the relevant resource exists.

count

int

Number of data items that meet the conditions related to this query(API).

pagination (Type: Pagination)

Attribute

Type

Description

page

integer

Page.

pageSize

integer

Size of page.

numPages

integer

Number of pages.

totalCount

integer

Number of objects.

StorageSystemModel

{
        "modelID":"...",
        "modelName":"...",
        "profileResourceType":"..."
}

StorageSystemModel (Type: StorageSystemModel)

Attribute

Type

Description

modelID

string

ID of the storage system model

modelName

string

Name of the storage system model

profileResourceType

enum

Resource type of the threshold profile

(For details about the valid values, see the table PerformanceResourceType in List of enumerators.)

Status codes

Status code

Reason phrase

Description

201

Created

Success.

400

Bad Request

The format of the request body is invalid.

401

Unauthorized

No login privilege.

412

Precondition Failed

The server is not available.

500

Internal Server Error

Server processing error.

Example code

[Request Header]
GET /Analytics/v1/objects/StorageSystemModels
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
Host: localhost:22015
Accept: application/json
Content-Type: application/json

[Response Header]
HTTP/1.1 200 OK
Date: Fri, 12 Aug 2016 02:23:14 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO 3a9b57bff1fdbc16e83ca7fd4a2a9f6a7d542d_YXZvNFIMehp3UB4jbmVyPGUgT3Q=_V0810
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Transfer-Encoding: chunked
Content-Type: application/json


[Response Body]
{
  "data" : [ {
    "modelID" : "VSP 5500H",
    "modelName" : "Hitachi - VSP 5500H",
    "profileResourceType" : "RAID_STORAGE"
  } ],
  "count" : 1
}