models.elastifile_container module¶
-
class
models.elastifile_container.
ElastifileContainer
(created_at=None, id=None, is_nfs_interface=None, is_smb_interface=None, name=None, protocols=None, used_bytes=None, uuid=None)[source]¶ Bases:
object
Implementation of the ‘ElastifileContainer’ model.
Specifies information about container in an Elastifile Cluster.
- Attributes:
created_at (string): Specifies the creation date of the container. id (int): Specifies id of a Elastifile Container in a Cluster. is_nfs_interface (bool): Specifies if the container has NFS volumes or
not.
- is_smb_interface (bool): Specifies if the container has SMB volumes or
not.
name (string): Specifies the name of the container. protocols (list of ProtocolEnum): Specifies Elastifile supported
Protocol information enabled on Elastifile container. ‘kNfs’ indicates NFS protocol in an elastifile container. ‘kSmb’ indicates SMB protocol in an elastifile container.
used_bytes (long|int): Specifies the bytes used by the container. uuid (string): Specifies the UUID of the container.
-
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.