VsanSnapshotQuerySpec

VsanSnapshotQuerySpec
VsanSnapshotQuerySpec

Specification for querying snapshots information.

This structure may be used only with operations rendered under /vsan.

Since: 8.0.0.4

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "datastoreUuid": "string",
    "objectUuids": [
        "string"
    ],
    "snapshotType": "string",
    "creator": "string",
    "includeDescriptorPath": false,
    "snapshotTagMask": 0
}
string
datastoreUuid
Required

The vSAN datatore container ID.

This can be found in containerId, such as "522116b0018397a0-faf6eef653793842"

array of string
objectUuids
Optional

A list of object uuids to query snapshots.

Object uuid is in the format like "e3d10064-ae3c-9323-568d-b02628350470".

string
snapshotType
Optional

If set, snapshots of the specified type will be returned.

See also VsanSnapshotTypeEnum.

string
creator
Optional

If set, snapshots created by the specified creator will be returned.

See also VsanSnapshotCreatorEnum.

boolean
includeDescriptorPath
Optional

If set to True, the vmdk descriptor file path will be returned.

integer As int32 As int32
snapshotTagMask
Optional

The bitmap mask that indicates which snapshot tags are queried.

Each bit represents a snapshot tag type, a value of 1 means the corresponding tag type should be included in the query. Current only one tag type is supported. - Bit 0 (The Least Significant Bit): Immutable tag. - Bit 1 and above: reserved for future use. If the queried tag type doesn't exist on the snapshot, it will not be returned in VsanSnapshotDetail.