Skip to main content

getRecommendations

Function getRecommendations in pulumi-portainer.
2 min read

Function getRecommendations in pulumi-portainer.

Invoke token: portainer:index/getRecommendations:getRecommendations.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

getRecommendationsOutput accepts Input values and returns Output of the same result.

Arguments#

PropertyTypeRequiredDescription
categorystringno
idstringno
severitystringno

Result#

PropertyTypeAlways presentDescription
categorystringno
categoryCounts{ [key: string]: number }yes
idstringyes
recommendationsGetRecommendationsRecommendation[]yes
severitystringno
severityCounts{ [key: string]: number }yes
totalnumberyes
totalTypesnumberyes

GetRecommendationsRecommendation#

Output object GetRecommendationsRecommendation. Fields below belong to this object.

PropertyTypeAlways presentDescription
actionLabelstringno
actionUrlstringno
categorystringno
descriptionstringno
severitystringno
titlestringno
typeIdstringno