Content Registries Harbor Projects APIs
The Projects service provides operations for managing the lifecycle of Harbor project that stores and distributes container repositories and images.
Operations
POST
Create Registry Harbor Projects
Creates a project in a Harbor registry using the supplied specification. In vSphere 7.0, a Harbor registry is deployed in a vSphere cluster with vSphere namespaces enabled. When a namespace is created, a project with same name as the namespace is created in the Harbor registry, so this operation should not be called.
GET
List Registry Harbor Projects
Returns basic information of all projects in a Harbor registry.
DELETE
Delete Registry Project Harbor
Deletes the specified project from Harbor registry. Repositories and images in the project will be removed upon project deletion. Storage space of deleted images in the project will be reclaimed through next scheduled Harbor registry garbage collection. In vSphere 7.0, a Harbor registry is deployed in a vSphere cluster with vSphere namespaces enabled. When a namespace is deleted, a project with same name as the namespace is deleted from the Harbor registry, so this operation should not be called.
GET
Get Registry Project Harbor
Returns detailed information about the specified Harbor project.
POST
Purge Registry Project
Remove all repositories, images and members in the project. Storage space of deleted images in the project will be reclaimed through next scheduled Harbor registry garbage collection.