models.volume_security_info module¶
-
class
models.volume_security_info.
VolumeSecurityInfo
(group_id=None, permissions=None, style=None, user_id=None)[source]¶ Bases:
object
Implementation of the ‘VolumeSecurityInfo’ model.
Specifies information about NetApp volume security settings.
- Attributes:
- group_id (int): Specifies the Unix group ID for this volume. 0
indicates the root id.
- permissions (string): Specifies the Unix permission bits in octal
string format.
- style (StyleEnum): Specifies the security style associated with this
volume. Specifies the type of a NetApp Volume. ‘kUnix’ indicates Unix-style security. ‘kNtfs’ indicates Windows NTFS-style security. ‘kMixed’ indicates mixed-style security. ‘kUnified’ indicates Unified-style security.
- user_id (int): Specifies the Unix user id for this volume. 0 indicates
the root id.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.