Get Statistic

Get Statistic

Get region statistic VMs data.

Request
URI
GET
https://{api_host}/api/vcdr/v1/statistics
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

OK. The request succeeded.

Returns StatisticsDetail of type(s) application/json
{
    "region_name": "string",
    "statistics_report": {
        "protection_health_level": "string",
        "recoverability_health_level": "string",
        "protected_vms_count": 0,
        "recovery_ready_vms_count": 0,
        "ransomware_ready_vms_count": 0,
        "cloud_file_system_reports": [
            {
                "id": "string",
                "health_level": "string",
                "protected_site_reports": [
                    {
                        "id": "string",
                        "health_level": "string",
                        "protected_vms_count": 0,
                        "recovery_ready_vms_count": 0,
                        "vcenter_reports": [
                            {
                                "id": "string",
                                "vcenter_name": "string",
                                "protection_health_level": "string",
                                "recoverability_health_level": "string",
                                "protected_vms_count": 0,
                                "recovery_ready_vms_count": 0,
                                "protection_group_reports": [
                                    {
                                        "id": "string",
                                        "health_level": "string",
                                        "protected_vms_count": 0
                                    }
                                ],
                                "recovery_plan_reports": [
                                    {
                                        "id": "string",
                                        "health_level": "string",
                                        "recovery_ready_vms_count": 0
                                    }
                                ]
                            }
                        ]
                    }
                ]
            }
        ],
        "recovery_sddc_reports": [
            {
                "id": "string",
                "health_level": "string"
            }
        ]
    }
}
string
region_name
Optional

The name of the AWS region.

object
statistics_report
Optional

The specification describing the region health and statistics of protected VMs counts


400

Bad request. The server could not understand the request.

Operation doesn't return any data structure

401

Unauthorized. The client has not authenticated.

Operation doesn't return any data structure

403

Forbidden. The client is not authorized.

Operation doesn't return any data structure

404

Not found. The server cannot find the specified resource.

Operation doesn't return any data structure

500

VMware Live Cyber Recovery-specific error.
An error unique to VMware Live Cyber Recovery was encountered while attempting to satisfy the request. See the returned object for details on the error.

Returns Error of type(s) application/json
"Error Object"
array of object
messages
Optional

A stack or error messages. The first element (top of the stack) is the broadest description of the failure.


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/vcdr/v1/statistics