summaryrefslogtreecommitdiffstats
path: root/ResmanagementService/service/src/integration-test/resources/mocoserver/sendmsgmonitor1.json
blob: 4985a72f81bdd181e22d6dacb63936f4e5ec25da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
    "request": {
        "uri": "/api/umcres/v1/resinfo",
        "method": "post",
        "headers": {
            "Content-Type": "application/json;charset=UTF-8"
        },
        "json": {
            "operationType": "create",
            "resourceType": "HOST",
            "label": "09c025b0efc64211bd23fc50fa974cdf",
            "data": [{
                "cpu": "1",
                "disk": "1028",
                "id": "12345678",
                "memory": "8192",
                "name": "09c025b0efc64211bd23fc50fa974cdf",
                "vimId": "123",
                "vimName": "vim"
            }]
        }
    },
    "response": {
        "status": 200,
        "json": {
            "result": "SUCCESS",
            "info": "resource monitor info add ok",
            "oid": ["12345678"]
        }
    }
}