Returns the specified vSphere cloud config
GEThttps://api.spectrocloud.com/v1/cloudconfigs/vsphere/:configUid
Returns the specified vSphere cloud config
Request
Path Parameters
configUid stringrequired
Cluster's cloud config uid
Header Parameters
ProjectUid string
Scope the request to the specified project uid
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
kindstring
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
{
"kind": "string",
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-02T20:23:33.514Z",
"deletionTimestamp": "2024-07-02T20:23:33.514Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-02T20:23:33.514Z",
"name": "string",
"uid": "string"
},
"spec": {
"cloudAccountRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"clusterConfig": {
"controlPlaneEndpoint": {
"ddnsSearchDomain": "string",
"host": "string",
"type": "VIP"
},
"ntpServers": [
"string"
],
"placement": {
"cluster": "string",
"datacenter": "string",
"datastore": "string",
"folder": "string",
"imageTemplateFolder": "string",
"network": {
"ipPool": {
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"pools": [
{
"end": "string",
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"prefix": 0,
"start": "string",
"subnet": "string"
}
],
"prefix": 0,
"uid": "string"
},
"networkName": "string",
"parentPoolRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"staticIp": true
},
"resourcePool": "string",
"storagePolicyName": "string",
"uid": "string"
},
"sshKeys": [
"string"
],
"staticIp": true
},
"edgeHostRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"machinePoolConfig": [
{
"additionalLabels": {},
"additionalTags": {},
"instanceType": {
"diskGiB": 0,
"memoryMiB": 0,
"numCPUs": 0
},
"isControlPlane": true,
"labels": [
"string"
],
"machinePoolProperties": {
"archType": "amd64"
},
"maxSize": 0,
"minSize": 0,
"name": "string",
"nodeRepaveInterval": 0,
"placements": [
{
"cluster": "string",
"datacenter": "string",
"datastore": "string",
"folder": "string",
"imageTemplateFolder": "string",
"network": {
"ipPool": {
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"pools": [
{
"end": "string",
"gateway": "string",
"nameserver": {
"addresses": [
"string"
],
"search": [
"string"
]
},
"prefix": 0,
"start": "string",
"subnet": "string"
}
],
"prefix": 0,
"uid": "string"
},
"networkName": "string",
"parentPoolRef": {
"kind": "string",
"name": "string",
"uid": "string"
},
"staticIp": true
},
"resourcePool": "string",
"storagePolicyName": "string",
"uid": "string"
}
],
"size": 0,
"taints": [
{
"effect": "NoSchedule",
"key": "string",
"timeAdded": "2024-07-02T20:23:33.514Z",
"value": "string"
}
],
"updateStrategy": {
"type": "RollingUpdateScaleOut"
},
"useControlPlaneAsWorker": true
}
]
},
"status": {
"ansibleDigest": "string",
"conditions": [
{
"lastProbeTime": "2024-07-02T20:23:33.514Z",
"lastTransitionTime": "2024-07-02T20:23:33.514Z",
"message": "string",
"reason": "string",
"status": "string",
"type": "string"
}
],
"isAddonLayer": true,
"lastOVACreated": "string",
"lastVMExported": "string",
"nodeImage": {
"fullPath": "string",
"state": "string"
},
"roleDigest": {},
"sourceImageId": "string",
"uploadOvaS3": "string",
"useCapiImage": true
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/cloudconfigs/vsphere/:configUid' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'