Module netapp_ontap.models.volume_nas

Copyright © 2022 NetApp Inc. All rights reserved.


class VolumeNasSchema (*, 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 VolumeNas object


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

Class variables

export_policy GET POST PATCH

The export_policy field of the volume_nas.


The UNIX group ID of the volume. Valid in POST or PATCH.

junction_parent GET POST PATCH

The junction_parent field of the volume_nas.


The fully-qualified path in the owning SVM's namespace at which the volume is mounted. The path is case insensitive and must be unique within a SVM's namespace. Path must begin with '/' and must not end with '/'. Only one volume can be mounted at any given junction path. An empty path in POST creates an unmounted volume. An empty path in PATCH deactivates and unmounts the volume. Taking a volume offline or restricted state removes its junction path. This attribute is reported in GET only when the volume is mounted.

Example: /user/my_volume

security_style GET POST PATCH

Security style associated with the volume. Valid in POST or PATCH.
mixed ‐ Mixed-style security
ntfs ‐ NTFS/WIndows-style security
unified ‐ Unified-style security, unified UNIX, NFS and CIFS permissions
unix ‐ Unix-style security.

Valid choices:

  • mixed
  • ntfs
  • unified
  • unix

The UNIX user ID of the volume. Valid in POST or PATCH.

unix_permissions GET POST PATCH

UNIX permissions to be viewed as an octal number. It consists of 4 digits derived by adding up bits 4 (read), 2 (write) and 1 (execute). First digit selects the set user ID(4), set group ID (2) and sticky (1) attributes. The second digit selects permission for the owner of the file; the third selects permissions for other users in the same group; the fourth for other users not in the group. Valid in POST or PATCH. For security style "mixed" or "unix", the default setting is 0755 in octal (493 in decimal) and for security style "ntfs", the default setting is 0000. In cases where only owner, group and other permissions are given (as in 755, representing the second, third and fourth dight), first digit is assumed to be zero.

Example: 493