DataLakeFileAsyncClient.scheduleDeletionWithResponse(FileScheduleDeletionOptions options) Method

Definition

Schedules the file for deletion.

Code Samples

FileScheduleDeletionOptions options = new FileScheduleDeletionOptions(OffsetDateTime.now().plusDays(1));
 
 client.scheduleDeletionWithResponse(options)
     .subscribe(r -> System.out.println("File deletion has been scheduled"));
public Mono<Response<Void>> scheduleDeletionWithResponse(FileScheduleDeletionOptions options)

Parameters

options
FileScheduleDeletionOptions

Schedule deletion parameters.

Returns

reactor.core.publisher.Mono<Response<java.lang.Void>>

A reactive response signalling completion.

Applies to