pydo.volume_snapshots.create()
Generated on 8 May 2026
from pydo version
v0.34.0
Usage
client.volume_snapshots.create(
volume_id="7724db7c-e098-11e5-b522-000f53304e51",
body={
"name": "big-data-snapshot1475261774",
"tags": [...],
},
)Description
To create a snapshot from a volume, sent a POST request to /v2/volumes/{volume_id}/snapshots.
Parameters
volume_idstring requiredThe ID of the block storage volume.
namestring requiredExample:
big-data-snapshot1475261774A human-readable name for the volume snapshot.
tagsarray of strings or null optionalExample:
['base-image', 'prod']A flat array of tag names as strings to be applied to the resource. Tag names may be for either existing or new tags.
Requirestag:createscope.
Request Sample
Response Example
More Information
See /v2/volumes/{volume_id}/snapshots in the API reference for additional detail on responses, headers, parameters, and more.