Module netapp_ontap.models.volume_nas

Copyright © 2021 NetApp Inc. All rights reserved.

Classes

class VolumeNasSchema (*, only: typing.Union = None, exclude: typing.Union = (), many: bool = False, context: typing.Dict = None, load_only: typing.Union = (), dump_only: typing.Union = (), partial: typing.Union = False, unknown: str = None)

The fields of the VolumeNas object

Ancestors

  • 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.

gid GET POST PATCH

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.

path GET POST PATCH

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 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
uid GET POST PATCH

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