Expanding the capacity of a volume

Storage Advisor Embedded User Guide

Version
93-07-2x
88-08-12
Audience
anonymous
Part Number
MK-97HM85022-25

The following request expands the capacity of the volume for the specified volume ID.

Execution permission

Storage Administrator (Provisioning)

Request line

POST base-URL/simple/v1/objects/volumes/object-ID/actions/expand/invoke

Request message

Object ID

Specify the id value obtained by getting information about volumes.

Attribute

Type

Description

id

int

(Required) Volume ID

Query parameters
None.
Body

The following is an example of adding 100 MiB of capacity to a volume:

{
  "capacity": 100
}

Attribute

Type

Description

capacity

long

(Required) Capacity to add to the volume (MiB)

Specify the capacity to add, as an integer in the range from 1 through 268435409.

Response message

Body

Attribute

Type

Description

statusResource

string

List of URLs for referencing information about the capacity added to a volume

Status codes

See HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session b74777a3f9f04ea8bd8f09847fac48d3" -X POST --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/simple/v1/objects/volumes/100/actions/expand/invoke