Getting a list of actions related to Storage I/O control configuration task history

Ops Center Analyzer REST API Reference Guide

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

You can obtain a list of operations related to Storage I/O control configuration task history.

Execution permission

Admin, StorageOps, Modify

Request line

GET baseURL/v1/services/IoControlHistory/actions

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 Action 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.

Action

{
        "name":"...",
        "href":"...",
        "method":"...",
        "type":"...",
        "parameters":["...", ...]
}

Action (Type: Action)

Attribute

Type

Description

name

string

Name of the action.

href

string

URL for the action.

method

string

Name of the method.

type

string

Data format for the object.

parameters

anyType[]

A list of objects necessary to execute an operation. No value is set.

Status codes

Status code

Reason phrase

Description

200

OK

Success.

401

Unauthorized

No login privilege.

403

Forbidden

No reference privilege.

412

Precondition Failed

The server is not available.

500

Internal Server Error

Server processing error.

Example code

[Request Header]
GET http://localhost:22015/Analytics/v1/objects/IoControlHistory/actions HTTP/1.1
Host: localhost:22015
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: null
Accept-Encoding: gzip, deflate
Content-Type: application/json
Authorization: Basic c3lzdGVtOm1hbmFnZXI=
Cookie: JSESSIONID=00A8DFD2B38317A0C74369F0866CF67C
Proxy-Authorization: Basic NzA2MzMwOTI6aGl0YWNoaW5va2kyMTE=
Connection: keep-alive


[Response Header]
HTTP/1.1 200 OK
Date: Mon, 05 Sep 2016 03:16:01 GMT
Server: Cosminexus HTTP Server
Cache-Control: no-cache
WWW-Authenticate: HSSO 31988d251331f5c8535f3214d24d9bb3d744fd6_Vlo8Y30Idn8EY0BdB3IEfwgabiA=_V0810
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block 
X-Content-Type-Options: nosniff
Content-Type: application/json

[Response Body]
{
  "instanceID" : "actions",
  "taskName" : "dummyTask",
  "description" : "dummyDescription",
  "targetMetric" : "IOPS",
  "targetVolumes" : [ "raidLdev#dummy1", "raidLdev#dummy2" ],
  "limitationMode" : "ON",
  "limitValue" : 2147483647,
  "status" : "Success",
  "statusLastUpdateDateTime" : "2016-09-05T12:16:01.674+09:00",
  "registeredDatetime" : "2016-09-05T12:16:01.674+09:00",
  "registeredUserName" : "dummyUser",
  "executionType" : "AutomationDirector",
  "automationDirectorTaskIDs" : [ "hadtask1", "hadtask2" ]
}