MountTarget#

class MountTarget(name=None, description=None, max_size_gb=None, type=None, path=None, connected_mount_target_path=None, is_compression_enabled=True, blocked_file_extensions=None, protocol=None, secondary_protocol=None, is_previous_version_enabled=False, smb_properties=None, nfs_properties=None, multi_protocol_properties=None, blocked_clients=None, is_long_name_enabled=False, worm_spec=None, workload_type=None, is_snapshot_paused=None, parent_mount_target_ext_id=None, status_type=None, state=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Mount target object.

Parameters:
  • name (required min=1 chars, max=80 chars) – (name) Mount target name.

  • description (max=180 chars) – (description) Mount target description.

  • max_size_gb (min=0,) – (max_size_gb) Maximum size of mount target in GiB.

  • type – (type)

  • path (max=4095 chars) – (path) Path of the nested mount target.

  • connected_mount_target_path (max=4095 chars) – (connected_mount_target_path) The Connected Shares feature allows you to connect an empty folder, called a junction folder, in one share to another share. This allows you to share content from any part of a share’s directory. For example, when creating a connected share, the connectedMountTargetPath is the path of the junction folder.

  • is_compression_enabled – (is_compression_enabled) Flag to enable compression. (Default True)

  • blocked_file_extensions – (blocked_file_extensions) Comma-separated list of blocked file extensions.

  • protocol – (protocol)

  • secondary_protocol – (secondary_protocol) List of secondary protocol types for the mount target.

  • is_previous_version_enabled – (is_previous_version_enabled) Flag to enable windows previous version. (Default False)

  • smb_properties – (smb_properties)

  • nfs_properties – (nfs_properties)

  • multi_protocol_properties – (multi_protocol_properties)

  • blocked_clients – (blocked_clients)

  • is_long_name_enabled – (is_long_name_enabled) Enable long name support. (Default False)

  • worm_spec – (worm_spec)

  • workload_type – (workload_type)

  • is_snapshot_paused – (is_snapshot_paused) Pause snapshot operations on share.

  • parent_mount_target_ext_id – (parent_mount_target_ext_id) external identifier of the parent mount target. This is a read-only field.

  • status_type – (status_type)

  • state – (state)

property blocked_clients#
Type:

BlockedClient

property blocked_file_extensions#

Comma-separated list of blocked file extensions.

Type:

list[ str ]

property connected_mount_target_path#

The Connected Shares feature allows you to connect an empty folder, called a junction folder, in one share to another share. This allows you to share content from any part of a share’s directory. For example, when creating a connected share, the connectedMountTargetPath is the path of the junction folder.

Type:

str

property description#

Mount target description.

Type:

str

property is_compression_enabled#

Flag to enable compression.

Type:

bool

property is_long_name_enabled#

Enable long name support.

Type:

bool

property is_previous_version_enabled#

Flag to enable windows previous version.

Type:

bool

property is_snapshot_paused#

Pause snapshot operations on share.

Type:

bool

property max_size_gb#

Maximum size of mount target in GiB.

Type:

int

property multi_protocol_properties#
Type:

MultiProtocolProperties

property name#

Mount target name.

Type:

str

property nfs_properties#
Type:

NfsProtocolProperties

property parent_mount_target_ext_id#

external identifier of the parent mount target. This is a read-only field.

Type:

str

property path#

Path of the nested mount target.

Type:

str

property protocol#
Type:

MountTargetProtocolType

property secondary_protocol#

List of secondary protocol types for the mount target.

Type:

list[ MountTargetProtocolType ]

property smb_properties#
Type:

SmbProtocolProperties

property state#
Type:

MountTargetState

property status_type#
Type:

StatusType

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property type#
Type:

MountTargetType

property workload_type#
Type:

MountTargetWorkloadType

property worm_spec#
Type:

WormSpec