Create a new volume
POST /onprem/volumes
Creates a new volume.
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
workingEnvironmentId |
string |
True |
Target system ID |
svmName |
string |
True |
SVM name |
aggregateName |
string |
False |
Aggregate in which to create the volume |
name |
string |
False |
Volume name, unique within the SVM |
size |
True |
||
initialSize |
False |
||
snapshotPolicyName |
string |
True |
Snapshot policy name |
exportPolicyInfo |
False |
||
shareInfo |
False |
||
iscsiInfo |
False |
||
enableThinProvisioning |
boolean |
True |
Enable thin provisioning on the volume |
enableCompression |
boolean |
True |
Enable compression on the volume |
enableDeduplication |
boolean |
True |
Enable deduplication on the volume |
syncToS3 |
boolean |
True |
Add a cloud sync relationship |
volumeTags |
array[VolumeTags] |
True |
Optionally, provide key-value pairs with which to tag the ONTAP volume using the App Template service. |
flexGroupVolumeInfo |
False |
Error
Status: Default, Default response
Definitions
See Definitions
PositiveCapacity
| Name | Type | Required | Description |
|---|---|---|---|
size |
number |
True |
Size |
unit |
string |
True |
Unit |
Capacity
| Name | Type | Required | Description |
|---|---|---|---|
size |
number |
True |
Size |
unit |
string |
True |
Unit |
index
Export policy rule index
ExportPolicyRule
| Name | Type | Required | Description |
|---|---|---|---|
index |
False |
Export policy rule index |
|
ruleAccessControl |
string |
True |
Export policy rule access control |
ips |
array[string] |
True |
Export policy rule list of IPs |
nfsVersion |
array[string] |
False |
Export policy rule protocol |
superUser |
boolean |
True |
Export policy rule super user access |
ExportPolicyInfo
| Name | Type | Required | Description |
|---|---|---|---|
policyType |
string |
False |
Export policy type |
ips |
array[string] |
False |
Custom export policy list of IPs |
nfsVersion |
array[string] |
False |
Export policy protocol |
rules |
array[ExportPolicyRule] |
False |
Export policy rules |
| Name | Type | Required | Description |
|---|---|---|---|
permission |
string |
False |
CIFS share permission type |
users |
array[string] |
True |
List of users with the permission |
| Name | Type | Required | Description |
|---|---|---|---|
shareName |
string |
False |
Share name |
accessControl |
False |
IgroupCreationRequest
| Name | Type | Required | Description |
|---|---|---|---|
initiators |
array[string] |
False |
Initiators |
igroupName |
string |
False |
Igroup name |
CreateIscsiInfoRequest
| Name | Type | Required | Description |
|---|---|---|---|
osName |
string |
False |
Operating system |
igroupCreationRequest |
False |
||
igroups |
array[string] |
False |
Igroups |
VolumeTags
| Name | Type | Required | Description |
|---|---|---|---|
tagKey |
string |
False |
|
tagValue |
string |
False |
FlexGroupVolumeInfo
| Name | Type | Required | Description |
|---|---|---|---|
aggregateList |
array[string] |
False |
Names of aggregates for the FlexGroup volume |
numberOfConstituents |
integer |
False |
Number of constituents for the FlexGroup volume |