1.4
1.4
scp-cli servicewatch dashboard create
--name <value>
[--widgets <value>]
Description
Create dashboard
상태 ACTIVE (CURRENT)
| 버전 | 최소 지원 보장일 |
|---|---|
| 1.4 | - |
Parameters
| Name | Type | Description | Example |
|---|---|---|---|
| name required | string | Dashboard's name | New-Monitoring-Dashboard |
| widgets optional | array | List 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
| Name | Description | Example |
|---|---|---|
| id | Dashboard’s unique ID | b48e730a70e74f6aa3d2555000b5c22b |
| alerts | Alert information related to the dashboard | {} |
| created_at | Created date time | |
| created_by | Creator ID | user-xxxxxxxx |
| favorite_enabled | Whether it is a favorite dashboard | True |
| modified_at | Modified date time | |
| modified_by | Modifier ID | user-yyyyyyyy |
| name | Dashboard’s name | Production-Web-Servers |
| product_name | Associated resource type | ServiceWatch |
| resource_id | Associated resource ID | c8e41e595ad040a8abe57e2ffc109113 |
| resource_name | Associated resource name | Production-Web-Servers |
| resource_type | Associated resource type | dashboard |
| service_code | Associated service code | virtualserver |
| share_type | Sharing type | Private |
| srn | Service resource name (SRN) | srn:vs:kr-central-1:123456789012:instance/c8e41e595ad040a8abe57e2ffc109113 |
| type | Dashboard type | Custom |
| widgets | List of widgets included in the dashboard | [] |