Retrieves a list of cluster metadata with provided search filter spec Supported sort fields - ['environment', 'clusterName', 'clusterState', 'creationTimestamp', 'lastModifiedTimestamp']
POST/v1/dashboard/spectroclusters/metadata/search
Retrieves a list of cluster metadata with provided search filter spec Supported sort fields - ["environment", "clusterName", "clusterState", "creationTimestamp", "lastModifiedTimestamp"]
Request
Header Parameters
Scope the request to the specified project uid
- application/json
Body
Array [
Array [
]
]
Array [
]
filter
Possible values: [and
, or
]
filterGroups
undefined[]
Possible values: [and
, or
]
filters
undefined[]
condition
bool
date
match
Possible values: [and
, or
]
Possible values: [eq
, gt
, gte
, lt
, lte
, range
]
float
match
Possible values: [and
, or
]
Possible values: [eq
, gt
, gte
, lt
, lte
]
int
match
Possible values: [and
, or
]
Possible values: [eq
, gt
, gte
, lt
, lte
]
keyValue
match
Possible values: [and
, or
]
Possible values: [eq
, contains
, beginsWith
]
string
match
Possible values: [and
, or
]
Possible values: [eq
, contains
, beginsWith
]
Possible values: [string
, int
, float
, bool
, date
, keyValue
]
sort
undefined[]
Possible values: [environment
, clusterName
, clusterState
, healthState
, creationTimestamp
, lastModifiedTimestamp
]
Possible values: [asc
, desc
]
Default value: asc
Responses
- 200
An array of cluster summary meta items
- application/json
- Schema
- Example (from schema)
Schema
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 are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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 of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
specSummary
object
Spectro cluster meta summary
Possible values: [arm64
, amd64
]
Architecture type of the cluster
location
object
Cluster location information
projectMeta
object
status
Spectro cluster meta status summary
cost
object
Cluster meta Cost information
fips
Possible values: [full
, none
, partial
, unknown
]
Default value: none
health
object
Cluster meta health information
updates
object
Cluster meta updates information
listmeta
object
ListMeta describes metadata for the resource listing
Next token for the pagination. Next token is equal to empty string indicates end of result set.
Total count of the resources which might change during pagination based on the resources addition or deletion
Number of records feteched
The next offset for the pagination. Starting index for which next request will be placed.
{
"items": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:00.848Z",
"deletionTimestamp": "2024-04-16T17:49:00.848Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:00.848Z",
"name": "string",
"uid": "string"
},
"specSummary": {
"archType": [
"amd64"
],
"cloudAccountUid": "string",
"cloudRegion": "string",
"cloudType": "string",
"clusterType": "string",
"importMode": "string",
"location": {
"coordinates": [
0
],
"countryCode": "string",
"countryName": "string",
"regionCode": "string",
"regionName": "string"
},
"projectMeta": {
"name": "string",
"uid": "string"
},
"tags": [
"string"
]
},
"status": {
"cost": {
"total": 0
},
"fips": {
"mode": "none"
},
"health": {
"isHeartBeatFailed": true,
"state": "string"
},
"state": "string",
"updates": {
"isUpdatesPending": true
}
}
}
],
"listmeta": {
"continue": "string",
"count": 0,
"limit": 0,
"offset": 0
}
}