models.view_alias module¶
- 
class 
models.view_alias.ViewAlias(alias_name=None, enable_smb_encryption=None, enable_smb_view_discovery=None, enforce_smb_encryption=None, share_permissions=None, subnet_whitelist=None, view_name=None, view_path=None)[source]¶ Bases:
objectImplementation of the ‘ViewAlias’ model.
Specifies the parameters of a view alias.
- Attributes:
 alias_name (string): Alias name. enable_smb_encryption (bool): Specifies the SMB encryption for the
View Alias. If set, it enables the SMB encryption for the View Alias. Encryption is supported only by SMB 3.x dialects. Dialects that do not support would still access data in unencrypted format.
- enable_smb_view_discovery (bool): If set, it enables discovery of view
 alias for SMB.
- enforce_smb_encryption (bool): Specifies the SMB encryption for all
 the sessions for the View Alias. If set, encryption is enforced for all the sessions for the View Alias. When enabled all future and existing unencrypted sessions are disallowed.
- share_permissions (list of SmbPermission): Specifies a list of share
 level permissions.
- subnet_whitelist (list of Subnet): Specifies a list of Subnets with IP
 addresses that have permissions to access the View Alias. (Overrides the Subnets specified at the global Cohesity Cluster level and View level.)
view_name (string): View name. view_path (string): View path for the alias.
- 
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.