vcenter content registries harbor: garbage collection

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

Representation:

{
    "hour"1,
    "type""NONE",
    "day_of_week""SUNDAY",
    "minute"1
}

Attributes:

Name Type Description
Required
type string Frequency of garbage collection.

Defines the supported values for how often to run a specific operation for a container registry. Value is one of:
NONE: No operation is scheduled.
DAILY: An operation occurs on a daily basis.
WEEKLY: An operation occurs on a weekly basis.

Optional
day_of_week string Day of the week when garbage collection should run.

Describes the supported days of the week to run a specific operation for a container registry. Value is one of:
SUNDAY: Sunday.
MONDAY: Monday.
TUESDAY: Tuesday.
WEDNESDAY: Wednesday.
THURSDAY: Thursday.
FRIDAY: Friday.
SATURDAY: Saturday.Optional. It is only relevant when type has value [WEEKLY]. This field is optional and it is only relevant when the value of type is WEEKLY.

hour long Hour at which garbage collection should run.

Optional. It is only relevant when type has value [DAILY, WEEKLY]. This field is optional and it is only relevant when the value of type is one of DAILY or WEEKLY.

minute long Minute at which garbage collection should run.

Optional. It is only relevant when type has value [DAILY, WEEKLY]. This field is optional and it is only relevant when the value of type is one of DAILY or WEEKLY.