Module netapp_ontap.models.volume_space_snapshot

Copyright © 2024 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

Classes

class VolumeSpaceSnapshotSchema (*, only: types.StrSequenceOrSet | None = None, exclude: types.StrSequenceOrSet = (), many: bool | None = None, context: dict | None = None, load_only: types.StrSequenceOrSet = (), dump_only: types.StrSequenceOrSet = (), partial: bool | types.StrSequenceOrSet | None = None, unknown: str | None = None)

The fields of the VolumeSpaceSnapshot object

Ancestors

  • netapp_ontap.resource.ResourceSchema
  • marshmallow.schema.Schema
  • marshmallow.base.SchemaABC
  • abc.ABC

Class variables

autodelete: VolumeSpaceSnapshotAutodelete GET POST PATCH

The autodelete field of the volume_space_snapshot.

autodelete_enabled: bool PATCH

Specifies whether snapshot autodelete is currently enabled on this volume. This field will no longer be supported in a future release. Use autodelete.enabled instead.

autodelete_trigger: str GET PATCH

Specifies when the system should trigger an autodelete of snapshots. When set to volume, autodelete is triggered based on volume fullness. When set to snap_reserve, autodelete is triggered based on snapshot reserve fullness. The default value is volume. This field will no longer be supported in a future release. Use autodelete.trigger instead.

Valid choices:

  • volume
  • snap_reserve
reserve_available: Size GET

Size available for snapshots within the snapshot reserve, in bytes.

reserve_percent: Size GET POST PATCH

The space that has been set aside as a reserve for snapshot usage, in percent.

reserve_size: Size GET

Size in the volume that has been set aside as a reserve for snapshot usage, in bytes.

space_used_percent: Size GET

Percentage of snapshot reserve size that has been used.

used: Size GET

The total space used by snapshots in the volume, in bytes.