Module netapp_ontap.models.volume_space_snapshot

Copyright © 2023 NetApp Inc. All rights reserved.

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

Classes

class VolumeSpaceSnapshotSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)

The fields of the VolumeSpaceSnapshot object

Ancestors

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

Class variables

autodelete: VolumeSpaceSnapshotAutodelete GET POST PATCH

The autodelete field of the volume_space_snapshot.

autodelete_enabled: bool PATCH

Specifies whether Snapshot copy 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 Snapshot copies. When set to volume, autodelete is triggered based on volume fullness. When set to snap_reserve, autodelete is triggered based on Snapshot copy 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 Snapshot copies within the Snapshot copy reserve, in bytes.

reserve_percent: Size GET POST PATCH

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

reserve_size: Size GET

Size in the volume that has been set aside as a reserve for Snapshot copy 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 Snapshot copies in the volume, in bytes.