1.3

1.3

scp-cli servicewatch dashboard create
--name <value>
[--widgets <value>]

Description

Create dashboard

State ACTIVE (SUPPORTED)

VersionNot Before
1.320270131

Parameters

NameTypeDescriptionExample
name
required
stringDashboard's nameNew-Monitoring-Dashboard
widgets
optional
arrayList of widgets included in the dashboard```’{“height”: 1, “order”: 1, “properties”: {“metrics”: [{“color”: “#ff7f0e”, “dimensions”: [{“key”: “resource_id”, “value”: “10bf5d24-0f20-4066-bb0b-de2b1d6ff502”}], “display_name”: “EC2-Prod-CPU”, “individual_items”: [{“key”: “BucketId”, “value”: “b-1234567890abcdef0”}], “name”: “CPUUtilization”, “namespace_name”: “Virtual Server”, “period”: 300, “statistic_type”: “AVG”}], “period”: 300, “stacked”: false, “statistic_type”: “AVG”, “title”: “Virtual Server

Responses

NameDescriptionExample
idDashboard’s unique IDb48e730a70e74f6aa3d2555000b5c22b
alertsAlert information related to the dashboard{}
created_atCreated date time
created_byCreator IDuser-xxxxxxxx
favorite_enabledWhether it is a favorite dashboardTrue
modified_atModified date time
modified_byModifier IDuser-yyyyyyyy
nameDashboard’s nameProduction-Web-Servers
product_nameAssociated resource typeServiceWatch
resource_idAssociated resource IDc8e41e595ad040a8abe57e2ffc109113
resource_nameAssociated resource nameProduction-Web-Servers
resource_typeAssociated resource typedashboard
service_codeAssociated service codevirtualserver
share_typeSharing typePrivate
srnService resource name (SRN)srn:vs:kr-central-1:123456789012:instance/c8e41e595ad040a8abe57e2ffc109113
typeDashboard typeCustom
widgetsList of widgets included in the dashboard[]