<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.24.0-beta.1" />

Azure.Storage.Files.DataLake.PathRestClient

public PathRestClient(ClientDiagnostics clientDiagnostics, HttpPipeline pipeline, string url, string version, int? xMsLeaseDuration = default)

Initializes a new instance of PathRestClient.

public ResponseWithHeaders<PathAppendDataHeaders> AppendData(Stream body, long? position = default, int? timeout = default, long? contentLength = default, byte[] transactionalContentHash = null, byte[] transactionalContentCrc64 = null, string leaseId = null, DataLakeLeaseAction? leaseAction = default, long? leaseDuration = default, string proposedLeaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, bool? flush = default, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)

Append data to the file.

public Task<ResponseWithHeaders<PathAppendDataHeaders>> AppendDataAsync(Stream body, long? position = default, int? timeout = default, long? contentLength = default, byte[] transactionalContentHash = null, byte[] transactionalContentCrc64 = null, string leaseId = null, DataLakeLeaseAction? leaseAction = default, long? leaseDuration = default, string proposedLeaseId = null, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, bool? flush = default, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)

Append data to the file.

public ResponseWithHeaders<PathCreateHeaders> Create(int? timeout = default, PathResourceType? resource = default, string continuation = null, PathRenameMode? mode = default, string cacheControl = null, string contentEncoding = null, string contentLanguage = null, string contentDisposition = null, string contentType = null, string renameSource = null, string leaseId = null, string sourceLeaseId = null, string properties = null, string permissions = null, string umask = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string sourceIfMatch = null, string sourceIfNoneMatch = null, DateTimeOffset? sourceIfModifiedSince = default, DateTimeOffset? sourceIfUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string owner = null, string group = null, string acl = null, string proposedLeaseId = null, long? leaseDuration = default, PathExpiryOptions? expiryOptions = default, string expiresOn = null, string encryptionContext = null, CancellationToken cancellationToken = default)

Create File | Create Directory | Rename File | Rename Directory.

public Task<ResponseWithHeaders<PathCreateHeaders>> CreateAsync(int? timeout = default, PathResourceType? resource = default, string continuation = null, PathRenameMode? mode = default, string cacheControl = null, string contentEncoding = null, string contentLanguage = null, string contentDisposition = null, string contentType = null, string renameSource = null, string leaseId = null, string sourceLeaseId = null, string properties = null, string permissions = null, string umask = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string sourceIfMatch = null, string sourceIfNoneMatch = null, DateTimeOffset? sourceIfModifiedSince = default, DateTimeOffset? sourceIfUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, string owner = null, string group = null, string acl = null, string proposedLeaseId = null, long? leaseDuration = default, PathExpiryOptions? expiryOptions = default, string expiresOn = null, string encryptionContext = null, CancellationToken cancellationToken = default)

Create File | Create Directory | Rename File | Rename Directory.

public ResponseWithHeaders<PathDeleteHeaders> Delete(int? timeout = default, bool? recursive = default, string continuation = null, string leaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, bool? paginated = default, CancellationToken cancellationToken = default)

Delete File | Delete Directory.

public Task<ResponseWithHeaders<PathDeleteHeaders>> DeleteAsync(int? timeout = default, bool? recursive = default, string continuation = null, string leaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, bool? paginated = default, CancellationToken cancellationToken = default)

Delete File | Delete Directory.

public ResponseWithHeaders<PathFlushDataHeaders> FlushData(int? timeout = default, long? position = default, bool? retainUncommittedData = default, bool? close = default, long? contentLength = default, byte[] contentMD5 = null, string leaseId = null, DataLakeLeaseAction? leaseAction = default, long? leaseDuration = default, string proposedLeaseId = null, string cacheControl = null, string contentType = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, CancellationToken cancellationToken = default)

Set the owner, group, permissions, or access control list for a path.

public Task<ResponseWithHeaders<PathFlushDataHeaders>> FlushDataAsync(int? timeout = default, long? position = default, bool? retainUncommittedData = default, bool? close = default, long? contentLength = default, byte[] contentMD5 = null, string leaseId = null, DataLakeLeaseAction? leaseAction = default, long? leaseDuration = default, string proposedLeaseId = null, string cacheControl = null, string contentType = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, CancellationToken cancellationToken = default)

Set the owner, group, permissions, or access control list for a path.

public ResponseWithHeaders<PathGetPropertiesHeaders> GetProperties(int? timeout = default, PathGetPropertiesAction? action = default, bool? upn = default, string leaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Get Properties | Get Status | Get Access Control List.

public Task<ResponseWithHeaders<PathGetPropertiesHeaders>> GetPropertiesAsync(int? timeout = default, PathGetPropertiesAction? action = default, bool? upn = default, string leaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Get Properties | Get Status | Get Access Control List.

public ResponseWithHeaders<PathLeaseHeaders> Lease(PathLeaseAction xMsLeaseAction, int? timeout = default, int? xMsLeaseBreakPeriod = default, string leaseId = null, string proposedLeaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Lease Path.

public Task<ResponseWithHeaders<PathLeaseHeaders>> LeaseAsync(PathLeaseAction xMsLeaseAction, int? timeout = default, int? xMsLeaseBreakPeriod = default, string leaseId = null, string proposedLeaseId = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Lease Path.

public ResponseWithHeaders<Stream, PathReadHeaders> Read(int? timeout = default, string range = null, string leaseId = null, bool? xMsRangeGetContentMd5 = default, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, CancellationToken cancellationToken = default)

Read File.

public Task<ResponseWithHeaders<Stream, PathReadHeaders>> ReadAsync(int? timeout = default, string range = null, string leaseId = null, bool? xMsRangeGetContentMd5 = default, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string encryptionKey = null, string encryptionKeySha256 = null, EncryptionAlgorithmTypeInternal? encryptionAlgorithm = default, CancellationToken cancellationToken = default)

Read File.

public ResponseWithHeaders<PathSetAccessControlHeaders> SetAccessControl(int? timeout = default, string leaseId = null, string owner = null, string group = null, string permissions = null, string acl = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Set the owner, group, permissions, or access control list for a path.

public Task<ResponseWithHeaders<PathSetAccessControlHeaders>> SetAccessControlAsync(int? timeout = default, string leaseId = null, string owner = null, string group = null, string permissions = null, string acl = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, CancellationToken cancellationToken = default)

Set the owner, group, permissions, or access control list for a path.

public ResponseWithHeaders<SetAccessControlRecursiveResponse, PathSetAccessControlRecursiveHeaders> SetAccessControlRecursive(PathSetAccessControlRecursiveMode mode, int? timeout = default, string continuation = null, bool? forceFlag = default, int? maxRecords = default, string acl = null, CancellationToken cancellationToken = default)

Set the access control list for a path and sub-paths.

public Task<ResponseWithHeaders<SetAccessControlRecursiveResponse, PathSetAccessControlRecursiveHeaders>> SetAccessControlRecursiveAsync(PathSetAccessControlRecursiveMode mode, int? timeout = default, string continuation = null, bool? forceFlag = default, int? maxRecords = default, string acl = null, CancellationToken cancellationToken = default)

Set the access control list for a path and sub-paths.

public ResponseWithHeaders<PathSetExpiryHeaders> SetExpiry(PathExpiryOptions expiryOptions, int? timeout = default, string expiresOn = null, CancellationToken cancellationToken = default)

Sets the time a blob will expire and be deleted.

public Task<ResponseWithHeaders<PathSetExpiryHeaders>> SetExpiryAsync(PathExpiryOptions expiryOptions, int? timeout = default, string expiresOn = null, CancellationToken cancellationToken = default)

Sets the time a blob will expire and be deleted.

public ResponseWithHeaders<PathUndeleteHeaders> Undelete(int? timeout = default, string undeleteSource = null, CancellationToken cancellationToken = default)

Undelete a path that was previously soft deleted.

public Task<ResponseWithHeaders<PathUndeleteHeaders>> UndeleteAsync(int? timeout = default, string undeleteSource = null, CancellationToken cancellationToken = default)

Undelete a path that was previously soft deleted.

public ResponseWithHeaders<SetAccessControlRecursiveResponse, PathUpdateHeaders> Update(PathUpdateAction action, PathSetAccessControlRecursiveMode mode, Stream body, int? timeout = default, int? maxRecords = default, string continuation = null, bool? forceFlag = default, long? position = default, bool? retainUncommittedData = default, bool? close = default, long? contentLength = default, byte[] contentMD5 = null, string leaseId = null, string cacheControl = null, string contentType = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string properties = null, string owner = null, string group = null, string permissions = null, string acl = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)

Append Data | Flush Data | Set Properties | Set Access Control.

public Task<ResponseWithHeaders<SetAccessControlRecursiveResponse, PathUpdateHeaders>> UpdateAsync(PathUpdateAction action, PathSetAccessControlRecursiveMode mode, Stream body, int? timeout = default, int? maxRecords = default, string continuation = null, bool? forceFlag = default, long? position = default, bool? retainUncommittedData = default, bool? close = default, long? contentLength = default, byte[] contentMD5 = null, string leaseId = null, string cacheControl = null, string contentType = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string properties = null, string owner = null, string group = null, string permissions = null, string acl = null, string ifMatch = null, string ifNoneMatch = null, DateTimeOffset? ifModifiedSince = default, DateTimeOffset? ifUnmodifiedSince = default, string structuredBodyType = null, long? structuredContentLength = default, CancellationToken cancellationToken = default)

Append Data | Flush Data | Set Properties | Set Access Control.