Returns the specified Maas cloud config
GEThttps://api.spectrocloud.com/v1/cloudconfigs/maas/:configUid
Returns the specified Maas cloud config
Request
Path Parameters
Cluster's cloud config uid
Header Parameters
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
metadata
object
spec
object
status
object
{
"apiVersion": "string",
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-10T22:28:47.121Z",
"deletionTimestamp": "2024-07-10T22:28:47.121Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-10T22:28:47.121Z",
"name": "string",
"uid": "string"
},
"spec": {
"cloudAccountRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"clusterConfig": {
"domain": "string",
"sshKeys": [
"string"
]
},
"machinePoolConfig": [
{
"additionalLabels": {},
"additionalTags": {},
"azs": [
"string"
],
"instanceType": {
"minCPU": 0,
"minMemInMB": 0
},
"isControlPlane": true,
"labels": [
"string"
],
"machinePoolProperties": {
"archType": "amd64"
},
"maxSize": 0,
"minSize": 0,
"name": "string",
"nodeRepaveInterval": 0,
"resourcePool": "string",
"size": 0,
"tags": [
"string"
],
"taints": [
{
"effect": "NoSchedule",
"key": "string",
"timeAdded": "2024-07-10T22:28:47.122Z",
"value": "string"
}
],
"updateStrategy": {
"type": "RollingUpdateScaleOut"
},
"useControlPlaneAsWorker": true
}
]
},
"status": {
"ansibleRoleDigest": "string",
"conditions": [
{
"lastProbeTime": "2024-07-10T22:28:47.122Z",
"lastTransitionTime": "2024-07-10T22:28:47.122Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"isAddonLayer": true,
"nodeImage": {
"name": "string",
"state": "string"
},
"roleDigest": {},
"sourceImageId": "string",
"useCapiImage": true
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/cloudconfigs/maas/:configUid' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'