Updates the specified vSphere DNS mapping
PUThttps://api.spectrocloud.com/v1/users/assets/vsphere/dnsMappings/:uid
Updates the specified vSphere DNS mapping
Request
Path Parameters
uid stringrequired
Specify the vSphere DNS mapping uid
- application/json
Body
metadata
object
spec
object
Responses
- 204
The resource was updated successfully
- curl
- python
- go
- nodejs
- java
- CURL
curl -L -X PUT 'https://api.spectrocloud.com/v1/users/assets/vsphere/dnsMappings/:uid' \
-H 'Content-Type: application/json' \
-H 'ApiKey: <API_KEY_VALUE>' \
--data-raw '{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-07-03T13:23:52.198Z",
"deletionTimestamp": "2024-07-03T13:23:52.198Z",
"labels": {},
"lastModifiedTimestamp": "2024-07-03T13:23:52.198Z",
"name": "string",
"uid": "string"
},
"spec": {
"datacenter": "string",
"dnsName": "string",
"network": "string",
"privateGatewayUid": "string"
}
}'