models_v2.alias_smb_config module

class models_v2.alias_smb_config.AliasSmbConfig(discovery_enabled=None, encryption_enabled=None, encryption_required=None, permissions=None, caching_enabled=None, is_share_level_permission_empty=None, oplock_enabled=None, continuous_availability=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.


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.

permissions (list of SMBPermission): Share level permissions. caching_enabled (bool): Indicate if offline file caching is supported is_share_level_permission_empty (bool): Indicate if share level

permission is cleared by user.

oplock_enabled (bool): Indicate the operation lock is enabled by this


continuous_availability (bool): Whether file open handles are persited

to scribe to survive bridge process crash. When set to false, open handles will be kept in memory untill the current node has exclusive ticket for the entity handle. When the entity is opened from another node, the exclusive ticket would be revoked from the node. In revoke control flow, the current node would persist the state to scribe. On acquiring the exclusive ticket,another node would read the file open handles from scribe and resume the handling of operation.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary


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.


object: An instance of this structure class.