Create a new volume
POST /azure/ha/volumes
Creates a new volume. If the aggregateName and maxNumOfDisksApprovedToAdd properties are not populated, the response fails with a suggested aggregate name and the number of disks that will need to be created in order to fulfill the request.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
createAggregateIfNotFound |
boolean |
query |
False |
Request Body
| Name | Type | Required | Description |
|---|---|---|---|
workingEnvironmentId |
string |
True |
|
svmName |
string |
True |
|
aggregateName |
string |
True |
|
name |
string |
False |
|
size |
True |
||
initialSize |
False |
||
snapshotPolicyName |
string |
True |
|
exportPolicyInfo |
False |
||
shareInfo |
False |
||
iscsiInfo |
False |
||
enableThinProvisioning |
boolean |
True |
|
enableCompression |
boolean |
True |
|
enableDeduplication |
boolean |
True |
|
maxNumOfDisksApprovedToAdd |
integer |
True |
|
evCapacityApprovedToAdd |
False |
||
providerVolumeType |
string |
False |
|
syncToS3 |
boolean |
True |
|
capacityTier |
string |
False |
|
iops |
integer |
False |
|
throughput |
integer |
False |
|
tieringPolicy |
string |
False |
|
junctionPath |
string |
False |
|
qualityOfService |
False |
||
minimumCoolingDays |
False |
||
volumeTags |
array[VolumeTags] |
True |
|
comment |
string |
False |
|
flexGroupVolumeInfo |
False |
Error
Status: Default, Default response
Definitions
See Definitions
PositiveCapacity
| Name | Type | Required | Description |
|---|---|---|---|
size |
number |
True |
|
unit |
string |
True |
Capacity
| Name | Type | Required | Description |
|---|---|---|---|
size |
number |
True |
|
unit |
string |
True |
index
ExportPolicyRule
| Name | Type | Required | Description |
|---|---|---|---|
index |
False |
||
ruleAccessControl |
string |
True |
|
ips |
array[string] |
True |
|
nfsVersion |
array[string] |
False |
|
superUser |
boolean |
True |
ExportPolicyInfo
| Name | Type | Required | Description |
|---|---|---|---|
policyType |
string |
False |
|
ips |
array[string] |
False |
|
nfsVersion |
array[string] |
False |
|
rules |
array[ExportPolicyRule] |
False |
| Name | Type | Required | Description |
|---|---|---|---|
permission |
string |
False |
|
users |
array[string] |
True |
| Name | Type | Required | Description |
|---|---|---|---|
shareName |
string |
False |
|
accessControl |
False |
IgroupCreationRequest
| Name | Type | Required | Description |
|---|---|---|---|
initiators |
array[string] |
False |
|
igroupName |
string |
False |
CreateIscsiInfoRequest
| Name | Type | Required | Description |
|---|---|---|---|
osName |
string |
False |
|
igroupCreationRequest |
False |
||
igroups |
array[string] |
False |
RaidInfoForEvAggregate
| Name | Type | Required | Description |
|---|---|---|---|
numOfDisks |
integer |
True |
|
diskSize |
True |
ElasticVolumeQuoteInfo
| Name | Type | Required | Description |
|---|---|---|---|
totalCapacityToAdd |
False |
||
addedCapacityToExistingEvDisks |
False |
||
newRaidForEvInfo |
array[RaidInfoForEvAggregate] |
False |
|
totalEvDisks |
integer |
False |
VolumeQualityOfService
| Name | Type | Required | Description |
|---|---|---|---|
maxIops |
integer |
False |
|
maxDataRate |
False |
minimumCoolingDays
VolumeTags
| Name | Type | Required | Description |
|---|---|---|---|
tagKey |
string |
False |
|
tagValue |
string |
False |
FlexGroupVolumeInfo
| Name | Type | Required | Description |
|---|---|---|---|
aggregateList |
array[string] |
False |
|
numberOfConstituents |
integer |
False |