Get Entity Types

get

/serviceapi/entityModel/uds/entityTypes

Retrieves a list of entity types.

Request

Supported Media Types
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : ItemListUdsEntityType
Type: object
Show Source
Nested Schema : items
Type: array
The items
Show Source
Nested Schema : UdsEntityType
Type: object

Describes an entity type.

Show Source
Nested Schema : metrics
Type: array
The metrics for this entity type
Show Source
Nested Schema : properties
Type: array
The Properties for this entity type
Show Source
Nested Schema : UdsMetricType
Type: object

Describes a metric type.

Show Source
Nested Schema : dimensions
Type: array
The dimensions of this metric
Show Source
Nested Schema : UdsPropertyType
Type: object

Describes a property type.

Show Source
Back to Top

Examples

Get all Entity Types which start with My:

curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://serverurl/serviceapi/entityModel/uds/entityTypes?entityType=My*"

Result:

{
  "count": 1,
  "items": [
    {
      "entityType": "MyHostType",
      "typeDisplayName": "My Host Type",
      "metrics": [
        {
          "metric": "cpuIdle",
          "type": "NUM",
          "dimensions": [
            "cpuId"
          ]
        },
        {
          "metric": "cpuSystem",
          "type": "NUM",
          "dimensions": [
            "cpuId"
          ]
        },
        {
          "metric": "cpuUser",
          "type": "NUM",
          "dimensions": [
            "cpuId"
          ]
        }
      ]
    }
  ]
}
Back to Top