Sha256: 1d8572ed57e4730481f5b08cd8108a16cde2562db0787f8436481e8dcd2c5613
Contents?: true
Size: 832 Bytes
Versions: 18
Compression:
Stored size: 832 Bytes
Contents
# Create a new dashboard with iframe widget require "datadog_api_client" api_instance = DatadogAPIClient::V1::DashboardsAPI.new body = DatadogAPIClient::V1::Dashboard.new({ title: "Example-Create_a_new_dashboard_with_iframe_widget", description: "", widgets: [ DatadogAPIClient::V1::Widget.new({ layout: DatadogAPIClient::V1::WidgetLayout.new({ x: 0, y: 0, width: 12, height: 12, }), definition: DatadogAPIClient::V1::IFrameWidgetDefinition.new({ type: DatadogAPIClient::V1::IFrameWidgetDefinitionType::IFRAME, url: "https://docs.datadoghq.com/api/latest/", }), }), ], template_variables: [], layout_type: DatadogAPIClient::V1::DashboardLayoutType::FREE, is_read_only: false, notify_list: [], }) p api_instance.create_dashboard(body)
Version data entries
18 entries across 18 versions & 1 rubygems