HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 33
Creating a CPG, CPG Creation Success
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 33 highlights
Table 17 CPG DetailedState Enumeration Symbol SA_LIMIT_REACHED SD_LIMIT_REACHED SA_GROW_FAILED SD_GROW_FAILED SA_WARN_REACHED SD_WARN_REACHED Value 1 2 3 4 5 6 Description Admin space at limit. Copy space at limit. Admin space grow failed. Copy space grow failed. Admin space at warning level. Copy space at warning level. Creating a CPG To create a CPG, use the HTTP POST method in the URI: https://:8080/api/v1/cpgs with message body members as shown in Table 18 (page 33). NOTE: Any user with Super or Edit role, or any role granted the cpg_create right, can perform this operation. Access to all domains is required for this operation. Table 18 Message Body JSON Objects for CPG Creation and Modification Member name JSON Type string API Type name31 Ignored Values None Description Specifies the name of the CPG. For CPG creation only. growthIncrementMiB number igint32 Zero and negative values In WSAPI 1.2, 0 and negative values are ignored. Specifies the growth increment, in MiB, the amount of logical disk storage created on each auto-grow operation. growthLimitMiB number igint32 Negative values In WSAPI 1.2, zero and negative values are ignored. Specifies that the auto-grow operation is limited to the specified storage amount, in MiB, that sets the growth limit. usedLDWarningAlertMiB number igint32 Negative values In WSAPI 1.2, zero and negative values are ignored. Specifies that the threshold of used logical disk space, in MiB, when exceeded results in a warning alert. domain string name31 Null Specifies the name of the domain in which the object will reside. For CPG creation only. LDLayout object LDLayout Null object Specifies Logical Disk types to be used for this CPG. CPG Creation Success A successful operation returns the HTTP status code 201 Created. There is no message body. Upon successful creation of the CPG, the location portion of the response header contains the URI for the newly created CPG in the following format: /api/v1/cpgs/ Creating a CPG 33