Dear all,
I am looking to update Orion.CpuLoadThreshold or Orion.NodesThresholds tables ,, using REST API. But i am not seeing URI's from these table.
Could you kindly suggest any points..
My intention is to update, node thresholds via REST API
It's already been added to the Feature Requests as Add CRUD Verbs for Thresholds in Orion SDK. You should upvote it.
If you are using SWQL, you can frequently just append ', URI' to your select statement. It's almost always there, but it's not shown by default when you generate a query.
, URI
Generate Select Statement only shows the "blue" properties.
Generate Select Statement (with Inherited Properties) includes both the properties and the "green" inherited/calculated properties (which includes URI for elements where it's applicable).
@KMSigma.SWI
Thanks a lot Genius,for your helpful response, Let me check and come back , Thanks a Ton
I should note that the Orion.CpuLoadTheshold entities cannot be directly updated. You can see below that it's listed as Read-Only. As a note, this cannot be done in the Orion.Thresholds entities either (which is where all the thresholds are stored and the <span>Orion.CpuLoadTheshold</span> and other entities are "filtered" views of the original).
Orion.CpuLoadTheshold
Orion.Thresholds
<span>Orion.CpuLoadTheshold</span>
I don't think the Thresholds can be updated via the API at the moment. Probably because of the possible complexity of the definitions (single point in time, X of Y polls, last Z minutes, etc.)
Yes @KMSigma.SWI , I couldnt see uri's created for the same. Thanks for helping with related informations.. kindly please provide some flexibility to update threshold directly in future version.