ContentRegistriesHarborCreateSpec
The Harbor.CreateSpec structure contains the specification required to create a Harbor registry.
Properties
Identifier of the cluster hosting the registry. If unset, registry will not be created on a specified cluster. This is required in current version, since Harbor can only be created on a cluster with Kubernetes enabled. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.
Garbage collection configuration for the Harbor registry. If unset, a default configuration is set, Recurrence#WEEKLY, DayOfWeek#SATURDAY, GarbageCollection#hour is 2, GarbageCollection#minute is 0.
Storage associated with the Harbor registry. The list contains only one storage backing in this version.
JSON Example
{
"storage": [
{
"policy": "string"
}
]
}