Module netapp_ontap.models.container_volume

Copyright © 2025 NetApp Inc. All rights reserved.

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

Classes

class ContainerVolumeSchema (*, 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 ContainerVolume object

Ancestors

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

Class variables

flexcache: ContainerVolumesFlexcache GET POST PATCH

The FlexCache origin volume.

name: str GET POST PATCH

Volume name. The name of volume must start with an alphabetic character (a to z or A to Z) or an underscore (_). The name must be 197 or fewer characters in length for FlexGroup volumes, and 203 or fewer characters in length for all other types of volumes. Volume names must be unique within an SVM. Required on POST.

Example: vol_cs_dept

nas: ConsistencyGroupNas GET POST PATCH

The nas field of the container_volume.

qos: ConsistencyGroupQos POST

The qos field of the container_volume.

s3_bucket: ContainerVolumeS3Bucket GET POST PATCH

The S3 bucket

scale_out: bool POST

Denotes a Flexgroup.

snaplock: ContainerVolumeSnaplock POST

The snaplock field of the container_volume.

snapshot_locking_enabled: bool GET POST PATCH

Specifies whether or not snapshot copy locking is enabled on the volume.

snapshot_policy: SnapshotPolicy GET POST PATCH

The snapshot_policy field of the container_volume.

space: ContainerVolumesSpace POST

The space field of the container_volume.