Actions36
- Aggregate Actions
- Disk Actions
- Qtree Actions
- Quota Actions
- Snapshot Actions
- Volume Actions
Snapshot → Create
AI-generatedSummary
Create a new snapshot of a specified NetApp ONTAP volume with optional comment, expiry time, and SnapLock expiry time properties.
Inputs
- Cluster Host (required) — Hostname or IP address of the ONTAP cluster management LIF.
- Port — HTTPS port for the ONTAP REST API, default is 443.
- Volume (required) — The UUID of the volume to create the snapshot for.
- Snapshot Name (required) — Name to assign to the new snapshot.
- Comment — Optional comment or description for the snapshot.
- Expiry Time — Optional datetime when the snapshot should be automatically deleted.
- SnapLock Expiry Time — Optional SnapLock expiry datetime for SnapLock volumes.
- Options — Optional additional API request options; supports specifying fields to include in the response.
Output shape
JSON object representing the created snapshot or the job status if creation is asynchronous.
The operation returns the snapshot data on success. If the creation is asynchronous, a job object is included and polled until completion before returning. Errors throw exceptions unless 'Continue On Fail' is enabled.