Condividi tramite


DataLakePathScheduleDeletionOptions Class

Definition

Options for scheduling the deletion of a path.

public class DataLakePathScheduleDeletionOptions
type DataLakePathScheduleDeletionOptions = class
Public Class DataLakePathScheduleDeletionOptions
Inheritance
DataLakePathScheduleDeletionOptions

Constructors

DataLakePathScheduleDeletionOptions(Nullable<DateTimeOffset>)

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

DataLakePathScheduleDeletionOptions(Nullable<TimeSpan>)

Constructor. Sets time when the path will be deleted, relative to 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. Does not apply to directories. ExpiresOn and TimeToExpire cannot both be set.

TimeToExpire

Duration before file should be deleted. Does not apply to directories. TimeToExpire and ExpiresOn cannot both be set.

Applies to