DirectoryProperties Class

Inheritance
azure.storage.filedatalake._shared.models.DictMixin
DirectoryProperties

Constructor

DirectoryProperties(**kwargs)

Variables

Name Description
name
str

name of the directory

owner
str

The owner of the file or directory.

group
str

The owning group of the file or directory.

permissions
str

The permissions that are set for user, group, and other on the file or directory. Each individual permission is in [r,w,x,-]{3} format.

acl
str

The POSIX ACL permissions of the file or directory.

etag
str

The ETag contains a value that you can use to perform operations conditionally.

deleted

if the current directory marked as deleted

metadata

Name-value pairs associated with the directory as metadata.

encryption_scope
str

A predefined encryption scope used to encrypt the data on the service. An encryption scope can be created using the Management API and referenced here by name. If a default encryption scope has been defined at the file system, this value will override it if the file system level scope is configured to allow overrides. Otherwise an error will be raised.

lease

Stores all the lease information for the directory.

last_modified

A datetime object representing the last time the directory was modified.

creation_time

Indicates when the directory was created, in UTC.

remaining_retention_days
int

The number of days that the directory will be retained before being permanently deleted by the service.

content_settings

Methods

get
has_key
items
keys
update
values

get

get(key, default=None)

Parameters

Name Description
key
Required
default
Default value: None

has_key

has_key(k)

Parameters

Name Description
k
Required

items

items()

keys

keys()

update

update(*args, **kwargs)

values

values()