Get an Entity Type

get

/serviceapi/entityModel/uds/entityTypes/{entityType}

Retrieves the entity type definitions.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root 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 the MyHostType type definition:

curl -u ${OMC_USERNAME}:${PASSWORD} -X GET "https://serverurl/serviceapi/entityModel/uds/entityTypes/MyHostType"

Result:

{
  "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