models.view_alias_info module

class models.view_alias_info.ViewAliasInfo(alias_name=None, client_subnet_whitelist=None, smb_config=None, view_path=None)[source]

Bases: object

Implementation of the ‘ViewAliasInfo’ model.

View Alias Info is returned as part of list views.

Attributes:

alias_name (string): Alias name. client_subnet_whitelist (list of ClusterConfigProtoSubnet): List of

external client subnet IPs that are allowed to access the share.

smb_config (AliasSmbConfig): Message defining SMB config for IRIS. SMB

config contains SMB encryption flags, SMB discoverable flag and Share level permissions.

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.