models.nas_credentials module

class models.nas_credentials.NasCredentials(host=None, mount_path=None, password=None, share_type=None, username=None)[source]

Bases: object

Implementation of the ‘NasCredentials’ model.

Specifies the server credentials to connect to a NetApp server.

Attributes:
host (string): Specifies the hostname or IP address of the NAS

server.

mount_path (string): Specifies the mount path to the NAS server. password (string): If using the CIFS protocol and a Username was

specified, specify the password for the username.

share_type (ShareTypeEnum): Specifies the sharing protocol type used

to mount the file system. Currently, only NFS is supported. ‘kNFS’ indicates use the NFS protocol to mount the file system. ‘kCIFS’ indicates use the CIFS protocol to mount the file system.

username (string): If using the CIFS protocol, you can optional

specify a username to use when mounting.

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.