ksyun-sdk-node 1.4.9 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/service/Aicp/v20240612/index.js +24 -0
- package/dist/service/Bws/v20160304/index.js +3 -0
- package/dist/service/Cdn/v20250503/index.js +0 -333
- package/dist/service/Cdn/v3/index.js +600 -0
- package/dist/service/Cen/v20160304/index.js +147 -103
- package/dist/service/Clickhouse/v20210101/index.js +204 -19
- package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
- package/dist/service/Dmp/v20240101/index.js +362 -0
- package/dist/service/Dts/v20180108/index.js +386 -0
- package/dist/service/Ebs/v20160304/index.js +197 -34
- package/dist/service/Eip/v20160304/index.js +79 -1
- package/dist/service/Influxdb/v20191010/index.js +504 -0
- package/dist/service/Kad/v20161122/index.js +32 -0
- package/dist/service/Kce/v20190806/index.js +234 -43
- package/dist/service/Kce/v20201231/index.js +2 -2
- package/dist/service/Kce/v20230101/index.js +193 -0
- package/dist/service/Kce/v20230306/index.js +434 -0
- package/dist/service/Kce/v20231115/index.js +65 -0
- package/dist/service/Kce2/v20230101/index.js +313 -0
- package/dist/service/Kci/v20200702/index.js +336 -0
- package/dist/service/Kcm/v20160304/index.js +113 -3
- package/dist/service/Kcrs/v20211109/index.js +88 -92
- package/dist/service/Kcs/v20160701/index.js +165 -23
- package/dist/service/Kcs/v20170401/index.js +1 -36
- package/dist/service/Kcs/v20240701/index.js +45 -0
- package/dist/service/Kead/v20200101/index.js +37 -8
- package/dist/service/Ked/v1/index.js +805 -0
- package/dist/service/Ket/v20170101/index.js +42 -0
- package/dist/service/Kfw/v20160304/index.js +59 -0
- package/dist/service/Kingpay/v1/index.js +44 -0
- package/dist/service/Knad/v20230323/index.js +333 -0
- package/dist/service/Kpfs/v20240930/index.js +181 -0
- package/dist/service/Krds/v20160701/index.js +505 -96
- package/dist/service/Krds/v20200825/index.js +48 -8
- package/dist/service/Milvus/v20231010/index.js +366 -0
- package/dist/service/Mongodb/v20170101/index.js +163 -13
- package/dist/service/Mongodb/v20250101/index.js +44 -0
- package/dist/service/Pdns/v20160304/index.js +636 -0
- package/dist/service/Postgresql/v20181225/index.js +950 -0
- package/dist/service/Rabbitmq/v20191017/index.js +107 -6
- package/dist/service/Relyt/v20240117/index.js +45 -0
- package/dist/service/Sks/v20151101/index.js +2 -1
- package/dist/service/Slb/v20160304/index.js +426 -53
- package/dist/service/Slb/v20250430/index.js +750 -0
- package/dist/service/Sqlserver/v20190425/index.js +872 -0
- package/dist/service/Sts/v20151101/index.js +19 -0
- package/dist/service/Tagv2/v20200901/index.js +42 -6
- package/dist/service/Ter/v20240415/index.js +114 -0
- package/dist/service/Tidb/v20210520/index.js +415 -21
- package/dist/service/Trade/v20250220/index.js +97 -0
- package/dist/service/Trade/v20250321/index.js +93 -0
- package/dist/service/Trade/v20250828/index.js +56 -0
- package/dist/service/Vpc/v20160304/index.js +32 -0
- package/dist/service/Waf/v20200707/index.js +188 -5
- package/package.json +1 -1
- package/src/service/Aicp/v20240612/index.js +24 -0
- package/src/service/Bws/v20160304/index.js +3 -0
- package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
- package/src/service/Cen/v20160304/index.js +144 -100
- package/src/service/Clickhouse/v20210101/index.js +203 -18
- package/src/service/Cloud_advisor/v20250610/index.js +73 -0
- package/src/service/Dmp/v20240101/index.js +354 -0
- package/src/service/Dts/v20180108/index.js +378 -0
- package/src/service/Ebs/v20160304/index.js +194 -31
- package/src/service/Eip/v20160304/index.js +79 -1
- package/src/service/Influxdb/v20191010/index.js +496 -0
- package/src/service/Kad/v20161122/index.js +32 -0
- package/src/service/Kce/v20190806/index.js +233 -42
- package/src/service/Kce/v20201231/index.js +2 -2
- package/src/service/Kce/v20230101/index.js +185 -0
- package/src/service/Kce/v20230306/index.js +426 -0
- package/src/service/Kce/v20231115/index.js +57 -0
- package/src/service/Kce2/v20230101/index.js +305 -0
- package/src/service/Kci/v20200702/index.js +328 -0
- package/src/service/Kcm/v20160304/index.js +110 -0
- package/src/service/Kcrs/v20211109/index.js +87 -91
- package/src/service/Kcs/v20160701/index.js +164 -22
- package/src/service/Kcs/v20170401/index.js +1 -36
- package/src/service/Kcs/v20240701/index.js +37 -0
- package/src/service/Kead/v20200101/index.js +37 -8
- package/src/service/Ked/v1/index.js +797 -0
- package/src/service/Ket/v20170101/index.js +42 -0
- package/src/service/Kfw/v20160304/index.js +51 -0
- package/src/service/Kingpay/v1/index.js +36 -0
- package/src/service/Knad/v20230323/index.js +325 -0
- package/src/service/Kpfs/v20240930/index.js +173 -0
- package/src/service/Krds/v20160701/index.js +502 -93
- package/src/service/Krds/v20200825/index.js +48 -8
- package/src/service/Milvus/v20231010/index.js +358 -0
- package/src/service/Mongodb/v20170101/index.js +162 -12
- package/src/service/Mongodb/v20250101/index.js +36 -0
- package/src/service/Pdns/v20160304/index.js +628 -0
- package/src/service/Postgresql/v20181225/index.js +942 -0
- package/src/service/Rabbitmq/v20191017/index.js +107 -6
- package/src/service/Relyt/v20240117/index.js +37 -0
- package/src/service/Sks/v20151101/index.js +1 -0
- package/src/service/Slb/v20160304/index.js +416 -43
- package/src/service/Slb/v20250430/index.js +742 -0
- package/src/service/Sqlserver/v20190425/index.js +864 -0
- package/src/service/Sts/v20151101/index.js +19 -0
- package/src/service/Tagv2/v20200901/index.js +42 -6
- package/src/service/Ter/v20240415/index.js +106 -0
- package/src/service/Tidb/v20210520/index.js +412 -18
- package/src/service/Trade/v20250220/index.js +89 -0
- package/src/service/Trade/v20250321/index.js +85 -0
- package/src/service/Trade/v20250828/index.js +48 -0
- package/src/service/Vpc/v20160304/index.js +32 -0
- package/src/service/Waf/v20200707/index.js +187 -4
|
@@ -25,7 +25,7 @@ module.exports = class Client extends BaseClient {
|
|
|
25
25
|
Action: "CreateSecurityGroup",
|
|
26
26
|
},
|
|
27
27
|
headers: {
|
|
28
|
-
"Content-Type": "application/
|
|
28
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
paramsType: {
|
|
@@ -50,7 +50,7 @@ module.exports = class Client extends BaseClient {
|
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
52
|
paramsType: {
|
|
53
|
-
|
|
53
|
+
SecurityGroupId: "Filter",
|
|
54
54
|
SecurityGroupType: "String",
|
|
55
55
|
},
|
|
56
56
|
},
|
|
@@ -63,7 +63,7 @@ module.exports = class Client extends BaseClient {
|
|
|
63
63
|
Action: "DeleteSecurityGroup",
|
|
64
64
|
},
|
|
65
65
|
headers: {
|
|
66
|
-
"Content-Type": "application/
|
|
66
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
67
67
|
},
|
|
68
68
|
},
|
|
69
69
|
paramsType: {
|
|
@@ -79,7 +79,7 @@ module.exports = class Client extends BaseClient {
|
|
|
79
79
|
Action: "ModifySecurityGroup",
|
|
80
80
|
},
|
|
81
81
|
headers: {
|
|
82
|
-
"Content-Type": "application/
|
|
82
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
83
83
|
},
|
|
84
84
|
},
|
|
85
85
|
paramsType: {
|
|
@@ -97,7 +97,7 @@ module.exports = class Client extends BaseClient {
|
|
|
97
97
|
Action: "CloneSecurityGroup",
|
|
98
98
|
},
|
|
99
99
|
headers: {
|
|
100
|
-
"Content-Type": "application/
|
|
100
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
101
101
|
},
|
|
102
102
|
},
|
|
103
103
|
paramsType: {
|
|
@@ -115,7 +115,7 @@ module.exports = class Client extends BaseClient {
|
|
|
115
115
|
Action: "ModifySecurityGroupRule",
|
|
116
116
|
},
|
|
117
117
|
headers: {
|
|
118
|
-
"Content-Type": "application/
|
|
118
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
121
|
paramsType: {
|
|
@@ -135,12 +135,13 @@ module.exports = class Client extends BaseClient {
|
|
|
135
135
|
Action: "SecurityGroupRelation",
|
|
136
136
|
},
|
|
137
137
|
headers: {
|
|
138
|
-
"Content-Type": "application/
|
|
138
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
139
139
|
},
|
|
140
140
|
},
|
|
141
141
|
paramsType: {
|
|
142
142
|
RelationAction: "String",
|
|
143
143
|
SecurityGroupId: "String",
|
|
144
|
+
SecurityGroupIds: "String",
|
|
144
145
|
DBInstanceIdentifier: "String",
|
|
145
146
|
},
|
|
146
147
|
},
|
|
@@ -153,7 +154,7 @@ module.exports = class Client extends BaseClient {
|
|
|
153
154
|
Action: "ModifySecurityGroupRuleName",
|
|
154
155
|
},
|
|
155
156
|
headers: {
|
|
156
|
-
"Content-Type": "application/
|
|
157
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
157
158
|
},
|
|
158
159
|
},
|
|
159
160
|
paramsType: {
|
|
@@ -162,5 +163,44 @@ module.exports = class Client extends BaseClient {
|
|
|
162
163
|
SecurityGroupRuleName: "String",
|
|
163
164
|
},
|
|
164
165
|
},
|
|
166
|
+
CreateDBParameterGroup: {
|
|
167
|
+
url: "/",
|
|
168
|
+
method: "POST",
|
|
169
|
+
config: {
|
|
170
|
+
query: {
|
|
171
|
+
Version: "2020-08-25",
|
|
172
|
+
Action: "CreateDBParameterGroup",
|
|
173
|
+
},
|
|
174
|
+
headers: {
|
|
175
|
+
"Content-Type": "application/json",
|
|
176
|
+
},
|
|
177
|
+
},
|
|
178
|
+
paramsType: {
|
|
179
|
+
DBParameterGroupName: "String",
|
|
180
|
+
Engine: "String",
|
|
181
|
+
EngineVersion: "String",
|
|
182
|
+
Description: "String",
|
|
183
|
+
Parameters: "Object",
|
|
184
|
+
},
|
|
185
|
+
},
|
|
186
|
+
ModifyDBParameterGroup: {
|
|
187
|
+
url: "/",
|
|
188
|
+
method: "POST",
|
|
189
|
+
config: {
|
|
190
|
+
query: {
|
|
191
|
+
Version: "2020-08-25",
|
|
192
|
+
Action: "ModifyDBParameterGroup",
|
|
193
|
+
},
|
|
194
|
+
headers: {
|
|
195
|
+
"Content-Type": "application/json",
|
|
196
|
+
},
|
|
197
|
+
},
|
|
198
|
+
paramsType: {
|
|
199
|
+
DBParameterGroupId: "String",
|
|
200
|
+
DBParameterGroupName: "String",
|
|
201
|
+
Description: "String",
|
|
202
|
+
Parameters: "Object",
|
|
203
|
+
},
|
|
204
|
+
},
|
|
165
205
|
};
|
|
166
206
|
};
|
|
@@ -0,0 +1,358 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "milvus.api.ksyun.com",
|
|
7
|
+
config: {
|
|
8
|
+
timeout: 60, //设置timeout
|
|
9
|
+
headers: {
|
|
10
|
+
Accept: "application/json",
|
|
11
|
+
},
|
|
12
|
+
credentials: {
|
|
13
|
+
region: "cn-shanghai-3",
|
|
14
|
+
service: "milvus",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
DeleteSecurityRules: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "DELETE",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2023-10-10",
|
|
25
|
+
Action: "DeleteSecurityRules",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
SecurityGroupId: "String",
|
|
33
|
+
RuleIds: "String",
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
CreateSecurityRules: {
|
|
37
|
+
url: "/",
|
|
38
|
+
method: "POST",
|
|
39
|
+
config: {
|
|
40
|
+
query: {
|
|
41
|
+
Version: "2023-10-10",
|
|
42
|
+
Action: "CreateSecurityRules",
|
|
43
|
+
},
|
|
44
|
+
headers: {
|
|
45
|
+
"Content-Type": "application/json",
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
paramsType: {
|
|
49
|
+
SecurityGroupId: "String",
|
|
50
|
+
Rules: "Filter",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
UnbindSecurityGroupInstances: {
|
|
54
|
+
url: "/",
|
|
55
|
+
method: "DELETE",
|
|
56
|
+
config: {
|
|
57
|
+
query: {
|
|
58
|
+
Version: "2023-10-10",
|
|
59
|
+
Action: "UnbindSecurityGroupInstances",
|
|
60
|
+
},
|
|
61
|
+
headers: {
|
|
62
|
+
"Content-Type": "application/json",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
paramsType: {
|
|
66
|
+
SecurityGroupId: "String",
|
|
67
|
+
InstancesIds: "String",
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
BindSecurityGroupInstances: {
|
|
71
|
+
url: "/",
|
|
72
|
+
method: "POST",
|
|
73
|
+
config: {
|
|
74
|
+
query: {
|
|
75
|
+
Version: "2023-10-10",
|
|
76
|
+
Action: "BindSecurityGroupInstances",
|
|
77
|
+
},
|
|
78
|
+
headers: {
|
|
79
|
+
"Content-Type": "application/json",
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
paramsType: {
|
|
83
|
+
SecurityGroupId: "String",
|
|
84
|
+
InstancesIds: "String",
|
|
85
|
+
},
|
|
86
|
+
},
|
|
87
|
+
DeleteSecurityGroup: {
|
|
88
|
+
url: "/",
|
|
89
|
+
method: "DELETE",
|
|
90
|
+
config: {
|
|
91
|
+
query: {
|
|
92
|
+
Version: "2023-10-10",
|
|
93
|
+
Action: "DeleteSecurityGroup",
|
|
94
|
+
},
|
|
95
|
+
headers: {
|
|
96
|
+
"Content-Type": "application/json",
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
paramsType: {
|
|
100
|
+
SecurityGroupIds: "String",
|
|
101
|
+
},
|
|
102
|
+
},
|
|
103
|
+
DescribeSecurityGroup: {
|
|
104
|
+
url: "/",
|
|
105
|
+
method: "GET",
|
|
106
|
+
config: {
|
|
107
|
+
query: {
|
|
108
|
+
Version: "2023-10-10",
|
|
109
|
+
Action: "DescribeSecurityGroup",
|
|
110
|
+
},
|
|
111
|
+
headers: {
|
|
112
|
+
"Content-Type": "application/json",
|
|
113
|
+
},
|
|
114
|
+
},
|
|
115
|
+
paramsType: {
|
|
116
|
+
SecurityGroupId: "String",
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
CreateSecurityGroup: {
|
|
120
|
+
url: "/",
|
|
121
|
+
method: "POST",
|
|
122
|
+
config: {
|
|
123
|
+
query: {
|
|
124
|
+
Version: "2023-10-10",
|
|
125
|
+
Action: "CreateSecurityGroup",
|
|
126
|
+
},
|
|
127
|
+
headers: {
|
|
128
|
+
"Content-Type": "application/json",
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
paramsType: {
|
|
132
|
+
Name: "String",
|
|
133
|
+
IpVersion: "String",
|
|
134
|
+
Detail: "String",
|
|
135
|
+
Rules: "Filter",
|
|
136
|
+
},
|
|
137
|
+
},
|
|
138
|
+
ListSecurityGroup: {
|
|
139
|
+
url: "/",
|
|
140
|
+
method: "GET",
|
|
141
|
+
config: {
|
|
142
|
+
query: {
|
|
143
|
+
Version: "2023-10-10",
|
|
144
|
+
Action: "ListSecurityGroup",
|
|
145
|
+
},
|
|
146
|
+
headers: {
|
|
147
|
+
"Content-Type": "application/json",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
paramsType: {
|
|
151
|
+
Offset: "Int",
|
|
152
|
+
Limit: "Int",
|
|
153
|
+
},
|
|
154
|
+
},
|
|
155
|
+
DeleteInstance: {
|
|
156
|
+
url: "/",
|
|
157
|
+
method: "GET",
|
|
158
|
+
config: {
|
|
159
|
+
query: {
|
|
160
|
+
Version: "2023-10-10",
|
|
161
|
+
Action: "DeleteInstance",
|
|
162
|
+
},
|
|
163
|
+
headers: {
|
|
164
|
+
"Content-Type": "application/json",
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
paramsType: {
|
|
168
|
+
InstanceIds: "String",
|
|
169
|
+
},
|
|
170
|
+
},
|
|
171
|
+
DescribeInstance: {
|
|
172
|
+
url: "/",
|
|
173
|
+
method: "GET",
|
|
174
|
+
config: {
|
|
175
|
+
query: {
|
|
176
|
+
Version: "2023-10-10",
|
|
177
|
+
Action: "DescribeInstance",
|
|
178
|
+
},
|
|
179
|
+
headers: {
|
|
180
|
+
"Content-Type": "application/json",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
paramsType: {
|
|
184
|
+
InstanceId: "String",
|
|
185
|
+
},
|
|
186
|
+
},
|
|
187
|
+
ListInstance: {
|
|
188
|
+
url: "/",
|
|
189
|
+
method: "GET",
|
|
190
|
+
config: {
|
|
191
|
+
query: {
|
|
192
|
+
Version: "2023-10-10",
|
|
193
|
+
Action: "ListInstance",
|
|
194
|
+
},
|
|
195
|
+
headers: {
|
|
196
|
+
"Content-Type": "application/json",
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
paramsType: {
|
|
200
|
+
Offset: "String",
|
|
201
|
+
Limit: "String",
|
|
202
|
+
FuzzySearch: "String",
|
|
203
|
+
SecBindingStatus: "String",
|
|
204
|
+
},
|
|
205
|
+
},
|
|
206
|
+
CreateInstance: {
|
|
207
|
+
url: "/",
|
|
208
|
+
method: "POST",
|
|
209
|
+
config: {
|
|
210
|
+
query: {
|
|
211
|
+
Version: "2023-10-10",
|
|
212
|
+
Action: "CreateInstance",
|
|
213
|
+
},
|
|
214
|
+
headers: {
|
|
215
|
+
"Content-Type": "application/json",
|
|
216
|
+
},
|
|
217
|
+
},
|
|
218
|
+
paramsType: {
|
|
219
|
+
InstanceName: "String",
|
|
220
|
+
AdminPassword: "String",
|
|
221
|
+
SubnetId: "String",
|
|
222
|
+
VnetId: "String",
|
|
223
|
+
ProjectId: "String",
|
|
224
|
+
ProductType: "String",
|
|
225
|
+
DBInstanceType: "String",
|
|
226
|
+
Az: "Array",
|
|
227
|
+
Engine: "String",
|
|
228
|
+
EngineVersion: "String",
|
|
229
|
+
AdminUser: "String",
|
|
230
|
+
Cu: "String",
|
|
231
|
+
},
|
|
232
|
+
},
|
|
233
|
+
ReleaseDBInstanceEip: {
|
|
234
|
+
url: "/",
|
|
235
|
+
method: "GET",
|
|
236
|
+
config: {
|
|
237
|
+
query: {
|
|
238
|
+
Version: "2023-10-10",
|
|
239
|
+
Action: "ReleaseDBInstanceEip",
|
|
240
|
+
},
|
|
241
|
+
headers: {
|
|
242
|
+
"Content-Type": "application/json",
|
|
243
|
+
},
|
|
244
|
+
},
|
|
245
|
+
paramsType: {
|
|
246
|
+
InstanceId: "String",
|
|
247
|
+
},
|
|
248
|
+
},
|
|
249
|
+
AllocateDBInstanceEip: {
|
|
250
|
+
url: "/",
|
|
251
|
+
method: "GET",
|
|
252
|
+
config: {
|
|
253
|
+
query: {
|
|
254
|
+
Version: "2023-10-10",
|
|
255
|
+
Action: "AllocateDBInstanceEip",
|
|
256
|
+
},
|
|
257
|
+
headers: {
|
|
258
|
+
"Content-Type": "application/json",
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
paramsType: {
|
|
262
|
+
InstanceId: "String",
|
|
263
|
+
Port: "Int",
|
|
264
|
+
},
|
|
265
|
+
},
|
|
266
|
+
ListBackup: {
|
|
267
|
+
url: "/",
|
|
268
|
+
method: "GET",
|
|
269
|
+
config: {
|
|
270
|
+
query: {
|
|
271
|
+
Version: "2023-10-10",
|
|
272
|
+
Action: "ListBackup",
|
|
273
|
+
},
|
|
274
|
+
headers: {
|
|
275
|
+
"Content-Type": "application/json",
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
paramsType: {
|
|
279
|
+
InstanceId: "String",
|
|
280
|
+
BackupName: "String",
|
|
281
|
+
Offset: "Int",
|
|
282
|
+
Limit: "Int",
|
|
283
|
+
},
|
|
284
|
+
},
|
|
285
|
+
CreateBackup: {
|
|
286
|
+
url: "/",
|
|
287
|
+
method: "POST",
|
|
288
|
+
config: {
|
|
289
|
+
query: {
|
|
290
|
+
Version: "2023-10-10",
|
|
291
|
+
Action: "CreateBackup",
|
|
292
|
+
},
|
|
293
|
+
headers: {
|
|
294
|
+
"Content-Type": "application/json",
|
|
295
|
+
},
|
|
296
|
+
},
|
|
297
|
+
paramsType: {
|
|
298
|
+
InstanceId: "String",
|
|
299
|
+
BackupName: "String",
|
|
300
|
+
DBCollection: "Array",
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
DeleteBackup: {
|
|
304
|
+
url: "/",
|
|
305
|
+
method: "DELETE",
|
|
306
|
+
config: {
|
|
307
|
+
query: {
|
|
308
|
+
Version: "2023-10-10",
|
|
309
|
+
Action: "DeleteBackup",
|
|
310
|
+
},
|
|
311
|
+
headers: {
|
|
312
|
+
"Content-Type": "application/json",
|
|
313
|
+
},
|
|
314
|
+
},
|
|
315
|
+
paramsType: {
|
|
316
|
+
InstanceId: "String",
|
|
317
|
+
BackupIds: "String",
|
|
318
|
+
},
|
|
319
|
+
},
|
|
320
|
+
ListCollections: {
|
|
321
|
+
url: "/",
|
|
322
|
+
method: "GET",
|
|
323
|
+
config: {
|
|
324
|
+
query: {
|
|
325
|
+
Version: "2023-10-10",
|
|
326
|
+
Action: "ListCollections",
|
|
327
|
+
},
|
|
328
|
+
headers: {
|
|
329
|
+
"Content-Type": "application/json",
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
paramsType: {
|
|
333
|
+
InstanceId: "String",
|
|
334
|
+
Offset: "Int",
|
|
335
|
+
Limit: "Int",
|
|
336
|
+
},
|
|
337
|
+
},
|
|
338
|
+
UpdateInstanceTrialOrder: {
|
|
339
|
+
url: "/",
|
|
340
|
+
method: "GET",
|
|
341
|
+
config: {
|
|
342
|
+
query: {
|
|
343
|
+
Version: "2023-10-10",
|
|
344
|
+
Action: "UpdateInstanceTrialOrder",
|
|
345
|
+
},
|
|
346
|
+
headers: {
|
|
347
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
paramsType: {
|
|
351
|
+
InstanceId: "String",
|
|
352
|
+
OperateType: "String",
|
|
353
|
+
Duration: "Int",
|
|
354
|
+
BillType: "Int",
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
};
|
|
358
|
+
};
|
|
@@ -68,7 +68,7 @@ module.exports = class Client extends BaseClient {
|
|
|
68
68
|
Action: "DescribeMongoDBInstance",
|
|
69
69
|
},
|
|
70
70
|
headers: {
|
|
71
|
-
"Content-Type": "application/
|
|
71
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
72
72
|
},
|
|
73
73
|
},
|
|
74
74
|
paramsType: {
|
|
@@ -219,7 +219,7 @@ module.exports = class Client extends BaseClient {
|
|
|
219
219
|
Action: "DescribeMongoDBSnapshot",
|
|
220
220
|
},
|
|
221
221
|
headers: {
|
|
222
|
-
"Content-Type": "application/
|
|
222
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
223
223
|
},
|
|
224
224
|
},
|
|
225
225
|
paramsType: {
|
|
@@ -235,7 +235,7 @@ module.exports = class Client extends BaseClient {
|
|
|
235
235
|
Action: "DeleteMongoDBSnapshot",
|
|
236
236
|
},
|
|
237
237
|
headers: {
|
|
238
|
-
"Content-Type": "application/
|
|
238
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
239
239
|
},
|
|
240
240
|
},
|
|
241
241
|
paramsType: {
|
|
@@ -279,6 +279,24 @@ module.exports = class Client extends BaseClient {
|
|
|
279
279
|
Type: "String",
|
|
280
280
|
},
|
|
281
281
|
},
|
|
282
|
+
DeleteSecurityGroupRules: {
|
|
283
|
+
url: "/",
|
|
284
|
+
method: "DELETE",
|
|
285
|
+
config: {
|
|
286
|
+
query: {
|
|
287
|
+
Version: "2017-01-01",
|
|
288
|
+
Action: "DeleteSecurityGroupRules",
|
|
289
|
+
},
|
|
290
|
+
headers: {
|
|
291
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
292
|
+
},
|
|
293
|
+
},
|
|
294
|
+
paramsType: {
|
|
295
|
+
Cidrs: "String",
|
|
296
|
+
InstanceId: "String",
|
|
297
|
+
Type: "String",
|
|
298
|
+
},
|
|
299
|
+
},
|
|
282
300
|
ListSecurityGroupRules: {
|
|
283
301
|
url: "/",
|
|
284
302
|
method: "GET",
|
|
@@ -358,9 +376,7 @@ module.exports = class Client extends BaseClient {
|
|
|
358
376
|
"Content-Type": "application/json",
|
|
359
377
|
},
|
|
360
378
|
},
|
|
361
|
-
paramsType: {
|
|
362
|
-
Action: "String",
|
|
363
|
-
},
|
|
379
|
+
paramsType: {},
|
|
364
380
|
},
|
|
365
381
|
AllocateEip: {
|
|
366
382
|
url: "/",
|
|
@@ -407,9 +423,7 @@ module.exports = class Client extends BaseClient {
|
|
|
407
423
|
"Content-Type": "application/json",
|
|
408
424
|
},
|
|
409
425
|
},
|
|
410
|
-
paramsType: {
|
|
411
|
-
Action: "String",
|
|
412
|
-
},
|
|
426
|
+
paramsType: {},
|
|
413
427
|
},
|
|
414
428
|
CreateMongoDBShardInstance: {
|
|
415
429
|
url: "/",
|
|
@@ -454,6 +468,7 @@ module.exports = class Client extends BaseClient {
|
|
|
454
468
|
},
|
|
455
469
|
paramsType: {
|
|
456
470
|
SnapshotId: "String",
|
|
471
|
+
InstanceId: "String",
|
|
457
472
|
},
|
|
458
473
|
},
|
|
459
474
|
CloneInstance: {
|
|
@@ -509,9 +524,7 @@ module.exports = class Client extends BaseClient {
|
|
|
509
524
|
"Content-Type": "application/json",
|
|
510
525
|
},
|
|
511
526
|
},
|
|
512
|
-
paramsType: {
|
|
513
|
-
Action: "String",
|
|
514
|
-
},
|
|
527
|
+
paramsType: {},
|
|
515
528
|
},
|
|
516
529
|
AddClusterNode: {
|
|
517
530
|
url: "/",
|
|
@@ -671,5 +684,142 @@ module.exports = class Client extends BaseClient {
|
|
|
671
684
|
ResetTimePoint: "String",
|
|
672
685
|
},
|
|
673
686
|
},
|
|
687
|
+
DescribeDefaultParams: {
|
|
688
|
+
url: "/",
|
|
689
|
+
method: "GET",
|
|
690
|
+
config: {
|
|
691
|
+
query: {
|
|
692
|
+
Version: "2017-01-01",
|
|
693
|
+
Action: "DescribeDefaultParams",
|
|
694
|
+
},
|
|
695
|
+
headers: {
|
|
696
|
+
"Content-Type": "application/json",
|
|
697
|
+
},
|
|
698
|
+
},
|
|
699
|
+
paramsType: {
|
|
700
|
+
DbVersion: "String",
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
CreateParamGroup: {
|
|
704
|
+
url: "/",
|
|
705
|
+
method: "POST",
|
|
706
|
+
config: {
|
|
707
|
+
query: {
|
|
708
|
+
Version: "2017-01-01",
|
|
709
|
+
Action: "CreateParamGroup",
|
|
710
|
+
},
|
|
711
|
+
headers: {
|
|
712
|
+
"Content-Type": "application/json",
|
|
713
|
+
},
|
|
714
|
+
},
|
|
715
|
+
paramsType: {
|
|
716
|
+
ParamGroupName: "String",
|
|
717
|
+
Description: "String",
|
|
718
|
+
DbVersion: "Double",
|
|
719
|
+
Params: "String",
|
|
720
|
+
},
|
|
721
|
+
},
|
|
722
|
+
DescribeParamGroupList: {
|
|
723
|
+
url: "/",
|
|
724
|
+
method: "GET",
|
|
725
|
+
config: {
|
|
726
|
+
query: {
|
|
727
|
+
Version: "2017-01-01",
|
|
728
|
+
Action: "DescribeParamGroupList",
|
|
729
|
+
},
|
|
730
|
+
headers: {
|
|
731
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
732
|
+
},
|
|
733
|
+
},
|
|
734
|
+
paramsType: {
|
|
735
|
+
DbVersion: "String",
|
|
736
|
+
NameSearch: "String",
|
|
737
|
+
Offset: "String",
|
|
738
|
+
Limit: "String",
|
|
739
|
+
},
|
|
740
|
+
},
|
|
741
|
+
DescribeParamGroupInfo: {
|
|
742
|
+
url: "/",
|
|
743
|
+
method: "GET",
|
|
744
|
+
config: {
|
|
745
|
+
query: {
|
|
746
|
+
Version: "2017-01-01",
|
|
747
|
+
Action: "DescribeParamGroupInfo",
|
|
748
|
+
},
|
|
749
|
+
headers: {
|
|
750
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
751
|
+
},
|
|
752
|
+
},
|
|
753
|
+
paramsType: {
|
|
754
|
+
ParamGroupId: "String",
|
|
755
|
+
},
|
|
756
|
+
},
|
|
757
|
+
DescribeModifyHistory: {
|
|
758
|
+
url: "/",
|
|
759
|
+
method: "GET",
|
|
760
|
+
config: {
|
|
761
|
+
query: {
|
|
762
|
+
Version: "2017-01-01",
|
|
763
|
+
Action: "DescribeModifyHistory",
|
|
764
|
+
},
|
|
765
|
+
headers: {
|
|
766
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
767
|
+
},
|
|
768
|
+
},
|
|
769
|
+
paramsType: {
|
|
770
|
+
ParamName: "String",
|
|
771
|
+
Offset: "Int",
|
|
772
|
+
Limit: "Int",
|
|
773
|
+
},
|
|
774
|
+
},
|
|
775
|
+
DescribeInstanceParams: {
|
|
776
|
+
url: "/",
|
|
777
|
+
method: "GET",
|
|
778
|
+
config: {
|
|
779
|
+
query: {
|
|
780
|
+
Version: "2017-01-01",
|
|
781
|
+
Action: "DescribeInstanceParams",
|
|
782
|
+
},
|
|
783
|
+
headers: {
|
|
784
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
785
|
+
},
|
|
786
|
+
},
|
|
787
|
+
paramsType: {
|
|
788
|
+
InstanceId: "String",
|
|
789
|
+
},
|
|
790
|
+
},
|
|
791
|
+
ModifyParamGroup: {
|
|
792
|
+
url: "/",
|
|
793
|
+
method: "POST",
|
|
794
|
+
config: {
|
|
795
|
+
query: {
|
|
796
|
+
Version: "2017-01-01",
|
|
797
|
+
Action: "ModifyParamGroup",
|
|
798
|
+
},
|
|
799
|
+
headers: {
|
|
800
|
+
"Content-Type": "application/json",
|
|
801
|
+
},
|
|
802
|
+
},
|
|
803
|
+
paramsType: {
|
|
804
|
+
NewParamGroupName: "String",
|
|
805
|
+
NewDescription: "String",
|
|
806
|
+
},
|
|
807
|
+
},
|
|
808
|
+
DeleteParamGroup: {
|
|
809
|
+
url: "/",
|
|
810
|
+
method: "POST",
|
|
811
|
+
config: {
|
|
812
|
+
query: {
|
|
813
|
+
Version: "2017-01-01",
|
|
814
|
+
Action: "DeleteParamGroup",
|
|
815
|
+
},
|
|
816
|
+
headers: {
|
|
817
|
+
"Content-Type": "application/json",
|
|
818
|
+
},
|
|
819
|
+
},
|
|
820
|
+
paramsType: {
|
|
821
|
+
ParamGroupId: "String",
|
|
822
|
+
},
|
|
823
|
+
},
|
|
674
824
|
};
|
|
675
825
|
};
|