v8

latestSwagger 2.0raw.githubusercontent.com2021-08-27243267.7 KB
Volumes

Update a volume

Patch the specified volume

patch/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

locationstring

Resource location

idstring

Resource Id

namestring

Resource name

typestring

Resource type

tagsResourceTags

Resource tags

Example request

{
  "properties": {
    "serviceLevel": "Ultra",
    "usageThreshold": 107374182400
  }
}

Response

OK

locationstring required

Resource location

idstring

Resource Id

namestring

Resource name

typestring

Resource type

tagsResourceTags

Resource tags

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"
      }
    ]
  }
}