interface RetentionPeriod {
    number: number;
    units:
        | "NANOS"
        | "MICROS"
        | "MILLIS"
        | "SECONDS"
        | "MINUTES"
        | "HOURS"
        | "HALF_DAYS"
        | "DAYS"
        | "WEEKS"
        | "MONTHS"
        | "YEARS"
        | "DECADES"
        | "CENTURIES"
        | "MILLENNIA"
        | "ERAS"
        | "FOREVER";
}

Hierarchy

  • Record<string, unknown>
    • RetentionPeriod

Properties

Properties

number: number

The number of units for the retention period.

units:
    | "NANOS"
    | "MICROS"
    | "MILLIS"
    | "SECONDS"
    | "MINUTES"
    | "HOURS"
    | "HALF_DAYS"
    | "DAYS"
    | "WEEKS"
    | "MONTHS"
    | "YEARS"
    | "DECADES"
    | "CENTURIES"
    | "MILLENNIA"
    | "ERAS"
    | "FOREVER"

The unit of time that the retention period is measured in.