<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.25.0" />

Azure.Storage.Files.DataLake.Models.DataLakeFileScheduleDeletionOptions

Parameters for Schedule Deletion.
public DateTimeOffset? ExpiresOn { get; }

The DateTimeOffset to set for when the file will be deleted. If null, the existing ExpiresOn time on the file will be removed, if it exists.

Specifies if TimeToExpire should be set relative to the file's creation time, or the current time. Defaults to current time.

public TimeSpan? TimeToExpire { get; }

Duration before file should be deleted.

Constructor. Sets the DateTimeOffset when the file will be deleted.

Constructor. Sets time when the file will be deleted, relative to the file creation time or the current time.

Constructor. If the file was scheduled for deletetion, the deletion will be cancelled.