Pulumi Datadog DashboardJson: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 15: | Line 15: | ||
opts=pulumi.ResourceOptions(protect=True)) | opts=pulumi.ResourceOptions(protect=True)) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=a= |
Revision as of 01:01, 15 April 2022
External
Internal
Programming Model
import pulumi
import pulumi_datadog as datadog
dashboard_json = datadog.DashboardJson("dashboardJson",
dashboard="{\"description\":\"\",\"layout_type\":\"ordered\",\"notify_list\":[],\"reflow_type\":\"fixed\",\"restricted_roles\":[],\"template_variables\":[],\"title\":\"Blue\",\"widgets\":[{\"definition\":{\"color\":\"#4d4d4d\",\"font_size\":\"auto\",\"text\":\"This is a blue dashboard.\",\"text_align\":\"left\",\"type\":\"free_text\"},\"layout\":{\"height\":1,\"width\":2,\"x\":0,\"y\":0}}]}",
url="/dashboard/g8q-hyq-jww/blue",
opts=pulumi.ResourceOptions(protect=True))