Share via


DataLakeFileScheduleDeletionOptions Class

Definition

Parameters for Schedule Deletion.

public class DataLakeFileScheduleDeletionOptions
type DataLakeFileScheduleDeletionOptions = class
Public Class DataLakeFileScheduleDeletionOptions
Inheritance
DataLakeFileScheduleDeletionOptions

Constructors

DataLakeFileScheduleDeletionOptions()

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

DataLakeFileScheduleDeletionOptions(Nullable<DateTimeOffset>)

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

DataLakeFileScheduleDeletionOptions(TimeSpan, DataLakeFileExpirationOrigin)

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

Properties

ExpiresOn

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.

SetExpiryRelativeTo

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

TimeToExpire

Duration before file should be deleted.

Applies to