models_v2.self_service_snapshot_config module

class models_v2.self_service_snapshot_config.SelfServiceSnapshotConfig(enabled=None, previous_versions_enabled=None, nfs_access_enabled=None, smb_access_enabled=None, snapshot_directory_name=None, alternate_snapshot_directory_name=None, allow_access_sids=None, deny_access_sids=None)[source]

Bases: object

Implementation of the ‘SelfServiceSnapshotConfig’ model.

Specifies the self service snapshot config of a view.

Attributes:
enabled (bool): Specifies if self service snapshot feature is enabled.

If this is set to true, the feature will also be enabled for NFS protocol. This field is deprecated.

previous_versions_enabled (bool): Specifies if previouse versions

feature is enabled with SMB protocol.

nfs_access_enabled (bool): Specifies if self service snapshot feature

is enabled for NFS protocol.

smb_access_enabled (bool): Specifies if self service snapshot feature

is enabled for SMB protocol.

snapshot_directory_name (string): Specifies the directory name for the

snapshots.

alternate_snapshot_directory_name (string): Specifies the alternate

directory name for the snapshots. If it is not set, this feature for SMB protocol will not work.

allow_access_sids (list of string): Specifies a list of sids who has

access to the snapshots.

deny_access_sids (list of string): Specifies a list of sids who does

not have access to the snapshots. This field overrides ‘allowAccessSids’.

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.