ContentRegistriesHarborGarbageCollection

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


Properties

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.

Possible values are: SUNDAYMONDAYTUESDAYWEDNESDAYTHURSDAYFRIDAYSATURDAY


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.


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.

Possible values are: NONEDAILYWEEKLY

JSON Example

{
	"type": "NONE"
}

Feedback

Was this page helpful?