Skip to content

Commit 31ee87a

Browse files
Merge pull request #126 from jdcloud-apigateway/master
add updates
2 parents 5373d5a + 5dd5fd2 commit 31ee87a

3 files changed

Lines changed: 41 additions & 36 deletions

File tree

src/Vm/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ API版本:1.5.10
33

44
| 发布时间 | 版本号 |更新| 说明 |
55
|------------|-------|---|----------------------------------------------------------------------------------------------------------------|
6+
| 2023-07-07 | 1.5.14 | 增加字段 | * 弹性伸缩功能涉及接口增加字段。 |
67
| 2023-02-15 | 1.5.13 | 增加字段 | * 查询主机及查询主机列表返回字段新增osVersion、platform及architecture字段。 |
78
| 2023-02-09 | 1.5.12 | 增加字段 | * 导出镜像任务返回值新增系统盘和数据盘对应的ossObject名称列表字段,导出镜像接口新增参数isAllDisk。 |
89
| 2023-02-07 | 1.5.11 | 增加镜像接口 | * 基于快照创建镜像。 |

src/data/vm/v1/api-2.json.php

Lines changed: 39 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,13 @@
559559
'remark' => [ 'type' => 'string', 'locationName' => 'remark', ],
560560
],
561561
],
562+
'Core' => [
563+
'type' => 'structure',
564+
'members' => [
565+
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
566+
'threads' => [ 'type' => 'list', 'member' => [ 'shape' => 'Thread', ], ],
567+
],
568+
],
562569
'LightCloudDiskInfo' => [
563570
'type' => 'structure',
564571
'members' => [
@@ -592,6 +599,20 @@
592599
'status' => [ 'type' => 'string', 'locationName' => 'status', ],
593600
],
594601
],
602+
'Socket' => [
603+
'type' => 'structure',
604+
'members' => [
605+
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
606+
'cores' => [ 'type' => 'list', 'member' => [ 'shape' => 'Core', ], ],
607+
],
608+
],
609+
'Numa' => [
610+
'type' => 'structure',
611+
'members' => [
612+
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
613+
'cores' => [ 'type' => 'list', 'member' => [ 'shape' => 'Core', ], ],
614+
],
615+
],
595616
'BriefInstance' => [
596617
'type' => 'structure',
597618
'members' => [
@@ -615,6 +636,21 @@
615636
'chargeOnStopped' => [ 'type' => 'string', 'locationName' => 'chargeOnStopped', ],
616637
'dedicatedPoolId' => [ 'type' => 'string', 'locationName' => 'dedicatedPoolId', ],
617638
'dedicatedHostId' => [ 'type' => 'string', 'locationName' => 'dedicatedHostId', ],
639+
'cpuTopology' => [ 'shape' => 'CpuTopology', ],
640+
],
641+
],
642+
'Thread' => [
643+
'type' => 'structure',
644+
'members' => [
645+
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
646+
'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
647+
],
648+
],
649+
'CpuTopology' => [
650+
'type' => 'structure',
651+
'members' => [
652+
'sockets' => [ 'type' => 'list', 'member' => [ 'shape' => 'Socket', ], ],
653+
'numas' => [ 'type' => 'list', 'member' => [ 'shape' => 'Numa', ], ],
618654
],
619655
],
620656
'BurstInfo' => [
@@ -654,41 +690,6 @@
654690
'sourceImageId' => [ 'type' => 'string', 'locationName' => 'sourceImageId', ],
655691
],
656692
],
657-
'Core' => [
658-
'type' => 'structure',
659-
'members' => [
660-
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
661-
'threads' => [ 'type' => 'list', 'member' => [ 'shape' => 'Thread', ], ],
662-
],
663-
],
664-
'Socket' => [
665-
'type' => 'structure',
666-
'members' => [
667-
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
668-
'cores' => [ 'type' => 'list', 'member' => [ 'shape' => 'Core', ], ],
669-
],
670-
],
671-
'Numa' => [
672-
'type' => 'structure',
673-
'members' => [
674-
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
675-
'cores' => [ 'type' => 'list', 'member' => [ 'shape' => 'Core', ], ],
676-
],
677-
],
678-
'Thread' => [
679-
'type' => 'structure',
680-
'members' => [
681-
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
682-
'pin' => [ 'type' => 'integer', 'locationName' => 'pin', ],
683-
],
684-
],
685-
'CpuTopology' => [
686-
'type' => 'structure',
687-
'members' => [
688-
'sockets' => [ 'type' => 'list', 'member' => [ 'shape' => 'Socket', ], ],
689-
'numas' => [ 'type' => 'list', 'member' => [ 'shape' => 'Numa', ], ],
690-
],
691-
],
692693
'CustomData' => [
693694
'type' => 'structure',
694695
'members' => [
@@ -1373,6 +1374,7 @@
13731374
'chargeOnStopped' => [ 'type' => 'string', 'locationName' => 'chargeOnStopped', ],
13741375
'dedicatedPoolId' => [ 'type' => 'string', 'locationName' => 'dedicatedPoolId', ],
13751376
'dedicatedHostId' => [ 'type' => 'string', 'locationName' => 'dedicatedHostId', ],
1377+
'cpuTopology' => [ 'shape' => 'CpuTopology', ],
13761378
'hostIp' => [ 'type' => 'string', 'locationName' => 'hostIp', ],
13771379
'rack' => [ 'type' => 'string', 'locationName' => 'rack', ],
13781380
'tor' => [ 'type' => 'string', 'locationName' => 'tor', ],
@@ -1864,6 +1866,7 @@
18641866
'agId' => [ 'type' => 'string', 'locationName' => 'agId', ],
18651867
'balance' => [ 'type' => 'boolean', 'locationName' => 'balance', ],
18661868
'clearLocalDisk' => [ 'type' => 'boolean', 'locationName' => 'clearLocalDisk', ],
1869+
'isManaged' => [ 'type' => 'boolean', 'locationName' => 'isManaged', ],
18671870
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
18681871
'instanceId' => [ 'type' => 'string', 'locationName' => 'instanceId', ],
18691872
],
@@ -2121,6 +2124,7 @@
21212124
'instanceSpec' => [ 'shape' => 'InstanceSpec', ],
21222125
'maxCount' => [ 'type' => 'integer', 'locationName' => 'maxCount', ],
21232126
'clientToken' => [ 'type' => 'string', 'locationName' => 'clientToken', ],
2127+
'isManaged' => [ 'type' => 'boolean', 'locationName' => 'isManaged', ],
21242128
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
21252129
],
21262130
],

src/data/yunding/v2/api-2.json.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@
15601560
'type' => 'structure',
15611561
'members' => [
15621562
'id' => [ 'type' => 'integer', 'locationName' => 'id', ],
1563-
'pin' => [ 'type' => 'integer', 'locationName' => 'pin', ],
1563+
'pin' => [ 'type' => 'string', 'locationName' => 'pin', ],
15641564
],
15651565
],
15661566
'Quota' => [

0 commit comments

Comments
 (0)