Returns the specified vSphere DNS mapping
GEThttps://api.spectrocloud.com/v1/users/assets/vsphere/dnsMappings/:uid
Authorization: ApiKey
name: ApiKeytype: apiKeydescription: API key authorization where API key can be generated from Palette console under Profile > My API Keysin: header
Returns the specified vSphere DNS mapping
Request
Path Parameters
uid stringrequired
Specify the vSphere DNS mapping uid
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
metadata object
spec object
{
"metadata": {
"annotations": {},
"creationTimestamp": "2023-12-01T21:31:49.209Z",
"deletionTimestamp": "2023-12-01T21:31:49.209Z",
"labels": {},
"lastModifiedTimestamp": "2023-12-01T21:31:49.209Z",
"name": "string",
"uid": "string"
},
"spec": {
"datacenter": "string",
"dnsName": "string",
"network": "string",
"networkUrl": "string",
"privateGatewayUid": "string"
}
}
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X GET 'https://api.spectrocloud.com/v1/users/assets/vsphere/dnsMappings/:uid' \
-H 'Accept: application/json' \
-H 'ApiKey: <API_KEY_VALUE>'