StatsConfiguration

StatsConfiguration
StatsConfiguration

Represents configuration of a statistic for an entity. Example, number of logical switches and their admin states.

AllOf
This class requires all of the following:
JSON Example
{
    "_links": [
        {
            "action": "string",
            "href": "string",
            "rel": "string"
        }
    ],
    "_schema": "string",
    "_self": {
        "action": "string",
        "href": "string",
        "rel": "string"
    },
    "_revision": 0,
    "_create_time": 0,
    "_create_user": "string",
    "_last_modified_time": 0,
    "_last_modified_user": "string",
    "_protection": "string",
    "_system_owned": false,
    "description": "string",
    "display_name": "string",
    "id": "string",
    "resource_type": "string",
    "tags": [
        {
            "scope": "string",
            "tag": "string"
        }
    ],
    "datasources": [
        {
            "display_name": "string",
            "urls": [
                {
                    "alias": "string",
                    "query": "string",
                    "url": "string"
                }
            ]
        }
    ],
    "drilldown_id": "string",
    "footer": {
        "actions": [
            {
                "dock_to_container_footer": false,
                "label": {
                    "condition": "string",
                    "hover": false,
                    "icons": [
                        {
                            "placement": "string",
                            "tooltip": [
                                {
                                    "condition": "string",
                                    "heading": false,
                                    "text": "string"
                                }
                            ],
                            "type": "string"
                        }
                    ],
                    "navigation": "string",
                    "text": "string"
                },
                "url": "string"
            }
        ],
        "condition": "string"
    },
    "icons": [
        {
            "placement": "string",
            "tooltip": [
                {
                    "condition": "string",
                    "heading": false,
                    "text": "string"
                }
            ],
            "type": "string"
        }
    ],
    "is_drilldown": false,
    "legend": {
        "alignment": "string",
        "display_count": false,
        "position": "string",
        "type": "string"
    },
    "shared": false,
    "weight": 0,
    "label": {
        "condition": "string",
        "hover": false,
        "icons": [
            {
                "placement": "string",
                "tooltip": [
                    {
                        "condition": "string",
                        "heading": false,
                        "text": "string"
                    }
                ],
                "type": "string"
            }
        ],
        "navigation": "string",
        "text": "string"
    },
    "navigation": "string",
    "sections": [
        {
            "parts": [
                {
                    "drilldown_id": "string",
                    "field": "string",
                    "label": {
                        "condition": "string",
                        "hover": false,
                        "icons": [
                            {
                                "placement": "string",
                                "tooltip": [
                                    {
                                        "condition": "string",
                                        "heading": false,
                                        "text": "string"
                                    }
                                ],
                                "type": "string"
                            }
                        ],
                        "navigation": "string",
                        "text": "string"
                    },
                    "navigation": "string",
                    "render_configuration": [
                        {
                            "color": "string",
                            "condition": "string",
                            "display_value": "string",
                            "icons": [
                                {
                                    "placement": "string",
                                    "tooltip": [
                                        {
                                            "condition": "string",
                                            "heading": false,
                                            "text": "string"
                                        }
                                    ],
                                    "type": "string"
                                }
                            ],
                            "tooltip": [
                                {
                                    "condition": "string",
                                    "heading": false,
                                    "text": "string"
                                }
                            ]
                        }
                    ],
                    "tooltip": [
                        {
                            "condition": "string",
                            "heading": false,
                            "text": "string"
                        }
                    ]
                }
            ],
            "row_list_field": "string",
            "template": false
        }
    ],
    "stat": {
        "drilldown_id": "string",
        "tooltip": [
            {
                "condition": "string",
                "heading": false,
                "text": "string"
            }
        ],
        "total": "string",
        "value": "string"
    },
    "sub_type": "string"
}