List Registries Harbor
Returns basic information of all Harbor registries.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
ContentRegistriesHarborSummary
of type application/json
The list of basic information of all Harbor registries.
[
{
"cluster": "string",
"registry": "string",
"ui_access_url": "string",
"version": "string"
}
]
Identifier of the registry. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.content.Registry. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.content.Registry.
URL to access the UI of the registry.
Version of the registry.
Identifier of the cluster. If unset, container registry is not created on the cluster specified by Harbor.CreateSpec.cluster. 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.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user does not have System.Read privilege.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: get
x-vmw-doc-deprecated-path: /rest/vcenter/content/registries/harbor
x-vmw-doc-operation: list