Skip to main content

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

PositiveCapacity

True

initialSize

Capacity

False

snapshotPolicyName

string

True

exportPolicyInfo

ExportPolicyInfo

False

shareInfo

CreateCifsShareInfoRequest

False

iscsiInfo

CreateIscsiInfoRequest

False

enableThinProvisioning

boolean

True

enableCompression

boolean

True

enableDeduplication

boolean

True

maxNumOfDisksApprovedToAdd

integer

True

evCapacityApprovedToAdd

ElasticVolumeQuoteInfo

False

providerVolumeType

string

False

syncToS3

boolean

True

capacityTier

string

False

iops

integer

False

throughput

integer

False

tieringPolicy

string

False

junctionPath

string

False

qualityOfService

VolumeQualityOfService

False

minimumCoolingDays

minimumCoolingDays

False

volumeTags

array[VolumeTags]

True

comment

string

False

flexGroupVolumeInfo

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

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

CifsShareUserPermissions

Name Type Required Description

permission

string

False

users

array[string]

True

CreateCifsShareInfoRequest

Name Type Required Description

shareName

string

False

accessControl

CifsShareUserPermissions

False

IgroupCreationRequest

Name Type Required Description

initiators

array[string]

False

igroupName

string

False

CreateIscsiInfoRequest

Name Type Required Description

osName

string

False

igroupCreationRequest

IgroupCreationRequest

False

igroups

array[string]

False

RaidInfoForEvAggregate

Name Type Required Description

numOfDisks

integer

True

diskSize

Capacity

True

ElasticVolumeQuoteInfo

Name Type Required Description

totalCapacityToAdd

Capacity

False

addedCapacityToExistingEvDisks

Capacity

False

newRaidForEvInfo

array[RaidInfoForEvAggregate]

False

totalEvDisks

integer

False

VolumeQualityOfService

Name Type Required Description

maxIops

integer

False

maxDataRate

Capacity

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