HP 3PAR StoreServ 7450 4-node HP 3PAR Web Service API 1.2 Developer's - Page 41
Creating a Storage Volume, Creating Base Volumes, Message Body Members
View all HP 3PAR StoreServ 7450 4-node manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 41 highlights
Creating a Storage Volume This section contains information on creating volumes, and includes the following topics: • Create base volumes • Create snapshot volumes NOTE: Any user with Super or Edit role, or any role granted the vv_create right (for base volumes) or sv_create (for snapshot volumes), can create a volume. Creating Base Volumes To create a storage volume, use the HTTP POST method in the URI: https://:8080/api/v1/volumes NOTE: The parameter will be replaced with the actual storage system's host name or IP address. Message Body Members The message body is a JSON object with the members shown in Table 31 (page 41). Most of the message-body JSON object members are optional. The definition of members can be found in the HP 3PAR Command Line Interface Reference or in the column help for the CLI command createvv. Table 31 Message Body JSON Objects for Base-volume Creation Member name cpg sizeMiB JSON Type API Type string name31 string name31 number uint32 id number igint32 comment string print511 policies snapCPG object policies object string name31 ssSpcAllocWarningPct number igint32 Ignored Values None (Required) None (Required) None (Required) Negative values None None, except caching and system, which are ignored if false. None Negative values Description Specifies a VV name up to 31 characters in length. Specifies the name of the CPG from which the volume user space will be allocated. Specifies the size for the volume in MiB. The volume size is rounded up to the next multiple of 256 MiB. Specifies the ID of the volume. If not specified, the next available ID is chosen. Specifies any additional information up to 511 characters for the volume. Specifies virtual volume policies. Specifies the name of the CPG from which the snapshot space will be allocated. Enables a snapshot space allocation Creating a Storage Volume 41