Sha256: 60b35c3a3fe169b1dd6a4be4155778ab6f898a627121a4d8c5e3f175ed9e2a62
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V2::DashboardListsAPI.new dashboard_list_id = 789 # Integer | ID of the dashboard list to add items to. body = DatadogAPIClient::V2::DashboardListAddItemsRequest.new # DashboardListAddItemsRequest | Dashboards to add to the dashboard list. begin # Add Items to a Dashboard List result = api_instance.create_dashboard_list_items(dashboard_list_id, body) p result rescue DatadogAPIClient::V2::APIError => e puts "Error when calling DashboardListsAPI->create_dashboard_list_items: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v2/dashboard-lists/CreateDashboardListItems.rb |