models.alias_smb_config module¶
-
class
models.alias_smb_config.
AliasSmbConfig
(caching_enabled=None, discovery_enabled=None, encryption_enabled=None, encryption_required=None, is_share_level_permission_empty=None, permissions=None)[source]¶ Bases:
object
Implementation of the ‘AliasSmbConfig’ model.
Message defining SMB config for IRIS. SMB config contains SMB encryption flags, SMB discoverable flag and Share level permissions.
- Attributes:
caching_enabled (bool): Indicate if offline file caching is supported discovery_enabled (bool): Whether the share is discoverable. encryption_enabled (bool): Whether SMB encryption is enabled for this
share. Encryption is supported only by SMB 3.x dialects. Dialects that do not support would still access data in unencrypted format.
- encryption_required (bool): Whether to enforce encryption for all the
sessions for this view. When enabled all unencrypted sessions are disallowed.
- is_share_level_permission_empty (bool): Indicate if share level
permission is cleared by user.
permissions (list of SmbPermission): Share level permissions.
-
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.