Changing the accelerated compression setting of a parity group

REST API Reference Guide for Virtual Storage Platform 5000, Virtual Storage Platform E Series, and Virtual Storage Platform G/F Series

Version
93-07-0x
90-09-0x
88-08-10
Audience
anonymous
Part Number
MK-98RD9014-17
The request below enables or disables accelerated compression for a parity group. You can use this API request for parity groups for which accelerated compression is supported.
Note:

You can use this API function for VSP 5000 series, VSP G350, G370, G700, G900, VSP F350, F370, F700, F900.

Execution permission

Storage Administrator (Provisioning)

Request line

PATCH base-URL/v1/objects/parity-groups/object-ID

Request message

Object ID

Specify the parityGroupId value obtained by getting information about the parity group.

Attribute

Type

Description

parityGroupId

string

(Required) Parity group number

Specify concatenated parity groups in the same way as the above.

If the concatenated parity groups are 1-3-1, 1-3-2, or 1-3-3, specify as follows:

"parityGroupId": "1-3" 
Query information

None.

Body
{
  "isAcceleratedCompressionEnabled": true
}

Attribute

Type

Description

isAcceleratedCompressionEnabled

boolean

(Required) Specify whether to enable accelerated compression for the parity group.

  • true: Enable accelerated compression.
  • false: Disable accelerated compression.

Response message

Body

A job object is returned. For details on the attributes other than affectedResources, see the section explaining job objects.

Attribute

Description

affectedResources

URL of the parity group whose setting was changed

Status codes

For details on the status codes of the request for this operation, see the description of HTTP status codes.

Coding example

curl -v -H "Accept:application/json" -H "Content-Type:application/json" -H "Authorization:Session d7b673af189048468c5af9bcf3bbbb6f" -X PATCH --data-binary @./InputParameters.json https://192.0.2.100/ConfigurationManager/v1/objects/parity-groups/1-7