Get Virtual Center Monitor Info

Get Virtual Center Monitor Info

Gets monitoring information related to Virtual Center.

Request
URI
GET
https://{api_host}//localhost/rest/monitor/v1/virtual-centers/{id}
COPY
Path Parameters
string
id
Required

id


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns VirtualCenterMonitorInfoV2 of type(s) */*
{
    "connection_servers": [
        {
            "certificate": {
                "valid": true,
                "valid_from": 1561939200000,
                "valid_to": 1561939200000
            },
            "id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
            "last_updated_timestamp": 1582029025748,
            "name": "cs1.example.com",
            "status": "OK",
            "thumbprint_accepted": true
        }
    ],
    "datastores": [
        {
            "capacity_mb": 12345,
            "details": {
                "name": "vsandatastore",
                "path": "/datacenter1/vsandatastore",
                "url": "ds:///vmfs/volumes/vsan:52654c2aa8e79416-8ea7a3309e82c7b7/"
            },
            "free_space_mb": 12345,
            "status": "ACCESSIBLE",
            "type": "VSAN"
        }
    ],
    "desktop_pools_and_farms_count": 0,
    "details": {
        "api_version": 6.5,
        "build": "12345678.0.1",
        "version": "6.5.0"
    },
    "hosts": [
        {
            "cpu_core_count": 16,
            "cpu_mhz": 2194,
            "details": {
                "api_version": 6.5,
                "cluster_name": "cluster-1",
                "name": "host1.example.com",
                "version": "6.5.0",
                "vgpu_types": [
                    "string"
                ]
            },
            "memory_size_mb": 12345,
            "status": "CONNECTED"
        }
    ],
    "id": "d0325b13-2bf1-4fa4-b027-e780004f2d1e",
    "name": "vc1.example.com"
}
connection_servers
Optional

Information about the Virtual Center connections from each of the connection servers.

datastores
Optional

Information about the datastores of the Virtual Center.

integer As int32 As int32
desktop_pools_and_farms_count
Optional

Number of Desktop Pools And Farms managed by the virtual center

details
Optional

details

hosts
Optional

Information about the ESX hosts added in the Virtual Center.

string
id
Optional

Unique ID of the Virtual Center.

string
name
Optional

Virtual Center server name or IP address.


401

User is not authenticated

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure