PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerStorage/pools/{poolName}/snapshots/{snapshotName}/?api-version=2023-07-01-preview

Create a Snapshot

Servers

Path parameters

Name Type Required Description
snapshotName String Yes

Volume Snapshot Resource

poolName String Yes

Pool Object

subscriptionId String Yes

The ID of the target subscription.

resourceGroupName String Yes

The name of the resource group. The name is case insensitive.

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/json"

Request body fields

Name Type Required Description
properties Object No

Volume Snapshot Properties

properties.source String Yes

Reference to the source volume

properties.provisioningState String No

Provisioning state of the resource.

Possible values:

  • "Accepted"
  • "Provisioning"
  • "Succeeded"
  • "Deleting"
  • "Canceled"
  • "Updating"
  • "Failed"
properties.status Object No

Status of the resource

properties.status.message String No

Reason for state.

properties.status.state String Yes

State of the resource.

Possible values:

  • "Unavailable"
  • "Available"
  • "Pending"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.