Nutanix ListVmSnapshots

Nutanix ListVmSnapshots

Certified
Enterprise Edition

List VM snapshots with filters

Retrieve AHV VM recovery points via the Nutanix dataprotection v4 API with optional VM filter, OData filtering/sorting/selection, and pagination; supports fetch modes for large result sets.

yaml
type: io.kestra.plugin.ee.nutanix.snapshot.ListVmSnapshots

List VM snapshots and store the result

yaml
id: nutanix_list_vm_snapshots
namespace: company.team
tasks:
  - id: list_vm_snapshots
    type: io.kestra.plugin.ee.nutanix.snapshot.ListVmSnapshots
    host: "{{ secret('NUTANIX_HOST') }}"
    token: "{{ secret('NUTANIX_TOKEN') }}"
    vmExtId: "{{ secret('NUTANIX_VM_EXT_ID') }}"
    fetchType: STORE
Properties

Prism Central host

Required Nutanix Prism Central host or IP address.

Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.

Definitions
assetFailureBehaviorstring
Possible Values
IGNOREFAILWARN

Asset failure behavior

Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.

enableAutobooleanstring

Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.

inputsarray

The assets consumed as inputs.

id*string
Min length1
typestring
outputs

The assets produced as outputs.

id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*object
descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
id*string
Min length1
Max length150
type*string
Min length1

Custom asset type

descriptionstring
displayNamestring
metadataobject
Default{}
namespacestring
Min length1
Max length150
DefaultFETCH
Possible Values
STOREFETCHFETCH_ONENONE

Fetch type

How to return results: FETCH (default) for all rows, FETCH_ONE for the first row, or STORE to write JSON to internal storage (kestra://) for large datasets.

Filter

OData filter expression applied to recovery points.

Limit

Maximum snapshots per page; optional, uses API default when unset.

Order by

OData orderBy expression for sorting.

Page

Page number (0-based); optional, uses API default when unset.

Password

Prism Central password; required when no token is provided.

Default9440

Prism Central port

API port for Prism Central; defaults to 9440.

Defaulthttps

Scheme

HTTP scheme (https default) for the Prism Central API.

Select

OData select expression to return specific recovery point fields.

Bearer token

Bearer token for Prism Central; when set, username/password are optional.

Username

Prism Central username; required when no token is provided.

Defaulttrue

Verify SSL

Whether to verify SSL certificates; defaults to true. Disabling this (setting to false) causes the client to trust all certificates without validation, exposing connections to man-in-the-middle attacks. Only set to false for trusted, isolated test environments, never in production.

VM extId

Optional VM extId to filter snapshots for a single VM.

Row

First snapshot row when fetchType is FETCH_ONE.

Definitions
extIdstring
namestring

Rows

Full list of snapshot rows when fetchType is FETCH.

Definitions
extIdstring
namestring

Size

Number of snapshots returned by the API after filtering.

Timestamp

The timestamp (in milliseconds since epoch) when the operation completed.

Formaturi

URI

Storage URI when fetchType is STORE.