Module netapp_ontap.models.volume_space_snapshot_autodelete

Copyright © 2023 NetApp Inc. All rights reserved.

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

Classes

class VolumeSpaceSnapshotAutodeleteSchema (*, 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 VolumeSpaceSnapshotAutodelete object

Ancestors

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

Class variables

commitment: str GET PATCH

By default, Snapshot copy autodelete does not delete Snapshot copies locked by Snapmirror, clones of a volume, a LUN, an NVMe namespace, or a file. Deletion of Snapshot copies locked by these applications is specified using this option. The default value is try.

Valid choices:

  • try
  • disrupt
  • destroy
defer_delete: str GET PATCH

Allows the user to inform Snapshot copy autodelete to defer the deletion of a specified Snapshot copy until the end. The default value is user_created.

Valid choices:

  • scheduled
  • user_created
  • prefix
  • none
delete_order: str GET PATCH

Specifies the order in which Snapshot copy autodelete occurs. Ordering is done using the date and time the Snapshot copy is created. The default value is oldest_first.

Valid choices:

  • newest_first
  • oldest_first
enabled: bool PATCH

Specifies whether Snapshot copy autodelete is currently enabled on this volume.

prefix: str GET PATCH

Specifies the prefix of the Snapshot copy which if matched, is deleted last. Used with autodelete_defer_delete when used with a prefix value.

target_free_space: Size GET PATCH

Snapshot copies are deleted, one at a time, until the used volume space reaches the value specified. The default is 20% free space or 80% utilized.

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.

Valid choices:

  • volume
  • snap_reserve