Create Registries Harbor
Creates a Harbor registry in the cluster.
Request
URLURL
Header Parameters
Header Parameters
Request Body
Specification for creating the Harbor registry. The Harbor.CreateSpec structure contains the specification required to create a Harbor registry.
{
"storage": [
{
"policy": "string"
}
]
}
Storage associated with the Harbor registry. The list contains only one storage backing in this version.
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.
Response
Response BodyResponse Body
Identifier of the deployed registry. The result will be an identifier for the resource type: com.vmware.vcenter.content.Registry.