models_v2.base_view module

class models_v2.base_view.BaseView(category=None, name=None, view_id=None, storage_domain_id=None, storage_domain_name=None, create_time_msecs=None, basic_mount_path=None, nfs_mount_path=None, smb_mount_paths=None, case_insensitive_names_enabled=None, view_protection=None, data_lock_expiry_usecs=None, aliases=None, is_target_for_migrated_data=None, stats=None, object_services_mapping_config=None)[source]

Bases: object

Implementation of the ‘Base View.’ model.

Specifies base settings for a View.

Attributes:

category (Category1Enum): Specifies the category of the View. name (string): Specifies the name of the View. view_id (long|int): Specifies an id of the View assigned by the

Cohesity Cluster.

storage_domain_id (long|int): Specifies the id of the Storage Domain

(View Box) where the View is stored.

storage_domain_name (string): Specifies the name of the Storage Domain

(View Box) where the View is stored.

create_time_msecs (long|int): Specifies the time that the View was

created in milliseconds.

basic_mount_path (string): Specifies the NFS mount path of the View

(without the hostname information). This path is used to support NFS mounting of the paths specified in the nfsExportPathList on Windows systems.

nfs_mount_path (string): Specifies the path for mounting this View as

an NFS share.

smb_mount_paths (list of string): Array of SMB Paths. Specifies the

possible paths that can be used to mount this View as a SMB share. If Active Directory has multiple account names; each machine account has its own path.

case_insensitive_names_enabled (bool): Specifies whether to support

case insensitive file/folder names. This parameter can only be set during create and cannot be changed.

view_protection (ViewProtection): Specifies information about the

Protection Groups that are protecting the View.

data_lock_expiry_usecs (long|int): DataLock (Write Once Read Many)

lock expiry epoch time in microseconds. If a view is marked as a DataLock view, only a Data Security Officer (a user having Data Security Privilege) can delete the view until the lock expiry time.

aliases (list of ViewAliasInformation): Aliases created for the view.

A view alias allows a directory path inside a view to be mounted using the alias name.

is_target_for_migrated_data (bool): Specifies if a view contains

migrated data.

stats (ViewStats): Provides statistics about the View. object_services_mapping_config (ObjectServicesMappingConfigEnum):

Specifies the Object Services key mapping config of the view. This parameter can only be set during create and cannot be changed. Configuration of Object Services key mapping. Specifies the type of Object Services key mapping config.

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.