Azure.Storage.Files.DataLake (stable:2025-05-05)

2024/12/04 • 19 new methods

Service_ListFileSystems (new)
Description List filesystems and their properties in given account.
Reference Link ¶

⚼ Request

GET:  /
{
resource: string ,
prefix: string ,
continuation: string ,
maxResults: integer ,
x-ms-client-request-id: string ,
timeout: integer ,
x-ms-version: string ,
}

⚐ Response (200)

{
$headers:
{
date: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-continuation: string ,
content-type: string ,
}
,
$schema:
{
filesystems:
[
{
name: string ,
lastModified: string ,
eTag: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_Create (new)
Description Create a FileSystem rooted at the specified location. If the FileSystem already exists, the operation fails. This operation does not support conditional HTTP requests.
Reference Link ¶

⚼ Request

PUT:  /{filesystem}
{
x-ms-properties: string ,
}

⚐ Response (201)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-namespace-enabled: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_SetProperties (new)
Description Set properties for the FileSystem. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}
{
x-ms-properties: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
}

⚐ Response (200)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_GetProperties (new)
Description All system and user-defined filesystem properties are specified in the response headers.
Reference Link ¶

⚼ Request

HEAD:  /{filesystem}
{}

⚐ Response (200)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-properties: string ,
x-ms-namespace-enabled: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_Delete (new)
Description Marks the FileSystem for deletion. When a FileSystem is deleted, a FileSystem with the same identifier cannot be created for at least 30 seconds. While the filesystem is being deleted, attempts to create a filesystem with the same identifier will fail with status code 409 (Conflict), with the service returning additional error information indicating that the filesystem is being deleted. All other operations, including operations on any files or directories within the filesystem, will fail with status code 404 (Not Found) while the filesystem is being deleted. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

DELETE:  /{filesystem}
{
If-Modified-Since: string ,
If-Unmodified-Since: string ,
}

⚐ Response (202)

{
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_ListPaths (new)
Description List FileSystem paths and their properties.
Reference Link ¶

⚼ Request

GET:  /{filesystem}?resource=filesystem
{
continuation: string ,
directory: string ,
recursive: boolean ,
maxResults: integer ,
upn: boolean ,
}

⚐ Response (200)

{
$headers:
{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-continuation: string ,
}
,
$schema:
{
paths:
[
{
name: string ,
isDirectory: boolean ,
lastModified: string ,
eTag: string ,
contentLength: integer ,
owner: string ,
group: string ,
permissions: string ,
EncryptionScope: string ,
creationTime: string ,
expiryTime: string ,
EncryptionContext: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
FileSystem_ListBlobHierarchySegment (new)
Description The List Blobs operation returns a list of the blobs under the specified container
Reference Link ¶

⚼ Request

GET:  /{filesystem}?restype=container&comp=list&hierarchy
{
prefix: string ,
delimiter: string ,
marker: string ,
maxResults: integer ,
include: array ,
showonly: string ,
timeout: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
$headers:
{
content-type: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}
,
$schema:
{
ServiceEndpoint: string ,
ContainerName: string ,
Prefix: string ,
Marker: string ,
MaxResults: integer ,
Delimiter: string ,
Segment:
{
BlobPrefixes:
[
{
Name: string ,
}
,
]
,
BlobItems:
[
{
Name: string ,
Deleted: boolean ,
Snapshot: string ,
VersionId: string ,
IsCurrentVersion: boolean ,
Properties:
{
Creation-Time: string ,
Last-Modified: string ,
Etag: string ,
Content-Length: integer ,
Content-Type: string ,
Content-Encoding: string ,
Content-Language: string ,
Content-MD5: string ,
Content-Disposition: string ,
Cache-Control: string ,
x-ms-blob-sequence-number: integer ,
CopyId: string ,
CopySource: string ,
CopyProgress: string ,
CopyCompletionTime: string ,
CopyStatusDescription: string ,
ServerEncrypted: boolean ,
IncrementalCopy: boolean ,
DestinationSnapshot: string ,
DeletedTime: string ,
RemainingRetentionDays: integer ,
AccessTierInferred: boolean ,
CustomerProvidedKeySha256: string ,
EncryptionScope: string ,
AccessTierChangeTime: string ,
TagCount: integer ,
Expiry-Time: string ,
Sealed: boolean ,
LastAccessTime: string ,
DeleteTime: string ,
}
,
DeletionId: string ,
}
,
]
,
}
,
NextMarker: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Create (new)
Description Create or rename a file or directory. By default, the destination is overwritten and if the destination already exists and has a lease the lease is broken. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations). To fail if the destination already exists, use a conditional request with If-None-Match: "*".
Reference Link ¶

⚼ Request

PUT:  /{filesystem}/{path}
{
resource: string ,
continuation: string ,
mode: string ,
x-ms-cache-control: string ,
x-ms-content-encoding: string ,
x-ms-content-language: string ,
x-ms-content-disposition: string ,
x-ms-content-type: string ,
x-ms-rename-source: string ,
x-ms-lease-id: string ,
x-ms-source-lease-id: string ,
x-ms-properties: string ,
x-ms-permissions: string ,
x-ms-umask: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
x-ms-source-if-match: string ,
x-ms-source-if-none-match: string ,
x-ms-source-if-modified-since: string ,
x-ms-source-if-unmodified-since: string ,
x-ms-encryption-key: string ,
x-ms-encryption-key-sha256: string ,
x-ms-encryption-algorithm: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-acl: string ,
x-ms-proposed-lease-id: string ,
x-ms-lease-duration: integer ,
x-ms-expiry-option: string ,
x-ms-expiry-time: string ,
x-ms-encryption-context: string ,
}

⚐ Response (201)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-continuation: string ,
content-length: integer ,
x-ms-request-server-encrypted: boolean ,
x-ms-encryption-key-sha256: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Update (new)
Description Uploads data to be appended to a file, flushes (writes) previously uploaded data to a file, sets properties for a file or directory, or sets access control for a file or directory. Data can only be appended to a file. Concurrent writes to the same file using multiple clients are not supported. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}/{path}
{
action: string ,
maxRecords: integer ,
continuation: string ,
mode: string ,
forceFlag: boolean ,
position: integer ,
retainUncommittedData: boolean ,
close: boolean ,
Content-Length: integer ,
x-ms-content-md5: string ,
x-ms-lease-id: string ,
x-ms-cache-control: string ,
x-ms-content-type: string ,
x-ms-content-disposition: string ,
x-ms-content-encoding: string ,
x-ms-content-language: string ,
x-ms-properties: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-permissions: string ,
x-ms-acl: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
body: object ,
x-ms-structured-body: string ,
x-ms-structured-content-length: integer ,
}

⚐ Response (200)

{
$headers:
{
date: string ,
etag: string ,
last-modified: string ,
accept-ranges: string ,
cache-control: string ,
content-disposition: string ,
content-encoding: string ,
content-language: string ,
content-length: integer ,
content-range: string ,
content-type: string ,
content-md5: string ,
x-ms-properties: string ,
x-ms-continuation: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
directoriesSuccessful: integer ,
filesSuccessful: integer ,
failureCount: integer ,
failedEntries:
[
{
name: string ,
type: string ,
errorMessage: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
content-md5: string ,
date: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-structured-body: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Lease (new)
Description Create and manage a lease to restrict write and delete access to the path. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

POST:  /{filesystem}/{path}
{
x-ms-lease-action: string ,
x-ms-lease-duration: integer ,
x-ms-lease-break-period: integer ,
x-ms-lease-id: string ,
x-ms-proposed-lease-id: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
}

⚐ Response (200)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
}

⚐ Response (201)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-lease-id: string ,
}

⚐ Response (202)

{
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-lease-time: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Read (new)
Description Read the contents of a file. For read operations, range requests are supported. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

GET:  /{filesystem}/{path}
{
Range: string ,
x-ms-lease-id: string ,
x-ms-range-get-content-md5: boolean ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
x-ms-encryption-key: string ,
x-ms-encryption-key-sha256: string ,
x-ms-encryption-algorithm: string ,
}

⚐ Response (200)

{
$headers:
{
accept-ranges: string ,
cache-control: string ,
content-disposition: string ,
content-encoding: string ,
content-language: string ,
content-length: integer ,
content-range: string ,
content-type: string ,
content-md5: string ,
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-resource-type: string ,
x-ms-properties: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-encryption-key-sha256: string ,
}
,
$schema: object ,
}

⚐ Response (206)

{
$headers:
{
accept-ranges: string ,
cache-control: string ,
content-disposition: string ,
content-encoding: string ,
content-language: string ,
content-length: integer ,
content-range: string ,
content-type: string ,
content-md5: string ,
x-ms-content-md5: string ,
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-resource-type: string ,
x-ms-properties: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-encryption-key-sha256: string ,
}
,
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_GetProperties (new)
Description Get Properties returns all system and user defined properties for a path. Get Status returns all system defined properties for a path. Get Access Control List returns the access control list for a path. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

HEAD:  /{filesystem}/{path}
{
action: string ,
upn: boolean ,
x-ms-lease-id: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
}

⚐ Response (200)

{
accept-ranges: string ,
cache-control: string ,
content-disposition: string ,
content-encoding: string ,
content-language: string ,
content-length: integer ,
content-range: string ,
content-type: string ,
content-md5: string ,
date: string ,
etag: string ,
last-modified: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-resource-type: string ,
x-ms-properties: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-permissions: string ,
x-ms-acl: string ,
x-ms-lease-duration: string ,
x-ms-lease-state: string ,
x-ms-lease-status: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Delete (new)
Description Delete the file or directory. This operation supports conditional HTTP requests. For more information, see [Specifying Conditional Headers for Blob Service Operations](https://docs.microsoft.com/en-us/rest/api/storageservices/specifying-conditional-headers-for-blob-service-operations).
Reference Link ¶

⚼ Request

DELETE:  /{filesystem}/{path}
{
recursive: boolean ,
continuation: string ,
x-ms-lease-id: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
paginated: boolean ,
}

⚐ Response (200)

{
date: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-continuation: string ,
x-ms-deletion-id: string ,
}

⚐ Response (202)

{
date: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-continuation: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_SetAccessControl (new)
Description Set the owner, group, permissions, or access control list for a path.
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}/{path}?action=setAccessControl
{
timeout: integer ,
x-ms-lease-id: string ,
x-ms-owner: string ,
x-ms-group: string ,
x-ms-permissions: string ,
x-ms-acl: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
x-ms-client-request-id: string ,
x-ms-version: string ,
}

⚐ Response (200)

{
date: string ,
etag: string ,
last-modified: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_SetAccessControlRecursive (new)
Description Set the access control list for a path and sub-paths.
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}/{path}?action=setAccessControlRecursive
{
timeout: integer ,
continuation: string ,
mode: string ,
forceFlag: boolean ,
maxRecords: integer ,
x-ms-acl: string ,
x-ms-client-request-id: string ,
x-ms-version: string ,
}

⚐ Response (200)

{
$headers:
{
date: string ,
x-ms-client-request-id: string ,
x-ms-continuation: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
directoriesSuccessful: integer ,
filesSuccessful: integer ,
failureCount: integer ,
failedEntries:
[
{
name: string ,
type: string ,
errorMessage: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_FlushData (new)
Description Set the owner, group, permissions, or access control list for a path.
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}/{path}?action=flush
{
timeout: integer ,
position: integer ,
retainUncommittedData: boolean ,
close: boolean ,
Content-Length: integer ,
x-ms-content-md5: string ,
x-ms-lease-id: string ,
x-ms-lease-action: string ,
x-ms-lease-duration: integer ,
x-ms-proposed-lease-id: string ,
x-ms-cache-control: string ,
x-ms-content-type: string ,
x-ms-content-disposition: string ,
x-ms-content-encoding: string ,
x-ms-content-language: string ,
If-Match: string ,
If-None-Match: string ,
If-Modified-Since: string ,
If-Unmodified-Since: string ,
x-ms-client-request-id: string ,
x-ms-version: string ,
x-ms-encryption-key: string ,
x-ms-encryption-key-sha256: string ,
x-ms-encryption-algorithm: string ,
}

⚐ Response (200)

{
date: string ,
etag: string ,
last-modified: string ,
content-length: integer ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-encryption-key-sha256: string ,
x-ms-lease-renewed: boolean ,
}

⚐ Response (default)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_AppendData (new)
Description Append data to the file.
Reference Link ¶

⚼ Request

PATCH:  /{filesystem}/{path}?action=append
{
position: integer ,
timeout: integer ,
Content-Length: integer ,
Content-MD5: string ,
x-ms-content-crc64: string ,
x-ms-lease-id: string ,
x-ms-lease-action: string ,
x-ms-lease-duration: integer ,
x-ms-proposed-lease-id: string ,
body: object ,
x-ms-client-request-id: string ,
x-ms-version: string ,
x-ms-encryption-key: string ,
x-ms-encryption-key-sha256: string ,
x-ms-encryption-algorithm: string ,
flush: boolean ,
x-ms-structured-body: string ,
x-ms-structured-content-length: integer ,
}

⚐ Response (202)

{
date: string ,
x-ms-request-id: string ,
x-ms-client-request-id: string ,
x-ms-version: string ,
etag: string ,
content-md5: string ,
x-ms-content-crc64: string ,
x-ms-request-server-encrypted: boolean ,
x-ms-encryption-key-sha256: string ,
x-ms-lease-renewed: boolean ,
x-ms-structured-body: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_SetExpiry (new)
Description Sets the time a blob will expire and be deleted.
Reference Link ¶

⚼ Request

PUT:  /{filesystem}/{path}?comp=expiry
{
timeout: integer ,
x-ms-version: string ,
x-ms-client-request-id: string ,
x-ms-expiry-option: string ,
x-ms-expiry-time: string ,
}

⚐ Response (200)

{
etag: string ,
last-modified: string ,
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}
Path_Undelete (new)
Description Undelete a path that was previously soft deleted
Reference Link ¶

⚼ Request

PUT:  /{filesystem}/{path}?comp=undelete
{
timeout: integer ,
x-ms-undelete-source: string ,
x-ms-version: string ,
x-ms-client-request-id: string ,
}

⚐ Response (200)

{
x-ms-client-request-id: string ,
x-ms-request-id: string ,
x-ms-resource-type: string ,
x-ms-version: string ,
date: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
Code: string ,
Message: string ,
}
,
}
,
}