Snapshots - Create

Create a snapshot

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/capacityPools/{poolName}/volumes/{volumeName}/snapshots/{snapshotName}?api-version=2017-08-15

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

Subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

resourceGroupName
path True
  • string

The name of the resource group.

Regex pattern: ^[-\w\._\(\)]+$

accountName
path True
  • string

The name of the NetApp account

poolName
path True
  • string

The name of the capacity pool

volumeName
path True
  • string

The name of the volume

snapshotName
path True
  • string

The name of the mount target

api-version
query True
  • string

Version of the API to be used with the client request.

Request Body

Name Required Type Description
location True
  • string

Resource location

properties.fileSystemId True
  • string

fileSystemId
UUID v4 used to identify the FileSystem

Responses

Name Type Description
201 Created

Snapshot created

202 Accepted

Accepted -- Create request accepted; operation will complete asynchronously

Other Status Codes

Error response describing why the operation failed.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Snapshots_Create

Sample Request

PUT https://management.azure.com/subscriptions/subscriptionId/resourceGroups/resourceGroup/providers/Microsoft.NetApp/netAppAccounts/accountName/capacityPools/poolName/volumes/volumeName/snapshots/snapshotName?api-version=2017-08-15
{}

Sample Response

{
  "location": "eastus",
  "properties": {
    "snapshotId": "9760acf5-4638-11e7-9bdb-020073ca3333",
    "fileSystemId": "9760acf5-4638-11e7-9bdb-020073ca3333",
    "creationDate": "2017-08-15T13:23:33Z",
    "provisioningState": "Created"
  }
}

Definitions

error

Error response describing why the operation failed.

snapshot

Snapshot of a Volume

error

Error response describing why the operation failed.

Name Type Description
code
  • string

Error code

message
  • string

Detailed error message

snapshot

Snapshot of a Volume

Name Type Description
id
  • string

Resource Id

location
  • string

Resource location

name
  • string

Resource name

properties.creationDate
  • string

name
The creation date of the snapshot

properties.fileSystemId
  • string

fileSystemId
UUID v4 used to identify the FileSystem

properties.provisioningState
  • string

Azure lifecycle management

properties.snapshotId
  • string

snapshotId
UUID v4 used to identify the Snapshot

type
  • string

Resource type