Module netapp_ontap.models.volume_nas
Copyright © 2019 NetApp Inc. All rights reserved.
Classes
class VolumeNasSchema (only=None, exclude=(), many=False, context=None, load_only=(), dump_only=(), partial=False, unknown=None)
-
The fields of the VolumeNas object
Ancestors
- netapp_ontap.resource.ResourceSchema
- marshmallow.schema.Schema
- marshmallow.schema.BaseSchema
- marshmallow.base.SchemaABC
Class variables
var export_policy
-
The export_policy field of the volume_nas.
var gid
-
The UNIX group ID of the volume. Valid in POST or PATCH.
var opts
var path
-
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. This attribute is reported in GET only when the volume is mounted.
Example: /user/my_volume
var security_style
-
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
var uid
-
The UNIX user ID of the volume. Valid in POST or PATCH.
var unix_permissions
-
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
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