Get Vcenter Validation By Name

Get Vcenter Validation By Name

Get the validation details for a vcenter.

Request
URI
GET
https://{api_host}/vcenters/{name}/validation
COPY
Path Parameters
string
name
Required

The name of the vcenter


Authentication
This operation uses the following authentication methods.
Responses
200

vcenter_validation

Returns vcenter_validation of type(s) application/json
{
    "certificate": {
        "hostname": "string",
        "pem": "string"
    },
    "clusters": [
        {
            "datacenter": {
                "moref": "string",
                "name": "string"
            },
            "moref": "string",
            "name": "string"
        }
    ],
    "datacenters": [
        {
            "moref": "string",
            "name": "string"
        }
    ],
    "datastores": [
        {
            "datacenter": {
                "moref": "string",
                "name": "string"
            },
            "moref": "string",
            "name": "string",
            "stats": {
                "capacityGB": 0,
                "freeGB": 0,
                "glanceName": "string",
                "isLocal": false,
                "isSSD": false
            }
        }
    ],
    "networks": [
        {
            "moref": "string",
            "name": "string"
        }
    ],
    "resourcepools": [
        {
            "datacenter": {
                "moref": "string",
                "name": "string"
            },
            "moref": "string",
            "name": "string"
        }
    ],
    "si": {
        "moref": "string",
        "name": "string",
        "stats": {
            "buildNumber": "string",
            "uuid": "string",
            "version": "string"
        }
    },
    "switches": [
        {
            "moref": "string",
            "name": "string"
        }
    ]
}
object
certificate
Optional

A VcenterCertificate of vcenter server

array of object
clusters
Required

The clusters of vcenter.

array of object
datacenters
Required

The data centers of vcenter.

array of object
datastores
Required

The data stores of vcenter.

array of object
networks
Required

The networks of vcenter.

array of object
resourcepools
Required

The resource pools of vcenter.

object
si
Optional

A ServiceInstance represents vcenter service instance object

array of object
switches
Required

The switches of vcenter.


401
Operation doesn't return any data structure

404
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/vcenters/{name}/validation