tencentcloud-sdk-nodejs-intl-en 3.0.366 → 3.0.370
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/package.json +1 -1
- package/tencentcloud/apigateway/v20180808/apigateway_client.js +3 -2
- package/tencentcloud/apigateway/v20180808/models.js +105 -41
- package/tencentcloud/billing/v20180709/models.js +12 -11
- package/tencentcloud/cam/v20190116/cam_client.js +16 -1
- package/tencentcloud/cam/v20190116/models.js +264 -17
- package/tencentcloud/cbs/v20170312/models.js +15 -1
- package/tencentcloud/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/cdb/v20170320/models.js +21 -0
- package/tencentcloud/cdn/v20180606/models.js +54 -3
- package/tencentcloud/ckafka/v20190819/models.js +41 -3
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/dbbrain/v20210527/dbbrain_client.js +30 -4
- package/tencentcloud/dbbrain/v20210527/models.js +309 -116
- package/tencentcloud/dcdb/v20180411/dcdb_client.js +14 -0
- package/tencentcloud/dcdb/v20180411/models.js +144 -7
- package/tencentcloud/emr/v20190103/emr_client.js +2 -0
- package/tencentcloud/emr/v20190103/models.js +109 -0
- package/tencentcloud/gaap/v20180529/gaap_client.js +1 -1
- package/tencentcloud/gaap/v20180529/models.js +50 -6
- package/tencentcloud/live/v20180801/live_client.js +29 -11
- package/tencentcloud/live/v20180801/models.js +200 -24
- package/tencentcloud/redis/v20180412/models.js +7 -0
- package/tencentcloud/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/ses/v20201002/models.js +610 -29
- package/tencentcloud/ses/v20201002/ses_client.js +157 -103
- package/tencentcloud/tke/v20180525/models.js +61 -0
|
@@ -18,13 +18,17 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const BatchSendEmailRequest = models.BatchSendEmailRequest;
|
|
20
20
|
const GetEmailTemplateRequest = models.GetEmailTemplateRequest;
|
|
21
|
+
const ListSendTasksResponse = models.ListSendTasksResponse;
|
|
22
|
+
const CreateReceiverResponse = models.CreateReceiverResponse;
|
|
21
23
|
const CreateEmailTemplateRequest = models.CreateEmailTemplateRequest;
|
|
22
24
|
const TemplatesMetadata = models.TemplatesMetadata;
|
|
23
25
|
const ListEmailAddressRequest = models.ListEmailAddressRequest;
|
|
26
|
+
const ListReceiversRequest = models.ListReceiversRequest;
|
|
24
27
|
const GetEmailIdentityResponse = models.GetEmailIdentityResponse;
|
|
25
28
|
const ListBlackEmailAddressRequest = models.ListBlackEmailAddressRequest;
|
|
26
29
|
const Attachment = models.Attachment;
|
|
27
30
|
const Template = models.Template;
|
|
31
|
+
const ListSendTasksRequest = models.ListSendTasksRequest;
|
|
28
32
|
const GetSendEmailStatusResponse = models.GetSendEmailStatusResponse;
|
|
29
33
|
const SendEmailRequest = models.SendEmailRequest;
|
|
30
34
|
const EmailSender = models.EmailSender;
|
|
@@ -34,16 +38,20 @@ const UpdateEmailIdentityRequest = models.UpdateEmailIdentityRequest;
|
|
|
34
38
|
const GetEmailIdentityRequest = models.GetEmailIdentityRequest;
|
|
35
39
|
const DeleteEmailIdentityResponse = models.DeleteEmailIdentityResponse;
|
|
36
40
|
const GetStatisticsReportRequest = models.GetStatisticsReportRequest;
|
|
41
|
+
const DeleteBlackListRequest = models.DeleteBlackListRequest;
|
|
42
|
+
const SendTaskData = models.SendTaskData;
|
|
37
43
|
const DeleteEmailTemplateResponse = models.DeleteEmailTemplateResponse;
|
|
38
44
|
const Volume = models.Volume;
|
|
39
45
|
const CreateEmailIdentityRequest = models.CreateEmailIdentityRequest;
|
|
40
|
-
const
|
|
46
|
+
const ReceiverData = models.ReceiverData;
|
|
41
47
|
const UpdateEmailIdentityResponse = models.UpdateEmailIdentityResponse;
|
|
42
48
|
const DeleteEmailTemplateRequest = models.DeleteEmailTemplateRequest;
|
|
43
49
|
const DeleteBlackListResponse = models.DeleteBlackListResponse;
|
|
50
|
+
const UpdateEmailTemplateRequest = models.UpdateEmailTemplateRequest;
|
|
44
51
|
const SendEmailStatus = models.SendEmailStatus;
|
|
45
52
|
const ListEmailTemplatesRequest = models.ListEmailTemplatesRequest;
|
|
46
|
-
const
|
|
53
|
+
const CreateReceiverRequest = models.CreateReceiverRequest;
|
|
54
|
+
const CreateReceiverDetailResponse = models.CreateReceiverDetailResponse;
|
|
47
55
|
const ListEmailTemplatesResponse = models.ListEmailTemplatesResponse;
|
|
48
56
|
const SendEmailResponse = models.SendEmailResponse;
|
|
49
57
|
const ListBlackEmailAddressResponse = models.ListBlackEmailAddressResponse;
|
|
@@ -60,7 +68,9 @@ const CycleEmailParam = models.CycleEmailParam;
|
|
|
60
68
|
const DeleteEmailAddressResponse = models.DeleteEmailAddressResponse;
|
|
61
69
|
const CreateEmailIdentityResponse = models.CreateEmailIdentityResponse;
|
|
62
70
|
const CreateEmailAddressRequest = models.CreateEmailAddressRequest;
|
|
71
|
+
const CreateReceiverDetailRequest = models.CreateReceiverDetailRequest;
|
|
63
72
|
const CreateEmailTemplateResponse = models.CreateEmailTemplateResponse;
|
|
73
|
+
const ListReceiversResponse = models.ListReceiversResponse;
|
|
64
74
|
const CreateEmailAddressResponse = models.CreateEmailAddressResponse;
|
|
65
75
|
const UpdateEmailTemplateResponse = models.UpdateEmailTemplateResponse;
|
|
66
76
|
const TimedEmailParam = models.TimedEmailParam;
|
|
@@ -80,36 +90,14 @@ class SesClient extends AbstractClient {
|
|
|
80
90
|
}
|
|
81
91
|
|
|
82
92
|
/**
|
|
83
|
-
* This API is used to get the list of sender
|
|
84
|
-
* @param {
|
|
85
|
-
* @param {function(string,
|
|
86
|
-
* @public
|
|
87
|
-
*/
|
|
88
|
-
ListEmailAddress(req, cb) {
|
|
89
|
-
let resp = new ListEmailAddressResponse();
|
|
90
|
-
this.request("ListEmailAddress", req, resp, cb);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/**
|
|
94
|
-
* This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.
|
|
95
|
-
* @param {CreateEmailIdentityRequest} req
|
|
96
|
-
* @param {function(string, CreateEmailIdentityResponse):void} cb
|
|
97
|
-
* @public
|
|
98
|
-
*/
|
|
99
|
-
CreateEmailIdentity(req, cb) {
|
|
100
|
-
let resp = new CreateEmailIdentityResponse();
|
|
101
|
-
this.request("CreateEmailIdentity", req, resp, cb);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.
|
|
106
|
-
* @param {DeleteBlackListRequest} req
|
|
107
|
-
* @param {function(string, DeleteBlackListResponse):void} cb
|
|
93
|
+
* This API is used to get the list of sender domains, including verified and unverified domains.
|
|
94
|
+
* @param {ListEmailIdentitiesRequest} req
|
|
95
|
+
* @param {function(string, ListEmailIdentitiesResponse):void} cb
|
|
108
96
|
* @public
|
|
109
97
|
*/
|
|
110
|
-
|
|
111
|
-
let resp = new
|
|
112
|
-
this.request("
|
|
98
|
+
ListEmailIdentities(req, cb) {
|
|
99
|
+
let resp = new ListEmailIdentitiesResponse();
|
|
100
|
+
this.request("ListEmailIdentities", req, resp, cb);
|
|
113
101
|
}
|
|
114
102
|
|
|
115
103
|
/**
|
|
@@ -124,48 +112,47 @@ class SesClient extends AbstractClient {
|
|
|
124
112
|
}
|
|
125
113
|
|
|
126
114
|
/**
|
|
127
|
-
* This API is used to
|
|
128
|
-
|
|
129
|
-
* @param {
|
|
130
|
-
* @param {function(string, CreateEmailTemplateResponse):void} cb
|
|
115
|
+
* This API is used to get email sending status. Only data within 30 days can be queried.
|
|
116
|
+
* @param {GetSendEmailStatusRequest} req
|
|
117
|
+
* @param {function(string, GetSendEmailStatusResponse):void} cb
|
|
131
118
|
* @public
|
|
132
119
|
*/
|
|
133
|
-
|
|
134
|
-
let resp = new
|
|
135
|
-
this.request("
|
|
120
|
+
GetSendEmailStatus(req, cb) {
|
|
121
|
+
let resp = new GetSendEmailStatusResponse();
|
|
122
|
+
this.request("GetSendEmailStatus", req, resp, cb);
|
|
136
123
|
}
|
|
137
124
|
|
|
138
125
|
/**
|
|
139
|
-
* This API is used to
|
|
140
|
-
* @param {
|
|
141
|
-
* @param {function(string,
|
|
126
|
+
* This API is used to create a recipient group, which is the list of target email addresses for batch sending emails. After creating a group, you need to upload recipient email addresses. Then, you can create a sending task and select the group to batch send emails.
|
|
127
|
+
* @param {CreateReceiverRequest} req
|
|
128
|
+
* @param {function(string, CreateReceiverResponse):void} cb
|
|
142
129
|
* @public
|
|
143
130
|
*/
|
|
144
|
-
|
|
145
|
-
let resp = new
|
|
146
|
-
this.request("
|
|
131
|
+
CreateReceiver(req, cb) {
|
|
132
|
+
let resp = new CreateReceiverResponse();
|
|
133
|
+
this.request("CreateReceiver", req, resp, cb);
|
|
147
134
|
}
|
|
148
135
|
|
|
149
136
|
/**
|
|
150
|
-
* This API is used to
|
|
151
|
-
* @param {
|
|
152
|
-
* @param {function(string,
|
|
137
|
+
* This API is used to get the configuration details of a sender domain.
|
|
138
|
+
* @param {GetEmailIdentityRequest} req
|
|
139
|
+
* @param {function(string, GetEmailIdentityResponse):void} cb
|
|
153
140
|
* @public
|
|
154
141
|
*/
|
|
155
|
-
|
|
156
|
-
let resp = new
|
|
157
|
-
this.request("
|
|
142
|
+
GetEmailIdentity(req, cb) {
|
|
143
|
+
let resp = new GetEmailIdentityResponse();
|
|
144
|
+
this.request("GetEmailIdentity", req, resp, cb);
|
|
158
145
|
}
|
|
159
146
|
|
|
160
147
|
/**
|
|
161
|
-
* This API is used to get the
|
|
162
|
-
* @param {
|
|
163
|
-
* @param {function(string,
|
|
148
|
+
* This API is used to get the details of a template.
|
|
149
|
+
* @param {GetEmailTemplateRequest} req
|
|
150
|
+
* @param {function(string, GetEmailTemplateResponse):void} cb
|
|
164
151
|
* @public
|
|
165
152
|
*/
|
|
166
|
-
|
|
167
|
-
let resp = new
|
|
168
|
-
this.request("
|
|
153
|
+
GetEmailTemplate(req, cb) {
|
|
154
|
+
let resp = new GetEmailTemplateResponse();
|
|
155
|
+
this.request("GetEmailTemplate", req, resp, cb);
|
|
169
156
|
}
|
|
170
157
|
|
|
171
158
|
/**
|
|
@@ -180,58 +167,81 @@ Note: only an approved template can be used to send emails.
|
|
|
180
167
|
}
|
|
181
168
|
|
|
182
169
|
/**
|
|
183
|
-
* This API is used to
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {function(string,
|
|
170
|
+
* This API is used to update an email template. An updated template must be approved again before it can be used.
|
|
171
|
+
* @param {UpdateEmailTemplateRequest} req
|
|
172
|
+
* @param {function(string, UpdateEmailTemplateResponse):void} cb
|
|
186
173
|
* @public
|
|
187
174
|
*/
|
|
188
|
-
|
|
189
|
-
let resp = new
|
|
190
|
-
this.request("
|
|
175
|
+
UpdateEmailTemplate(req, cb) {
|
|
176
|
+
let resp = new UpdateEmailTemplateResponse();
|
|
177
|
+
this.request("UpdateEmailTemplate", req, resp, cb);
|
|
191
178
|
}
|
|
192
179
|
|
|
193
180
|
/**
|
|
194
|
-
*
|
|
195
|
-
* @param {
|
|
196
|
-
* @param {function(string,
|
|
181
|
+
* This API is used to verify whether your DNS configuration is correct.
|
|
182
|
+
* @param {UpdateEmailIdentityRequest} req
|
|
183
|
+
* @param {function(string, UpdateEmailIdentityResponse):void} cb
|
|
197
184
|
* @public
|
|
198
185
|
*/
|
|
199
|
-
|
|
200
|
-
let resp = new
|
|
201
|
-
this.request("
|
|
186
|
+
UpdateEmailIdentity(req, cb) {
|
|
187
|
+
let resp = new UpdateEmailIdentityResponse();
|
|
188
|
+
this.request("UpdateEmailIdentity", req, resp, cb);
|
|
202
189
|
}
|
|
203
190
|
|
|
204
191
|
/**
|
|
205
|
-
* This API is used to delete
|
|
206
|
-
* @param {
|
|
207
|
-
* @param {function(string,
|
|
192
|
+
* This API is used to delete a sender domain. After deleted, the sender domain can no longer be used to send emails.
|
|
193
|
+
* @param {DeleteEmailIdentityRequest} req
|
|
194
|
+
* @param {function(string, DeleteEmailIdentityResponse):void} cb
|
|
208
195
|
* @public
|
|
209
196
|
*/
|
|
210
|
-
|
|
211
|
-
let resp = new
|
|
212
|
-
this.request("
|
|
197
|
+
DeleteEmailIdentity(req, cb) {
|
|
198
|
+
let resp = new DeleteEmailIdentityResponse();
|
|
199
|
+
this.request("DeleteEmailIdentity", req, resp, cb);
|
|
213
200
|
}
|
|
214
201
|
|
|
215
202
|
/**
|
|
216
|
-
* This API is used to
|
|
217
|
-
* @param {
|
|
218
|
-
* @param {function(string,
|
|
203
|
+
* This API is used to get the list of sender addresses.
|
|
204
|
+
* @param {ListEmailAddressRequest} req
|
|
205
|
+
* @param {function(string, ListEmailAddressResponse):void} cb
|
|
219
206
|
* @public
|
|
220
207
|
*/
|
|
221
|
-
|
|
222
|
-
let resp = new
|
|
223
|
-
this.request("
|
|
208
|
+
ListEmailAddress(req, cb) {
|
|
209
|
+
let resp = new ListEmailAddressResponse();
|
|
210
|
+
this.request("ListEmailAddress", req, resp, cb);
|
|
224
211
|
}
|
|
225
212
|
|
|
226
213
|
/**
|
|
227
|
-
* This API is used to
|
|
228
|
-
|
|
229
|
-
* @param {
|
|
214
|
+
* This API is used to create a TEXT or HTML email template. To create an HTML template, ensure that it does not include external CSS files. You can use {{variable name}} to specify a variable in the template.
|
|
215
|
+
Note: only an approved template can be used to send emails.
|
|
216
|
+
* @param {CreateEmailTemplateRequest} req
|
|
217
|
+
* @param {function(string, CreateEmailTemplateResponse):void} cb
|
|
230
218
|
* @public
|
|
231
219
|
*/
|
|
232
|
-
|
|
233
|
-
let resp = new
|
|
234
|
-
this.request("
|
|
220
|
+
CreateEmailTemplate(req, cb) {
|
|
221
|
+
let resp = new CreateEmailTemplateResponse();
|
|
222
|
+
this.request("CreateEmailTemplate", req, resp, cb);
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* This API is used to send a TEXT or HTML email to multiple recipients at a time for marketing or notification purposes. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature. You need to create a recipient group with email addresses first and then send emails by group ID. SES supports scheduled and recurring email sending tasks. You need to pass in `TimedParam` for a scheduled task and `CycleParam` for a recurring one.
|
|
227
|
+
* @param {BatchSendEmailRequest} req
|
|
228
|
+
* @param {function(string, BatchSendEmailResponse):void} cb
|
|
229
|
+
* @public
|
|
230
|
+
*/
|
|
231
|
+
BatchSendEmail(req, cb) {
|
|
232
|
+
let resp = new BatchSendEmailResponse();
|
|
233
|
+
this.request("BatchSendEmail", req, resp, cb);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* This API is used to delete an email template.
|
|
238
|
+
* @param {DeleteEmailTemplateRequest} req
|
|
239
|
+
* @param {function(string, DeleteEmailTemplateResponse):void} cb
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
DeleteEmailTemplate(req, cb) {
|
|
243
|
+
let resp = new DeleteEmailTemplateResponse();
|
|
244
|
+
this.request("DeleteEmailTemplate", req, resp, cb);
|
|
235
245
|
}
|
|
236
246
|
|
|
237
247
|
/**
|
|
@@ -246,36 +256,80 @@ Note: only an approved template can be used to send emails.
|
|
|
246
256
|
}
|
|
247
257
|
|
|
248
258
|
/**
|
|
249
|
-
* This API is used to
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {function(string,
|
|
259
|
+
* This API is used to query batch email sending tasks (including immediate, scheduled, and recurring tasks) by page. You can query task data including the number of emails requested to be sent, the number of sent emails, the number of cached emails, and task status.
|
|
260
|
+
* @param {ListSendTasksRequest} req
|
|
261
|
+
* @param {function(string, ListSendTasksResponse):void} cb
|
|
252
262
|
* @public
|
|
253
263
|
*/
|
|
254
|
-
|
|
255
|
-
let resp = new
|
|
256
|
-
this.request("
|
|
264
|
+
ListSendTasks(req, cb) {
|
|
265
|
+
let resp = new ListSendTasksResponse();
|
|
266
|
+
this.request("ListSendTasks", req, resp, cb);
|
|
257
267
|
}
|
|
258
268
|
|
|
259
269
|
/**
|
|
260
|
-
* This API is used to
|
|
261
|
-
* @param {
|
|
262
|
-
* @param {function(string,
|
|
270
|
+
* This API is used to create a sender domain. Before you can send an email using Tencent Cloud SES, you must create a sender domain as your identity. It can be the domain of your website or mobile app. You must verify the domain to prove that you own it and authorize Tencent Cloud SES to use it to send emails.
|
|
271
|
+
* @param {CreateEmailIdentityRequest} req
|
|
272
|
+
* @param {function(string, CreateEmailIdentityResponse):void} cb
|
|
263
273
|
* @public
|
|
264
274
|
*/
|
|
265
|
-
|
|
266
|
-
let resp = new
|
|
267
|
-
this.request("
|
|
275
|
+
CreateEmailIdentity(req, cb) {
|
|
276
|
+
let resp = new CreateEmailIdentityResponse();
|
|
277
|
+
this.request("CreateEmailIdentity", req, resp, cb);
|
|
268
278
|
}
|
|
269
279
|
|
|
270
280
|
/**
|
|
271
|
-
* This API is used to
|
|
272
|
-
* @param {
|
|
273
|
-
* @param {function(string,
|
|
281
|
+
* This API is used to unblocklist email addresses. If you confirm that a blocklisted recipient address is valid and active, you can remove it from Tencent Cloud’s address blocklist database.
|
|
282
|
+
* @param {DeleteBlackListRequest} req
|
|
283
|
+
* @param {function(string, DeleteBlackListResponse):void} cb
|
|
274
284
|
* @public
|
|
275
285
|
*/
|
|
276
|
-
|
|
277
|
-
let resp = new
|
|
278
|
-
this.request("
|
|
286
|
+
DeleteBlackList(req, cb) {
|
|
287
|
+
let resp = new DeleteBlackListResponse();
|
|
288
|
+
this.request("DeleteBlackList", req, resp, cb);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* This API is used to send a TEXT or HTML email triggered for authentication or transaction. By default, you can send emails using a template only. To send custom content, please contact your sales rep to enable this feature.
|
|
293
|
+
* @param {SendEmailRequest} req
|
|
294
|
+
* @param {function(string, SendEmailResponse):void} cb
|
|
295
|
+
* @public
|
|
296
|
+
*/
|
|
297
|
+
SendEmail(req, cb) {
|
|
298
|
+
let resp = new SendEmailResponse();
|
|
299
|
+
this.request("SendEmail", req, resp, cb);
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The API is used to get blocklisted addresses. In the case of a hard bounce, Tencent Cloud will blocklist the recipient address and do not allow any user to send emails to this address. If you confirm that this is a misjudgment, you can remove it from the blocklist.
|
|
304
|
+
* @param {ListBlackEmailAddressRequest} req
|
|
305
|
+
* @param {function(string, ListBlackEmailAddressResponse):void} cb
|
|
306
|
+
* @public
|
|
307
|
+
*/
|
|
308
|
+
ListBlackEmailAddress(req, cb) {
|
|
309
|
+
let resp = new ListBlackEmailAddressResponse();
|
|
310
|
+
this.request("ListBlackEmailAddress", req, resp, cb);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* This API is used to add recipient email addresses (up to 100,000 at a time) to a recipient group. This will be processed asynchronously. You can upload recipient email addresses only once. If the data volume is large, it may take some time to upload. You can check the recipient group to learn the upload status and upload quantity.
|
|
315
|
+
* @param {CreateReceiverDetailRequest} req
|
|
316
|
+
* @param {function(string, CreateReceiverDetailResponse):void} cb
|
|
317
|
+
* @public
|
|
318
|
+
*/
|
|
319
|
+
CreateReceiverDetail(req, cb) {
|
|
320
|
+
let resp = new CreateReceiverDetailResponse();
|
|
321
|
+
this.request("CreateReceiverDetail", req, resp, cb);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* This API is used to query recipient groups. It supports pagination, fuzzy query, and query by status.
|
|
326
|
+
* @param {ListReceiversRequest} req
|
|
327
|
+
* @param {function(string, ListReceiversResponse):void} cb
|
|
328
|
+
* @public
|
|
329
|
+
*/
|
|
330
|
+
ListReceivers(req, cb) {
|
|
331
|
+
let resp = new ListReceiversResponse();
|
|
332
|
+
this.request("ListReceivers", req, resp, cb);
|
|
279
333
|
}
|
|
280
334
|
|
|
281
335
|
/**
|
|
@@ -1120,6 +1120,13 @@ Note: this field may return `null`, indicating that no valid value is obtained.
|
|
|
1120
1120
|
*/
|
|
1121
1121
|
this.UserScript = null;
|
|
1122
1122
|
|
|
1123
|
+
/**
|
|
1124
|
+
* Resource tag
|
|
1125
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
1126
|
+
* @type {Array.<Tag> || null}
|
|
1127
|
+
*/
|
|
1128
|
+
this.Tags = null;
|
|
1129
|
+
|
|
1123
1130
|
}
|
|
1124
1131
|
|
|
1125
1132
|
/**
|
|
@@ -1169,6 +1176,15 @@ Note: this field may return `null`, indicating that no valid value is obtained.
|
|
|
1169
1176
|
this.DesiredPodNum = 'DesiredPodNum' in params ? params.DesiredPodNum : null;
|
|
1170
1177
|
this.UserScript = 'UserScript' in params ? params.UserScript : null;
|
|
1171
1178
|
|
|
1179
|
+
if (params.Tags) {
|
|
1180
|
+
this.Tags = new Array();
|
|
1181
|
+
for (let z in params.Tags) {
|
|
1182
|
+
let obj = new Tag();
|
|
1183
|
+
obj.deserialize(params.Tags[z]);
|
|
1184
|
+
this.Tags.push(obj);
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1172
1188
|
}
|
|
1173
1189
|
}
|
|
1174
1190
|
|
|
@@ -4806,6 +4822,13 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
4806
4822
|
*/
|
|
4807
4823
|
this.Annotations = null;
|
|
4808
4824
|
|
|
4825
|
+
/**
|
|
4826
|
+
* Alarm rule status
|
|
4827
|
+
Note: this field may return `null`, indicating that no valid values can be obtained.
|
|
4828
|
+
* @type {number || null}
|
|
4829
|
+
*/
|
|
4830
|
+
this.RuleState = null;
|
|
4831
|
+
|
|
4809
4832
|
}
|
|
4810
4833
|
|
|
4811
4834
|
/**
|
|
@@ -4838,6 +4861,7 @@ Note: this field may return `null`, indicating that no valid value can be obtain
|
|
|
4838
4861
|
this.Annotations.push(obj);
|
|
4839
4862
|
}
|
|
4840
4863
|
}
|
|
4864
|
+
this.RuleState = 'RuleState' in params ? params.RuleState : null;
|
|
4841
4865
|
|
|
4842
4866
|
}
|
|
4843
4867
|
}
|
|
@@ -6001,6 +6025,18 @@ class ModifyClusterNodePoolRequest extends AbstractModel {
|
|
|
6001
6025
|
*/
|
|
6002
6026
|
this.ExtraArgs = null;
|
|
6003
6027
|
|
|
6028
|
+
/**
|
|
6029
|
+
* Resource tag
|
|
6030
|
+
* @type {Array.<Tag> || null}
|
|
6031
|
+
*/
|
|
6032
|
+
this.Tags = null;
|
|
6033
|
+
|
|
6034
|
+
/**
|
|
6035
|
+
*
|
|
6036
|
+
* @type {number || null}
|
|
6037
|
+
*/
|
|
6038
|
+
this.Unschedulable = null;
|
|
6039
|
+
|
|
6004
6040
|
}
|
|
6005
6041
|
|
|
6006
6042
|
/**
|
|
@@ -6043,6 +6079,16 @@ class ModifyClusterNodePoolRequest extends AbstractModel {
|
|
|
6043
6079
|
this.ExtraArgs = obj;
|
|
6044
6080
|
}
|
|
6045
6081
|
|
|
6082
|
+
if (params.Tags) {
|
|
6083
|
+
this.Tags = new Array();
|
|
6084
|
+
for (let z in params.Tags) {
|
|
6085
|
+
let obj = new Tag();
|
|
6086
|
+
obj.deserialize(params.Tags[z]);
|
|
6087
|
+
this.Tags.push(obj);
|
|
6088
|
+
}
|
|
6089
|
+
}
|
|
6090
|
+
this.Unschedulable = 'Unschedulable' in params ? params.Unschedulable : null;
|
|
6091
|
+
|
|
6046
6092
|
}
|
|
6047
6093
|
}
|
|
6048
6094
|
|
|
@@ -6195,6 +6241,12 @@ class CreateClusterNodePoolRequest extends AbstractModel {
|
|
|
6195
6241
|
*/
|
|
6196
6242
|
this.OsCustomizeType = null;
|
|
6197
6243
|
|
|
6244
|
+
/**
|
|
6245
|
+
* Resource tag
|
|
6246
|
+
* @type {Array.<Tag> || null}
|
|
6247
|
+
*/
|
|
6248
|
+
this.Tags = null;
|
|
6249
|
+
|
|
6198
6250
|
}
|
|
6199
6251
|
|
|
6200
6252
|
/**
|
|
@@ -6236,6 +6288,15 @@ class CreateClusterNodePoolRequest extends AbstractModel {
|
|
|
6236
6288
|
this.NodePoolOs = 'NodePoolOs' in params ? params.NodePoolOs : null;
|
|
6237
6289
|
this.OsCustomizeType = 'OsCustomizeType' in params ? params.OsCustomizeType : null;
|
|
6238
6290
|
|
|
6291
|
+
if (params.Tags) {
|
|
6292
|
+
this.Tags = new Array();
|
|
6293
|
+
for (let z in params.Tags) {
|
|
6294
|
+
let obj = new Tag();
|
|
6295
|
+
obj.deserialize(params.Tags[z]);
|
|
6296
|
+
this.Tags.push(obj);
|
|
6297
|
+
}
|
|
6298
|
+
}
|
|
6299
|
+
|
|
6239
6300
|
}
|
|
6240
6301
|
}
|
|
6241
6302
|
|