tencentcloud-sdk-nodejs-teo 4.0.618 → 4.0.619
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/CHANGELOG.md +252 -0
- package/SERVICE_CHANGELOG.md +301 -151
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/services/teo/v20220106/teo_models.ts +44 -112
- package/src/services/teo/v20220901/teo_models.ts +1150 -2135
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +44 -44
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1150 -1150
|
@@ -7,9 +7,9 @@ export interface CreatePurgeTaskResponse {
|
|
|
7
7
|
*/
|
|
8
8
|
JobId: string;
|
|
9
9
|
/**
|
|
10
|
-
|
|
10
|
+
* 失败的任务列表及原因
|
|
11
11
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12
|
-
|
|
12
|
+
*/
|
|
13
13
|
FailedList: Array<FailReason>;
|
|
14
14
|
/**
|
|
15
15
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -25,15 +25,15 @@ export interface CreatePurgeTaskRequest {
|
|
|
25
25
|
*/
|
|
26
26
|
ZoneId: string;
|
|
27
27
|
/**
|
|
28
|
-
|
|
28
|
+
* 类型,当前支持的类型:
|
|
29
29
|
- purge_url:URL
|
|
30
30
|
- purge_prefix:前缀
|
|
31
31
|
- purge_host:Hostname
|
|
32
32
|
- purge_all:全部缓存
|
|
33
|
-
|
|
33
|
+
*/
|
|
34
34
|
Type: string;
|
|
35
35
|
/**
|
|
36
|
-
|
|
36
|
+
* 要刷新的资源列表,每个元素格式依据Type而定
|
|
37
37
|
1) Type = purge_host 时
|
|
38
38
|
形如:www.example.com 或 foo.bar.example.com
|
|
39
39
|
2) Type = purge_prefix 时
|
|
@@ -42,12 +42,12 @@ export interface CreatePurgeTaskRequest {
|
|
|
42
42
|
形如:https://www.example.com/example.jpg
|
|
43
43
|
4)Type = purge_all 时
|
|
44
44
|
Targets可为空,不需要填写
|
|
45
|
-
|
|
45
|
+
*/
|
|
46
46
|
Targets?: Array<string>;
|
|
47
47
|
/**
|
|
48
|
-
|
|
48
|
+
* 若有编码转换,仅清除编码转换后匹配的资源
|
|
49
49
|
若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
|
|
50
|
-
|
|
50
|
+
*/
|
|
51
51
|
EncodeUrl?: boolean;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -79,9 +79,9 @@ export interface DescribePurgeTasksRequest {
|
|
|
79
79
|
*/
|
|
80
80
|
Limit?: number;
|
|
81
81
|
/**
|
|
82
|
-
|
|
82
|
+
* 查询的状态
|
|
83
83
|
允许的值为:processing、success、failed、timeout、invalid
|
|
84
|
-
|
|
84
|
+
*/
|
|
85
85
|
Statuses?: Array<string>;
|
|
86
86
|
/**
|
|
87
87
|
* zone id
|
|
@@ -105,9 +105,9 @@ export interface CreatePrefetchTaskResponse {
|
|
|
105
105
|
*/
|
|
106
106
|
JobId: string;
|
|
107
107
|
/**
|
|
108
|
-
|
|
108
|
+
* 失败的任务列表
|
|
109
109
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
110
|
-
|
|
110
|
+
*/
|
|
111
111
|
FailedList: Array<FailReason>;
|
|
112
112
|
/**
|
|
113
113
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -135,34 +135,34 @@ export interface Zone {
|
|
|
135
135
|
*/
|
|
136
136
|
NameServers: Array<string>;
|
|
137
137
|
/**
|
|
138
|
-
|
|
138
|
+
* 站点状态,取值有:
|
|
139
139
|
<li> active:NS 已切换; </li>
|
|
140
140
|
<li> pending:NS 未切换;</li>
|
|
141
141
|
<li> moved:NS 已切走;</li>
|
|
142
142
|
<li> deactivated:被封禁。 </li>
|
|
143
|
-
|
|
143
|
+
*/
|
|
144
144
|
Status: string;
|
|
145
145
|
/**
|
|
146
|
-
|
|
146
|
+
* 站点接入方式,取值有
|
|
147
147
|
<li> full:NS 接入; </li>
|
|
148
148
|
<li> partial:CNAME 接入。</li>
|
|
149
|
-
|
|
149
|
+
*/
|
|
150
150
|
Type: string;
|
|
151
151
|
/**
|
|
152
152
|
* 站点是否关闭。
|
|
153
153
|
*/
|
|
154
154
|
Paused: boolean;
|
|
155
155
|
/**
|
|
156
|
-
|
|
156
|
+
* 是否开启cname加速,取值有:
|
|
157
157
|
<li> enabled:开启;</li>
|
|
158
158
|
<li> disabled:关闭。</li>
|
|
159
|
-
|
|
159
|
+
*/
|
|
160
160
|
CnameSpeedUp: string;
|
|
161
161
|
/**
|
|
162
|
-
|
|
162
|
+
* cname 接入状态,取值有:
|
|
163
163
|
<li> finished:站点已验证;</li>
|
|
164
164
|
<li> pending:站点验证中。</li>
|
|
165
|
-
|
|
165
|
+
*/
|
|
166
166
|
CnameStatus: string;
|
|
167
167
|
/**
|
|
168
168
|
* 资源标签列表。
|
|
@@ -181,11 +181,11 @@ export interface Zone {
|
|
|
181
181
|
*/
|
|
182
182
|
ModifiedOn: string;
|
|
183
183
|
/**
|
|
184
|
-
|
|
184
|
+
* 站点接入地域,取值为:
|
|
185
185
|
<li> global:全球;</li>
|
|
186
186
|
<li> mainland:中国大陆;</li>
|
|
187
187
|
<li> overseas:境外区域。</li>
|
|
188
|
-
|
|
188
|
+
*/
|
|
189
189
|
Area: string;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -274,9 +274,9 @@ export interface FailReason {
|
|
|
274
274
|
*/
|
|
275
275
|
Reason: string;
|
|
276
276
|
/**
|
|
277
|
-
|
|
277
|
+
* 处理失败的资源列表。
|
|
278
278
|
该列表元素来源于输入参数中的Targets,因此格式和入参中的Targets保持一致
|
|
279
|
-
|
|
279
|
+
*/
|
|
280
280
|
Targets: Array<string>;
|
|
281
281
|
}
|
|
282
282
|
/**
|
|
@@ -284,14 +284,14 @@ export interface FailReason {
|
|
|
284
284
|
*/
|
|
285
285
|
export interface Tag {
|
|
286
286
|
/**
|
|
287
|
-
|
|
287
|
+
* 标签键
|
|
288
288
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
289
|
-
|
|
289
|
+
*/
|
|
290
290
|
TagKey: string;
|
|
291
291
|
/**
|
|
292
|
-
|
|
292
|
+
* 标签值
|
|
293
293
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
294
|
-
|
|
294
|
+
*/
|
|
295
295
|
TagValue: string;
|
|
296
296
|
}
|
|
297
297
|
/**
|
|
@@ -303,14 +303,14 @@ export interface CreatePrefetchTaskRequest {
|
|
|
303
303
|
*/
|
|
304
304
|
ZoneId: string;
|
|
305
305
|
/**
|
|
306
|
-
|
|
306
|
+
* 要预热的资源列表,每个元素格式类似如下:
|
|
307
307
|
http://www.example.com/example.txt
|
|
308
|
-
|
|
308
|
+
*/
|
|
309
309
|
Targets?: Array<string>;
|
|
310
310
|
/**
|
|
311
|
-
|
|
311
|
+
* 是否对url进行encode
|
|
312
312
|
若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
|
|
313
|
-
|
|
313
|
+
*/
|
|
314
314
|
EncodeUrl?: boolean;
|
|
315
315
|
/**
|
|
316
316
|
* 附带的http头部信息
|
|
@@ -359,9 +359,9 @@ export interface DescribePrefetchTasksRequest {
|
|
|
359
359
|
*/
|
|
360
360
|
Limit?: number;
|
|
361
361
|
/**
|
|
362
|
-
|
|
362
|
+
* 查询的状态
|
|
363
363
|
允许的值为:processing、success、failed、timeout、invalid
|
|
364
|
-
|
|
364
|
+
*/
|
|
365
365
|
Statuses?: Array<string>;
|
|
366
366
|
/**
|
|
367
367
|
* zone id
|
|
@@ -385,9 +385,9 @@ export interface Resource {
|
|
|
385
385
|
*/
|
|
386
386
|
Id: string;
|
|
387
387
|
/**
|
|
388
|
-
|
|
388
|
+
* 付费模式,取值有:
|
|
389
389
|
<li>0:后付费。</li>
|
|
390
|
-
|
|
390
|
+
*/
|
|
391
391
|
PayMode: number;
|
|
392
392
|
/**
|
|
393
393
|
* 创建时间。
|
|
@@ -402,32 +402,32 @@ export interface Resource {
|
|
|
402
402
|
*/
|
|
403
403
|
ExpireTime: string;
|
|
404
404
|
/**
|
|
405
|
-
|
|
405
|
+
* 套餐状态,取值有:
|
|
406
406
|
<li>normal:正常;</li>
|
|
407
407
|
<li>isolated:隔离;</li>
|
|
408
408
|
<li>destroyed:销毁。</li>
|
|
409
|
-
|
|
409
|
+
*/
|
|
410
410
|
Status: string;
|
|
411
411
|
/**
|
|
412
412
|
* 询价参数。
|
|
413
413
|
*/
|
|
414
414
|
Sv: Array<Sv>;
|
|
415
415
|
/**
|
|
416
|
-
|
|
416
|
+
* 是否自动续费,取值有:
|
|
417
417
|
<li>0:默认状态;</li>
|
|
418
418
|
<li>1:自动续费;</li>
|
|
419
419
|
<li>2:不自动续费。</li>
|
|
420
|
-
|
|
420
|
+
*/
|
|
421
421
|
AutoRenewFlag: number;
|
|
422
422
|
/**
|
|
423
423
|
* 套餐关联资源 ID。
|
|
424
424
|
*/
|
|
425
425
|
PlanId: string;
|
|
426
426
|
/**
|
|
427
|
-
|
|
427
|
+
* 地域,取值有:
|
|
428
428
|
<li>mainland:国内;</li>
|
|
429
429
|
<li>overseas:海外。</li>
|
|
430
|
-
|
|
430
|
+
*/
|
|
431
431
|
Area: string;
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
@@ -435,12 +435,12 @@ export interface Resource {
|
|
|
435
435
|
*/
|
|
436
436
|
export interface ZoneFilter {
|
|
437
437
|
/**
|
|
438
|
-
|
|
438
|
+
* 过滤字段名,支持的列表如下:
|
|
439
439
|
<li> name:站点名;</li>
|
|
440
440
|
<li> status:站点状态;</li>
|
|
441
441
|
<li> tagKey:标签键;</li>
|
|
442
442
|
<li> tagValue: 标签值。</li>
|
|
443
|
-
|
|
443
|
+
*/
|
|
444
444
|
Name: string;
|
|
445
445
|
/**
|
|
446
446
|
* 过滤字段值。
|