Skip to content

Commit d7eb501

Browse files
add updates
1 parent 4026452 commit d7eb501

3 files changed

Lines changed: 34 additions & 2 deletions

File tree

src/Ag/AgClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
* @method \GuzzleHttp\Promise\Promise updateAutoScalingAsync(array $args = [])
5555
* @method \Jdcloud\Result modifyInstancesManaged(array $args = [])
5656
* @method \GuzzleHttp\Promise\Promise modifyInstancesManagedAsync(array $args = [])
57+
* @method \Jdcloud\Result modifyInstancesProtected(array $args = [])
58+
* @method \GuzzleHttp\Promise\Promise modifyInstancesProtectedAsync(array $args = [])
5759
* @method \Jdcloud\Result describeAsRules(array $args = [])
5860
* @method \GuzzleHttp\Promise\Promise describeAsRulesAsync(array $args = [])
5961
* @method \Jdcloud\Result createAsRule(array $args = [])

src/Ag/ChangeLog.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# 更新历史 #
2-
API版本:0.8.4
2+
API版本:0.8.5
33

44
| 发布时间 | 版本号 | 更新 | 说明 |
55
|------------|-------|----------|-------------------|
6+
| 2023-12-08 | 0.8.5 | 功能完善 | 支持保护设置对外发布 |
67
| 2023-12-07 | 0.8.4 | 功能完善 | 支持托管设置对外发布 |
7-
| 2023-12-07 | 0.8.3 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
8+
| 2023-12-06 | 0.8.3 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
89
| 2023-11-22 | 0.8.2 | 功能完善 | 弹性伸缩组内支持实例维度保护设置 |
910
| 2023-11-08 | 0.8.1 | 功能完善 | 弹性伸缩组内支持实例维度托管设置 |
1011
| 2023-04-06 | 0.8.0 | 弹性伸缩重构更新 | 弹性伸缩重构更新 |

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,15 @@
164164
'input' => [ 'shape' => 'ModifyInstancesManagedRequestShape', ],
165165
'output' => [ 'shape' => 'ModifyInstancesManagedResponseShape', ],
166166
],
167+
'ModifyInstancesProtected' => [
168+
'name' => 'ModifyInstancesProtected',
169+
'http' => [
170+
'method' => 'POST',
171+
'requestUri' => '/v1/regions/{regionId}/autoScaling/{agId}:modifyInstancesProtected',
172+
],
173+
'input' => [ 'shape' => 'ModifyInstancesProtectedRequestShape', ],
174+
'output' => [ 'shape' => 'ModifyInstancesProtectedResponseShape', ],
175+
],
167176
'DescribeAsRules' => [
168177
'name' => 'DescribeAsRules',
169178
'http' => [
@@ -988,6 +997,15 @@
988997
'agId' => [ 'type' => 'string', 'locationName' => 'agId', ],
989998
],
990999
],
1000+
'ModifyInstancesProtectedRequestShape' => [
1001+
'type' => 'structure',
1002+
'members' => [
1003+
'isProtected' => [ 'type' => 'boolean', 'locationName' => 'isProtected', ],
1004+
'instanceIds' => [ 'type' => 'list', 'member' => [ 'type' => 'string', ], ],
1005+
'regionId' => [ 'type' => 'string', 'locationName' => 'regionId', ],
1006+
'agId' => [ 'type' => 'string', 'locationName' => 'agId', ],
1007+
],
1008+
],
9911009
'DisableAutoScalingRequestShape' => [
9921010
'type' => 'structure',
9931011
'members' => [
@@ -1041,12 +1059,23 @@
10411059
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
10421060
],
10431061
],
1062+
'ModifyInstancesProtectedResponseShape' => [
1063+
'type' => 'structure',
1064+
'members' => [
1065+
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
1066+
],
1067+
],
10441068
'UpdateAutoScalingResponseShape' => [
10451069
'type' => 'structure',
10461070
'members' => [
10471071
'requestId' => [ 'type' => 'string', 'locationName' => 'requestId', ],
10481072
],
10491073
],
1074+
'ModifyInstancesProtectedResultShape' => [
1075+
'type' => 'structure',
1076+
'members' => [
1077+
],
1078+
],
10501079
'EnableAutoScalingRequestShape' => [
10511080
'type' => 'structure',
10521081
'members' => [

0 commit comments

Comments
 (0)