NTFSAttributes Class

Valid set of attributes to set for file or directory. To set attribute for directory, 'Directory' should always be enabled except setting 'None' for directory.

Inheritance
builtins.object
NTFSAttributes

Constructor

NTFSAttributes(read_only=False, hidden=False, system=False, none=False, directory=False, archive=False, temporary=False, offline=False, not_content_indexed=False, no_scrub_data=False, _str=None)

Parameters

Name Description
read_only
Default value: False
hidden
Default value: False
system
Default value: False
none
Default value: False
directory
Default value: False
archive
Default value: False
temporary
Default value: False
offline
Default value: False
not_content_indexed
Default value: False
no_scrub_data
Default value: False
_str
Default value: None

Variables

Name Description
read_only

Enable/disable 'ReadOnly' attribute for DIRECTORY or FILE

hidden

Enable/disable 'Hidden' attribute for DIRECTORY or FILE

system

Enable/disable 'System' attribute for DIRECTORY or FILE

none

Enable/disable 'None' attribute for DIRECTORY or FILE to clear all attributes of FILE/DIRECTORY

directory

Enable/disable 'Directory' attribute for DIRECTORY

archive

Enable/disable 'Archive' attribute for DIRECTORY or FILE

temporary

Enable/disable 'Temporary' attribute for FILE

offline

Enable/disable 'Offline' attribute for DIRECTORY or FILE

not_content_indexed

Enable/disable 'NotContentIndexed' attribute for DIRECTORY or FILE

no_scrub_data

Enable/disable 'NoScrubData' attribute for DIRECTORY or FILE

Attributes

ARCHIVE

ARCHIVE = <azure.storage.file.models.NTFSAttributes object>

DIRECTORY

DIRECTORY = <azure.storage.file.models.NTFSAttributes object>

HIDDEN

HIDDEN = <azure.storage.file.models.NTFSAttributes object>

NONE

NONE = <azure.storage.file.models.NTFSAttributes object>

NOT_CONTENT_INDEXED

NOT_CONTENT_INDEXED = <azure.storage.file.models.NTFSAttributes object>

NO_SCRUB_DATA

NO_SCRUB_DATA = <azure.storage.file.models.NTFSAttributes object>

OFFLINE

OFFLINE = <azure.storage.file.models.NTFSAttributes object>

READ_ONLY

READ_ONLY = <azure.storage.file.models.NTFSAttributes object>

SYSTEM

SYSTEM = <azure.storage.file.models.NTFSAttributes object>

TEMPORARY

TEMPORARY = <azure.storage.file.models.NTFSAttributes object>