Returns the specified vSphere DNS mappings
GET/v1/users/assets/vsphere/dnsMappings
Returns the specified vSphere DNS mappings
Request
Query Parameters
Filters can be combined with AND, OR operators with field path name. Eg: metadata.name=TestServiceANDspec.cloudType=aws
Server will be restricted to certain fields based on the indexed data for each resource.
Specify the fields with sort order. 1 indicates ascending and -1 for descending. Eg: orderBy=metadata.name=1,metadata.uid=-1
Responses
- 200
(empty)
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
items
object[]
required
List of vSphere DNS mapping
metadata
object
ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.
annotations
object
Annotations are system generated key value metadata for the resource. As an input certain annotations like description can be set.
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.
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.
labels
object
Labels are key value data to organize and categorize resources. Providing spectro__tag as value for a label is considered as a kubernetes compliant tag
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.
Name of the resource.
UID is the unique identifier generated for the resource. This is not an input field for any request.
spec
object
VSphere DNS Mapping Spec
VSphere datacenter name
VSphere DNS name
VSphere network name
VSphere network URL
VSphere private gateway uid
{
"items": [
{
"metadata": {
"annotations": {},
"creationTimestamp": "2024-04-16T17:49:02.944Z",
"deletionTimestamp": "2024-04-16T17:49:02.944Z",
"labels": {},
"lastModifiedTimestamp": "2024-04-16T17:49:02.944Z",
"name": "string",
"uid": "string"
},
"spec": {
"datacenter": "string",
"dnsName": "string",
"network": "string",
"networkUrl": "string",
"privateGatewayUid": "string"
}
}
]
}