Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size field not available in Snapshot #42

Open
ItsDevMonk opened this issue Jul 11, 2023 · 2 comments
Open

Size field not available in Snapshot #42

ItsDevMonk opened this issue Jul 11, 2023 · 2 comments
Labels
question Further information is requested

Comments

@ItsDevMonk
Copy link

I want to collect the list of snapshot along with its size. But under this api /api/storage/volumes/{volume.uuid}/snapshots, I couldn't find the size of the snapshot. Is there any other api to get the size?

@github-actions
Copy link

Thank you for reporting an issue! If you haven't already joined our Discord community,
then we invite you to do so. This is a great place to get help and ask questions from our community.

@noorbuchi
Copy link
Contributor

Hello,
Every snapshot object returned by /storage/volumes/{volume.uuid}/snapshots and /storage/volumes/{volume.uuid}/snapshots/{uuid} has a property called size. You can find the documentation on it here:
https://library.netapp.com/ecmdocs/ECMLP2885777/html/resources/snapshot.html#netapp_ontap.resources.snapshot.SnapshotSchema.size

Is this what you're looking for?

@noorbuchi noorbuchi added the question Further information is requested label Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants