# Data Object - VsanFileShareSnapshotQuerySpec(vim.vsan.FileShareSnapshotQuerySpec)

Parameter to
  VsanClusterQueryShareSnapshots
Extends
  DynamicData
Since
  vSAN API vSAN 7.0U2

## Data Object Description

Specification for querying snapshot information per share. If no snapshotNames has been provided, then all snapshots matching the query criterial will be returned.

Properties

Name | Type | Description
--- | --- | ---
endTime* | xsd:dateTime | To query the snapshots created before the given time.
pageNumber* | xsd:int | This field is used to query the snapshots on a specified page. The default value for pageNumber is 1. If pageNumber is non-positive or exceeds the maximum number of pages to be returned, an InvalidArgument exception will be thrown.
pageSize* | xsd:int | This field sets the maximum number of snapshots to be returned per page. The default and the maximum value for pageSize is 32. If pageSize is larger than 32 or is non-positive, an InvalidArgument exception will be thrown.
shareUuid | xsd:string | UUID of the file share which the snapshots belong to.
snapshotNames* | xsd:string[] | A list of the snapshots to be queried.
startTime* | xsd:dateTime | To query the snapshots created after the given time.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="VsanFileShareSnapshotQuerySpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="shareUuid" type="xsd:string"/> <element name="snapshotNames" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> <element name="startTime" type="xsd:dateTime" minOccurs="0"/> <element name="endTime" type="xsd:dateTime" minOccurs="0"/> <element name="pageSize" type="xsd:int" minOccurs="0"/> <element name="pageNumber" type="xsd:int" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>