How to use the azure-storage-file.azure.storage.file.models.NTFSAttributes function in azure-storage-file

To help you get started, we’ve selected a few azure-storage-file examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
concatenated_params = (('ReadOnly|' if self.read_only else '') +
                               ('Hidden|' if self.hidden else '') +
                               ('System|' if self.system else '') +
                               ('None|' if self.none else '') +
                               ('Directory|' if self.directory else '') +
                               ('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('Hidden|' if self.hidden else '') +
                               ('System|' if self.system else '') +
                               ('None|' if self.none else '') +
                               ('Directory|' if self.directory else '') +
                               ('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
def __str__(self):
        concatenated_params = (('ReadOnly|' if self.read_only else '') +
                               ('Hidden|' if self.hidden else '') +
                               ('System|' if self.system else '') +
                               ('None|' if self.none else '') +
                               ('Directory|' if self.directory else '') +
                               ('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('System|' if self.system else '') +
                               ('None|' if self.none else '') +
                               ('Directory|' if self.directory else '') +
                               ('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('Directory|' if self.directory else '') +
                               ('Archive|' if self.archive else '') +
                               ('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)
github Azure / azure-storage-python / azure-storage-file / azure / storage / file / models.py View on Github external
('Temporary|' if self.temporary else '') +
                               ('Offline|' if self.offline else '') +
                               ('NotContentIndexed|' if self.not_content_indexed else '') +
                               ('NoScrubData|' if self.no_scrub_data else ''))

        return concatenated_params.strip('|')


NTFSAttributes.READ_ONLY = NTFSAttributes(read_only=True)
NTFSAttributes.HIDDEN = NTFSAttributes(hidden=True)
NTFSAttributes.SYSTEM = NTFSAttributes(system=True)
NTFSAttributes.NONE = NTFSAttributes(none=True)
NTFSAttributes.DIRECTORY = NTFSAttributes(directory=True)
NTFSAttributes.ARCHIVE = NTFSAttributes(archive=True)
NTFSAttributes.TEMPORARY = NTFSAttributes(temporary=True)
NTFSAttributes.OFFLINE = NTFSAttributes(offline=True)
NTFSAttributes.NOT_CONTENT_INDEXED = NTFSAttributes(not_content_indexed=True)
NTFSAttributes.NO_SCRUB_DATA = NTFSAttributes(no_scrub_data=True)

azure-storage-file

Microsoft Azure Storage File Client Library for Python

MIT
Latest version published 5 years ago

Package Health Score

73 / 100
Full package analysis