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

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

read_only
bool

Enable/disable 'ReadOnly' attribute for DIRECTORY or FILE

hidden
bool

Enable/disable 'Hidden' attribute for DIRECTORY or FILE

system
bool

Enable/disable 'System' attribute for DIRECTORY or FILE

none
bool

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

directory
bool

Enable/disable 'Directory' attribute for DIRECTORY

archive
bool

Enable/disable 'Archive' attribute for DIRECTORY or FILE

temporary
bool

Enable/disable 'Temporary' attribute for FILE

offline
bool

Enable/disable 'Offline' attribute for DIRECTORY or FILE

not_content_indexed
bool

Enable/disable 'NotContentIndexed' attribute for DIRECTORY or FILE

no_scrub_data
bool

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>