NTFSAttributes class

Definition

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.

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)
Inheritance
builtins.object
NTFSAttributes

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>