Skip to content

Commit 496605e

Browse files
add updates
1 parent 97a7884 commit 496605e

3 files changed

Lines changed: 39 additions & 4 deletions

File tree

src/Ag/AgClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
* @method \GuzzleHttp\Promise\Promise disableAutoScalingAsync(array $args = [])
5353
* @method \Jdcloud\Result updateAutoScaling(array $args = [])
5454
* @method \GuzzleHttp\Promise\Promise updateAutoScalingAsync(array $args = [])
55+
* @method \Jdcloud\Result modifyInstancesManaged(array $args = [])
56+
* @method \GuzzleHttp\Promise\Promise modifyInstancesManagedAsync(array $args = [])
5557
* @method \Jdcloud\Result describeAsRules(array $args = [])
5658
* @method \GuzzleHttp\Promise\Promise describeAsRulesAsync(array $args = [])
5759
* @method \Jdcloud\Result createAsRule(array $args = [])

src/Ag/ChangeLog.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# 更新历史 #
2-
API版本:0.8.0
2+
API版本:0.8.4
33

44
| 发布时间 | 版本号 | 更新 | 说明 |
55
|------------|-------|----------|-------------------|
6+
| 2023-12-07 | 0.8.4 | 功能完善 | 支持托管设置对外发布 |
7+
| 2023-12-07 | 0.8.3 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
8+
| 2023-11-22 | 0.8.2 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
9+
| 2023-11-08 | 0.8.1 | 功能完善 | 弹性伸缩组内支持实例维度托管设置 |
610
| 2023-04-06 | 0.8.0 | 弹性伸缩重构更新 | 弹性伸缩重构更新 |
711
| 2022-07-21 | 0.7.0 | 功能完善 | ag增加资源放置策略 |
812
| 2022-07-15 | 0.6.0 | 功能完善 | 修复自定义配置类型模版必传的问题 |

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

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,15 @@
155155
'input' => [ 'shape' => 'UpdateAutoScalingRequestShape', ],
156156
'output' => [ 'shape' => 'UpdateAutoScalingResponseShape', ],
157157
],
158+
'ModifyInstancesManaged' => [
159+
'name' => 'ModifyInstancesManaged',
160+
'http' => [
161+
'method' => 'POST',
162+
'requestUri' => '/v1/regions/{regionId}/autoScaling/{agId}:modifyInstancesManaged',
163+
],
164+
'input' => [ 'shape' => 'ModifyInstancesManagedRequestShape', ],
165+
'output' => [ 'shape' => 'ModifyInstancesManagedResponseShape', ],
166+
],
158167
'DescribeAsRules' => [
159168
'name' => 'DescribeAsRules',
160169
'http' => [
@@ -970,9 +979,13 @@
970979
'asCronId' => [ 'type' => 'string', 'locationName' => 'asCronId', ],
971980
],
972981
],
973-
'DisableAutoScalingResultShape' => [
982+
'ModifyInstancesManagedRequestShape' => [
974983
'type' => 'structure',
975984
'members' => [
985+
'isManaged' => [ 'type' => 'boolean', 'locationName' => 'isManaged', ],
986+
'instanceIds' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
987+
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
988+
'agId' => [ 'type' => 'string', 'locationName' => 'agId', ],
976989
],
977990
],
978991
'DisableAutoScalingRequestShape' => [
@@ -1000,13 +1013,29 @@
10001013
'members' => [
10011014
],
10021015
],
1003-
'EnableAutoScalingResponseShape' => [
1016+
'DisableAutoScalingResponseShape' => [
10041017
'type' => 'structure',
10051018
'members' => [
10061019
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
10071020
],
10081021
],
1009-
'DisableAutoScalingResponseShape' => [
1022+
'ModifyInstancesManagedResponseShape' => [
1023+
'type' => 'structure',
1024+
'members' => [
1025+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
1026+
],
1027+
],
1028+
'DisableAutoScalingResultShape' => [
1029+
'type' => 'structure',
1030+
'members' => [
1031+
],
1032+
],
1033+
'ModifyInstancesManagedResultShape' => [
1034+
'type' => 'structure',
1035+
'members' => [
1036+
],
1037+
],
1038+
'EnableAutoScalingResponseShape' => [
10101039
'type' => 'structure',
10111040
'members' => [
10121041
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],

0 commit comments

Comments
 (0)