Content_Registries_Harbor_GarbageCollection

Content_Registries_Harbor_GarbageCollection
Content_Registries_Harbor_GarbageCollection

The Harbor.GarbageCollection structure contains garbage collection configuration for the Harbor registry.

JSON Example
{
    "type": "string",
    "day_of_week": "string",
    "hour": 0,
    "minute": 0
}
type
Required

The Recurrence enumerated type defines the supported values for how often to run a specific operation for a container registry.
NONE : No operation is scheduled.
DAILY : An operation occurs on a daily basis.
WEEKLY : An operation occurs on a weekly basis.

day_of_week
Optional

The DayOfWeek enumerated type describes the supported days of the week to run a specific operation for a container registry.
SUNDAY : Sunday.
MONDAY : Monday.
TUESDAY : Tuesday.
WEDNESDAY : Wednesday.
THURSDAY : Thursday.
FRIDAY : Friday.
SATURDAY : Saturday.

integer As int64
hour
Optional

Hour at which garbage collection should run. This field is optional and it is only relevant when the value of Harbor.GarbageCollection.type is one of DAILY or WEEKLY.

integer As int64
minute
Optional

Minute at which garbage collection should run. This field is optional and it is only relevant when the value of Harbor.GarbageCollection.type is one of DAILY or WEEKLY.