Examples of the output in JSON format
Following are some examples of the output in JSON format:
Output for metadata:
[
{
"name":"id"
"perspective":"SERVER"
"editable":false
},
{
"name":"name"
"perspective":"SERVER"
"editable":false
},
{
"name":"user defined ea"
"perspective":"SERVER"
"editable":true
},
.
.
.
{
"name":"associated_urls",
"urls":[
{"name":"volumes",
"template":[
"https://veritasdomain.example.com/vom/api/query
/server/host/{host-id}/volume"
],
}
{"name":"disks",
"template":[
"https://veritasdomain.example.com/vom/api/query
/server/host/{host-id}/disk"
],
}
.
.
]
]
Output for query:
[
{
"user defined ea":"1st floor",
"encoded_id":"{00120050-56a6-15f3-0000-0000f684d3ab}",
"id":"{00120050-56a6-15f3-0000-0000f684d3ab}",
"associated_urls":{
"diskgroups":"https://veritasdomain.example.com/vom/api/query/server
/host/{00120050-56a6-15f3-0000-0000f684d3ab}/diskgroup",
"hbas":"https://veritasdomain.example.com/vom/api/query/server/host/
{00120050-56a6-15f3-0000-0000f684d3ab}/hba",
"volumes":"https://veritasdomain.example.com/vom/api/query/server/host/
{00120050-56a6-15f3-0000-0000f684d3ab}/volume",
"disks":"https://veritasdomain.example.com/vom/api/query/server/host/
{00120050-56a6-15f3-0000-0000f684d3ab}/disk"
},
"name":"10.255.255.255",
"url":"https://veritasdomain.example.com/vom/api/query/server/host/
{00120050-56a6-15f3-0000-0000f684d3ab}",
.
.
}
]
More Information
Related information