Module netapp_ontap.models.volume_snaplock_retention
Copyright © 2019 NetApp Inc. All rights reserved.
Classes
class VolumeSnaplockRetentionSchema (only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)
-
The fields of the VolumeSnaplockRetention object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.schema.BaseSchema
- marshmallow.base.SchemaABC
Class variables
var default
-
Specifies the default retention period that is applied to files while committing them to the WORM state without an associated retention period. The retention value represents a duration and must be specified in the ISO-8601 duration format. The retention period can be in years, months, days, hours, and minutes. A duration specified for years, months, and days is represented in the ISO-8601 format as "P
Y", "P M", "P D" respectively, for example "P10Y" represents a duration of 10 years. A duration in hours and minutes is represented by "PT H" and "PT M" respectively. The retention string must contain only a single time element that is, either years, months, days, hours, or minutes. A duration which combines different periods is not supported, for example "P1Y10M" is not supported. Apart from the duration specified in the ISO-8601 format, the duration field also accepts the string "infinite" to set an infinite retention period. Example: P30Y
var maximum
-
Specifies the maximum allowed retention period for files committed to the WORM state on the volume. The retention value represents a duration and must be specified in the ISO-8601 duration format. The retention period can be in years, months, days, hours, and minutes. A duration specified for years, months, and days is represented in the ISO-8601 format as "P
Y", "P M", "P D" respectively, for example "P10Y" represents a duration of 10 years. A duration in hours and minutes is represented by "PT H" and "PT M" respectively. The retention string must contain only a single time element that is, either years, months, days, hours, or minutes. A duration which combines different periods is not supported, for example "P1Y10M" is not supported. Apart from the duration specified in the ISO-8601 format, the duration field also accepts the string "infinite" to set an infinite retention period. Example: P30Y
var minimum
-
Specifies the minimum allowed retention period for files committed to the WORM state on the volume. The retention value represents a duration and must be specified in the ISO-8601 duration format. The retention period can be in years, months, days, hours, and minutes. A duration specified for years, month,s and days is represented in the ISO-8601 format as "P
Y", "P M", "P D" respectively, for example "P10Y" represents a duration of 10 years. A duration in hours and minutes is represented by "PT H" and "PT M" respectively. The retention string must contain only a single time element that is, either years, months, days, hours, or minutes. A duration which combines different periods is not supported, for example "P1Y10M" is not supported. Apart from the duration specified in the ISO-8601 format, the duration field also accepts the string "infinite" to set an infinite retention period. Example: P30Y
var opts
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