Entity object
The Entity object describes an individual entity. You can create a standalone entity or
stitch an entity into a larger supply chain topology by using relationships such as
hostedOn
or
partOf
. An
entity can include specific metrics.
An entity that you create can have one of two functions in your Turbonomic supply chain:
-
Topology Entity
The entity that you create exists in the topology, and displays as a member of the supply chain. For example, assume that you want to create a business application and then create services that are members of that business application. You create these entities as Topology Entities.
-
Proxy Entity
The entity that you create serves as a placeholder in the topology data you are creating. You can assign metrics to this entity or add relationships to make it part of some other entity. You also specify the
matchIdentifiers
relationship to map this entity to an entity that exists in the environment. The match identifier is the IP address of the corresponding entity.When Turbonomic loads the topology, it moves your metric and relationship data from the topology file into the matched entity. The proxy entity does not appear in the Turbonomic supply chain, but the metric and relationship declarations appear in the user interface for the matched entity.
The Entity object includes the following properties:
Name | Type | Description |
---|---|---|
type |
Required, string |
The following values are valid:
|
uniqueId |
Required, string | This property identifies the custom entity among all other instances of that entity in your topology. Because the ID must be globally unique, use naming conventions that express a namespace for the topology segment that you are creating. |
name |
Required, string | This property specifies a meaningful display name for the entity. This display name is not required to be unique. |
matchIdentifiers |
Optional, object |
This object contains the IP address of the entity that you want to match, as follows:
If you specify matchIdentifiers , then this entity is a Proxy entity. You specify
the IP address of the entity that you want to modify. Then Turbonomic applies the metrics or the
partOf specification from this proxy entity to
the matching entity.
|
hostedOn |
Optional, object |
This object specifies the entity that is a host or provider for another entity. This object
contains the following properties:
|
partOf |
Required, array of objects |
This property specifies an array of entities that contains this entity. For example, one business
application can contain multiple service and transaction entities.
The business application would be the container
or parent entity. Your entity can be contained by
more than one parent.
The objects that are members of this array identify the entity type and the UUID of the parent,
as follows:
The entity type can be one of:
|
metrics |
Optional, array of metricsEntry objects |
This property specifies a list of Metric Entry objects that define metrics and values for this entity. See Metrics Entry Object. |