LabelValueConfiguration
Represents a Label-Value widget configuration
Properties
Timestamp of resource creation
ID of the user who created this resource
Timestamp of last modification
ID of the user who last modified this resource
The server will populate this field when returing the resource. Ignored on PUT and POST.
Protection status is one of the following: PROTECTED - the client who retrieved the entity is not allowed to modify it. NOT_PROTECTED - the client who retrieved the entity is allowed to modify it REQUIRE_OVERRIDE - the client who retrieved the entity is a super user and can modify it, but only when providing the request header X-Allow-Overwrite=true. UNKNOWN - the _protection field could not be determined for this entity.
The _revision property describes the current revision of the resource. To prevent clients from overwriting each other’s changes, PUT operations must include the current _revision of the resource, which clients should obtain by issuing a GET operation. If the _revision provided in a PUT request is missing or stale, the operation will be rejected.
Schema for this resource
Indicates system owned resource
The ‘datasources’ represent the sources from which data will be fetched. Currently, only NSX-API is supported as a ‘default’ datasource. An example of specifying ‘default’ datasource along with the urls to fetch data from is given at ‘example_request’ section of ‘CreateWidgetConfiguration’ API.
Description of this resource
Defaults to ID if not set
Id of drilldown widget, if any. Id should be a valid id of an existing widget. A widget is considered as drilldown widget when it is associated with any other widget and provides more detailed information about any data item from the parent widget.
Footer of a widget that provides additional information or allows an action such as clickable url for navigation. An example usage of footer is provided under ‘example_request’ section of ‘CreateWidgetConfiguration’ API.
Unique identifier of this resource
Set to true if this widget should be used as a drilldown.
Layout of properties can be vertical or grid. If layout is not specified a default vertical layout is applied.
Hyperlink of the specified UI page that provides details.
The type of this resource.
Please use the property ‘shared’ of View instead of this. The widgets of a shared view are visible to other users.
A sub-type of LabelValueConfiguration. If sub-type is not specified the parent type is rendered. For VERTICALLY_ALIGNED sub_type, the value is placed below the label.
Possible values are: VERTICALLY_ALIGNED
Specify relavite weight in WidgetItem for placement in a view. Please see WidgetItem for details.
JSON Example
{
"_create_time": 0,
"_create_user": "string",
"_last_modified_time": 0,
"_last_modified_user": "string",
"_links": [
{
"action": "string",
"href": "string",
"rel": "string"
}
],
"_protection": "string",
"_revision": 0,
"_schema": "string",
"_self": {
"action": "string",
"href": "string",
"rel": "string"
},
"_system_owned": false,
"datasources": [
{
"display_name": "string",
"urls": [
{
"alias": "string",
"query": "string",
"url": "string"
}
]
}
],
"description": "string",
"display_name": "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"
}
],
"id": "string",
"is_drilldown": false,
"layout": {
"properties": {
"num_columns": 0,
"num_rows": 0
},
"type": "string"
},
"legend": {
"alignment": "string",
"display_count": false,
"position": "string",
"type": "string"
},
"navigation": "string",
"properties": [
{
"condition": "string",
"field": "string",
"heading": false,
"label": {
"condition": "string",
"hover": false,
"icons": [
{
"placement": "string",
"tooltip": [
{
"condition": "string",
"heading": false,
"text": "string"
}
],
"type": "string"
}
],
"navigation": "string",
"text": "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"
}
]
}
],
"separator": false,
"type": "string"
}
],
"resource_type": "string",
"shared": false,
"sub_type": "string",
"tags": [
{
"scope": "string",
"tag": "string"
}
],
"weight": 0
}