Module netapp_ontap.models.volume_autosize
Copyright © 2019 NetApp Inc. All rights reserved.
Classes
class VolumeAutosizeSchema (only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)
-
The fields of the VolumeAutosize object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.schema.BaseSchema
- marshmallow.base.SchemaABC
Class variables
var grow_threshold
-
Used space threshold size, in percentage, for the automatic growth of the volume. When the amount of used space in the volume becomes greater than this threhold, the volume automatically grows unless it has reached the maximum size. The volume grows when 'space.used' is greater than this percent of 'space.size'. The 'grow_threshold' size cannot be less than or equal to the 'shrink_threshold' size..
var maximum
-
Maximum size in bytes up to which a volume grows automatically. This size cannot be less than the current volume size, or less than or equal to the minimum size of volume.
var minimum
-
Minimum size in bytes up to which the volume shrinks automatically. This size cannot be greater than or equal to the maximum size of volume.
var mode
-
Autosize mode for the volume.
grow ‐ Volume automatically grows when the amount of used space is above the 'grow_threshold' value.
grow_shrink ‐ Volume grows or shrinks in response to the amount of space used.
off ‐ Autosizing of the volume is disabled.Valid choices:
- grow
- grow_shrink
- off
var opts
var shrink_threshold
-
Used space threshold size, in percentage, for the automatic shrinkage of the volume. When the amount of used space in the volume drops below this threshold, the volume automatically shrinks unless it has reached the minimum size. The volume shrinks when the 'space.used' is less than the 'shrink_threshold' percent of 'space.size'. The 'shrink_threshold' size cannot be greater than or equal to the 'grow_threshold' size.
Instance variables
var patchable_fields
-
Only fields in this list will be considered when patching a resource
var postable_fields
-
Only fields in this list will be considered when posting a resource