Retrieves specified workspace clusters workload cronjobs
POST/v1/dashboard/workspaces/:uid/spectroclusters/workloads/cronjob
Retrieves specified workspace clusters workload cronjobs
Request
Path Parameters
Header Parameters
Scope the request to the specified project uid
- application/json
Body
filter
object
Workspace workloads filter
Responses
- 200
An array of clusters workload cronjobs
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
clusters
object[]
cronjobs
object[]
metadata
object
Cluster workload metadata
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.
entity
object
Cluster workload ref
labels
object
spec
object
Cluster workload cronjob spec
status
object
Cluster workload cronjob status
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.
metadata
object
Object for which the resource is related
Possible values: [spectrocluster
, machine
, cloudconfig
, clusterprofile
, pack
, appprofile
, appdeployment
, edgehost
]
metadata
object
ObjectMeta input entity for object creation
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
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
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
{
"clusters": [
{
"cronjobs": [
{
"metadata": {
"creationTimestamp": "2024-07-02T18:20:58.040Z",
"entity": {
"kind": "string",
"name": "string",
"uid": "string"
},
"labels": {},
"namespace": "string"
},
"spec": {
"schedule": "string"
},
"status": {
"lastScheduleTime": "2024-07-02T18:20:58.040Z"
}
}
],
"metadata": {
"kind": "spectrocluster",
"name": "string",
"uid": "string"
}
}
],
"metadata": {
"annotations": {},
"labels": {},
"name": "string"
}
}