Pulumi Datadog DashboardJson

From NovaOrdis Knowledge Base
Revision as of 01:01, 15 April 2022 by Ovidiu (talk | contribs)
Jump to navigation Jump to search

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))

a