ContentRegistriesHarborProjectsInfo

The Projects.Info structure contains detailed information about a Harbor project.


Properties

config_status Required

The Projects.ConfigStatus enumerated type describes the status of reaching the desired configuration state for the Harbor project.
PENDING : Harbor project is being created or the configuration is being applied to the project.
REMOVING : The configuration is being removed and Harbor project is being deleted.
ERROR : Failed to create Harbor project or apply the configuration to the project, user intervention needed.
READY : Harbor project is created or configured correctly.

Possible values are: PENDINGREMOVINGERRORREADY


string as date-time
creation_time Required

The date and time when the harbor project creation API was triggered and project identifier generated.


string
name Required

Name of the Harbor project. Should be between 1-63 characters long alphanumeric string and may contain the following characters: a-z,0-9, and ‘-’. Must be starting with characters or numbers, with the ‘-’ character allowed anywhere except the first or last character.


scope Required

The Projects.Scope enumerated type in a project defines access levels of the project.
PUBLIC : A Harbor project can be accessed by everyone.
PRIVATE : A Harbor project can only be accessed by assigned users.

Possible values are: PUBLICPRIVATE


string as uri
access_url Optional

URL to access the harbor project through docker client. This field is optional and it is only relevant when the value of Projects.Info.config-status is READY.


message Optional

Details about the ERROR project status. This field is optional and it is only relevant when the value of Projects.Info.config-status is ERROR.


string as date-time
update_time Optional

The date and time when the harbor project purge API was triggered. In case no purge was triggered, Projects.Info.update-time is same as Projects.Info.creation-time. This field is optional and it is only relevant when the value of Projects.Info.config-status is READY.

JSON Example

{
	"config_status": "PENDING",
	"creation_time": "string",
	"name": "string",
	"scope": "PUBLIC"
}

Feedback

Was this page helpful?