bmc.truesightpresentationserver
Module bmc.truesightpresentationserver
API
![](https://bcentral-packageicons.azureedge.net/images/ballerinax_bmc.truesightpresentationserver_1.2.0.png)
ballerinax/bmc.truesightpresentationserver Ballerina library
Overview
This is a generated connector for BMC Hardware Sentry TrueSight Presentation Server API v1.0 OpenAPI specification.
The BMC Hardware Sentry TrueSight Presentation Server API provides the capability to access data from various TrueSight products to provide a consolidated set of views for monitoring the infrastructure, real and synthetic applications, and capacity planning.
Prerequisites
Before using this connector in your Ballerina application, complete the following:
- Create a user account.
- Obtaining tokens
- Obtain your token by following this link.
Clients![](/images/permalink.svg)
bmc.truesightpresentationserver: Client![](/images/permalink.svg)
This is a generated connector for BMC Hardware Sentry TrueSight Presentation Server REST API v1.0 OpenAPI specification.
The BMC Hardware Sentry TrueSight Presentation Server API provides the capability to access data from various TrueSight products to provide a consolidated set of views for monitoring the infrastructure, real and synthetic applications, and capacity planning.
Constructor![](/images/permalink.svg)
Gets invoked to initialize the connector
.
The connector initialization requires setting the API credentials.
Create a user account in BMC Hardware Sentry TrueSight Presentation Server and obtain tokens following this guide.
init (ApiKeysConfig apiKeyConfig, string serviceUrl, ClientConfiguration clientConfig)
- apiKeyConfig ApiKeysConfig - API keys for authorization
- serviceUrl string - URL of the target service
- clientConfig ClientConfiguration {} - The configurations to be used when initializing the
connector
collectNow![](/images/permalink.svg)
function collectNow(int deviceId, string monitorClass) returns ActionResponse|error
Triggers a new collect on a specific device.
Parameters
- deviceId int - The ID of the device.
- monitorClass string - The Monitor Class of the device.
Return Type
- ActionResponse|error - Successful operation
rediscover![](/images/permalink.svg)
function rediscover(int deviceId) returns ActionResponse|error
Triggers a new discovery on a specific device.
Parameters
- deviceId int - The ID of the device.
Return Type
- ActionResponse|error - Successful operation
reinitialize![](/images/permalink.svg)
function reinitialize(int deviceId, ReinitializeActionConfiguration payload) returns ActionResponse|error
Sends a 'Reinitialize KM' command.
Parameters
- deviceId int - The ID of the device.
- payload ReinitializeActionConfiguration - The request body as a JSON payload.
Return Type
- ActionResponse|error - Successful operation
remove![](/images/permalink.svg)
function remove(int deviceId, string monitorClass, string monitorSid) returns ActionResponse|error
Removes a specific instance from the monitoring environment.
Parameters
- deviceId int - The ID of the device.
- monitorClass string - The Monitor Class of the device.
- monitorSid string - The Monitor SID of the device.
Return Type
- ActionResponse|error - Successful operation
reset![](/images/permalink.svg)
function reset(int deviceId, string monitorClass, string monitorSid) returns ActionResponse|error
Resets the Error Count parameter.
Parameters
- deviceId int - The ID of the device.
- monitorClass string - The Monitor Class of the device.
- monitorSid string - The Monitor SID of the device.
Return Type
- ActionResponse|error - Successful operation
getApplications![](/images/permalink.svg)
function getApplications(string page, int 'limit, string direction, string sort) returns ResultPage|error
Gets summarized information about all monitored applications.
Parameters
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
- direction string (default "asc") - The sorting order (case insensitive).
- sort string (default "name") - The column to sort by (case insensitive).
Return Type
- ResultPage|error - Successful operation
getOneApplication![](/images/permalink.svg)
function getOneApplication(string applicationId) returns ApplicationSummary|error
Gets detailed information for a specific application.
Parameters
- applicationId string - The ID of the application.
Return Type
- ApplicationSummary|error - Successful operation
getDeviceMonitors![](/images/permalink.svg)
Gets the Monitors for a specific device.
Parameters
- deviceId int - The ID of the device.
getDevices![](/images/permalink.svg)
function getDevices(string page, int 'limit, string direction, string sort, string? groupId, string? applicationId, string? serviceId) returns ResultPage|error
Gets summarized information about all monitored devices.
Parameters
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
- direction string (default "asc") - The sorting order (case insensitive).
- sort string (default "name") - The column to sort by (case insensitive).
- groupId string? (default ()) - The ID of the group.
- applicationId string? (default ()) - The ID of the application.
- serviceId string? (default ()) - The ID of the service.
Return Type
- ResultPage|error - Successful operation
getDevicesSummary![](/images/permalink.svg)
function getDevicesSummary() returns GlobalSummary|error
Gets overall information for all devices.
Return Type
- GlobalSummary|error - Successful operation
getDevice![](/images/permalink.svg)
function getDevice(int deviceId) returns DeviceSummary|error
Gets detailed information about a specific device.
Parameters
- deviceId int - The ID of the device.
Return Type
- DeviceSummary|error - Successful operation
getDeviceAgent![](/images/permalink.svg)
function getDeviceAgent(int deviceId) returns DeviceAgent|error
Gets detailed information about an Agent.
Parameters
- deviceId int - The ID of the device.
Return Type
- DeviceAgent|error - Successful operation
getAgentDevices![](/images/permalink.svg)
function getAgentDevices(int deviceId) returns ResultPage|error
Gets a list of all the devices monitored by an Agent.
Parameters
- deviceId int - The ID of the device.
Return Type
- ResultPage|error - Successful operation
getDeviceParameterHistory![](/images/permalink.svg)
function getDeviceParameterHistory(int deviceId, string parameterName, string monitorType, int? 'from, int? to, string? monitorSid) returns ResultPage|error
Gets data history for a parameter of a specific device over a given period.
Parameters
- deviceId int - The ID of the device.
- parameterName string - The name of the parameter.
- monitorType string - The unique name of the Monitor type.
- 'from int? (default ()) - Beginning of the period (Epoch time, in seconds).
- to int? (default ()) - End of the period (Epoch time, in seconds).
- monitorSid string? (default ()) - The Monitor SID (to filter the list of Monitors).
Return Type
- ResultPage|error - Successful operation
getDeviceEnergyUsage![](/images/permalink.svg)
function getDeviceEnergyUsage(int deviceId, string rollPeriod, string basis) returns ResultPage|error
Gets the energy usage for a specific device and a given period.
Parameters
- deviceId int - The ID of the device.
- rollPeriod string (default "ONE_DAY") - The period for which you wish to retrieve energy usage data.
- basis string (default "HOURLY") - Subdivision of the period for which you wish to retrieve energy usage data.
Return Type
- ResultPage|error - Successful operation
getGroups![](/images/permalink.svg)
Gets all group summaries.
Parameters
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
- direction string (default "asc") - The sorting order (case insensitive).
- sort string (default "name") - The column to sort by (case insensitive).
Return Type
- ResultPage|error - Successful operation
getOneGroup![](/images/permalink.svg)
function getOneGroup(string groupId) returns GroupSummary|error
Gets detailed information about a specific group.
Parameters
- groupId string - The ID of the group.
Return Type
- GroupSummary|error - Successful operation
updateEnergyCost![](/images/permalink.svg)
function updateEnergyCost(string groupId, GroupConfiguration payload) returns GlobalSummary|error
Updates the values of the energy footprint parameter for a specific group.
Parameters
- groupId string - The ID of the group.
- payload GroupConfiguration - The values you wish to assign.
Return Type
- GlobalSummary|error - Successful operation
getHeatingMarginCoverage![](/images/permalink.svg)
function getHeatingMarginCoverage(boolean covered, string page, int 'limit, string direction, string sort, string? groupId, string? applicationId, string? serviceId) returns ResultPage|error
Gets the heating margin values for each monitored device, when available.
Parameters
- covered boolean (default true) - If set to <em>true</em>, only gets devices whose heating margin information is available.<br>Otherwise, gets any other devices.
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
- direction string (default "asc") - The sorting order (case insensitive).
- sort string (default "name") - The column to sort by (case insensitive).
- groupId string? (default ()) - The ID of the group.
- applicationId string? (default ()) - The ID of the application.
- serviceId string? (default ()) - The ID of the service.
Return Type
- ResultPage|error - Successful operation
getHistory![](/images/permalink.svg)
function getHistory(string? groupId, string? applicationId, string? serviceId, int? 'from, int? to) returns ResultPage|error
Gets historical data for a specific group, application or service.
Parameters
- groupId string? (default ()) - The ID of the group.
- applicationId string? (default ()) - The ID of the application.
- serviceId string? (default ()) - The ID of the service.
- 'from int? (default ()) - Beginning of the period (Epoch time, in seconds).
- to int? (default ()) - End of the period (Epoch time, in seconds).
Return Type
- ResultPage|error - Successful operation
searchDevices![](/images/permalink.svg)
function searchDevices(string searchTerms, string? groupId, string? applicationId, string? serviceId, string page, int 'limit) returns ResultPage|error
Searches devices by name, model, manufacturer or serial number.
Parameters
- searchTerms string - Space-separated search criteria.
- groupId string? (default ()) - The ID of the group.
- applicationId string? (default ()) - The ID of the application.
- serviceId string? (default ()) - The ID of the service.
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
Return Type
- ResultPage|error - Successful operation
getServices![](/images/permalink.svg)
function getServices(string page, int 'limit, string direction, string sort) returns ResultPage|error
Gets summarized information about all monitored services.
Parameters
- page string (default "0") - The page number to retrieve (first page is 0).
- 'limit int (default 100) - The maximum number of entries per page.
- direction string (default "asc") - The sorting order (case insensitive).
- sort string (default "name") - The column to sort by (case insensitive).
Return Type
- ResultPage|error - Successful operation
getOneService![](/images/permalink.svg)
function getOneService(string serviceId) returns ServiceSummary|error
Gets detailed information about a specific service.
Parameters
- serviceId string - The ID of the service.
Return Type
- ServiceSummary|error - Successful operation
Records![](/images/permalink.svg)
bmc.truesightpresentationserver: ActionResponse![](/images/permalink.svg)
The object encapsulating the output of an operation affecting the PATROL Agent.
Fields
- pslOutput string? - The output of the underlying PSL operation.
bmc.truesightpresentationserver: ApiKeysConfig![](/images/permalink.svg)
Provides API key configurations needed when communicating with a remote HTTP endpoint.
Fields
- authorization string - Represents API Key
Authorization
bmc.truesightpresentationserver: ApplicationSummary![](/images/permalink.svg)
Fields
- id string? - The ID of the application.
- name string? - The name of the application.
- deviceSummaries DeviceSummary[]? - The list of devices attached to the application.<br><u>Note</u>: when using the <b>Applications</b> service, this list is always empty. It is populated only when using the <b>Application Details</b> service.
- totalPowerConsumption float? - The total power consumption of the devices attached to the application.
- totalPowerConsumptionUnit string? - The unit in which the total power consumption of the devices attached to the application is being expressed.
- heatingMargin float? - The lowest heating margin among the heating margins of the devices attached to the application.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginUnit string? - The unit in which the heating margin of the application is being expressed.
- heatingMarginDeviceName string? - The name of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginDeviceUrl string? - The link to the details of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginCoverage float? - The percentage of devices attached to the application, whose heating margin could be found.<br><u>Note</u>:This field will only be present if a value could be found.
- oneDayEnergyConsumption float? - The quantity of energy consumed by the devices attached to the application during one day.
- oneDayCost float? - The daily cost of the energy consumed by the devices attached to the application.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the application during one day.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayConfidence float? - The confidence score (percentage) for the daily energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneMonthEnergyConsumption float? - The quantity of energy consumed by the devices attached to the application during one month.
- oneMonthCost float? - The monthly cost of the energy consumed by the devices attached to the application.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the application during one month.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthConfidence float? - The confidence score (percentage) for the monthly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneYearEnergyConsumption float? - The quantity of energy consumed by the devices attached to the application during one year.
- oneYearCost float? - The yearly cost of the energy consumed by the devices attached to the application.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the application in one year.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearConfidence float? - The confidence score (percentage) for the yearly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- updateTimestamp int? - The data collection time (as an Epoch time, in seconds).
- url string? - The link to the application details.
- numberOfDevices int? - The number of devices attached to the application.
- energyConsumptionUnit string? - The unit in which all energy consumption values are being expressed.
- costUnit string? - The currency in which all energy cost values are being expressed.
- emittedCo2Unit string? - The unit in which all CO<sub>2</sub> emission values are being expressed.
- historyParentIdKey string? - The name of the key used to identify the application in the history table.
bmc.truesightpresentationserver: DeviceAgent![](/images/permalink.svg)
Contains all information regarding a specific PATROL Agent.
Fields
- os string? - The operating system the PATROL Agent is running on.
- name string? - The FQDN of the PATROL Agent.
- 'version string? - The version of the PATROL Agent.
- port string? - The port the PATROL Agent is running on.
- id string? - The ID of the PATROL Agent.
- connectionStatus string? - The status of the PATROL Agent's connection.
- url string? - The link to the 'Monitors' tab of the PATROL Agent.
bmc.truesightpresentationserver: DeviceSummary![](/images/permalink.svg)
Fields
- id int? - The ID of the device.
- name string? - The ID of the device.
- sid string? - The SID of the device.
- serverId int? - The ID of the server the device is attached to.
- serverName string? - The name of the server the device is attached to.
- agentId int? - The ID of the PATROL Agent the device is attached to.
- agentName string? - The name of the PATROL Agent the device is attached to.
- powerConsumption float? - The power consumption of the device.
- powerConsumptionUnit string? - The unit in which the power consumption of the device is being expressed.
- heatingMargin float? - The heating margin of the device.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginUnit string? - The unit in which the heating margin of the device is being expressed.<br><u>Note</u>:This field will only be present if a value could be found.
- collectTime string? - The collection time of the heating margin (as an Epoch time, in seconds).<br><u>Note</u>:This field will only be present if a value could be found.
- deviceUrl string? - The link to the device details.
- updateTimestamp int? - The data collection time (as an Epoch time, in seconds).
- ambientTemperature float? - The ambient temperature of the device.
- 'type string? -
- deviceTSMOKey string? - The TSMOKey of the device.
- productVersion string? - The Hardware Sentry KM version of the device's Monitor.<br><u>Note</u>:This field will only be present if a value could be found.
bmc.truesightpresentationserver: ErrorResponse![](/images/permalink.svg)
Fields
- message string? - The error message.
- date string? - The timestamp of the error.
- code string? - The error's business identifier.
bmc.truesightpresentationserver: GlobalSummary![](/images/permalink.svg)
Fields
- id string? - The ID of the global summary (this ID will always be "global").
- totalPowerConsumption float? - The total power consumption of all the devices.
- heatingMargin float? - The lowest heating margin among the heating margins of all the devices.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginCoverage float? - The percentage of devices whose heating margin could be found.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginDeviceUrl string? - The link to the details of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginDeviceName string? - The name of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- energyCost float? - The electricity rate for all devices. This value can be updated by users with sufficient permissions.
- co2Emission float? - The CO<sub>2</sub> emissions for all devices. This value can be updated by users with sufficient permissions.
- groupNameFilter string? - Regular expression used to filter the groups for which the power consumption will be reported.
- updateTimestamp int? - The data collection time (as an Epoch time, in seconds).
- totalPowerConsumptionUnit string? - The unit in which the total power consumption is being expressed.
- heatingMarginUnit string? - The unit in which the heating margin is being expressed.
- energyCostUnit string? - The unit in which the electricity rate is being expressed.
- co2EmissionUnit string? - The unit in which the CO<sub>2</sub> emission is being expressed.
- editable boolean? - If <em>true</em>, indicates that you do not have sufficient rights to update the global settings. However, you may still have sufficient rights to update a specific group's setting.
bmc.truesightpresentationserver: GroupConfiguration![](/images/permalink.svg)
The deserialized form of the Energy Footprint Update service's request payload.
Fields
- energyCost float? - Updates the electricity rate (unit: $/kWh).
- co2Emission float? - Updates the CO<sub>2</sub> emission (unit: kg/kWh).
- groupNameFilter string? - Updates the regular expression used to filter the groups for which the power consumption should be reported.
bmc.truesightpresentationserver: GroupSummary![](/images/permalink.svg)
Fields
- id string? - The ID of the group.
- name string? - The name of the group.
- serverId int? - The ID of the server the group is attached to.
- deviceSummaries DeviceSummary[]? -
- totalPowerConsumption float? - The total power consumption of the devices attached to the group.
- totalPowerConsumptionUnit string? - The unit in which the total power consumption of the devices attached to the group is being expressed.
- heatingMargin float? - The lowest heating margin among the heating margins of the devices attached to the group.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginUnit string? - The unit in which the heating margin of the group is being expressed.
- heatingMarginDeviceName string? - The name of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginDeviceUrl string? - The link to the details of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginCoverage float? - The percentage of devices attached to the group, whose heating margin could be found.<br><u>Note</u>:This field will only be present if a value could be found.
- energyCost float? - The electricity rate for all devices attached to the group. This value can be updated by users with sufficient permissions.
- co2Emission float? - The CO<sub>2</sub> emissions for all devices attached to the group. This value can be updated by users with sufficient permissions.
- oneDayEnergyConsumption float? - The quantity of energy consumed by the devices attached to the group during one day.
- oneDayCost float? - The daily cost of the energy consumed by the devices attached to the group.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the group during one day.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayConfidence float? - The confidence score (percentage) for the daily energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneMonthEnergyConsumption float? - The quantity of energy consumed by the devices attached to the group during one month.
- oneMonthCost float? - The monthly cost of the energy consumed by the devices attached to the group.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the group during one month.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthConfidence float? - The confidence score (percentage) for the monthly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneYearEnergyConsumption float? - The quantity of energy consumed by the devices attached to the group during one year.
- oneYearCost float? - The yearly cost of the energy consumed by the devices attached to the group.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the group in one year.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearConfidence float? - The confidence score (percentage) for the yearly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- updateTimestamp int? - The data collection time (as an Epoch time, in seconds).
- url string? - The link to the group details.
- numberOfDevices int? - The number of devices attached to the group.
- energyCostUnit string? - The unit in which th euser-defined electricity rate value is being expressed.
- ambientTemperature float? - The average ambient temperature based on the ambient temperatures of the devices attached to the group.
- ambientTemperatureUnit string? - The unit in which the ambient temperature value is being expressed.
- co2EmissionUnit string? - The unit in which the user-defined CO<sub>2</sub> emission value is being expressed.
- energyConsumptionUnit string? - The unit in which all energy consumption values are being expressed.
- costUnit string? - The currency in which all energy cost values are being expressed.
- emittedCo2Unit string? - The unit in which all emitted CO<sub>2</sub> quantities are being expressed.
- historyParentIdKey string? -
- editable boolean? - The name of the key used to identify the group in the history table.
bmc.truesightpresentationserver: ReinitializeActionConfiguration![](/images/permalink.svg)
The deserialized form of the Reinitialize service's request payload.
Fields
- resetDiscoveryAndPollingIntervals int? - When set to <em>1</em>, removes all user-defined frequencies for discovery and polling processes to their default values (respectively 1 hour and 2 minutes).
- resetAlertAfterNTimes int? - When set to <em>1</em>, resets the number of times thresholds can be breached before triggering an alert to their default values (1 time) for numeric, discrete, connector status and present parameters.
- resetAlertActions int? - When set to <em>1</em>, removes all manually set Alert Actions and reverts to basic default actions i.e. trigger a PATROL event and annotate a parameter graph.
- resetOtherAlertSettings int? - When set to <em>1</em>, reverts any manually performed configuration changes to the default Hardware Sentry values.
- resetDebugMode int? - When set to <em>1</em>, deactivates the debug mode when it was manually enabled.
- resetRemovedPausedObjectList int? - When set to <em>1</em>, reactivates the monitoring of all paused or removed objects.
- resetReportSettings int? - When set to <em>1</em>, clears the report schedule.
- resetJavaSettings int? - When set to <em>1</em>, removes the custom Java settings (path and credentials). The KM will try to automatically find a suitable JRE.
- resetThresholds int? - When set to <em>1</em>, resets all thresholds.
bmc.truesightpresentationserver: ResultPage![](/images/permalink.svg)
Encapsulates a list of results.
Fields
- items record {}[]? - The list of currently accessible results.
- total int? - The total number of accessible results, including the results not listed in <em>items</em>.
- restrictedRights boolean? - If <em>true</em>, indicates that you are denied access to part of, or all the results.
bmc.truesightpresentationserver: ServiceSummary![](/images/permalink.svg)
Fields
- id string? - The ID of the service.
- name string? - The name of the service.
- providerId string? - The ID of the server providing the service.
- deviceSummaries DeviceSummary[]? - The list of devices attached to the service.<br><u>Note</u>: when using the <b>Services</b> service, this list is always empty. It is populated only when using the <b>Service Details</b> service.
- totalPowerConsumption float? - The total power consumption of the devices attached to the service.
- totalPowerConsumptionUnit string? - The unit in which the total power consumption of the devices attached to the service is being expressed.
- heatingMargin float? - The lowest heating margin among the heating margins of the devices attached to the service.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginUnit string? - The unit in which the heating margin of the service is being expressed.
- heatingMarginDeviceName string? - The name of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginDeviceUrl string? - The link to the details of the device having the lowest heating margin.<br><u>Note</u>:This field will only be present if a value could be found.
- heatingMarginCoverage float? - The percentage of devices attached to the service, whose heating margin could be found.<br><u>Note</u>:This field will only be present if a value could be found.
- oneDayEnergyConsumption float? - The quantity of energy consumed by the devices attached to the service during one day.
- oneDayCost float? - The daily cost of the energy consumed by the devices attached to the service.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the service during one day.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneDayConfidence float? - The confidence score (percentage) for the daily energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneMonthEnergyConsumption float? - The quantity of energy consumed by the devices attached to the service during one month.
- oneMonthCost float? - The monthly cost of the energy consumed by the devices attached to the service.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the service during one month.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneMonthConfidence float? - The confidence score (percentage) for the monthly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- oneYearEnergyConsumption float? - The quantity of energy consumed by the devices attached to the service during one year.
- oneYearCost float? - The yearly cost of the energy consumed by the devices attached to the service.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearEmittedCo2 float? - The quantity of CO<sub>2</sub> emitted by the devices attached to the service in one year.<br><u>Note</u>:This field will only be present if a value could be computed.
- oneYearConfidence float? - The confidence score (percentage) for the yearly energy consumption, energy cost and CO<sub>2</sub> emission values.<br>The lower the confidence score, the more extrapolated the values are.
- updateTimestamp int? - The data collection time (as an Epoch time, in seconds).
- url string? - The link to the service details.
- numberOfDevices int? - The number of devices attached to the service.
- energyConsumptionUnit string? - The unit in which all energy consumption values are being expressed.
- costUnit string? - The currency in which all energy cost values are being expressed.
- emittedCo2Unit string? - The unit in which all CO<sub>2</sub> emission values are being expressed.
- historyParentIdKey string? - The name of the key used to identify the service in the history table.
Import
import ballerinax/bmc.truesightpresentationserver;
Metadata
Released date: over 2 years ago
Version: 1.2.0
License: Apache-2.0
Compatibility
Platform: any
Ballerina version: 2201.0.0
GraalVM compatible: Yes
Pull count
Total: 0
Current verison: 0
Weekly downloads
Keywords
IT Operations/Server Monitoring
Cost/Freemium
Contributors
Dependencies