vcenter content registries harbor: list
Returns basic information of all Harbor registries.
Request:
HTTP request
GET https://{server}/rest/vcenter/content/registries/harbor
No request parameters
Response:
HTTP Status Code: 200
Representation:
{
"value" : [
{
"cluster" : "obj-103",
"registry" : "obj-103",
"version" : "string",
"ui_access_url" : "http://myurl.com"
},
{
"cluster" : "obj-103",
"registry" : "obj-103",
"version" : "string",
"ui_access_url" : "http://myurl.com"
}
]
}
"value" : [
{
"cluster" : "obj-103",
"registry" : "obj-103",
"version" : "string",
"ui_access_url" : "http://myurl.com"
},
{
"cluster" : "obj-103",
"registry" : "obj-103",
"version" : "string",
"ui_access_url" : "http://myurl.com"
}
]
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | summary[] | The list of basic information of all Harbor registries. |
value[].cluster | string | Identifier of the cluster. Optional. If unset, container registry is not created on the cluster specified by vcenter.content.registries.harbor.create_spec.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 . |
value[].registry | 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 . |
value[].version | string | Version of the registry. |
value[].ui_access_url | URI | URL to access the UI of the registry. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if the system reports an error while responding to the request. |
401 | unauthenticated | if the user can not be authenticated. |
403 | unauthorized | if the user does not have System.Read privilege. |