Volumes
Create or Update a volume
Create or update the specified volume within the capacity pool
put/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}
Path parameters
subscriptionIdstring required
Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
resourceGroupNamestring required
The name of the resource group.
accountNamestring required
The name of the NetApp account
poolNamestring required
The name of the capacity pool
volumeNamestring required
The name of the volume
Query parameters
api-versionstring required
Version of the API to be used with the client request.
Request body
Example request
{
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"creationToken": "some-amazing-filepath",
"serviceLevel": "Ultra",
"usageThreshold": 107374182400,
"protocolTypes": [
"NFSv4.1"
],
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"baremetalTenantId": "9560acf5-4e3a-12e7-9bdb-02007cca7779",
"mountTargets": [
{
"mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"ipAddress": "1.2.3.4",
"subnet": "1.2.3.4",
"startIp": "1.2.3.4",
"endIp": "1.2.3.4",
"gateway": "1.2.3.4",
"netmask": "255.255.255.0",
"smbServerFqdn": "fullyqualified.domainname.com"
}
]
}
}Response
Ok - volume updated
Example response
{
"properties": {
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca7778",
"creationToken": "some-amazing-filepath",
"serviceLevel": "Ultra",
"usageThreshold": 107374182400,
"protocolTypes": [
"NFSv4.1"
],
"snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"baremetalTenantId": "9560acf5-4e3a-12e7-9bdb-02007cca7779",
"mountTargets": [
{
"mountTargetId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
"ipAddress": "1.2.3.4",
"subnet": "1.2.3.4",
"startIp": "1.2.3.4",
"endIp": "1.2.3.4",
"gateway": "1.2.3.4",
"netmask": "255.255.255.0",
"smbServerFqdn": "fullyqualified.domainname.com"
}
]
}
}