Retrieves a list of edgehosts summary
POST/v1/dashboard/appliances/metadata
Retrieves a list of edgehosts summary
Request
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
]
filter
Edge hosts metadata filter spec
name
object
Default value: true
Possible values: [ready
, unpaired
, in-use
]
sort
undefined[]
Possible values: [name
, state
, creationTimestamp
, lastModifiedTimestamp
]
Possible values: [asc
, desc
]
Default value: asc
Responses
- 200
An array of edgehost summary items
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
Array [
]
]
Array [
Array [
]
]
Array [
]
Array [
]
Array [
]
]
items
object[]
required
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
labels
object
Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels
Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.
Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names
UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.
Populated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids
spec
object
clusterProfileTemplates
object[]
packs
undefined[]
annotations
object
Possible values: [kernel
, os
, k8s
, cni
, csi
, addon
]
device
object
DeviceSpec defines the desired state of Device
Possible values: [arm64
, amd64
]
Default value: amd64
Architecture type of the edge host
cpu
object
number of cpu cores
disks
object[]
partitions
object[]
Size in GB
gpus
object[]
addresses
object
Addresses is a map of PCI device entry name to its addresses. Example entry would be "11:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1eb1] (rev a1)"- > 0000_11_00_0" The address is BDF (Bus Device Function) identifier format seperated by underscores. The first 4 bits are almost always 0000. In the above example 11 is Bus, 00 is Device,0 is function. The values of these addreses are expected in hexadecimal format
Model is the model of GPU, for a given vendor, for eg., TU104GL [Tesla T4]
Vendor is the GPU vendor, for eg., NVIDIA or AMD
memory
object
memory size in bytes
nics
object[]
os
object
host
Host specifications
HostAddress is a FQDN or IP address of the Host
projectMeta
object
status
object
health
EdgeHostHealth defines the desired health state of EdgeHostDevice
Possible values: [healthy
, unhealthy
]
inUseClusters
object[]
Possible values: [ready
, unpaired
, in-use
]
{
"items": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:52.904Z",
"deletionTimestamp": "2024-07-03T13:23:52.905Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:52.905Z",
"name": "string",
"uid": "string"
},
"spec": {
"clusterProfileTemplates": [
{
"cloudType": "string",
"name": "string",
"packs": [
{
"addonType": "string",
"annotations": {},
"displayName": "string",
"layer": "kernel",
"logoUrl": "string",
"name": "string",
"packUid": "string",
"tag": "string",
"type": "string",
"version": "string"
}
],
"type": "string",
"uid": "string",
"version": "string"
}
],
"device": {
"archType": "amd64",
"cpu": {
"cores": 0
},
"disks": [
{
"controller": "string",
"partitions": [
{
"fileSystemType": "string",
"freeSpace": 0,
"mountPoint": "string",
"totalSpace": 0,
"usedSpace": 0
}
],
"size": 0,
"vendor": "string"
}
],
"gpus": [
{
"addresses": {},
"model": "string",
"vendor": "string"
}
],
"memory": {
"sizeInMB": 0
},
"nics": [
{
"dns": [
"string"
],
"gateway": "string",
"ip": "string",
"isDefault": true,
"macAddr": "string",
"nicName": "string",
"subnet": "string"
}
],
"os": {
"family": "string",
"version": "string"
}
},
"host": {
"hostAddress": "string",
"macAddress": "string"
},
"projectMeta": {
"name": "string",
"uid": "string"
},
"type": "string"
},
"status": {
"health": {
"agentVersion": "string",
"message": "string",
"state": "healthy"
},
"inUseClusters": [
{
"name": "string",
"uid": "string"
}
],
"state": "ready"
}
}
]
}