How Can We Help?
This section describes the Topology APIs for Host and Component instances as well as Cluster addition.
Cluster
Clusters for Host and Component instances are created by the ‘clusters’ API.
API Name – clusters
Format – POST /api/accounts/<account_identifier>/clusters
JSON Format
Input Required
Name | Description | Default Value | Predefined Values | Mandatory | More Info |
name | Name for the Cluster | – | – | Yes | |
identifier | Unique identifier for the cluster | – | – | Yes | |
agentIdentifier | List of Agent identifiers | – | – | Yes | [agentIdentifier_1 agentIdentifier_2] |
mstComponentVersion | Actual Component/Host Version | – | – | Yes | |
mstComponentName | Component Name | – | – | Yes | |
mstComponentType | Type of the Component | – | “Host”, “Web Server”, “Application Server”, “Database Server”, “Services”, “Workload” | Yes | |
discovery | Is the cluster discovered or manual | – | 0, 1 | Yes | 0 – Manual, 1-Discovered |
groupKpiDiscovery | List of Discoverable Group KPIs to be added in Specific | – | – | Yes | Providing null will add all the Group KPIs to the Cluster |
groupKpi | List of Manual Group KPIs to be added in Specific | – | – | Yes | Providing null will not add any manual group KPIs |
kpi | List of KPIs to be added in Specific | – | – | Yes | Providing null will add all the KPIs to the Cluster |
tags | |||||
identifier | Name of the Service | – | – | Yes | |
name | Controller | – | Controller | Yes | |
subTypeName | Type of the Tag | – | Services | Yes | |
layer | Layer of the service | – | – | No | |
identifier | Identifier of the application | – | – | Yes | |
subTypeName | Type of the Tag | – | Application | Yes | |
name | Controller | – | Controller | Yes |
Sample JSON
Success Rest Response
Failure Rest Response
Host Instance
Host instances where the component instance is deployed can be created by hosts API.
API Name – hosts
Format – POST /api/accounts/<account_identifier>/hosts
JSON Format
Inputs Required
Name | Description | Default Value | Predefined Values | Mandatory | More Info |
identifier | Identifier for the Component Instance | – | – | Yes | |
name | Name for the Component Instance | – | – | Yes | |
clusterName | Cluster Name | – | – | Yes | |
mstComponentName | Component Name | – | – | Yes | |
mstComponentVersion | Actual Component Version | – | – | Yes | |
mstComponentType | Type of the Component | – | “Host”, “Web Server”, “Application Server”, “Database Server”, “Services”, “Workload” | Yes | |
groupKpi | null | – | – | Yes | Providing null will not add any manual group KPIs |
groupKpiDiscovery | null | – | – | Yes | Providing null will add all the Group KPIs to the Instance |
kpi | null | – | – | Yes | Providing null will not add any manual group KPIs |
agentIdentifiers | Agents to which the instance must be mapped. | – | – | Yes | [agentIdentifier_1 agentIdentifier_2] |
discovery | 1 | – | 0, 1 | Yes | 0 – Manual, 1-Discovered |
attributes (Multiple values if defined in Component) | |||||
name | Name of the Property as in the Component | – | – | Yes | Refer Component to get to know the attributes required. |
value | Value for the Property | – | – | Yes | |
tags | |||||
identifier | Name of the Service | – | – | Yes | |
subTypeName | Controller | – | Controller | Yes | |
name | Type of the Tag | – | Services | Yes | |
layer | Layer of the service | – | – | No | |
identifier | Identifier of the application | – | – | Yes | |
subTypeName | Type of the Tag | – | Application | Yes | |
name | Controller | – | Controller | Yes |
Sample JSON
Success Rest Response
Component Instance
Component instances where the component instance is deployed can be created by ‘instances-old’ API.
API Name – instances-old
Format – POST /api/accounts/<account_identifier>/instances-old
JSON Format
Inputs Required
Name | Description | Default Value | Predefined Values | Mandatory | More Info |
identifier | Identifier for the Component Instance | – | – | Yes | |
name | Name for the Component Instance | – | – | Yes | |
clusterName | Cluster Name | – | – | Yes | |
mstComponentName | Component Name | – | – | Yes | |
mstComponentVersion | Actual Component Version | – | – | Yes | |
mstComponentType | Type of the Component | – | “Host”, “Web Server”, “Application Server”, “Database Server”, “Services”, “Workload” | Yes | |
groupKpi | null | – | – | Yes | Providing null will not add any manual group KPIs |
groupKpiDiscovery | null | – | – | Yes | Providing null will add all the Group KPIs to the Instance |
kpi | null | – | – | Yes | Providing null will not add any manual group KPIs |
agentIdentifiers | Agents to which the instance must be mapped. | – | – | Yes | [agentIdentifier_1 agentIdentifier_2] |
discovery | 1 | – | 0, 1 | Yes | 0 – Manual, 1-Discovered |
attributes (Multiple values if defined in Component) | |||||
name | Name of the Property as in the Component | – | – | Yes | Refer Component to get to know the attributes required. |
value | Value for the Property | – | – | Yes | |
tags | |||||
identifier | Name of the Service | – | – | Yes | |
subTypeName | Controller | – | Controller | Yes | |
name | Type of the Tag | – | Services | Yes | |
layer | Layer of the service | – | – | No | |
identifier | Identifier of the application | – | – | Yes | |
subTypeName | Type of the Tag | – | Application | Yes | |
name | Controller | – | Controller | Yes |
Sample JSON
Success Rest Response
Failure Rest Response