tencentcloud-sdk-nodejs-teo 4.0.352 → 4.0.355
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 +585 -0
- package/SERVICE_CHANGELOG.md +628 -40
- package/package.json +1 -1
- package/products.md +25 -24
- package/src/services/teo/v20220106/teo_client.ts +585 -18
- package/src/services/teo/v20220106/teo_models.ts +3872 -252
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +179 -3
- package/tencentcloud/services/teo/v20220106/teo_client.js +267 -3
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +3334 -241
|
@@ -1,49 +1,3159 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 智能压缩配置
|
|
3
|
+
*/
|
|
4
|
+
export interface Compression {
|
|
5
|
+
/**
|
|
6
|
+
* 智能压缩配置开关
|
|
7
|
+
on:开启
|
|
8
|
+
off:关闭
|
|
9
|
+
*/
|
|
10
|
+
Switch: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* 域名证书配置
|
|
14
|
+
*/
|
|
15
|
+
export interface HostCertSetting {
|
|
16
|
+
/**
|
|
17
|
+
* 域名
|
|
18
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
19
|
+
*/
|
|
20
|
+
Host: string;
|
|
21
|
+
/**
|
|
22
|
+
* 服务端证书配置
|
|
23
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
24
|
+
*/
|
|
25
|
+
CertInfo: Array<ServerCertInfo>;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* ModifyDefaultCertificate请求参数结构体
|
|
29
|
+
*/
|
|
30
|
+
export interface ModifyDefaultCertificateRequest {
|
|
31
|
+
/**
|
|
32
|
+
* Zone ID
|
|
33
|
+
*/
|
|
34
|
+
ZoneId: string;
|
|
35
|
+
/**
|
|
36
|
+
* 默认证书ID
|
|
37
|
+
*/
|
|
38
|
+
CertId?: string;
|
|
39
|
+
/**
|
|
40
|
+
* 证书状态
|
|
41
|
+
deployed: 部署证书
|
|
42
|
+
disabled:禁用证书
|
|
43
|
+
失败状态下重新deployed即可重试失败
|
|
44
|
+
*/
|
|
45
|
+
Status?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* DescribeZoneDetails返回参数结构体
|
|
49
|
+
*/
|
|
50
|
+
export interface DescribeZoneDetailsResponse {
|
|
51
|
+
/**
|
|
52
|
+
* 站点 ID
|
|
53
|
+
*/
|
|
54
|
+
Id: string;
|
|
55
|
+
/**
|
|
56
|
+
* 站点名称
|
|
57
|
+
*/
|
|
58
|
+
Name: string;
|
|
59
|
+
/**
|
|
60
|
+
* 用户当前使用的 NS 列表
|
|
61
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
62
|
+
*/
|
|
63
|
+
OriginalNameServers: Array<string>;
|
|
64
|
+
/**
|
|
65
|
+
* 腾讯云分配给用户的 NS 列表
|
|
66
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
67
|
+
*/
|
|
68
|
+
NameServers: Array<string>;
|
|
69
|
+
/**
|
|
70
|
+
* 站点状态
|
|
71
|
+
- active:NS 已切换
|
|
72
|
+
- pending:NS 未切换
|
|
73
|
+
- moved:NS 已切走
|
|
74
|
+
- deactivated:被封禁
|
|
75
|
+
*/
|
|
76
|
+
Status: string;
|
|
77
|
+
/**
|
|
78
|
+
* 站点接入方式
|
|
79
|
+
- full:NS 接入
|
|
80
|
+
- partial:CNAME 接入
|
|
81
|
+
*/
|
|
82
|
+
Type: string;
|
|
83
|
+
/**
|
|
84
|
+
* 站点是否关闭
|
|
85
|
+
*/
|
|
86
|
+
Paused: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* 站点创建时间
|
|
89
|
+
*/
|
|
90
|
+
CreatedOn: string;
|
|
91
|
+
/**
|
|
92
|
+
* 站点修改时间
|
|
93
|
+
*/
|
|
94
|
+
ModifiedOn: string;
|
|
95
|
+
/**
|
|
96
|
+
* 用户自定义 NS 信息
|
|
97
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
98
|
+
*/
|
|
99
|
+
VanityNameServers: VanityNameServers;
|
|
100
|
+
/**
|
|
101
|
+
* 用户自定义 NS IP 信息
|
|
102
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
103
|
+
*/
|
|
104
|
+
VanityNameServersIps: Array<VanityNameServersIps>;
|
|
105
|
+
/**
|
|
106
|
+
* 是否开启 CNAME 加速
|
|
107
|
+
- enabled:开启
|
|
108
|
+
- disabled:关闭
|
|
109
|
+
*/
|
|
110
|
+
CnameSpeedUp: string;
|
|
111
|
+
/**
|
|
112
|
+
* cname切换验证状态
|
|
113
|
+
- finished 切换完成
|
|
114
|
+
- pending 切换验证中
|
|
115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
116
|
+
*/
|
|
117
|
+
CnameStatus: string;
|
|
118
|
+
/**
|
|
119
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
120
|
+
*/
|
|
121
|
+
RequestId?: string;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* DeleteApplicationProxy返回参数结构体
|
|
125
|
+
*/
|
|
126
|
+
export interface DeleteApplicationProxyResponse {
|
|
127
|
+
/**
|
|
128
|
+
* 代理ID
|
|
129
|
+
*/
|
|
130
|
+
ProxyId: string;
|
|
131
|
+
/**
|
|
132
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
133
|
+
*/
|
|
134
|
+
RequestId?: string;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* 域名 https 加速配置,默认为关闭状态
|
|
138
|
+
*/
|
|
139
|
+
export interface Https {
|
|
140
|
+
/**
|
|
141
|
+
* http2 配置开关
|
|
142
|
+
on:开启
|
|
143
|
+
off:关闭
|
|
144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
145
|
+
*/
|
|
146
|
+
Http2?: string;
|
|
147
|
+
/**
|
|
148
|
+
* OCSP 配置开关
|
|
149
|
+
on:开启
|
|
150
|
+
off:关闭
|
|
151
|
+
默认为关闭状态
|
|
152
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
153
|
+
*/
|
|
154
|
+
OcspStapling?: string;
|
|
155
|
+
/**
|
|
156
|
+
* Tls版本设置,支持设置 TLSv1, TLSV1.1, TLSV1.2, TLSv1.3,修改时必须开启连续的版本
|
|
157
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
158
|
+
*/
|
|
159
|
+
TlsVersion?: Array<string>;
|
|
160
|
+
/**
|
|
161
|
+
* HSTS 配置。
|
|
162
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
163
|
+
*/
|
|
164
|
+
Hsts?: Hsts;
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* ScanDnsRecords返回参数结构体
|
|
168
|
+
*/
|
|
169
|
+
export interface ScanDnsRecordsResponse {
|
|
170
|
+
/**
|
|
171
|
+
* 扫描状态
|
|
172
|
+
- doing 扫描中
|
|
173
|
+
- done 扫描完成
|
|
174
|
+
*/
|
|
175
|
+
Status: string;
|
|
176
|
+
/**
|
|
177
|
+
* 扫描后添加的记录数
|
|
178
|
+
*/
|
|
179
|
+
RecordsAdded: number;
|
|
180
|
+
/**
|
|
181
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
182
|
+
*/
|
|
183
|
+
RequestId?: string;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* 站点查询过滤条件
|
|
187
|
+
*/
|
|
188
|
+
export interface ZoneFilter {
|
|
189
|
+
/**
|
|
190
|
+
* 过滤字段名,支持的列表如下:
|
|
191
|
+
- name: 站点名。
|
|
192
|
+
- status: 站点状态
|
|
193
|
+
*/
|
|
194
|
+
Name: string;
|
|
195
|
+
/**
|
|
196
|
+
* 过滤字段值
|
|
197
|
+
*/
|
|
198
|
+
Values: Array<string>;
|
|
199
|
+
/**
|
|
200
|
+
* 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
|
|
201
|
+
*/
|
|
202
|
+
Fuzzy?: boolean;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* ModifyLoadBalancingStatus返回参数结构体
|
|
206
|
+
*/
|
|
207
|
+
export interface ModifyLoadBalancingStatusResponse {
|
|
208
|
+
/**
|
|
209
|
+
* 负载均衡ID
|
|
210
|
+
*/
|
|
211
|
+
LoadBalancingId: string;
|
|
212
|
+
/**
|
|
213
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
214
|
+
*/
|
|
215
|
+
RequestId?: string;
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* DescribePrefetchTasks返回参数结构体
|
|
219
|
+
*/
|
|
220
|
+
export interface DescribePrefetchTasksResponse {
|
|
221
|
+
/**
|
|
222
|
+
* 该查询条件总共条目数
|
|
223
|
+
*/
|
|
224
|
+
TotalCount: number;
|
|
225
|
+
/**
|
|
226
|
+
* 任务结果列表
|
|
227
|
+
*/
|
|
228
|
+
Tasks: Array<Task>;
|
|
229
|
+
/**
|
|
230
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
231
|
+
*/
|
|
232
|
+
RequestId?: string;
|
|
233
|
+
}
|
|
234
|
+
/**
|
|
235
|
+
* DeleteApplicationProxy请求参数结构体
|
|
236
|
+
*/
|
|
237
|
+
export interface DeleteApplicationProxyRequest {
|
|
238
|
+
/**
|
|
239
|
+
* 站点ID
|
|
240
|
+
*/
|
|
241
|
+
ZoneId: string;
|
|
242
|
+
/**
|
|
243
|
+
* 代理ID
|
|
244
|
+
*/
|
|
245
|
+
ProxyId: string;
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* DescribeZoneSetting请求参数结构体
|
|
249
|
+
*/
|
|
250
|
+
export interface DescribeZoneSettingRequest {
|
|
251
|
+
/**
|
|
252
|
+
* 站点ID
|
|
253
|
+
*/
|
|
254
|
+
ZoneId: string;
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* ModifyZoneStatus请求参数结构体
|
|
258
|
+
*/
|
|
259
|
+
export interface ModifyZoneStatusRequest {
|
|
260
|
+
/**
|
|
261
|
+
* 站点 ID
|
|
262
|
+
*/
|
|
263
|
+
Id: string;
|
|
264
|
+
/**
|
|
265
|
+
* 站点状态
|
|
266
|
+
- false 开启站点
|
|
267
|
+
- true 关闭站点
|
|
268
|
+
*/
|
|
269
|
+
Paused: boolean;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* ModifyDnsRecord请求参数结构体
|
|
273
|
+
*/
|
|
274
|
+
export interface ModifyDnsRecordRequest {
|
|
275
|
+
/**
|
|
276
|
+
* 记录 ID
|
|
277
|
+
*/
|
|
278
|
+
Id: string;
|
|
279
|
+
/**
|
|
280
|
+
* 站点 ID
|
|
281
|
+
*/
|
|
282
|
+
ZoneId: string;
|
|
283
|
+
/**
|
|
284
|
+
* 记录类型
|
|
285
|
+
*/
|
|
286
|
+
Type?: string;
|
|
287
|
+
/**
|
|
288
|
+
* 记录名称
|
|
289
|
+
*/
|
|
290
|
+
Name?: string;
|
|
291
|
+
/**
|
|
292
|
+
* 记录内容
|
|
293
|
+
*/
|
|
294
|
+
Content?: string;
|
|
295
|
+
/**
|
|
296
|
+
* 生存时间值
|
|
297
|
+
*/
|
|
298
|
+
Ttl?: number;
|
|
299
|
+
/**
|
|
300
|
+
* 优先级
|
|
301
|
+
*/
|
|
302
|
+
Priority?: number;
|
|
303
|
+
/**
|
|
304
|
+
* 代理模式
|
|
305
|
+
*/
|
|
306
|
+
Mode?: string;
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* CreateApplicationProxyRules请求参数结构体
|
|
310
|
+
*/
|
|
311
|
+
export interface CreateApplicationProxyRulesRequest {
|
|
312
|
+
/**
|
|
313
|
+
* 站点ID
|
|
314
|
+
*/
|
|
315
|
+
ZoneId: string;
|
|
316
|
+
/**
|
|
317
|
+
* 代理ID
|
|
318
|
+
*/
|
|
319
|
+
ProxyId: string;
|
|
320
|
+
/**
|
|
321
|
+
* 规则列表
|
|
322
|
+
*/
|
|
323
|
+
Rule: Array<ApplicationProxyRule>;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* 负载均衡信息
|
|
327
|
+
*/
|
|
328
|
+
export interface LoadBalancing {
|
|
329
|
+
/**
|
|
330
|
+
* 负载均衡ID
|
|
331
|
+
*/
|
|
332
|
+
LoadBalancingId: string;
|
|
333
|
+
/**
|
|
334
|
+
* 站点ID
|
|
335
|
+
*/
|
|
336
|
+
ZoneId: string;
|
|
337
|
+
/**
|
|
338
|
+
* 子域名,填写@表示根域
|
|
339
|
+
*/
|
|
340
|
+
Host: string;
|
|
341
|
+
/**
|
|
342
|
+
* 代理模式:
|
|
343
|
+
dns_only: 仅DNS
|
|
344
|
+
proxied: 开启代理
|
|
345
|
+
*/
|
|
346
|
+
Type: string;
|
|
347
|
+
/**
|
|
348
|
+
* 当Type=dns_only表示DNS的TTL时间
|
|
349
|
+
*/
|
|
350
|
+
TTL: number;
|
|
351
|
+
/**
|
|
352
|
+
* 使用的源站组ID
|
|
353
|
+
*/
|
|
354
|
+
OriginId: Array<string>;
|
|
355
|
+
/**
|
|
356
|
+
* 使用的源站信息
|
|
357
|
+
*/
|
|
358
|
+
Origin: Array<OriginGroup>;
|
|
359
|
+
/**
|
|
360
|
+
* 更新时间
|
|
361
|
+
*/
|
|
362
|
+
UpdateTime: string;
|
|
363
|
+
/**
|
|
364
|
+
* 状态
|
|
365
|
+
*/
|
|
366
|
+
Status: string;
|
|
367
|
+
/**
|
|
368
|
+
* 调度域名
|
|
369
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
370
|
+
*/
|
|
371
|
+
Cname: string;
|
|
372
|
+
}
|
|
373
|
+
/**
|
|
374
|
+
* ModifyDnssec请求参数结构体
|
|
375
|
+
*/
|
|
376
|
+
export interface ModifyDnssecRequest {
|
|
377
|
+
/**
|
|
378
|
+
* 站点 ID
|
|
379
|
+
*/
|
|
380
|
+
Id: string;
|
|
381
|
+
/**
|
|
382
|
+
* DNSSEC 状态
|
|
383
|
+
- enabled 开启
|
|
384
|
+
- disabled 关闭
|
|
385
|
+
*/
|
|
386
|
+
Status: string;
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* ModifyZoneSetting请求参数结构体
|
|
390
|
+
*/
|
|
391
|
+
export interface ModifyZoneSettingRequest {
|
|
392
|
+
/**
|
|
393
|
+
* 待变更的站点ID
|
|
394
|
+
*/
|
|
395
|
+
ZoneId: string;
|
|
396
|
+
/**
|
|
397
|
+
* 缓存过期时间配置
|
|
398
|
+
*/
|
|
399
|
+
Cache?: CacheConfig;
|
|
400
|
+
/**
|
|
401
|
+
* 节点缓存键配置
|
|
402
|
+
*/
|
|
403
|
+
CacheKey?: CacheKey;
|
|
404
|
+
/**
|
|
405
|
+
* 浏览器缓存配置
|
|
406
|
+
*/
|
|
407
|
+
MaxAge?: MaxAge;
|
|
408
|
+
/**
|
|
409
|
+
* 离线缓存
|
|
410
|
+
*/
|
|
411
|
+
OfflineCache?: OfflineCache;
|
|
412
|
+
/**
|
|
413
|
+
* Quic访问
|
|
414
|
+
*/
|
|
415
|
+
Quic?: Quic;
|
|
416
|
+
/**
|
|
417
|
+
* POST请求传输配置
|
|
418
|
+
*/
|
|
419
|
+
PostMaxSize?: PostMaxSize;
|
|
420
|
+
/**
|
|
421
|
+
* 智能压缩配置
|
|
422
|
+
*/
|
|
423
|
+
Compression?: Compression;
|
|
424
|
+
/**
|
|
425
|
+
* http2回源配置
|
|
426
|
+
*/
|
|
427
|
+
UpstreamHttp2?: UpstreamHttp2;
|
|
428
|
+
/**
|
|
429
|
+
* 访问协议强制https跳转配置
|
|
430
|
+
*/
|
|
431
|
+
ForceRedirect?: ForceRedirect;
|
|
432
|
+
/**
|
|
433
|
+
* Https 加速配置
|
|
434
|
+
*/
|
|
435
|
+
Https?: Https;
|
|
436
|
+
/**
|
|
437
|
+
* 源站配置
|
|
438
|
+
*/
|
|
439
|
+
Origin?: Origin;
|
|
440
|
+
/**
|
|
441
|
+
* 智能加速配置
|
|
442
|
+
*/
|
|
443
|
+
SmartRouting?: SmartRouting;
|
|
444
|
+
/**
|
|
445
|
+
* WebSocket配置
|
|
446
|
+
*/
|
|
447
|
+
WebSocket?: WebSocket;
|
|
448
|
+
/**
|
|
449
|
+
* 客户端IP回源请求头配置
|
|
450
|
+
*/
|
|
451
|
+
ClientIpHeader?: ClientIp;
|
|
452
|
+
}
|
|
453
|
+
/**
|
|
454
|
+
* DescribeApplicationProxyDetail请求参数结构体
|
|
455
|
+
*/
|
|
456
|
+
export interface DescribeApplicationProxyDetailRequest {
|
|
457
|
+
/**
|
|
458
|
+
* 站点ID
|
|
459
|
+
*/
|
|
460
|
+
ZoneId: string;
|
|
461
|
+
/**
|
|
462
|
+
* 实例ID
|
|
463
|
+
*/
|
|
464
|
+
ProxyId: string;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* CreateApplicationProxy返回参数结构体
|
|
468
|
+
*/
|
|
469
|
+
export interface CreateApplicationProxyResponse {
|
|
470
|
+
/**
|
|
471
|
+
* 新增的四层代理应用ID
|
|
472
|
+
*/
|
|
473
|
+
ProxyId: string;
|
|
474
|
+
/**
|
|
475
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
476
|
+
*/
|
|
477
|
+
RequestId?: string;
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* ImportDnsRecords请求参数结构体
|
|
481
|
+
*/
|
|
482
|
+
export interface ImportDnsRecordsRequest {
|
|
483
|
+
/**
|
|
484
|
+
* 站点 ID
|
|
485
|
+
*/
|
|
486
|
+
ZoneId: string;
|
|
487
|
+
/**
|
|
488
|
+
* 文件内容
|
|
489
|
+
*/
|
|
490
|
+
File: string;
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
* 不缓存配置
|
|
494
|
+
*/
|
|
495
|
+
export interface CacheConfigNoCache {
|
|
496
|
+
/**
|
|
497
|
+
* 不缓存配置开关
|
|
498
|
+
on:开启
|
|
499
|
+
off:关闭
|
|
500
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
501
|
+
*/
|
|
502
|
+
Switch: string;
|
|
503
|
+
}
|
|
504
|
+
/**
|
|
505
|
+
* 源站配置。
|
|
506
|
+
*/
|
|
507
|
+
export interface Origin {
|
|
508
|
+
/**
|
|
509
|
+
* 回源协议配置
|
|
510
|
+
http:强制 http 回源
|
|
511
|
+
follow:协议跟随回源
|
|
512
|
+
https:强制 https 回源,https 回源时仅支持源站 443 端口
|
|
513
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
514
|
+
*/
|
|
515
|
+
OriginPullProtocol?: string;
|
|
516
|
+
}
|
|
517
|
+
/**
|
|
518
|
+
* 内容管理任务结果
|
|
519
|
+
*/
|
|
520
|
+
export interface Task {
|
|
521
|
+
/**
|
|
522
|
+
* 任务ID
|
|
523
|
+
*/
|
|
524
|
+
JobId: string;
|
|
525
|
+
/**
|
|
526
|
+
* 状态
|
|
527
|
+
*/
|
|
528
|
+
Status: string;
|
|
529
|
+
/**
|
|
530
|
+
* 资源
|
|
531
|
+
*/
|
|
532
|
+
Target: string;
|
|
533
|
+
/**
|
|
534
|
+
* 任务类型
|
|
535
|
+
*/
|
|
536
|
+
Type: string;
|
|
537
|
+
/**
|
|
538
|
+
* 任务创建时间
|
|
539
|
+
*/
|
|
540
|
+
CreateTime: string;
|
|
541
|
+
/**
|
|
542
|
+
* 任务完成时间
|
|
543
|
+
*/
|
|
544
|
+
UpdateTime: string;
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* 查询结果排序条件。
|
|
548
|
+
*/
|
|
549
|
+
export interface CertSort {
|
|
550
|
+
/**
|
|
551
|
+
* 排序字段,当前支持:
|
|
552
|
+
createTime,域名创建时间
|
|
553
|
+
certExpireTime,证书过期时间
|
|
554
|
+
certDeployTime, 证书部署时间
|
|
555
|
+
*/
|
|
556
|
+
Key: string;
|
|
557
|
+
/**
|
|
558
|
+
* asc/desc,默认desc。
|
|
559
|
+
*/
|
|
560
|
+
Sequence?: string;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* DescribeHostsSetting返回参数结构体
|
|
564
|
+
*/
|
|
565
|
+
export interface DescribeHostsSettingResponse {
|
|
566
|
+
/**
|
|
567
|
+
* 域名列表
|
|
568
|
+
*/
|
|
569
|
+
Hosts: Array<DetailHost>;
|
|
570
|
+
/**
|
|
571
|
+
* 域名数量
|
|
572
|
+
*/
|
|
573
|
+
TotalNumber: number;
|
|
574
|
+
/**
|
|
575
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
576
|
+
*/
|
|
577
|
+
RequestId?: string;
|
|
578
|
+
}
|
|
579
|
+
/**
|
|
580
|
+
* ModifyZone返回参数结构体
|
|
581
|
+
*/
|
|
582
|
+
export interface ModifyZoneResponse {
|
|
583
|
+
/**
|
|
584
|
+
* 站点 ID
|
|
585
|
+
*/
|
|
586
|
+
Id: string;
|
|
587
|
+
/**
|
|
588
|
+
* 站点名称
|
|
589
|
+
*/
|
|
590
|
+
Name: string;
|
|
591
|
+
/**
|
|
592
|
+
* 站点当前使用的 NS
|
|
593
|
+
*/
|
|
594
|
+
OriginalNameServers: Array<string>;
|
|
595
|
+
/**
|
|
596
|
+
* 站点状态
|
|
597
|
+
- pending 未接入 NS
|
|
598
|
+
- active 已接入 NS
|
|
599
|
+
- moved NS 已切走
|
|
600
|
+
*/
|
|
601
|
+
Status: string;
|
|
602
|
+
/**
|
|
603
|
+
* 站点接入方式
|
|
604
|
+
- full NS 接入
|
|
605
|
+
- partial CNAME 接入
|
|
606
|
+
*/
|
|
607
|
+
Type: string;
|
|
608
|
+
/**
|
|
609
|
+
* 腾讯云分配的 NS 列表
|
|
610
|
+
*/
|
|
611
|
+
NameServers: Array<string>;
|
|
612
|
+
/**
|
|
613
|
+
* 创建时间
|
|
614
|
+
*/
|
|
615
|
+
CreatedOn: string;
|
|
616
|
+
/**
|
|
617
|
+
* 修改时间
|
|
618
|
+
*/
|
|
619
|
+
ModifiedOn: string;
|
|
620
|
+
/**
|
|
621
|
+
* cname 接入状态
|
|
622
|
+
- finished 站点验证完成
|
|
623
|
+
- pending 站点验证中
|
|
624
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
625
|
+
*/
|
|
626
|
+
CnameStatus: string;
|
|
627
|
+
/**
|
|
628
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
629
|
+
*/
|
|
630
|
+
RequestId?: string;
|
|
631
|
+
}
|
|
632
|
+
/**
|
|
633
|
+
* ModifyZone请求参数结构体
|
|
634
|
+
*/
|
|
635
|
+
export interface ModifyZoneRequest {
|
|
636
|
+
/**
|
|
637
|
+
* 站点 ID,用于唯一标识站点信息
|
|
638
|
+
*/
|
|
639
|
+
Id: string;
|
|
640
|
+
/**
|
|
641
|
+
* 站点接入方式
|
|
642
|
+
- full NS 接入
|
|
643
|
+
- partial CNAME 接入
|
|
644
|
+
*/
|
|
645
|
+
Type?: string;
|
|
646
|
+
/**
|
|
647
|
+
* 自定义站点信息
|
|
648
|
+
*/
|
|
649
|
+
VanityNameServers?: VanityNameServers;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* DeleteZone返回参数结构体
|
|
653
|
+
*/
|
|
654
|
+
export interface DeleteZoneResponse {
|
|
655
|
+
/**
|
|
656
|
+
* 站点 ID
|
|
657
|
+
*/
|
|
658
|
+
Id: string;
|
|
659
|
+
/**
|
|
660
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
661
|
+
*/
|
|
662
|
+
RequestId?: string;
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* ReclaimZone返回参数结构体
|
|
666
|
+
*/
|
|
667
|
+
export interface ReclaimZoneResponse {
|
|
668
|
+
/**
|
|
669
|
+
* 站点名称
|
|
670
|
+
*/
|
|
671
|
+
Name: string;
|
|
672
|
+
/**
|
|
673
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
674
|
+
*/
|
|
675
|
+
RequestId?: string;
|
|
676
|
+
}
|
|
1
677
|
/**
|
|
2
678
|
* CreatePurgeTask返回参数结构体
|
|
3
679
|
*/
|
|
4
|
-
export interface CreatePurgeTaskResponse {
|
|
680
|
+
export interface CreatePurgeTaskResponse {
|
|
681
|
+
/**
|
|
682
|
+
* 任务ID
|
|
683
|
+
*/
|
|
684
|
+
JobId: string;
|
|
685
|
+
/**
|
|
686
|
+
* 失败的任务列表及原因
|
|
687
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
688
|
+
*/
|
|
689
|
+
FailedList: Array<FailReason>;
|
|
690
|
+
/**
|
|
691
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
692
|
+
*/
|
|
693
|
+
RequestId?: string;
|
|
694
|
+
}
|
|
695
|
+
/**
|
|
696
|
+
* DeleteApplicationProxyRule返回参数结构体
|
|
697
|
+
*/
|
|
698
|
+
export interface DeleteApplicationProxyRuleResponse {
|
|
699
|
+
/**
|
|
700
|
+
* 规则ID
|
|
701
|
+
*/
|
|
702
|
+
RuleId: string;
|
|
703
|
+
/**
|
|
704
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
705
|
+
*/
|
|
706
|
+
RequestId?: string;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* DescribeIdentification请求参数结构体
|
|
710
|
+
*/
|
|
711
|
+
export interface DescribeIdentificationRequest {
|
|
712
|
+
/**
|
|
713
|
+
* 站点名称
|
|
714
|
+
*/
|
|
715
|
+
Name: string;
|
|
716
|
+
}
|
|
717
|
+
/**
|
|
718
|
+
* CreateDnsRecord请求参数结构体
|
|
719
|
+
*/
|
|
720
|
+
export interface CreateDnsRecordRequest {
|
|
721
|
+
/**
|
|
722
|
+
* 站点 ID
|
|
723
|
+
*/
|
|
724
|
+
ZoneId: string;
|
|
725
|
+
/**
|
|
726
|
+
* 记录类型
|
|
727
|
+
*/
|
|
728
|
+
Type: string;
|
|
729
|
+
/**
|
|
730
|
+
* 记录名
|
|
731
|
+
*/
|
|
732
|
+
Name: string;
|
|
733
|
+
/**
|
|
734
|
+
* 记录内容
|
|
735
|
+
*/
|
|
736
|
+
Content: string;
|
|
737
|
+
/**
|
|
738
|
+
* 代理模式,可选值:dns_only, cdn_only, secure_cdn
|
|
739
|
+
*/
|
|
740
|
+
Mode: string;
|
|
741
|
+
/**
|
|
742
|
+
* 生存时间值
|
|
743
|
+
*/
|
|
744
|
+
Ttl?: number;
|
|
745
|
+
/**
|
|
746
|
+
* 优先级
|
|
747
|
+
*/
|
|
748
|
+
Priority?: number;
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* 离线日志详细信息
|
|
752
|
+
*/
|
|
753
|
+
export interface L7OfflineLog {
|
|
754
|
+
/**
|
|
755
|
+
* 日志打包开始时间
|
|
756
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
757
|
+
*/
|
|
758
|
+
LogTime: number;
|
|
759
|
+
/**
|
|
760
|
+
* 站点名称
|
|
761
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
762
|
+
*/
|
|
763
|
+
Domain: string;
|
|
764
|
+
/**
|
|
765
|
+
* 原始大小 单位byte
|
|
766
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
767
|
+
*/
|
|
768
|
+
Size: number;
|
|
769
|
+
/**
|
|
770
|
+
* 下载地址
|
|
771
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
772
|
+
*/
|
|
773
|
+
Url: string;
|
|
774
|
+
/**
|
|
775
|
+
* 日志数据包名
|
|
776
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
777
|
+
*/
|
|
778
|
+
LogPacketName: string;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
* 应用代理规则
|
|
782
|
+
*/
|
|
783
|
+
export interface ApplicationProxyRule {
|
|
784
|
+
/**
|
|
785
|
+
* 协议,取值为TCP或者UDP
|
|
786
|
+
*/
|
|
787
|
+
Proto: string;
|
|
788
|
+
/**
|
|
789
|
+
* 端口,支持格式:
|
|
790
|
+
80:80端口
|
|
791
|
+
81-90:81至90端口
|
|
792
|
+
*/
|
|
793
|
+
Port: Array<string>;
|
|
794
|
+
/**
|
|
795
|
+
* 源站类型,取值:
|
|
796
|
+
custom:手动添加
|
|
797
|
+
origins:源站组
|
|
798
|
+
load_balancing:负载均衡
|
|
799
|
+
*/
|
|
800
|
+
OriginType: string;
|
|
801
|
+
/**
|
|
802
|
+
* 源站信息:
|
|
803
|
+
当OriginType=custom时,表示多个:
|
|
804
|
+
IP:端口
|
|
805
|
+
域名:端口
|
|
806
|
+
当OriginType=origins时,包含一个元素,表示源站组ID
|
|
807
|
+
当OriginType=load_balancing时,包含一个元素,表示负载均衡ID
|
|
808
|
+
*/
|
|
809
|
+
OriginValue: Array<string>;
|
|
810
|
+
/**
|
|
811
|
+
* 规则ID
|
|
812
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
813
|
+
*/
|
|
814
|
+
RuleId?: string;
|
|
815
|
+
/**
|
|
816
|
+
* 状态:
|
|
817
|
+
online:启用
|
|
818
|
+
offline:停用
|
|
819
|
+
progress:部署中
|
|
820
|
+
stopping:停用中
|
|
821
|
+
fail:部署失败/停用失败
|
|
822
|
+
*/
|
|
823
|
+
Status?: string;
|
|
824
|
+
/**
|
|
825
|
+
* 传递客户端IP,当Proto=TCP时,取值:
|
|
826
|
+
TOA:TOA
|
|
827
|
+
PPV1: Proxy Protocol传递,协议版本V1
|
|
828
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
829
|
+
OFF:不传递
|
|
830
|
+
当Proto=UDP时,取值:
|
|
831
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
832
|
+
OFF:不传递
|
|
833
|
+
*/
|
|
834
|
+
ForwardClientIp?: string;
|
|
835
|
+
/**
|
|
836
|
+
* 是否开启会话保持
|
|
837
|
+
*/
|
|
838
|
+
SessionPersist?: boolean;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* 智能加速配置
|
|
842
|
+
*/
|
|
843
|
+
export interface SmartRouting {
|
|
844
|
+
/**
|
|
845
|
+
* 智能加速配置开关
|
|
846
|
+
on:开启
|
|
847
|
+
off:关闭
|
|
848
|
+
*/
|
|
849
|
+
Switch: string;
|
|
850
|
+
}
|
|
851
|
+
/**
|
|
852
|
+
* DescribeDnsData返回参数结构体
|
|
853
|
+
*/
|
|
854
|
+
export interface DescribeDnsDataResponse {
|
|
855
|
+
/**
|
|
856
|
+
* 统计曲线数据
|
|
857
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
858
|
+
*/
|
|
859
|
+
Data: Array<DataItem>;
|
|
860
|
+
/**
|
|
861
|
+
* 时间粒度
|
|
862
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
863
|
+
*/
|
|
864
|
+
Interval: string;
|
|
865
|
+
/**
|
|
866
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
867
|
+
*/
|
|
868
|
+
RequestId?: string;
|
|
869
|
+
}
|
|
870
|
+
/**
|
|
871
|
+
* 站点信息
|
|
872
|
+
*/
|
|
873
|
+
export interface Zone {
|
|
874
|
+
/**
|
|
875
|
+
* 站点ID
|
|
876
|
+
*/
|
|
877
|
+
Id: string;
|
|
878
|
+
/**
|
|
879
|
+
* 站点名称
|
|
880
|
+
*/
|
|
881
|
+
Name: string;
|
|
882
|
+
/**
|
|
883
|
+
* 站点当前使用的 NS 列表
|
|
884
|
+
*/
|
|
885
|
+
OriginalNameServers: Array<string>;
|
|
886
|
+
/**
|
|
887
|
+
* 腾讯云分配的 NS 列表
|
|
888
|
+
*/
|
|
889
|
+
NameServers: Array<string>;
|
|
890
|
+
/**
|
|
891
|
+
* 站点状态
|
|
892
|
+
- active:NS 已切换
|
|
893
|
+
- pending:NS 未切换
|
|
894
|
+
- moved:NS 已切走
|
|
895
|
+
- deactivated:被封禁
|
|
896
|
+
*/
|
|
897
|
+
Status: string;
|
|
898
|
+
/**
|
|
899
|
+
* 站点接入方式
|
|
900
|
+
- full:NS 接入
|
|
901
|
+
- partial:CNAME 接入
|
|
902
|
+
*/
|
|
903
|
+
Type: string;
|
|
904
|
+
/**
|
|
905
|
+
* 站点是否关闭
|
|
906
|
+
*/
|
|
907
|
+
Paused: boolean;
|
|
908
|
+
/**
|
|
909
|
+
* 站点创建时间
|
|
910
|
+
*/
|
|
911
|
+
CreatedOn: string;
|
|
912
|
+
/**
|
|
913
|
+
* 站点修改时间
|
|
914
|
+
*/
|
|
915
|
+
ModifiedOn: string;
|
|
916
|
+
/**
|
|
917
|
+
* cname 接入状态
|
|
918
|
+
- finished 站点已验证
|
|
919
|
+
- pending 站点验证中
|
|
920
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
921
|
+
*/
|
|
922
|
+
CnameStatus: string;
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
* ModifyApplicationProxyStatus请求参数结构体
|
|
926
|
+
*/
|
|
927
|
+
export interface ModifyApplicationProxyStatusRequest {
|
|
928
|
+
/**
|
|
929
|
+
* 站点ID
|
|
930
|
+
*/
|
|
931
|
+
ZoneId: string;
|
|
932
|
+
/**
|
|
933
|
+
* 四层代理ID
|
|
934
|
+
*/
|
|
935
|
+
ProxyId: string;
|
|
936
|
+
/**
|
|
937
|
+
* 状态
|
|
938
|
+
offline: 停用
|
|
939
|
+
online: 启用
|
|
940
|
+
*/
|
|
941
|
+
Status: string;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
* 缓存时间设置
|
|
945
|
+
*/
|
|
946
|
+
export interface CacheConfigCache {
|
|
947
|
+
/**
|
|
948
|
+
* 缓存配置开关
|
|
949
|
+
on:开启
|
|
950
|
+
off:关闭
|
|
951
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
952
|
+
*/
|
|
953
|
+
Switch: string;
|
|
954
|
+
/**
|
|
955
|
+
* 缓存过期时间设置
|
|
956
|
+
单位为秒,最大可设置为 365 天
|
|
957
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
958
|
+
*/
|
|
959
|
+
CacheTime?: number;
|
|
960
|
+
/**
|
|
961
|
+
* 是否开启强制缓存
|
|
962
|
+
开启:on
|
|
963
|
+
关闭:off
|
|
964
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
965
|
+
*/
|
|
966
|
+
IgnoreCacheControl?: string;
|
|
967
|
+
}
|
|
968
|
+
/**
|
|
969
|
+
* 证书查询过滤条件
|
|
970
|
+
*/
|
|
971
|
+
export interface CertFilter {
|
|
972
|
+
/**
|
|
973
|
+
* 过滤字段名,支持的列表如下:
|
|
974
|
+
- host:域名。
|
|
975
|
+
- certId: 证书ID
|
|
976
|
+
- certAlias: 证书备用名
|
|
977
|
+
- certType: default: 默认证书, upload: 上传证书, managed:腾讯云证书
|
|
978
|
+
*/
|
|
979
|
+
Name: string;
|
|
980
|
+
/**
|
|
981
|
+
* 过滤字段值
|
|
982
|
+
*/
|
|
983
|
+
Values: Array<string>;
|
|
984
|
+
/**
|
|
985
|
+
* 是否启用模糊查询,仅支持过滤字段名host。
|
|
986
|
+
模糊查询时,Value长度最大为1。
|
|
987
|
+
*/
|
|
988
|
+
Fuzzy?: boolean;
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* ModifyLoadBalancingStatus请求参数结构体
|
|
992
|
+
*/
|
|
993
|
+
export interface ModifyLoadBalancingStatusRequest {
|
|
994
|
+
/**
|
|
995
|
+
* 站点ID
|
|
996
|
+
*/
|
|
997
|
+
ZoneId: string;
|
|
998
|
+
/**
|
|
999
|
+
* 负载均衡ID
|
|
1000
|
+
*/
|
|
1001
|
+
LoadBalancingId: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* 状态
|
|
1004
|
+
online: 启用
|
|
1005
|
+
offline: 停用
|
|
1006
|
+
*/
|
|
1007
|
+
Status: string;
|
|
1008
|
+
}
|
|
1009
|
+
/**
|
|
1010
|
+
* Quic配置项
|
|
1011
|
+
*/
|
|
1012
|
+
export interface Quic {
|
|
1013
|
+
/**
|
|
1014
|
+
* 是否启动Quic配置
|
|
1015
|
+
*/
|
|
1016
|
+
Switch: string;
|
|
1017
|
+
}
|
|
1018
|
+
/**
|
|
1019
|
+
* DescribeCnameStatus返回参数结构体
|
|
1020
|
+
*/
|
|
1021
|
+
export interface DescribeCnameStatusResponse {
|
|
1022
|
+
/**
|
|
1023
|
+
* 状态列表
|
|
1024
|
+
*/
|
|
1025
|
+
Status: Array<CnameStatus>;
|
|
1026
|
+
/**
|
|
1027
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1028
|
+
*/
|
|
1029
|
+
RequestId?: string;
|
|
1030
|
+
}
|
|
1031
|
+
/**
|
|
1032
|
+
* DescribeLoadBalancing请求参数结构体
|
|
1033
|
+
*/
|
|
1034
|
+
export interface DescribeLoadBalancingRequest {
|
|
1035
|
+
/**
|
|
1036
|
+
* 站点ID
|
|
1037
|
+
*/
|
|
1038
|
+
ZoneId: string;
|
|
1039
|
+
/**
|
|
1040
|
+
* 分页参数Offset
|
|
1041
|
+
*/
|
|
1042
|
+
Offset: number;
|
|
1043
|
+
/**
|
|
1044
|
+
* 分页参数Limit
|
|
1045
|
+
*/
|
|
1046
|
+
Limit: number;
|
|
1047
|
+
/**
|
|
1048
|
+
* 过滤参数Host
|
|
1049
|
+
*/
|
|
1050
|
+
Host?: string;
|
|
1051
|
+
/**
|
|
1052
|
+
* 过滤参数Host是否支持模糊匹配
|
|
1053
|
+
*/
|
|
1054
|
+
Fuzzy?: boolean;
|
|
1055
|
+
}
|
|
1056
|
+
/**
|
|
1057
|
+
* ModifyApplicationProxyRule请求参数结构体
|
|
1058
|
+
*/
|
|
1059
|
+
export interface ModifyApplicationProxyRuleRequest {
|
|
1060
|
+
/**
|
|
1061
|
+
* 站点ID
|
|
1062
|
+
*/
|
|
1063
|
+
ZoneId: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* 代理ID
|
|
1066
|
+
*/
|
|
1067
|
+
ProxyId: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* 规则ID
|
|
1070
|
+
*/
|
|
1071
|
+
RuleId: string;
|
|
1072
|
+
/**
|
|
1073
|
+
* 协议,取值为TCP或者UDP
|
|
1074
|
+
*/
|
|
1075
|
+
Proto: string;
|
|
1076
|
+
/**
|
|
1077
|
+
* 端口,支持格式:
|
|
1078
|
+
80:80端口
|
|
1079
|
+
81-90:81至90端口
|
|
1080
|
+
*/
|
|
1081
|
+
Port: Array<string>;
|
|
1082
|
+
/**
|
|
1083
|
+
* 源站类型,取值:
|
|
1084
|
+
custom:手动添加
|
|
1085
|
+
origins:源站组
|
|
1086
|
+
load_balancing:负载均衡
|
|
1087
|
+
*/
|
|
1088
|
+
OriginType: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* 源站信息:
|
|
1091
|
+
当OriginType=custom时,表示多个:
|
|
1092
|
+
IP:端口
|
|
1093
|
+
域名:端口
|
|
1094
|
+
当OriginType=origins时,包含一个元素,表示源站组ID
|
|
1095
|
+
当OriginType=load_balancing时,包含一个元素,表示负载均衡ID
|
|
1096
|
+
*/
|
|
1097
|
+
OriginValue: Array<string>;
|
|
1098
|
+
/**
|
|
1099
|
+
* 传递客户端IP,当Proto=TCP时,取值:
|
|
1100
|
+
TOA:TOA
|
|
1101
|
+
PPV1: Proxy Protocol传递,协议版本V1
|
|
1102
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
1103
|
+
OFF:不传递
|
|
1104
|
+
当Proto=UDP时,取值:
|
|
1105
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
1106
|
+
OFF:不传递
|
|
1107
|
+
*/
|
|
1108
|
+
ForwardClientIp?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* 是否开启会话保持
|
|
1111
|
+
*/
|
|
1112
|
+
SessionPersist?: boolean;
|
|
1113
|
+
}
|
|
1114
|
+
/**
|
|
1115
|
+
* CNAME 状态
|
|
1116
|
+
*/
|
|
1117
|
+
export interface CnameStatus {
|
|
1118
|
+
/**
|
|
1119
|
+
* 记录名称
|
|
1120
|
+
*/
|
|
1121
|
+
Name: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* CNAME 地址
|
|
1124
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1125
|
+
*/
|
|
1126
|
+
Cname: string;
|
|
1127
|
+
/**
|
|
1128
|
+
* 状态
|
|
1129
|
+
生效:active
|
|
1130
|
+
不生效:moved
|
|
1131
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1132
|
+
*/
|
|
1133
|
+
Status: string;
|
|
1134
|
+
}
|
|
1135
|
+
/**
|
|
1136
|
+
* ModifyZoneSetting返回参数结构体
|
|
1137
|
+
*/
|
|
1138
|
+
export interface ModifyZoneSettingResponse {
|
|
1139
|
+
/**
|
|
1140
|
+
* 站点ID
|
|
1141
|
+
*/
|
|
1142
|
+
ZoneId: string;
|
|
1143
|
+
/**
|
|
1144
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1145
|
+
*/
|
|
1146
|
+
RequestId?: string;
|
|
1147
|
+
}
|
|
1148
|
+
/**
|
|
1149
|
+
* DownloadL7Logs返回参数结构体
|
|
1150
|
+
*/
|
|
1151
|
+
export interface DownloadL7LogsResponse {
|
|
1152
|
+
/**
|
|
1153
|
+
* 七层离线日志data
|
|
1154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1155
|
+
*/
|
|
1156
|
+
Data: Array<L7OfflineLog>;
|
|
1157
|
+
/**
|
|
1158
|
+
* 页面大小
|
|
1159
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1160
|
+
*/
|
|
1161
|
+
PageSize: number;
|
|
1162
|
+
/**
|
|
1163
|
+
* 页号
|
|
1164
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1165
|
+
*/
|
|
1166
|
+
PageNo: number;
|
|
1167
|
+
/**
|
|
1168
|
+
* 总页数
|
|
1169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1170
|
+
*/
|
|
1171
|
+
Pages: number;
|
|
1172
|
+
/**
|
|
1173
|
+
* 总条数
|
|
1174
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1175
|
+
*/
|
|
1176
|
+
TotalSize: number;
|
|
1177
|
+
/**
|
|
1178
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1179
|
+
*/
|
|
1180
|
+
RequestId?: string;
|
|
1181
|
+
}
|
|
1182
|
+
/**
|
|
1183
|
+
* CreateDnsRecord返回参数结构体
|
|
1184
|
+
*/
|
|
1185
|
+
export interface CreateDnsRecordResponse {
|
|
1186
|
+
/**
|
|
1187
|
+
* 记录 ID
|
|
1188
|
+
*/
|
|
1189
|
+
Id: string;
|
|
1190
|
+
/**
|
|
1191
|
+
* 记录类型
|
|
1192
|
+
*/
|
|
1193
|
+
Type: string;
|
|
1194
|
+
/**
|
|
1195
|
+
* 记录名称
|
|
1196
|
+
*/
|
|
1197
|
+
Name: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* 记录内容
|
|
1200
|
+
*/
|
|
1201
|
+
Content: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* 生存时间值
|
|
1204
|
+
*/
|
|
1205
|
+
Ttl: number;
|
|
1206
|
+
/**
|
|
1207
|
+
* 优先级
|
|
1208
|
+
*/
|
|
1209
|
+
Priority: number;
|
|
1210
|
+
/**
|
|
1211
|
+
* 代理模式
|
|
1212
|
+
*/
|
|
1213
|
+
Mode: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* 解析状态
|
|
1216
|
+
active: 生效
|
|
1217
|
+
pending: 不生效
|
|
1218
|
+
*/
|
|
1219
|
+
Status: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* 已锁定
|
|
1222
|
+
*/
|
|
1223
|
+
Locked: boolean;
|
|
1224
|
+
/**
|
|
1225
|
+
* 创建时间
|
|
1226
|
+
*/
|
|
1227
|
+
CreatedOn: string;
|
|
1228
|
+
/**
|
|
1229
|
+
* 修改时间
|
|
1230
|
+
*/
|
|
1231
|
+
ModifiedOn: string;
|
|
1232
|
+
/**
|
|
1233
|
+
* 站点 ID
|
|
1234
|
+
*/
|
|
1235
|
+
ZoneId: string;
|
|
1236
|
+
/**
|
|
1237
|
+
* 站点名称
|
|
1238
|
+
*/
|
|
1239
|
+
ZoneName: string;
|
|
1240
|
+
/**
|
|
1241
|
+
* CNAME 地址
|
|
1242
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1243
|
+
*/
|
|
1244
|
+
Cname: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1247
|
+
*/
|
|
1248
|
+
RequestId?: string;
|
|
1249
|
+
}
|
|
1250
|
+
/**
|
|
1251
|
+
* https 服务端证书配置
|
|
1252
|
+
*/
|
|
1253
|
+
export interface ServerCertInfo {
|
|
1254
|
+
/**
|
|
1255
|
+
* 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
|
|
1256
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1257
|
+
*/
|
|
1258
|
+
CertId: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* 证书备注名
|
|
1261
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1262
|
+
*/
|
|
1263
|
+
Alias?: string;
|
|
1264
|
+
/**
|
|
1265
|
+
* 证书类型:
|
|
1266
|
+
default: 默认证书
|
|
1267
|
+
upload:用户上传
|
|
1268
|
+
managed:腾讯云托管
|
|
1269
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1270
|
+
*/
|
|
1271
|
+
Type?: string;
|
|
1272
|
+
/**
|
|
1273
|
+
* 证书过期时间
|
|
1274
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1275
|
+
*/
|
|
1276
|
+
ExpireTime?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* 证书部署时间
|
|
1279
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1280
|
+
*/
|
|
1281
|
+
DeployTime?: string;
|
|
1282
|
+
/**
|
|
1283
|
+
* 部署状态:
|
|
1284
|
+
processing: 部署中
|
|
1285
|
+
deployed: 已部署
|
|
1286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1287
|
+
*/
|
|
1288
|
+
Status?: string;
|
|
1289
|
+
}
|
|
1290
|
+
/**
|
|
1291
|
+
* DescribeZones请求参数结构体
|
|
1292
|
+
*/
|
|
1293
|
+
export interface DescribeZonesRequest {
|
|
1294
|
+
/**
|
|
1295
|
+
* 分页参数,页偏移
|
|
1296
|
+
*/
|
|
1297
|
+
Offset?: number;
|
|
1298
|
+
/**
|
|
1299
|
+
* 分页参数,每页返回的站点个数
|
|
1300
|
+
*/
|
|
1301
|
+
Limit?: number;
|
|
1302
|
+
/**
|
|
1303
|
+
* 查询条件过滤器,复杂类型
|
|
1304
|
+
*/
|
|
1305
|
+
Filters?: Array<ZoneFilter>;
|
|
1306
|
+
}
|
|
1307
|
+
/**
|
|
1308
|
+
* 源站组记录
|
|
1309
|
+
*/
|
|
1310
|
+
export interface OriginRecord {
|
|
1311
|
+
/**
|
|
1312
|
+
* 记录值
|
|
1313
|
+
*/
|
|
1314
|
+
Record: string;
|
|
1315
|
+
/**
|
|
1316
|
+
* 当源站配置类型Type=area时,表示区域
|
|
1317
|
+
当源站类型Type=area时,为空表示默认区域
|
|
1318
|
+
*/
|
|
1319
|
+
Area: Array<string>;
|
|
1320
|
+
/**
|
|
1321
|
+
* 当源站配置类型Type=weight时,表示权重
|
|
1322
|
+
*/
|
|
1323
|
+
Weight: number;
|
|
1324
|
+
/**
|
|
1325
|
+
* 端口
|
|
1326
|
+
*/
|
|
1327
|
+
Port: number;
|
|
1328
|
+
/**
|
|
1329
|
+
* 记录ID
|
|
1330
|
+
*/
|
|
1331
|
+
RecordId?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* 是否私有鉴权
|
|
1334
|
+
当源站类型OriginType=third_part时有效
|
|
1335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1336
|
+
*/
|
|
1337
|
+
Private?: boolean;
|
|
1338
|
+
/**
|
|
1339
|
+
* 私有鉴权参数
|
|
1340
|
+
当源站类型Private=true时有效
|
|
1341
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1342
|
+
*/
|
|
1343
|
+
PrivateParameter?: Array<OriginRecordPrivateParameter>;
|
|
1344
|
+
}
|
|
1345
|
+
/**
|
|
1346
|
+
* CreatePrefetchTask请求参数结构体
|
|
1347
|
+
*/
|
|
1348
|
+
export interface CreatePrefetchTaskRequest {
|
|
1349
|
+
/**
|
|
1350
|
+
* Zone ID
|
|
1351
|
+
*/
|
|
1352
|
+
ZoneId: string;
|
|
1353
|
+
/**
|
|
1354
|
+
* 要预热的资源列表,每个元素格式类似如下:
|
|
1355
|
+
http://www.example.com/example.txt
|
|
1356
|
+
*/
|
|
1357
|
+
Targets?: Array<string>;
|
|
1358
|
+
/**
|
|
1359
|
+
* 是否对url进行encode
|
|
1360
|
+
若内容含有非 ASCII 字符集的字符,请开启此开关,编码转换(编码规则遵循 RFC3986)
|
|
1361
|
+
*/
|
|
1362
|
+
EncodeUrl?: boolean;
|
|
1363
|
+
/**
|
|
1364
|
+
* 附带的http头部信息
|
|
1365
|
+
*/
|
|
1366
|
+
Headers?: Array<Header>;
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* DeleteApplicationProxyRule请求参数结构体
|
|
1370
|
+
*/
|
|
1371
|
+
export interface DeleteApplicationProxyRuleRequest {
|
|
1372
|
+
/**
|
|
1373
|
+
* 站点ID
|
|
1374
|
+
*/
|
|
1375
|
+
ZoneId: string;
|
|
1376
|
+
/**
|
|
1377
|
+
* 代理ID
|
|
1378
|
+
*/
|
|
1379
|
+
ProxyId: string;
|
|
1380
|
+
/**
|
|
1381
|
+
* 规则ID
|
|
1382
|
+
*/
|
|
1383
|
+
RuleId: string;
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* 缓存遵循源站配置
|
|
1387
|
+
*/
|
|
1388
|
+
export interface CacheConfigFollowOrigin {
|
|
1389
|
+
/**
|
|
1390
|
+
* 遵循源站配置开关
|
|
1391
|
+
on:开启
|
|
1392
|
+
off:关闭
|
|
1393
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1394
|
+
*/
|
|
1395
|
+
Switch: string;
|
|
1396
|
+
}
|
|
1397
|
+
/**
|
|
1398
|
+
* 自定义 nameservers
|
|
1399
|
+
*/
|
|
1400
|
+
export interface VanityNameServers {
|
|
1401
|
+
/**
|
|
1402
|
+
* 自定义 ns 开关
|
|
1403
|
+
- on 开启
|
|
1404
|
+
- off 关闭
|
|
1405
|
+
*/
|
|
1406
|
+
Switch: string;
|
|
1407
|
+
/**
|
|
1408
|
+
* 自定义 ns 列表
|
|
1409
|
+
*/
|
|
1410
|
+
Servers?: Array<string>;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* DescribeApplicationProxy返回参数结构体
|
|
1414
|
+
*/
|
|
1415
|
+
export interface DescribeApplicationProxyResponse {
|
|
1416
|
+
/**
|
|
1417
|
+
* 数据列表
|
|
1418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1419
|
+
*/
|
|
1420
|
+
Data: Array<ApplicationProxy>;
|
|
1421
|
+
/**
|
|
1422
|
+
* 记录总数
|
|
1423
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1424
|
+
*/
|
|
1425
|
+
TotalCount: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* 当ZoneId不为空时,表示当前站点允许创建的实例数量
|
|
1428
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1429
|
+
*/
|
|
1430
|
+
Quota: number;
|
|
1431
|
+
/**
|
|
1432
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1433
|
+
*/
|
|
1434
|
+
RequestId?: string;
|
|
1435
|
+
}
|
|
1436
|
+
/**
|
|
1437
|
+
* CreateLoadBalancing返回参数结构体
|
|
1438
|
+
*/
|
|
1439
|
+
export interface CreateLoadBalancingResponse {
|
|
1440
|
+
/**
|
|
1441
|
+
* 负载均衡ID
|
|
1442
|
+
*/
|
|
1443
|
+
LoadBalancingId: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1446
|
+
*/
|
|
1447
|
+
RequestId?: string;
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* IdentifyZone返回参数结构体
|
|
1451
|
+
*/
|
|
1452
|
+
export interface IdentifyZoneResponse {
|
|
1453
|
+
/**
|
|
1454
|
+
* 站点名称
|
|
1455
|
+
*/
|
|
1456
|
+
Name: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* 子域
|
|
1459
|
+
*/
|
|
1460
|
+
Subdomain: string;
|
|
1461
|
+
/**
|
|
1462
|
+
* 记录类型
|
|
1463
|
+
*/
|
|
1464
|
+
RecordType: string;
|
|
1465
|
+
/**
|
|
1466
|
+
* 记录值
|
|
1467
|
+
*/
|
|
1468
|
+
RecordValue: string;
|
|
1469
|
+
/**
|
|
1470
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1471
|
+
*/
|
|
1472
|
+
RequestId?: string;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
* WebSocket配置
|
|
1476
|
+
*/
|
|
1477
|
+
export interface WebSocket {
|
|
1478
|
+
/**
|
|
1479
|
+
* WebSocket 超时配置开关, 开关为off时,平台仍支持WebSocket连接,此时超时时间默认为15秒,若需要调整超时时间,将开关置为on.
|
|
1480
|
+
*/
|
|
1481
|
+
Switch: string;
|
|
1482
|
+
/**
|
|
1483
|
+
* 设置超时时间,单位为秒,最大超时时间120秒。
|
|
1484
|
+
*/
|
|
1485
|
+
Timeout?: number;
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* 统计曲线数据项
|
|
1489
|
+
*/
|
|
1490
|
+
export interface DataItem {
|
|
1491
|
+
/**
|
|
1492
|
+
* 时间
|
|
1493
|
+
*/
|
|
1494
|
+
Time: string;
|
|
1495
|
+
/**
|
|
1496
|
+
* 数值
|
|
1497
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1498
|
+
*/
|
|
1499
|
+
Value: number;
|
|
1500
|
+
}
|
|
1501
|
+
/**
|
|
1502
|
+
* ModifyLoadBalancing请求参数结构体
|
|
1503
|
+
*/
|
|
1504
|
+
export interface ModifyLoadBalancingRequest {
|
|
1505
|
+
/**
|
|
1506
|
+
* 站点ID
|
|
1507
|
+
*/
|
|
1508
|
+
ZoneId: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* 负载均衡ID
|
|
1511
|
+
*/
|
|
1512
|
+
LoadBalancingId: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* 代理模式:
|
|
1515
|
+
dns_only: 仅DNS
|
|
1516
|
+
proxied: 开启代理
|
|
1517
|
+
*/
|
|
1518
|
+
Type: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* 使用的源站组ID
|
|
1521
|
+
*/
|
|
1522
|
+
OriginId: Array<string>;
|
|
1523
|
+
/**
|
|
1524
|
+
* 当Type=dns_only表示DNS的TTL时间
|
|
1525
|
+
*/
|
|
1526
|
+
TTL?: number;
|
|
1527
|
+
}
|
|
1528
|
+
/**
|
|
1529
|
+
* CreateLoadBalancing请求参数结构体
|
|
1530
|
+
*/
|
|
1531
|
+
export interface CreateLoadBalancingRequest {
|
|
1532
|
+
/**
|
|
1533
|
+
* 站点ID
|
|
1534
|
+
*/
|
|
1535
|
+
ZoneId: string;
|
|
1536
|
+
/**
|
|
1537
|
+
* 子域名,填写@表示根域
|
|
1538
|
+
*/
|
|
1539
|
+
Host: string;
|
|
1540
|
+
/**
|
|
1541
|
+
* 代理模式:
|
|
1542
|
+
dns_only: 仅DNS
|
|
1543
|
+
proxied: 开启代理
|
|
1544
|
+
*/
|
|
1545
|
+
Type: string;
|
|
1546
|
+
/**
|
|
1547
|
+
* 使用的源站组ID
|
|
1548
|
+
*/
|
|
1549
|
+
OriginId: Array<string>;
|
|
1550
|
+
/**
|
|
1551
|
+
* 当Type=dns_only表示DNS的TTL时间
|
|
1552
|
+
*/
|
|
1553
|
+
TTL?: number;
|
|
1554
|
+
}
|
|
1555
|
+
/**
|
|
1556
|
+
* DescribeDnssec请求参数结构体
|
|
1557
|
+
*/
|
|
1558
|
+
export interface DescribeDnssecRequest {
|
|
1559
|
+
/**
|
|
1560
|
+
* 站点 ID
|
|
1561
|
+
*/
|
|
1562
|
+
Id: string;
|
|
1563
|
+
}
|
|
1564
|
+
/**
|
|
1565
|
+
* DescribeLoadBalancingDetail返回参数结构体
|
|
1566
|
+
*/
|
|
1567
|
+
export interface DescribeLoadBalancingDetailResponse {
|
|
1568
|
+
/**
|
|
1569
|
+
* 负载均衡ID
|
|
1570
|
+
*/
|
|
1571
|
+
LoadBalancingId: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* 站点ID
|
|
1574
|
+
*/
|
|
1575
|
+
ZoneId: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* 子域名,填写@表示根域
|
|
1578
|
+
*/
|
|
1579
|
+
Host: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* 代理模式:
|
|
1582
|
+
dns_only: 仅DNS
|
|
1583
|
+
proxied: 开启代理
|
|
1584
|
+
*/
|
|
1585
|
+
Type: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* 当Type=dns_only表示DNS的TTL时间
|
|
1588
|
+
*/
|
|
1589
|
+
TTL: number;
|
|
1590
|
+
/**
|
|
1591
|
+
* 使用的源站组ID
|
|
1592
|
+
*/
|
|
1593
|
+
OriginId: Array<string>;
|
|
1594
|
+
/**
|
|
1595
|
+
* 使用的源站信息
|
|
1596
|
+
*/
|
|
1597
|
+
Origin: Array<OriginGroup>;
|
|
1598
|
+
/**
|
|
1599
|
+
* 更新时间
|
|
1600
|
+
*/
|
|
1601
|
+
UpdateTime: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* 状态
|
|
1604
|
+
*/
|
|
1605
|
+
Status: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* 调度域名
|
|
1608
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1609
|
+
*/
|
|
1610
|
+
Cname: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1613
|
+
*/
|
|
1614
|
+
RequestId?: string;
|
|
1615
|
+
}
|
|
1616
|
+
/**
|
|
1617
|
+
* DescribePrefetchTasks请求参数结构体
|
|
1618
|
+
*/
|
|
1619
|
+
export interface DescribePrefetchTasksRequest {
|
|
1620
|
+
/**
|
|
1621
|
+
* 任务ID
|
|
1622
|
+
*/
|
|
1623
|
+
JobId?: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* 查询起始时间
|
|
1626
|
+
*/
|
|
1627
|
+
StartTime?: string;
|
|
1628
|
+
/**
|
|
1629
|
+
* 查询结束时间
|
|
1630
|
+
*/
|
|
1631
|
+
EndTime?: string;
|
|
1632
|
+
/**
|
|
1633
|
+
* 查询起始偏移量
|
|
1634
|
+
*/
|
|
1635
|
+
Offset?: number;
|
|
1636
|
+
/**
|
|
1637
|
+
* 查询最大返回的结果条数
|
|
1638
|
+
*/
|
|
1639
|
+
Limit?: number;
|
|
1640
|
+
/**
|
|
1641
|
+
* 查询的状态
|
|
1642
|
+
允许的值为:processing、success、failed、timeout、invalid
|
|
1643
|
+
*/
|
|
1644
|
+
Statuses?: Array<string>;
|
|
1645
|
+
/**
|
|
1646
|
+
* zone id
|
|
1647
|
+
*/
|
|
1648
|
+
ZoneId?: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* 查询的域名列表
|
|
1651
|
+
*/
|
|
1652
|
+
Domains?: Array<string>;
|
|
1653
|
+
/**
|
|
1654
|
+
* 查询的资源
|
|
1655
|
+
*/
|
|
1656
|
+
Target?: string;
|
|
1657
|
+
}
|
|
1658
|
+
/**
|
|
1659
|
+
* DNS 记录
|
|
1660
|
+
*/
|
|
1661
|
+
export interface DnsRecord {
|
|
1662
|
+
/**
|
|
1663
|
+
* 记录 ID
|
|
1664
|
+
*/
|
|
1665
|
+
Id: string;
|
|
1666
|
+
/**
|
|
1667
|
+
* 记录类型
|
|
1668
|
+
*/
|
|
1669
|
+
Type: string;
|
|
1670
|
+
/**
|
|
1671
|
+
* 主机记录
|
|
1672
|
+
*/
|
|
1673
|
+
Name: string;
|
|
1674
|
+
/**
|
|
1675
|
+
* 记录值
|
|
1676
|
+
*/
|
|
1677
|
+
Content: string;
|
|
1678
|
+
/**
|
|
1679
|
+
* 代理模式
|
|
1680
|
+
*/
|
|
1681
|
+
Mode: string;
|
|
1682
|
+
/**
|
|
1683
|
+
* TTL 值
|
|
1684
|
+
*/
|
|
1685
|
+
Ttl: number;
|
|
1686
|
+
/**
|
|
1687
|
+
* 优先级
|
|
1688
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1689
|
+
*/
|
|
1690
|
+
Priority: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* 创建时间
|
|
1693
|
+
*/
|
|
1694
|
+
CreatedOn: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* 修改时间
|
|
1697
|
+
*/
|
|
1698
|
+
ModifiedOn: string;
|
|
1699
|
+
/**
|
|
1700
|
+
* 域名锁
|
|
1701
|
+
*/
|
|
1702
|
+
Locked: boolean;
|
|
1703
|
+
/**
|
|
1704
|
+
* 站点 ID
|
|
1705
|
+
*/
|
|
1706
|
+
ZoneId: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* 站点名称
|
|
1709
|
+
*/
|
|
1710
|
+
ZoneName: string;
|
|
1711
|
+
/**
|
|
1712
|
+
* 解析状态
|
|
1713
|
+
active: 生效
|
|
1714
|
+
pending: 不生效
|
|
1715
|
+
*/
|
|
1716
|
+
Status: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* CNAME 地址
|
|
1719
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1720
|
+
*/
|
|
1721
|
+
Cname: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* 域名是否开启了lb,四层,安全
|
|
1724
|
+
- lb 负载均衡
|
|
1725
|
+
- security 安全
|
|
1726
|
+
- l4 四层
|
|
1727
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1728
|
+
*/
|
|
1729
|
+
DomainStatus: Array<string>;
|
|
1730
|
+
}
|
|
1731
|
+
/**
|
|
1732
|
+
* DescribeDnsRecords请求参数结构体
|
|
1733
|
+
*/
|
|
1734
|
+
export interface DescribeDnsRecordsRequest {
|
|
1735
|
+
/**
|
|
1736
|
+
* 查询条件过滤器
|
|
1737
|
+
*/
|
|
1738
|
+
Filters?: Array<DnsRecordFilter>;
|
|
1739
|
+
/**
|
|
1740
|
+
* 排序
|
|
1741
|
+
*/
|
|
1742
|
+
Order?: string;
|
|
1743
|
+
/**
|
|
1744
|
+
* 可选值 asc, desc
|
|
1745
|
+
*/
|
|
1746
|
+
Direction?: string;
|
|
1747
|
+
/**
|
|
1748
|
+
* 可选值 all, any
|
|
1749
|
+
*/
|
|
1750
|
+
Match?: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* 分页查询限制数目,默认为 100,最大可设置为 1000
|
|
1753
|
+
*/
|
|
1754
|
+
Limit?: number;
|
|
1755
|
+
/**
|
|
1756
|
+
* 分页查询偏移量,默认为 0
|
|
1757
|
+
*/
|
|
1758
|
+
Offset?: number;
|
|
1759
|
+
/**
|
|
1760
|
+
* 站点 ID
|
|
1761
|
+
*/
|
|
1762
|
+
ZoneId?: string;
|
|
1763
|
+
}
|
|
1764
|
+
/**
|
|
1765
|
+
* CreatePrefetchTask返回参数结构体
|
|
1766
|
+
*/
|
|
1767
|
+
export interface CreatePrefetchTaskResponse {
|
|
1768
|
+
/**
|
|
1769
|
+
* 任务ID
|
|
1770
|
+
*/
|
|
1771
|
+
JobId: string;
|
|
1772
|
+
/**
|
|
1773
|
+
* 失败的任务列表
|
|
1774
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1775
|
+
*/
|
|
1776
|
+
FailedList: Array<FailReason>;
|
|
1777
|
+
/**
|
|
1778
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1779
|
+
*/
|
|
1780
|
+
RequestId?: string;
|
|
1781
|
+
}
|
|
1782
|
+
/**
|
|
1783
|
+
* DescribeDefaultCertificates请求参数结构体
|
|
1784
|
+
*/
|
|
1785
|
+
export interface DescribeDefaultCertificatesRequest {
|
|
1786
|
+
/**
|
|
1787
|
+
* Zone ID
|
|
1788
|
+
*/
|
|
1789
|
+
ZoneId: string;
|
|
1790
|
+
}
|
|
1791
|
+
/**
|
|
1792
|
+
* ModifyApplicationProxyRule返回参数结构体
|
|
1793
|
+
*/
|
|
1794
|
+
export interface ModifyApplicationProxyRuleResponse {
|
|
1795
|
+
/**
|
|
1796
|
+
* 规则ID
|
|
1797
|
+
*/
|
|
1798
|
+
RuleId: string;
|
|
1799
|
+
/**
|
|
1800
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1801
|
+
*/
|
|
1802
|
+
RequestId?: string;
|
|
1803
|
+
}
|
|
1804
|
+
/**
|
|
1805
|
+
* 失败原因
|
|
1806
|
+
*/
|
|
1807
|
+
export interface FailReason {
|
|
1808
|
+
/**
|
|
1809
|
+
* 失败原因
|
|
1810
|
+
*/
|
|
1811
|
+
Reason: string;
|
|
1812
|
+
/**
|
|
1813
|
+
* 处理失败的资源列表。
|
|
1814
|
+
该列表元素来源于输入参数中的Targets,因此格式和入参中的Targets保持一致
|
|
1815
|
+
*/
|
|
1816
|
+
Targets: Array<string>;
|
|
1817
|
+
}
|
|
1818
|
+
/**
|
|
1819
|
+
* CreateZone请求参数结构体
|
|
1820
|
+
*/
|
|
1821
|
+
export interface CreateZoneRequest {
|
|
1822
|
+
/**
|
|
1823
|
+
* 站点名字
|
|
1824
|
+
*/
|
|
1825
|
+
Name: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* 接入方式,默认full
|
|
1828
|
+
- full NS接入
|
|
1829
|
+
- partial CNAME接入
|
|
1830
|
+
*/
|
|
1831
|
+
Type?: string;
|
|
1832
|
+
/**
|
|
1833
|
+
* 是否跳过站点历史解析记录扫描
|
|
1834
|
+
*/
|
|
1835
|
+
JumpStart?: boolean;
|
|
1836
|
+
}
|
|
1837
|
+
/**
|
|
1838
|
+
* 源站记录私有鉴权参数
|
|
1839
|
+
*/
|
|
1840
|
+
export interface OriginRecordPrivateParameter {
|
|
1841
|
+
/**
|
|
1842
|
+
* 私有鉴权参数名称:
|
|
1843
|
+
"AccessKeyId":Access Key ID
|
|
1844
|
+
"SecretAccessKey":Secret Access Key
|
|
1845
|
+
*/
|
|
1846
|
+
Name: string;
|
|
1847
|
+
/**
|
|
1848
|
+
* 私有鉴权参数数值
|
|
1849
|
+
*/
|
|
1850
|
+
Value: string;
|
|
1851
|
+
}
|
|
1852
|
+
/**
|
|
1853
|
+
* CheckCertificate返回参数结构体
|
|
1854
|
+
*/
|
|
1855
|
+
export interface CheckCertificateResponse {
|
|
1856
|
+
/**
|
|
1857
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1858
|
+
*/
|
|
1859
|
+
RequestId?: string;
|
|
1860
|
+
}
|
|
1861
|
+
/**
|
|
1862
|
+
* DescribePurgeTasks返回参数结构体
|
|
1863
|
+
*/
|
|
1864
|
+
export interface DescribePurgeTasksResponse {
|
|
1865
|
+
/**
|
|
1866
|
+
* 该查询条件总共条目数
|
|
1867
|
+
*/
|
|
1868
|
+
TotalCount: number;
|
|
1869
|
+
/**
|
|
1870
|
+
* 任务结果列表
|
|
1871
|
+
*/
|
|
1872
|
+
Tasks: Array<Task>;
|
|
1873
|
+
/**
|
|
1874
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1875
|
+
*/
|
|
1876
|
+
RequestId?: string;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* DownloadL7Logs请求参数结构体
|
|
1880
|
+
*/
|
|
1881
|
+
export interface DownloadL7LogsRequest {
|
|
1882
|
+
/**
|
|
1883
|
+
* 起始时间(需严格按照RFC3339标准传参)
|
|
1884
|
+
*/
|
|
1885
|
+
StartTime: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* 结束时间(需严格按照RFC3339标准传参)
|
|
1888
|
+
*/
|
|
1889
|
+
EndTime: string;
|
|
1890
|
+
/**
|
|
1891
|
+
* 每页展示条数
|
|
1892
|
+
*/
|
|
1893
|
+
PageSize: number;
|
|
1894
|
+
/**
|
|
1895
|
+
* 当前页
|
|
1896
|
+
*/
|
|
1897
|
+
PageNo: number;
|
|
1898
|
+
/**
|
|
1899
|
+
* 站点集合
|
|
1900
|
+
*/
|
|
1901
|
+
Zones?: Array<string>;
|
|
1902
|
+
/**
|
|
1903
|
+
* 域名集合
|
|
1904
|
+
*/
|
|
1905
|
+
Domains?: Array<string>;
|
|
1906
|
+
}
|
|
1907
|
+
/**
|
|
1908
|
+
* DeleteLoadBalancing返回参数结构体
|
|
1909
|
+
*/
|
|
1910
|
+
export interface DeleteLoadBalancingResponse {
|
|
1911
|
+
/**
|
|
1912
|
+
* 负载均衡ID
|
|
1913
|
+
*/
|
|
1914
|
+
LoadBalancingId: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1917
|
+
*/
|
|
1918
|
+
RequestId?: string;
|
|
1919
|
+
}
|
|
1920
|
+
/**
|
|
1921
|
+
* CheckCertificate请求参数结构体
|
|
1922
|
+
*/
|
|
1923
|
+
export interface CheckCertificateRequest {
|
|
1924
|
+
/**
|
|
1925
|
+
* 证书
|
|
1926
|
+
*/
|
|
1927
|
+
Certificate: string;
|
|
1928
|
+
/**
|
|
1929
|
+
* 私钥
|
|
1930
|
+
*/
|
|
1931
|
+
PrivateKey: string;
|
|
1932
|
+
}
|
|
1933
|
+
/**
|
|
1934
|
+
* CreateApplicationProxyRule请求参数结构体
|
|
1935
|
+
*/
|
|
1936
|
+
export interface CreateApplicationProxyRuleRequest {
|
|
1937
|
+
/**
|
|
1938
|
+
* 站点ID
|
|
1939
|
+
*/
|
|
1940
|
+
ZoneId: string;
|
|
1941
|
+
/**
|
|
1942
|
+
* 代理ID
|
|
1943
|
+
*/
|
|
1944
|
+
ProxyId: string;
|
|
1945
|
+
/**
|
|
1946
|
+
* 协议,取值为TCP或者UDP
|
|
1947
|
+
*/
|
|
1948
|
+
Proto: string;
|
|
1949
|
+
/**
|
|
1950
|
+
* 端口,支持格式:
|
|
1951
|
+
80:80端口
|
|
1952
|
+
81-90:81至90端口
|
|
1953
|
+
*/
|
|
1954
|
+
Port: Array<string>;
|
|
1955
|
+
/**
|
|
1956
|
+
* 源站类型,取值:
|
|
1957
|
+
custom:手动添加
|
|
1958
|
+
origins:源站组
|
|
1959
|
+
load_balancing:负载均衡
|
|
1960
|
+
*/
|
|
1961
|
+
OriginType: string;
|
|
1962
|
+
/**
|
|
1963
|
+
* 源站信息:
|
|
1964
|
+
当OriginType=custom时,表示多个:
|
|
1965
|
+
IP:端口
|
|
1966
|
+
域名:端口
|
|
1967
|
+
当OriginType=origins时,包含一个元素,表示源站组ID
|
|
1968
|
+
当OriginType=load_balancing时,包含一个元素,表示负载均衡ID
|
|
1969
|
+
*/
|
|
1970
|
+
OriginValue: Array<string>;
|
|
1971
|
+
/**
|
|
1972
|
+
* 传递客户端IP,当Proto=TCP时,取值:
|
|
1973
|
+
TOA:TOA
|
|
1974
|
+
PPV1: Proxy Protocol传递,协议版本V1
|
|
1975
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
1976
|
+
OFF:不传递
|
|
1977
|
+
当Proto=UDP时,取值:
|
|
1978
|
+
PPV2: Proxy Protocol传递,协议版本V2
|
|
1979
|
+
OFF:不传递
|
|
1980
|
+
*/
|
|
1981
|
+
ForwardClientIp?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* 是否开启会话保持
|
|
1984
|
+
*/
|
|
1985
|
+
SessionPersist?: boolean;
|
|
1986
|
+
}
|
|
1987
|
+
/**
|
|
1988
|
+
* 访问协议强制https跳转配置
|
|
1989
|
+
*/
|
|
1990
|
+
export interface ForceRedirect {
|
|
1991
|
+
/**
|
|
1992
|
+
* 访问强制跳转配置开关
|
|
1993
|
+
on:开启
|
|
1994
|
+
off:关闭
|
|
1995
|
+
*/
|
|
1996
|
+
Switch: string;
|
|
1997
|
+
/**
|
|
1998
|
+
* 重定向状态码
|
|
1999
|
+
301
|
|
2000
|
+
302
|
|
2001
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2002
|
+
*/
|
|
2003
|
+
RedirectStatusCode?: number;
|
|
2004
|
+
}
|
|
2005
|
+
/**
|
|
2006
|
+
* ModifyApplicationProxy请求参数结构体
|
|
2007
|
+
*/
|
|
2008
|
+
export interface ModifyApplicationProxyRequest {
|
|
2009
|
+
/**
|
|
2010
|
+
* 站点ID
|
|
2011
|
+
*/
|
|
2012
|
+
ZoneId: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* 四层代理ID
|
|
2015
|
+
*/
|
|
2016
|
+
ProxyId: string;
|
|
2017
|
+
/**
|
|
2018
|
+
* 四层代理名称
|
|
2019
|
+
*/
|
|
2020
|
+
ProxyName: string;
|
|
2021
|
+
/**
|
|
2022
|
+
* 参数已经废弃
|
|
2023
|
+
*/
|
|
2024
|
+
ForwardClientIp: string;
|
|
2025
|
+
/**
|
|
2026
|
+
* 参数已经废弃
|
|
2027
|
+
*/
|
|
2028
|
+
SessionPersist: boolean;
|
|
2029
|
+
/**
|
|
2030
|
+
* 会话保持时间,取值范围:30-3600,单位:秒
|
|
2031
|
+
*/
|
|
2032
|
+
SessionPersistTime?: number;
|
|
2033
|
+
/**
|
|
2034
|
+
* 服务类型
|
|
2035
|
+
hostname:子域名
|
|
2036
|
+
instance:实例
|
|
2037
|
+
*/
|
|
2038
|
+
ProxyType?: string;
|
|
2039
|
+
}
|
|
2040
|
+
/**
|
|
2041
|
+
* ModifyApplicationProxyStatus返回参数结构体
|
|
2042
|
+
*/
|
|
2043
|
+
export interface ModifyApplicationProxyStatusResponse {
|
|
2044
|
+
/**
|
|
2045
|
+
* 四层代理ID
|
|
2046
|
+
*/
|
|
2047
|
+
ProxyId: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2050
|
+
*/
|
|
2051
|
+
RequestId?: string;
|
|
2052
|
+
}
|
|
2053
|
+
/**
|
|
2054
|
+
* 域名配置信息
|
|
2055
|
+
*/
|
|
2056
|
+
export interface DetailHost {
|
|
2057
|
+
/**
|
|
2058
|
+
* 腾讯云账号ID
|
|
2059
|
+
*/
|
|
2060
|
+
AppId: number;
|
|
2061
|
+
/**
|
|
2062
|
+
* 站点ID
|
|
2063
|
+
*/
|
|
2064
|
+
ZoneId: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* 加速服务状态
|
|
2067
|
+
process:部署中
|
|
2068
|
+
online:已启动
|
|
2069
|
+
offline:已关闭
|
|
2070
|
+
*/
|
|
2071
|
+
Status: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* 域名
|
|
2074
|
+
*/
|
|
2075
|
+
Host: string;
|
|
2076
|
+
}
|
|
2077
|
+
/**
|
|
2078
|
+
* DescribeDnsRecords返回参数结构体
|
|
2079
|
+
*/
|
|
2080
|
+
export interface DescribeDnsRecordsResponse {
|
|
2081
|
+
/**
|
|
2082
|
+
* 总数,用于分页查询
|
|
2083
|
+
*/
|
|
2084
|
+
TotalCount: number;
|
|
2085
|
+
/**
|
|
2086
|
+
* DNS 记录列表
|
|
2087
|
+
*/
|
|
2088
|
+
Records: Array<DnsRecord>;
|
|
2089
|
+
/**
|
|
2090
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2091
|
+
*/
|
|
2092
|
+
RequestId?: string;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* DescribeApplicationProxyDetail返回参数结构体
|
|
2096
|
+
*/
|
|
2097
|
+
export interface DescribeApplicationProxyDetailResponse {
|
|
2098
|
+
/**
|
|
2099
|
+
* 实例ID
|
|
2100
|
+
*/
|
|
2101
|
+
ProxyId: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* 实例名称
|
|
2104
|
+
*/
|
|
2105
|
+
ProxyName: string;
|
|
2106
|
+
/**
|
|
2107
|
+
* 调度模式:
|
|
2108
|
+
ip表示Anycast IP
|
|
2109
|
+
domain表示CNAME
|
|
2110
|
+
*/
|
|
2111
|
+
PlatType: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* 0关闭安全,1开启安全
|
|
2114
|
+
*/
|
|
2115
|
+
SecurityType: number;
|
|
2116
|
+
/**
|
|
2117
|
+
* 0关闭加速,1开启加速
|
|
2118
|
+
*/
|
|
2119
|
+
AccelerateType: number;
|
|
2120
|
+
/**
|
|
2121
|
+
* 字段已经移至Rule.ForwardClientIp
|
|
2122
|
+
*/
|
|
2123
|
+
ForwardClientIp: string;
|
|
2124
|
+
/**
|
|
2125
|
+
* 字段已经移至Rule.SessionPersist
|
|
2126
|
+
*/
|
|
2127
|
+
SessionPersist: boolean;
|
|
2128
|
+
/**
|
|
2129
|
+
* 规则列表
|
|
2130
|
+
*/
|
|
2131
|
+
Rule: Array<ApplicationProxyRule>;
|
|
2132
|
+
/**
|
|
2133
|
+
* 状态:
|
|
2134
|
+
online:启用
|
|
2135
|
+
offline:停用
|
|
2136
|
+
progress:部署中
|
|
2137
|
+
*/
|
|
2138
|
+
Status: string;
|
|
2139
|
+
/**
|
|
2140
|
+
* 调度信息
|
|
2141
|
+
*/
|
|
2142
|
+
ScheduleValue: Array<string>;
|
|
2143
|
+
/**
|
|
2144
|
+
* 更新时间
|
|
2145
|
+
*/
|
|
2146
|
+
UpdateTime: string;
|
|
2147
|
+
/**
|
|
2148
|
+
* 站点ID
|
|
2149
|
+
*/
|
|
2150
|
+
ZoneId: string;
|
|
2151
|
+
/**
|
|
2152
|
+
* 站点名称
|
|
2153
|
+
*/
|
|
2154
|
+
ZoneName: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* 会话保持时间
|
|
2157
|
+
*/
|
|
2158
|
+
SessionPersistTime: number;
|
|
2159
|
+
/**
|
|
2160
|
+
* 服务类型
|
|
2161
|
+
hostname:子域名
|
|
2162
|
+
instance:实例
|
|
2163
|
+
*/
|
|
2164
|
+
ProxyType: string;
|
|
2165
|
+
/**
|
|
2166
|
+
* 七层实例ID
|
|
2167
|
+
*/
|
|
2168
|
+
HostId: string;
|
|
2169
|
+
/**
|
|
2170
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2171
|
+
*/
|
|
2172
|
+
RequestId?: string;
|
|
2173
|
+
}
|
|
2174
|
+
/**
|
|
2175
|
+
* ModifyZoneCnameSpeedUp请求参数结构体
|
|
2176
|
+
*/
|
|
2177
|
+
export interface ModifyZoneCnameSpeedUpRequest {
|
|
2178
|
+
/**
|
|
2179
|
+
* 站点 ID
|
|
2180
|
+
*/
|
|
2181
|
+
Id: string;
|
|
2182
|
+
/**
|
|
2183
|
+
* CNAME 加速状态
|
|
2184
|
+
- enabled 开启
|
|
2185
|
+
- disabled 关闭
|
|
2186
|
+
*/
|
|
2187
|
+
Status: string;
|
|
2188
|
+
}
|
|
2189
|
+
/**
|
|
2190
|
+
* DescribeHostsCertificate请求参数结构体
|
|
2191
|
+
*/
|
|
2192
|
+
export interface DescribeHostsCertificateRequest {
|
|
2193
|
+
/**
|
|
2194
|
+
* Zone ID
|
|
2195
|
+
*/
|
|
2196
|
+
ZoneId: string;
|
|
2197
|
+
/**
|
|
2198
|
+
* 分页查询偏移量,默认为 0
|
|
2199
|
+
*/
|
|
2200
|
+
Offset?: number;
|
|
2201
|
+
/**
|
|
2202
|
+
* 分页查询限制数目,默认为 100,最大可设置为 1000
|
|
2203
|
+
*/
|
|
2204
|
+
Limit?: number;
|
|
2205
|
+
/**
|
|
2206
|
+
* 查询条件过滤器
|
|
2207
|
+
*/
|
|
2208
|
+
Filters?: Array<CertFilter>;
|
|
2209
|
+
/**
|
|
2210
|
+
* 排序方式
|
|
2211
|
+
*/
|
|
2212
|
+
Sort?: CertSort;
|
|
2213
|
+
}
|
|
2214
|
+
/**
|
|
2215
|
+
* Hsts配置
|
|
2216
|
+
*/
|
|
2217
|
+
export interface Hsts {
|
|
2218
|
+
/**
|
|
2219
|
+
* 是否开启,on或off。
|
|
2220
|
+
*/
|
|
2221
|
+
Switch: string;
|
|
2222
|
+
/**
|
|
2223
|
+
* MaxAge数值。
|
|
2224
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2225
|
+
*/
|
|
2226
|
+
MaxAge?: number;
|
|
2227
|
+
/**
|
|
2228
|
+
* 是否包含子域名,on或off。
|
|
2229
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2230
|
+
*/
|
|
2231
|
+
IncludeSubDomains?: string;
|
|
2232
|
+
/**
|
|
2233
|
+
* 是否预加载,on或off。
|
|
2234
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2235
|
+
*/
|
|
2236
|
+
Preload?: string;
|
|
2237
|
+
}
|
|
2238
|
+
/**
|
|
2239
|
+
* ModifyHostsCertificate返回参数结构体
|
|
2240
|
+
*/
|
|
2241
|
+
export interface ModifyHostsCertificateResponse {
|
|
2242
|
+
/**
|
|
2243
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2244
|
+
*/
|
|
2245
|
+
RequestId?: string;
|
|
2246
|
+
}
|
|
2247
|
+
/**
|
|
2248
|
+
* ModifyLoadBalancing返回参数结构体
|
|
2249
|
+
*/
|
|
2250
|
+
export interface ModifyLoadBalancingResponse {
|
|
2251
|
+
/**
|
|
2252
|
+
* 负载均衡ID
|
|
2253
|
+
*/
|
|
2254
|
+
LoadBalancingId: string;
|
|
2255
|
+
/**
|
|
2256
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2257
|
+
*/
|
|
2258
|
+
RequestId?: string;
|
|
2259
|
+
}
|
|
2260
|
+
/**
|
|
2261
|
+
* CreateApplicationProxyRule返回参数结构体
|
|
2262
|
+
*/
|
|
2263
|
+
export interface CreateApplicationProxyRuleResponse {
|
|
2264
|
+
/**
|
|
2265
|
+
* 规则ID
|
|
2266
|
+
*/
|
|
2267
|
+
RuleId: string;
|
|
2268
|
+
/**
|
|
2269
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2270
|
+
*/
|
|
2271
|
+
RequestId?: string;
|
|
2272
|
+
}
|
|
2273
|
+
/**
|
|
2274
|
+
* ModifyDnsRecord返回参数结构体
|
|
2275
|
+
*/
|
|
2276
|
+
export interface ModifyDnsRecordResponse {
|
|
2277
|
+
/**
|
|
2278
|
+
* 记录 ID
|
|
2279
|
+
*/
|
|
2280
|
+
Id: string;
|
|
2281
|
+
/**
|
|
2282
|
+
* 记录类型
|
|
2283
|
+
*/
|
|
2284
|
+
Type: string;
|
|
2285
|
+
/**
|
|
2286
|
+
* 记录名称
|
|
2287
|
+
*/
|
|
2288
|
+
Name: string;
|
|
2289
|
+
/**
|
|
2290
|
+
* 记录内容
|
|
2291
|
+
*/
|
|
2292
|
+
Content: string;
|
|
2293
|
+
/**
|
|
2294
|
+
* 生存时间值
|
|
2295
|
+
*/
|
|
2296
|
+
Ttl: number;
|
|
2297
|
+
/**
|
|
2298
|
+
* 优先级
|
|
2299
|
+
*/
|
|
2300
|
+
Priority: number;
|
|
2301
|
+
/**
|
|
2302
|
+
* 代理模式
|
|
2303
|
+
*/
|
|
2304
|
+
Mode: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* 解析状态
|
|
2307
|
+
*/
|
|
2308
|
+
Status: string;
|
|
2309
|
+
/**
|
|
2310
|
+
* CNAME 地址
|
|
2311
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2312
|
+
*/
|
|
2313
|
+
Cname: string;
|
|
2314
|
+
/**
|
|
2315
|
+
* 锁定状态
|
|
2316
|
+
*/
|
|
2317
|
+
Locked: boolean;
|
|
2318
|
+
/**
|
|
2319
|
+
* 创建时间
|
|
2320
|
+
*/
|
|
2321
|
+
CreatedOn: string;
|
|
2322
|
+
/**
|
|
2323
|
+
* 修改时间
|
|
2324
|
+
*/
|
|
2325
|
+
ModifiedOn: string;
|
|
2326
|
+
/**
|
|
2327
|
+
* 站点 ID
|
|
2328
|
+
*/
|
|
2329
|
+
ZoneId: string;
|
|
2330
|
+
/**
|
|
2331
|
+
* 站点名称
|
|
2332
|
+
*/
|
|
2333
|
+
ZoneName: string;
|
|
2334
|
+
/**
|
|
2335
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2336
|
+
*/
|
|
2337
|
+
RequestId?: string;
|
|
2338
|
+
}
|
|
2339
|
+
/**
|
|
2340
|
+
* CreateApplicationProxy请求参数结构体
|
|
2341
|
+
*/
|
|
2342
|
+
export interface CreateApplicationProxyRequest {
|
|
2343
|
+
/**
|
|
2344
|
+
* 站点ID
|
|
2345
|
+
*/
|
|
2346
|
+
ZoneId: string;
|
|
2347
|
+
/**
|
|
2348
|
+
* 站点名称
|
|
2349
|
+
*/
|
|
2350
|
+
ZoneName: string;
|
|
2351
|
+
/**
|
|
2352
|
+
* 四层代理名称
|
|
2353
|
+
*/
|
|
2354
|
+
ProxyName: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* 调度模式:
|
|
2357
|
+
ip表示Anycast IP
|
|
2358
|
+
domain表示CNAME
|
|
2359
|
+
*/
|
|
2360
|
+
PlatType: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* 0关闭安全,1开启安全
|
|
2363
|
+
*/
|
|
2364
|
+
SecurityType: number;
|
|
2365
|
+
/**
|
|
2366
|
+
* 0关闭加速,1开启加速
|
|
2367
|
+
*/
|
|
2368
|
+
AccelerateType: number;
|
|
2369
|
+
/**
|
|
2370
|
+
* 字段已经移至Rule.ForwardClientIp
|
|
2371
|
+
*/
|
|
2372
|
+
ForwardClientIp: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* 字段已经移至Rule.SessionPersist
|
|
2375
|
+
*/
|
|
2376
|
+
SessionPersist: boolean;
|
|
2377
|
+
/**
|
|
2378
|
+
* 规则详细信息
|
|
2379
|
+
*/
|
|
2380
|
+
Rule: Array<ApplicationProxyRule>;
|
|
2381
|
+
/**
|
|
2382
|
+
* 会话保持时间,取值范围:30-3600,单位:秒
|
|
2383
|
+
*/
|
|
2384
|
+
SessionPersistTime?: number;
|
|
2385
|
+
/**
|
|
2386
|
+
* 服务类型
|
|
2387
|
+
hostname:子域名
|
|
2388
|
+
instance:实例
|
|
2389
|
+
*/
|
|
2390
|
+
ProxyType?: string;
|
|
2391
|
+
}
|
|
2392
|
+
/**
|
|
2393
|
+
* POST请求上传文件流式传输最大限制
|
|
2394
|
+
*/
|
|
2395
|
+
export interface PostMaxSize {
|
|
2396
|
+
/**
|
|
2397
|
+
* 是调整POST请求限制,平台默认为32MB。
|
|
2398
|
+
关闭:off,
|
|
2399
|
+
开启:on。
|
|
2400
|
+
*/
|
|
2401
|
+
Switch: string;
|
|
2402
|
+
/**
|
|
2403
|
+
* 最大限制,取值在1MB和500MB之间。单位字节
|
|
2404
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2405
|
+
*/
|
|
2406
|
+
MaxSize?: number;
|
|
2407
|
+
}
|
|
2408
|
+
/**
|
|
2409
|
+
* DescribeCnameStatus请求参数结构体
|
|
2410
|
+
*/
|
|
2411
|
+
export interface DescribeCnameStatusRequest {
|
|
2412
|
+
/**
|
|
2413
|
+
* 站点 ID
|
|
2414
|
+
*/
|
|
2415
|
+
ZoneId: string;
|
|
2416
|
+
/**
|
|
2417
|
+
* 域名列表
|
|
2418
|
+
*/
|
|
2419
|
+
Names: Array<string>;
|
|
2420
|
+
}
|
|
2421
|
+
/**
|
|
2422
|
+
* DescribeDnssec返回参数结构体
|
|
2423
|
+
*/
|
|
2424
|
+
export interface DescribeDnssecResponse {
|
|
2425
|
+
/**
|
|
2426
|
+
* 站点 ID
|
|
2427
|
+
*/
|
|
2428
|
+
Id: string;
|
|
2429
|
+
/**
|
|
2430
|
+
* 站点名称
|
|
2431
|
+
*/
|
|
2432
|
+
Name: string;
|
|
2433
|
+
/**
|
|
2434
|
+
* DNSSEC 状态
|
|
2435
|
+
- enabled 开启
|
|
2436
|
+
- disabled 关闭
|
|
2437
|
+
*/
|
|
2438
|
+
Status: string;
|
|
2439
|
+
/**
|
|
2440
|
+
* DNSSEC 相关信息
|
|
2441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2442
|
+
*/
|
|
2443
|
+
Dnssec: DnssecInfo;
|
|
2444
|
+
/**
|
|
2445
|
+
* 修改时间
|
|
2446
|
+
*/
|
|
2447
|
+
ModifiedOn: string;
|
|
2448
|
+
/**
|
|
2449
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2450
|
+
*/
|
|
2451
|
+
RequestId?: string;
|
|
2452
|
+
}
|
|
2453
|
+
/**
|
|
2454
|
+
* CreateZone返回参数结构体
|
|
2455
|
+
*/
|
|
2456
|
+
export interface CreateZoneResponse {
|
|
2457
|
+
/**
|
|
2458
|
+
* 站点ID
|
|
2459
|
+
*/
|
|
2460
|
+
Id: string;
|
|
2461
|
+
/**
|
|
2462
|
+
* 站点名称
|
|
2463
|
+
*/
|
|
2464
|
+
Name: string;
|
|
2465
|
+
/**
|
|
2466
|
+
* 站点接入方式
|
|
2467
|
+
*/
|
|
2468
|
+
Type: string;
|
|
2469
|
+
/**
|
|
2470
|
+
* 站点状态
|
|
2471
|
+
- pending 未切换NS
|
|
2472
|
+
- active NS 已切换到分配的 NS
|
|
2473
|
+
- moved NS 从腾讯云切走
|
|
2474
|
+
*/
|
|
2475
|
+
Status: string;
|
|
2476
|
+
/**
|
|
2477
|
+
* 当前使用的 NS 列表
|
|
2478
|
+
*/
|
|
2479
|
+
OriginalNameServers: Array<string>;
|
|
2480
|
+
/**
|
|
2481
|
+
* 给用户分配的 NS 列表
|
|
2482
|
+
*/
|
|
2483
|
+
NameServers: Array<string>;
|
|
2484
|
+
/**
|
|
2485
|
+
* 站点创建时间
|
|
2486
|
+
*/
|
|
2487
|
+
CreatedOn: string;
|
|
2488
|
+
/**
|
|
2489
|
+
* 站点更新时间
|
|
2490
|
+
*/
|
|
2491
|
+
ModifiedOn: string;
|
|
2492
|
+
/**
|
|
2493
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2494
|
+
*/
|
|
2495
|
+
RequestId?: string;
|
|
2496
|
+
}
|
|
2497
|
+
/**
|
|
2498
|
+
* Dns数据曲线过滤参数
|
|
2499
|
+
*/
|
|
2500
|
+
export interface DnsDataFilter {
|
|
2501
|
+
/**
|
|
2502
|
+
* 参数名称,取值范围:
|
|
2503
|
+
zone:站点名
|
|
2504
|
+
host:域名
|
|
2505
|
+
type:dns解析类型
|
|
2506
|
+
code:dns返回状态码
|
|
2507
|
+
area:解析服务器所在区域
|
|
2508
|
+
*/
|
|
2509
|
+
Name: string;
|
|
2510
|
+
/**
|
|
2511
|
+
* 参数值
|
|
2512
|
+
当Name=area时,Value取值范围:
|
|
2513
|
+
亚洲:Asia
|
|
2514
|
+
欧洲:Europe
|
|
2515
|
+
非洲:Africa
|
|
2516
|
+
大洋洲:Oceania
|
|
2517
|
+
美洲:Americas
|
|
2518
|
+
|
|
2519
|
+
当Name=code时,Value取值范围:
|
|
2520
|
+
NoError:成功的响应
|
|
2521
|
+
NXDomain:只在权威域名服务器的响应消息中有效,标示请求中请求的域不存在
|
|
2522
|
+
NotImp:域名服务器不支持请求的类型
|
|
2523
|
+
Refused:域名服务器因为策略的原因拒绝执行请求的操作
|
|
2524
|
+
*/
|
|
2525
|
+
Value?: string;
|
|
2526
|
+
/**
|
|
2527
|
+
* 参数值
|
|
2528
|
+
当Name=area时,Value取值范围:
|
|
2529
|
+
亚洲:Asia
|
|
2530
|
+
欧洲:Europe
|
|
2531
|
+
非洲:Africa
|
|
2532
|
+
大洋洲:Oceania
|
|
2533
|
+
美洲:Americas
|
|
2534
|
+
|
|
2535
|
+
当Name=code时,Value取值范围:
|
|
2536
|
+
NoError:成功的响应
|
|
2537
|
+
NXDomain:只在权威域名服务器的响应消息中有效,标示请求中请求的域不存在
|
|
2538
|
+
NotImp:域名服务器不支持请求的类型
|
|
2539
|
+
Refused:域名服务器因为策略的原因拒绝执行请求的操作
|
|
2540
|
+
*/
|
|
2541
|
+
Values?: Array<string>;
|
|
2542
|
+
}
|
|
2543
|
+
/**
|
|
2544
|
+
* DeleteLoadBalancing请求参数结构体
|
|
2545
|
+
*/
|
|
2546
|
+
export interface DeleteLoadBalancingRequest {
|
|
2547
|
+
/**
|
|
2548
|
+
* 站点ID
|
|
2549
|
+
*/
|
|
2550
|
+
ZoneId: string;
|
|
2551
|
+
/**
|
|
2552
|
+
* 负载均衡ID
|
|
2553
|
+
*/
|
|
2554
|
+
LoadBalancingId: string;
|
|
2555
|
+
}
|
|
2556
|
+
/**
|
|
2557
|
+
* 应用代理实例
|
|
2558
|
+
*/
|
|
2559
|
+
export interface ApplicationProxy {
|
|
2560
|
+
/**
|
|
2561
|
+
* 实例ID
|
|
2562
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2563
|
+
*/
|
|
2564
|
+
ProxyId?: string;
|
|
2565
|
+
/**
|
|
2566
|
+
* 实例名称
|
|
2567
|
+
*/
|
|
2568
|
+
ProxyName: string;
|
|
2569
|
+
/**
|
|
2570
|
+
* 调度模式:
|
|
2571
|
+
ip表示Anycast IP
|
|
2572
|
+
domain表示CNAME
|
|
2573
|
+
*/
|
|
2574
|
+
PlatType: string;
|
|
2575
|
+
/**
|
|
2576
|
+
* 0关闭安全,1开启安全
|
|
2577
|
+
*/
|
|
2578
|
+
SecurityType: number;
|
|
2579
|
+
/**
|
|
2580
|
+
* 0关闭加速,1开启加速
|
|
2581
|
+
*/
|
|
2582
|
+
AccelerateType: number;
|
|
2583
|
+
/**
|
|
2584
|
+
* 字段已经移至Rule.ForwardClientIp
|
|
2585
|
+
*/
|
|
2586
|
+
ForwardClientIp: string;
|
|
2587
|
+
/**
|
|
2588
|
+
* 字段已经移至Rule.SessionPersist
|
|
2589
|
+
*/
|
|
2590
|
+
SessionPersist: boolean;
|
|
2591
|
+
/**
|
|
2592
|
+
* 规则列表
|
|
2593
|
+
*/
|
|
2594
|
+
Rule: Array<ApplicationProxyRule>;
|
|
2595
|
+
/**
|
|
2596
|
+
* 状态:
|
|
2597
|
+
online:启用
|
|
2598
|
+
offline:停用
|
|
2599
|
+
progress:部署中
|
|
2600
|
+
stopping:停用中
|
|
2601
|
+
fail:部署失败/停用失败
|
|
2602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2603
|
+
*/
|
|
2604
|
+
Status: string;
|
|
2605
|
+
/**
|
|
2606
|
+
* 调度信息
|
|
2607
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2608
|
+
*/
|
|
2609
|
+
ScheduleValue: Array<string>;
|
|
2610
|
+
/**
|
|
2611
|
+
* 更新时间
|
|
2612
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2613
|
+
*/
|
|
2614
|
+
UpdateTime: string;
|
|
2615
|
+
/**
|
|
2616
|
+
* 站点ID
|
|
2617
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2618
|
+
*/
|
|
2619
|
+
ZoneId: string;
|
|
2620
|
+
/**
|
|
2621
|
+
* 站点名称
|
|
2622
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2623
|
+
*/
|
|
2624
|
+
ZoneName: string;
|
|
2625
|
+
/**
|
|
2626
|
+
* 会话保持时间
|
|
2627
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2628
|
+
*/
|
|
2629
|
+
SessionPersistTime: number;
|
|
2630
|
+
/**
|
|
2631
|
+
* 服务类型
|
|
2632
|
+
hostname:子域名
|
|
2633
|
+
instance:实例
|
|
2634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2635
|
+
*/
|
|
2636
|
+
ProxyType: string;
|
|
2637
|
+
/**
|
|
2638
|
+
* 七层实例ID
|
|
2639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2640
|
+
*/
|
|
2641
|
+
HostId: string;
|
|
2642
|
+
}
|
|
2643
|
+
/**
|
|
2644
|
+
* ModifyApplicationProxy返回参数结构体
|
|
2645
|
+
*/
|
|
2646
|
+
export interface ModifyApplicationProxyResponse {
|
|
2647
|
+
/**
|
|
2648
|
+
* 四层代理ID
|
|
2649
|
+
*/
|
|
2650
|
+
ProxyId: string;
|
|
2651
|
+
/**
|
|
2652
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2653
|
+
*/
|
|
2654
|
+
RequestId?: string;
|
|
2655
|
+
}
|
|
2656
|
+
/**
|
|
2657
|
+
* 缓存键配置
|
|
2658
|
+
*/
|
|
2659
|
+
export interface CacheKey {
|
|
2660
|
+
/**
|
|
2661
|
+
* 是否开启全路径缓存
|
|
2662
|
+
on:开启全路径缓存(即关闭参数忽略)
|
|
2663
|
+
off:关闭全路径缓存(即开启参数忽略)
|
|
2664
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2665
|
+
*/
|
|
2666
|
+
FullUrlCache?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* 是否忽略大小写缓存
|
|
2669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2670
|
+
*/
|
|
2671
|
+
IgnoreCase?: string;
|
|
2672
|
+
/**
|
|
2673
|
+
* CacheKey中包含请求参数
|
|
2674
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2675
|
+
*/
|
|
2676
|
+
QueryString?: QueryString;
|
|
2677
|
+
}
|
|
2678
|
+
/**
|
|
2679
|
+
* ModifyApplicationProxyRuleStatus返回参数结构体
|
|
2680
|
+
*/
|
|
2681
|
+
export interface ModifyApplicationProxyRuleStatusResponse {
|
|
2682
|
+
/**
|
|
2683
|
+
* 规则ID
|
|
2684
|
+
*/
|
|
2685
|
+
RuleId: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2688
|
+
*/
|
|
2689
|
+
RequestId?: string;
|
|
2690
|
+
}
|
|
2691
|
+
/**
|
|
2692
|
+
* DescribeZones返回参数结构体
|
|
2693
|
+
*/
|
|
2694
|
+
export interface DescribeZonesResponse {
|
|
2695
|
+
/**
|
|
2696
|
+
* 符合条件的站点数
|
|
2697
|
+
*/
|
|
2698
|
+
TotalCount: number;
|
|
2699
|
+
/**
|
|
2700
|
+
* 站点详细信息列表
|
|
2701
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2702
|
+
*/
|
|
2703
|
+
Zones: Array<Zone>;
|
|
2704
|
+
/**
|
|
2705
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2706
|
+
*/
|
|
2707
|
+
RequestId?: string;
|
|
2708
|
+
}
|
|
2709
|
+
/**
|
|
2710
|
+
* 刷新预热附带的头部信息
|
|
2711
|
+
*/
|
|
2712
|
+
export interface Header {
|
|
2713
|
+
/**
|
|
2714
|
+
* HTTP头部
|
|
2715
|
+
*/
|
|
2716
|
+
Name: string;
|
|
2717
|
+
/**
|
|
2718
|
+
* HTTP头部值
|
|
2719
|
+
*/
|
|
2720
|
+
Value: string;
|
|
2721
|
+
}
|
|
2722
|
+
/**
|
|
2723
|
+
* DescribeZoneDetails请求参数结构体
|
|
2724
|
+
*/
|
|
2725
|
+
export interface DescribeZoneDetailsRequest {
|
|
2726
|
+
/**
|
|
2727
|
+
* 站点 ID
|
|
2728
|
+
*/
|
|
2729
|
+
Id: string;
|
|
2730
|
+
}
|
|
2731
|
+
/**
|
|
2732
|
+
* DescribeDefaultCertificates返回参数结构体
|
|
2733
|
+
*/
|
|
2734
|
+
export interface DescribeDefaultCertificatesResponse {
|
|
2735
|
+
/**
|
|
2736
|
+
* 证书总数
|
|
2737
|
+
*/
|
|
2738
|
+
TotalCount: number;
|
|
2739
|
+
/**
|
|
2740
|
+
* 默认证书列表
|
|
2741
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2742
|
+
*/
|
|
2743
|
+
CertInfo: Array<DefaultServerCertInfo>;
|
|
2744
|
+
/**
|
|
2745
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2746
|
+
*/
|
|
2747
|
+
RequestId?: string;
|
|
2748
|
+
}
|
|
2749
|
+
/**
|
|
2750
|
+
* DescribeApplicationProxy请求参数结构体
|
|
2751
|
+
*/
|
|
2752
|
+
export interface DescribeApplicationProxyRequest {
|
|
2753
|
+
/**
|
|
2754
|
+
* 站点ID
|
|
2755
|
+
*/
|
|
2756
|
+
ZoneId?: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* 分页参数Offset
|
|
2759
|
+
*/
|
|
2760
|
+
Offset?: number;
|
|
2761
|
+
/**
|
|
2762
|
+
* 分页参数Limit
|
|
2763
|
+
*/
|
|
2764
|
+
Limit?: number;
|
|
2765
|
+
}
|
|
2766
|
+
/**
|
|
2767
|
+
* ModifyApplicationProxyRuleStatus请求参数结构体
|
|
2768
|
+
*/
|
|
2769
|
+
export interface ModifyApplicationProxyRuleStatusRequest {
|
|
2770
|
+
/**
|
|
2771
|
+
* 站点ID
|
|
2772
|
+
*/
|
|
2773
|
+
ZoneId: string;
|
|
2774
|
+
/**
|
|
2775
|
+
* 四层代理ID
|
|
2776
|
+
*/
|
|
2777
|
+
ProxyId: string;
|
|
2778
|
+
/**
|
|
2779
|
+
* 规则ID
|
|
2780
|
+
*/
|
|
2781
|
+
RuleId: string;
|
|
2782
|
+
/**
|
|
2783
|
+
* 状态
|
|
2784
|
+
offline: 停用
|
|
2785
|
+
online: 启用
|
|
2786
|
+
*/
|
|
2787
|
+
Status: string;
|
|
2788
|
+
}
|
|
2789
|
+
/**
|
|
2790
|
+
* CacheKey中包含请求参数
|
|
2791
|
+
*/
|
|
2792
|
+
export interface QueryString {
|
|
2793
|
+
/**
|
|
2794
|
+
* on | off CacheKey是否由QueryString组成
|
|
2795
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2796
|
+
*/
|
|
2797
|
+
Switch: string;
|
|
2798
|
+
/**
|
|
2799
|
+
* includeCustom:使用部分url参数
|
|
2800
|
+
excludeCustom:排除部分url参数
|
|
2801
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2802
|
+
*/
|
|
2803
|
+
Action?: string;
|
|
2804
|
+
/**
|
|
2805
|
+
* 使用/排除的url参数数组
|
|
2806
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2807
|
+
*/
|
|
2808
|
+
Value?: Array<string>;
|
|
2809
|
+
}
|
|
2810
|
+
/**
|
|
2811
|
+
* ReclaimZone请求参数结构体
|
|
2812
|
+
*/
|
|
2813
|
+
export interface ReclaimZoneRequest {
|
|
2814
|
+
/**
|
|
2815
|
+
* 站点名称
|
|
2816
|
+
*/
|
|
2817
|
+
Name: string;
|
|
2818
|
+
}
|
|
2819
|
+
/**
|
|
2820
|
+
* DeleteZone请求参数结构体
|
|
2821
|
+
*/
|
|
2822
|
+
export interface DeleteZoneRequest {
|
|
2823
|
+
/**
|
|
2824
|
+
* 站点 ID
|
|
2825
|
+
*/
|
|
2826
|
+
Id: string;
|
|
2827
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* ModifyDefaultCertificate返回参数结构体
|
|
2830
|
+
*/
|
|
2831
|
+
export interface ModifyDefaultCertificateResponse {
|
|
2832
|
+
/**
|
|
2833
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2834
|
+
*/
|
|
2835
|
+
RequestId?: string;
|
|
2836
|
+
}
|
|
2837
|
+
/**
|
|
2838
|
+
* 客户端IP头部
|
|
2839
|
+
*/
|
|
2840
|
+
export interface ClientIp {
|
|
5
2841
|
/**
|
|
6
|
-
|
|
2842
|
+
* 客户端IP头部配置开关
|
|
2843
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2844
|
+
*/
|
|
2845
|
+
Switch: string;
|
|
2846
|
+
/**
|
|
2847
|
+
* 回源客户端IP请求头名称
|
|
2848
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2849
|
+
*/
|
|
2850
|
+
HeaderName?: string;
|
|
2851
|
+
}
|
|
2852
|
+
/**
|
|
2853
|
+
* DescribeHostsCertificate返回参数结构体
|
|
2854
|
+
*/
|
|
2855
|
+
export interface DescribeHostsCertificateResponse {
|
|
2856
|
+
/**
|
|
2857
|
+
* 总数,用于分页查询
|
|
7
2858
|
*/
|
|
8
|
-
|
|
2859
|
+
TotalCount: number;
|
|
9
2860
|
/**
|
|
10
|
-
*
|
|
2861
|
+
* 域名证书配置列表
|
|
11
2862
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
12
2863
|
*/
|
|
13
|
-
|
|
2864
|
+
Hosts: Array<HostCertSetting>;
|
|
14
2865
|
/**
|
|
15
2866
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
16
2867
|
*/
|
|
17
2868
|
RequestId?: string;
|
|
18
2869
|
}
|
|
19
2870
|
/**
|
|
20
|
-
*
|
|
2871
|
+
* DescribeZoneSetting返回参数结构体
|
|
21
2872
|
*/
|
|
22
|
-
export interface
|
|
2873
|
+
export interface DescribeZoneSettingResponse {
|
|
23
2874
|
/**
|
|
24
|
-
|
|
2875
|
+
* 缓存过期时间配置
|
|
2876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2877
|
+
*/
|
|
2878
|
+
Cache: CacheConfig;
|
|
2879
|
+
/**
|
|
2880
|
+
* 节点缓存键配置
|
|
2881
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2882
|
+
*/
|
|
2883
|
+
CacheKey: CacheKey;
|
|
2884
|
+
/**
|
|
2885
|
+
* 浏览器缓存配置
|
|
2886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2887
|
+
*/
|
|
2888
|
+
MaxAge: MaxAge;
|
|
2889
|
+
/**
|
|
2890
|
+
* 离线缓存
|
|
2891
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2892
|
+
*/
|
|
2893
|
+
OfflineCache: OfflineCache;
|
|
2894
|
+
/**
|
|
2895
|
+
* Quic访问
|
|
2896
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2897
|
+
*/
|
|
2898
|
+
Quic: Quic;
|
|
2899
|
+
/**
|
|
2900
|
+
* POST请求传输配置
|
|
2901
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2902
|
+
*/
|
|
2903
|
+
PostMaxSize: PostMaxSize;
|
|
2904
|
+
/**
|
|
2905
|
+
* 智能压缩配置
|
|
2906
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2907
|
+
*/
|
|
2908
|
+
Compression: Compression;
|
|
2909
|
+
/**
|
|
2910
|
+
* http2回源配置
|
|
2911
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2912
|
+
*/
|
|
2913
|
+
UpstreamHttp2: UpstreamHttp2;
|
|
2914
|
+
/**
|
|
2915
|
+
* 访问协议强制https跳转配置
|
|
2916
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2917
|
+
*/
|
|
2918
|
+
ForceRedirect: ForceRedirect;
|
|
2919
|
+
/**
|
|
2920
|
+
* Https 加速配置
|
|
2921
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2922
|
+
*/
|
|
2923
|
+
Https: Https;
|
|
2924
|
+
/**
|
|
2925
|
+
* 源站配置
|
|
2926
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2927
|
+
*/
|
|
2928
|
+
Origin: Origin;
|
|
2929
|
+
/**
|
|
2930
|
+
* 动态加速配置
|
|
2931
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2932
|
+
*/
|
|
2933
|
+
SmartRouting: SmartRouting;
|
|
2934
|
+
/**
|
|
2935
|
+
* 站点ID
|
|
25
2936
|
*/
|
|
26
|
-
|
|
2937
|
+
ZoneId: string;
|
|
27
2938
|
/**
|
|
28
|
-
*
|
|
2939
|
+
* 站点域名
|
|
29
2940
|
*/
|
|
30
|
-
|
|
2941
|
+
Zone: string;
|
|
31
2942
|
/**
|
|
32
|
-
|
|
2943
|
+
* WebSocket配置
|
|
2944
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2945
|
+
*/
|
|
2946
|
+
WebSocket: WebSocket;
|
|
2947
|
+
/**
|
|
2948
|
+
* 客户端IP回源请求头配置
|
|
2949
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2950
|
+
*/
|
|
2951
|
+
ClientIpHeader: ClientIp;
|
|
2952
|
+
/**
|
|
2953
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
33
2954
|
*/
|
|
34
|
-
|
|
2955
|
+
RequestId?: string;
|
|
2956
|
+
}
|
|
2957
|
+
/**
|
|
2958
|
+
* DescribePurgeTasks请求参数结构体
|
|
2959
|
+
*/
|
|
2960
|
+
export interface DescribePurgeTasksRequest {
|
|
35
2961
|
/**
|
|
36
|
-
*
|
|
2962
|
+
* 任务ID
|
|
37
2963
|
*/
|
|
38
|
-
|
|
2964
|
+
JobId?: string;
|
|
39
2965
|
/**
|
|
40
|
-
*
|
|
2966
|
+
* 类型
|
|
41
2967
|
*/
|
|
42
|
-
|
|
2968
|
+
Type?: string;
|
|
43
2969
|
/**
|
|
44
|
-
*
|
|
2970
|
+
* 查询起始时间
|
|
2971
|
+
*/
|
|
2972
|
+
StartTime?: string;
|
|
2973
|
+
/**
|
|
2974
|
+
* 查询结束时间
|
|
2975
|
+
*/
|
|
2976
|
+
EndTime?: string;
|
|
2977
|
+
/**
|
|
2978
|
+
* 查询起始偏移量
|
|
2979
|
+
*/
|
|
2980
|
+
Offset?: number;
|
|
2981
|
+
/**
|
|
2982
|
+
* 查询最大返回的结果条数
|
|
2983
|
+
*/
|
|
2984
|
+
Limit?: number;
|
|
2985
|
+
/**
|
|
2986
|
+
* 查询的状态
|
|
2987
|
+
允许的值为:processing、success、failed、timeout、invalid
|
|
2988
|
+
*/
|
|
2989
|
+
Statuses?: Array<string>;
|
|
2990
|
+
/**
|
|
2991
|
+
* zone id
|
|
2992
|
+
*/
|
|
2993
|
+
ZoneId?: string;
|
|
2994
|
+
/**
|
|
2995
|
+
* 查询的域名列表
|
|
45
2996
|
*/
|
|
46
2997
|
Domains?: Array<string>;
|
|
2998
|
+
/**
|
|
2999
|
+
* 查询内容
|
|
3000
|
+
*/
|
|
3001
|
+
Target?: string;
|
|
3002
|
+
}
|
|
3003
|
+
/**
|
|
3004
|
+
* IdentifyZone请求参数结构体
|
|
3005
|
+
*/
|
|
3006
|
+
export interface IdentifyZoneRequest {
|
|
3007
|
+
/**
|
|
3008
|
+
* 站点名称
|
|
3009
|
+
*/
|
|
3010
|
+
Name: string;
|
|
3011
|
+
}
|
|
3012
|
+
/**
|
|
3013
|
+
* 缓存规则配置。
|
|
3014
|
+
*/
|
|
3015
|
+
export interface CacheConfig {
|
|
3016
|
+
/**
|
|
3017
|
+
* 缓存配置
|
|
3018
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3019
|
+
*/
|
|
3020
|
+
Cache?: CacheConfigCache;
|
|
3021
|
+
/**
|
|
3022
|
+
* 不缓存配置
|
|
3023
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3024
|
+
*/
|
|
3025
|
+
NoCache?: CacheConfigNoCache;
|
|
3026
|
+
/**
|
|
3027
|
+
* 遵循源站配置
|
|
3028
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3029
|
+
*/
|
|
3030
|
+
FollowOrigin?: CacheConfigFollowOrigin;
|
|
3031
|
+
}
|
|
3032
|
+
/**
|
|
3033
|
+
* ModifyZoneCnameSpeedUp返回参数结构体
|
|
3034
|
+
*/
|
|
3035
|
+
export interface ModifyZoneCnameSpeedUpResponse {
|
|
3036
|
+
/**
|
|
3037
|
+
* 站点 ID
|
|
3038
|
+
*/
|
|
3039
|
+
Id: string;
|
|
3040
|
+
/**
|
|
3041
|
+
* 站点名称
|
|
3042
|
+
*/
|
|
3043
|
+
Name: string;
|
|
3044
|
+
/**
|
|
3045
|
+
* CNAME 加速状态
|
|
3046
|
+
- enabled 开启
|
|
3047
|
+
- disabled 关闭
|
|
3048
|
+
*/
|
|
3049
|
+
Status: string;
|
|
3050
|
+
/**
|
|
3051
|
+
* 更新时间
|
|
3052
|
+
*/
|
|
3053
|
+
ModifiedOn: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3056
|
+
*/
|
|
3057
|
+
RequestId?: string;
|
|
3058
|
+
}
|
|
3059
|
+
/**
|
|
3060
|
+
* 浏览器缓存规则配置,用于设置 MaxAge 默认值,默认为关闭状态
|
|
3061
|
+
*/
|
|
3062
|
+
export interface MaxAge {
|
|
3063
|
+
/**
|
|
3064
|
+
* MaxAge 时间设置,单位秒,最大365天
|
|
3065
|
+
注意:时间为0,即不缓存。
|
|
3066
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3067
|
+
*/
|
|
3068
|
+
MaxAgeTime?: number;
|
|
3069
|
+
/**
|
|
3070
|
+
* 是否遵循源站,on或off,开启时忽略时间设置。
|
|
3071
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3072
|
+
*/
|
|
3073
|
+
FollowOrigin?: string;
|
|
3074
|
+
}
|
|
3075
|
+
/**
|
|
3076
|
+
* DeleteDnsRecords请求参数结构体
|
|
3077
|
+
*/
|
|
3078
|
+
export interface DeleteDnsRecordsRequest {
|
|
3079
|
+
/**
|
|
3080
|
+
* 站点 ID
|
|
3081
|
+
*/
|
|
3082
|
+
ZoneId: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* 记录 ID
|
|
3085
|
+
*/
|
|
3086
|
+
Ids: Array<string>;
|
|
3087
|
+
}
|
|
3088
|
+
/**
|
|
3089
|
+
* ModifyHostsCertificate请求参数结构体
|
|
3090
|
+
*/
|
|
3091
|
+
export interface ModifyHostsCertificateRequest {
|
|
3092
|
+
/**
|
|
3093
|
+
* Zone ID
|
|
3094
|
+
*/
|
|
3095
|
+
ZoneId: string;
|
|
3096
|
+
/**
|
|
3097
|
+
* 本次变更的域名
|
|
3098
|
+
*/
|
|
3099
|
+
Hosts: Array<string>;
|
|
3100
|
+
/**
|
|
3101
|
+
* 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书
|
|
3102
|
+
*/
|
|
3103
|
+
CertInfo?: Array<ServerCertInfo>;
|
|
3104
|
+
}
|
|
3105
|
+
/**
|
|
3106
|
+
* ModifyZoneStatus返回参数结构体
|
|
3107
|
+
*/
|
|
3108
|
+
export interface ModifyZoneStatusResponse {
|
|
3109
|
+
/**
|
|
3110
|
+
* 站点 ID
|
|
3111
|
+
*/
|
|
3112
|
+
Id: string;
|
|
3113
|
+
/**
|
|
3114
|
+
* 站点名称
|
|
3115
|
+
*/
|
|
3116
|
+
Name: string;
|
|
3117
|
+
/**
|
|
3118
|
+
* 站点状态
|
|
3119
|
+
- false 开启站点
|
|
3120
|
+
- true 关闭站点
|
|
3121
|
+
*/
|
|
3122
|
+
Paused: boolean;
|
|
3123
|
+
/**
|
|
3124
|
+
* 更新时间
|
|
3125
|
+
*/
|
|
3126
|
+
ModifiedOn: string;
|
|
3127
|
+
/**
|
|
3128
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3129
|
+
*/
|
|
3130
|
+
RequestId?: string;
|
|
3131
|
+
}
|
|
3132
|
+
/**
|
|
3133
|
+
* DescribeDnsData请求参数结构体
|
|
3134
|
+
*/
|
|
3135
|
+
export interface DescribeDnsDataRequest {
|
|
3136
|
+
/**
|
|
3137
|
+
* 起始时间
|
|
3138
|
+
*/
|
|
3139
|
+
StartTime: string;
|
|
3140
|
+
/**
|
|
3141
|
+
* 结束时间
|
|
3142
|
+
*/
|
|
3143
|
+
EndTime: string;
|
|
3144
|
+
/**
|
|
3145
|
+
* 过滤参数
|
|
3146
|
+
*/
|
|
3147
|
+
Filters?: Array<DnsDataFilter>;
|
|
3148
|
+
/**
|
|
3149
|
+
* 时间粒度,默认为1分钟粒度,服务端根据时间范围自适应。
|
|
3150
|
+
支持指定以下几种粒度:
|
|
3151
|
+
min:1分钟粒度
|
|
3152
|
+
5min:5分钟粒度
|
|
3153
|
+
hour:1小时粒度
|
|
3154
|
+
day:天粒度
|
|
3155
|
+
*/
|
|
3156
|
+
Interval?: string;
|
|
47
3157
|
}
|
|
48
3158
|
/**
|
|
49
3159
|
* CreatePurgeTask请求参数结构体
|
|
@@ -80,344 +3190,323 @@ export interface CreatePurgeTaskRequest {
|
|
|
80
3190
|
EncodeUrl?: boolean;
|
|
81
3191
|
}
|
|
82
3192
|
/**
|
|
83
|
-
*
|
|
3193
|
+
* DeleteDnsRecords返回参数结构体
|
|
84
3194
|
*/
|
|
85
|
-
export interface
|
|
86
|
-
/**
|
|
87
|
-
* 任务ID
|
|
88
|
-
*/
|
|
89
|
-
JobId?: string;
|
|
3195
|
+
export interface DeleteDnsRecordsResponse {
|
|
90
3196
|
/**
|
|
91
|
-
*
|
|
3197
|
+
* 记录 ID
|
|
92
3198
|
*/
|
|
93
|
-
|
|
3199
|
+
Ids: Array<string>;
|
|
94
3200
|
/**
|
|
95
|
-
*
|
|
3201
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
96
3202
|
*/
|
|
97
|
-
|
|
3203
|
+
RequestId?: string;
|
|
3204
|
+
}
|
|
3205
|
+
/**
|
|
3206
|
+
* DescribeHostsSetting请求参数结构体
|
|
3207
|
+
*/
|
|
3208
|
+
export interface DescribeHostsSettingRequest {
|
|
98
3209
|
/**
|
|
99
|
-
*
|
|
3210
|
+
* 站点ID
|
|
100
3211
|
*/
|
|
101
|
-
|
|
3212
|
+
ZoneId: string;
|
|
102
3213
|
/**
|
|
103
|
-
*
|
|
3214
|
+
* 分页查询偏移量,默认为 0
|
|
104
3215
|
*/
|
|
105
3216
|
Offset?: number;
|
|
106
3217
|
/**
|
|
107
|
-
*
|
|
3218
|
+
* 分页查询限制数目,默认为 100,最大可设置为 1000
|
|
108
3219
|
*/
|
|
109
3220
|
Limit?: number;
|
|
110
3221
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
3222
|
+
* 指定域名查询
|
|
3223
|
+
*/
|
|
3224
|
+
Hosts?: Array<string>;
|
|
3225
|
+
}
|
|
3226
|
+
/**
|
|
3227
|
+
* CreateApplicationProxyRules返回参数结构体
|
|
3228
|
+
*/
|
|
3229
|
+
export interface CreateApplicationProxyRulesResponse {
|
|
115
3230
|
/**
|
|
116
|
-
*
|
|
3231
|
+
* 新增的规则ID数组
|
|
3232
|
+
*/
|
|
3233
|
+
RuleId: Array<string>;
|
|
3234
|
+
/**
|
|
3235
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3236
|
+
*/
|
|
3237
|
+
RequestId?: string;
|
|
3238
|
+
}
|
|
3239
|
+
/**
|
|
3240
|
+
* DescribeIdentification返回参数结构体
|
|
3241
|
+
*/
|
|
3242
|
+
export interface DescribeIdentificationResponse {
|
|
3243
|
+
/**
|
|
3244
|
+
* 站点名称
|
|
117
3245
|
*/
|
|
118
|
-
|
|
3246
|
+
Name: string;
|
|
119
3247
|
/**
|
|
120
|
-
|
|
3248
|
+
* 验证状态
|
|
3249
|
+
- pending 验证中
|
|
3250
|
+
- finished 验证完成
|
|
3251
|
+
*/
|
|
3252
|
+
Status: string;
|
|
3253
|
+
/**
|
|
3254
|
+
* 子域
|
|
121
3255
|
*/
|
|
122
|
-
|
|
3256
|
+
Subdomain: string;
|
|
123
3257
|
/**
|
|
124
|
-
*
|
|
3258
|
+
* 记录类型
|
|
125
3259
|
*/
|
|
126
|
-
|
|
127
|
-
}
|
|
128
|
-
/**
|
|
129
|
-
* CreatePrefetchTask返回参数结构体
|
|
130
|
-
*/
|
|
131
|
-
export interface CreatePrefetchTaskResponse {
|
|
3260
|
+
RecordType: string;
|
|
132
3261
|
/**
|
|
133
|
-
*
|
|
3262
|
+
* 记录值
|
|
134
3263
|
*/
|
|
135
|
-
|
|
3264
|
+
RecordValue: string;
|
|
136
3265
|
/**
|
|
137
|
-
*
|
|
3266
|
+
* 域名当前的 NS 记录
|
|
138
3267
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
139
3268
|
*/
|
|
140
|
-
|
|
3269
|
+
OriginalNameServers: Array<string>;
|
|
141
3270
|
/**
|
|
142
3271
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
143
3272
|
*/
|
|
144
3273
|
RequestId?: string;
|
|
145
3274
|
}
|
|
146
3275
|
/**
|
|
147
|
-
*
|
|
3276
|
+
* 源站组信息
|
|
148
3277
|
*/
|
|
149
|
-
export interface
|
|
150
|
-
/**
|
|
151
|
-
* 站点ID
|
|
152
|
-
*/
|
|
153
|
-
Id: string;
|
|
3278
|
+
export interface OriginGroup {
|
|
154
3279
|
/**
|
|
155
|
-
*
|
|
3280
|
+
* 源站组ID
|
|
156
3281
|
*/
|
|
157
|
-
|
|
3282
|
+
OriginId: string;
|
|
158
3283
|
/**
|
|
159
|
-
*
|
|
3284
|
+
* 源站组名称
|
|
160
3285
|
*/
|
|
161
|
-
|
|
3286
|
+
OriginName: string;
|
|
162
3287
|
/**
|
|
163
|
-
*
|
|
3288
|
+
* 配置类型
|
|
164
3289
|
*/
|
|
165
|
-
NameServers: Array<string>;
|
|
166
|
-
/**
|
|
167
|
-
* 站点状态
|
|
168
|
-
- active:NS 已切换
|
|
169
|
-
- pending:NS 未切换
|
|
170
|
-
- moved:NS 已切走
|
|
171
|
-
- deactivated:被封禁
|
|
172
|
-
*/
|
|
173
|
-
Status: string;
|
|
174
|
-
/**
|
|
175
|
-
* 站点接入方式
|
|
176
|
-
- full:NS 接入
|
|
177
|
-
- partial:CNAME 接入
|
|
178
|
-
*/
|
|
179
3290
|
Type: string;
|
|
180
3291
|
/**
|
|
181
|
-
*
|
|
3292
|
+
* 记录
|
|
182
3293
|
*/
|
|
183
|
-
|
|
3294
|
+
Record: Array<OriginRecord>;
|
|
184
3295
|
/**
|
|
185
|
-
*
|
|
3296
|
+
* 更新时间
|
|
186
3297
|
*/
|
|
187
|
-
|
|
3298
|
+
UpdateTime: string;
|
|
188
3299
|
/**
|
|
189
|
-
*
|
|
3300
|
+
* 站点ID
|
|
190
3301
|
*/
|
|
191
|
-
|
|
192
|
-
}
|
|
193
|
-
/**
|
|
194
|
-
* DownloadL7Logs返回参数结构体
|
|
195
|
-
*/
|
|
196
|
-
export interface DownloadL7LogsResponse {
|
|
197
|
-
/**
|
|
198
|
-
* 七层离线日志data
|
|
199
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
-
*/
|
|
201
|
-
Data: Array<L7OfflineLog>;
|
|
3302
|
+
ZoneId: string;
|
|
202
3303
|
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
PageSize: number;
|
|
3304
|
+
* 站点名称
|
|
3305
|
+
*/
|
|
3306
|
+
ZoneName: string;
|
|
207
3307
|
/**
|
|
208
|
-
*
|
|
3308
|
+
* 源站类型
|
|
209
3309
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
210
3310
|
*/
|
|
211
|
-
|
|
3311
|
+
OriginType: string;
|
|
212
3312
|
/**
|
|
213
|
-
*
|
|
3313
|
+
* 是否为四层代理使用
|
|
214
3314
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
215
3315
|
*/
|
|
216
|
-
|
|
3316
|
+
ApplicationProxyUsed: boolean;
|
|
217
3317
|
/**
|
|
218
|
-
*
|
|
3318
|
+
* 是否为负载均衡使用
|
|
219
3319
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
220
3320
|
*/
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
224
|
-
*/
|
|
225
|
-
RequestId?: string;
|
|
3321
|
+
LoadBalancingUsed: boolean;
|
|
226
3322
|
}
|
|
227
3323
|
/**
|
|
228
|
-
*
|
|
3324
|
+
* DescribeLoadBalancing返回参数结构体
|
|
229
3325
|
*/
|
|
230
|
-
export interface
|
|
3326
|
+
export interface DescribeLoadBalancingResponse {
|
|
231
3327
|
/**
|
|
232
|
-
*
|
|
3328
|
+
* 记录总数
|
|
233
3329
|
*/
|
|
234
3330
|
TotalCount: number;
|
|
235
3331
|
/**
|
|
236
|
-
*
|
|
3332
|
+
* 负载均衡信息
|
|
237
3333
|
*/
|
|
238
|
-
|
|
3334
|
+
Data: Array<LoadBalancing>;
|
|
239
3335
|
/**
|
|
240
3336
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
241
3337
|
*/
|
|
242
3338
|
RequestId?: string;
|
|
243
3339
|
}
|
|
244
3340
|
/**
|
|
245
|
-
*
|
|
3341
|
+
* ModifyDnssec返回参数结构体
|
|
246
3342
|
*/
|
|
247
|
-
export interface
|
|
248
|
-
/**
|
|
249
|
-
* 分页参数,页偏移
|
|
250
|
-
*/
|
|
251
|
-
Offset?: number;
|
|
3343
|
+
export interface ModifyDnssecResponse {
|
|
252
3344
|
/**
|
|
253
|
-
*
|
|
3345
|
+
* 站点 ID
|
|
254
3346
|
*/
|
|
255
|
-
|
|
3347
|
+
Id: string;
|
|
256
3348
|
/**
|
|
257
|
-
*
|
|
3349
|
+
* 站点名称
|
|
258
3350
|
*/
|
|
259
|
-
|
|
260
|
-
}
|
|
261
|
-
/**
|
|
262
|
-
* DescribeZones返回参数结构体
|
|
263
|
-
*/
|
|
264
|
-
export interface DescribeZonesResponse {
|
|
3351
|
+
Name: string;
|
|
265
3352
|
/**
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
3353
|
+
* DNSSEC 状态
|
|
3354
|
+
- enabled 开启
|
|
3355
|
+
- disabled 关闭
|
|
3356
|
+
*/
|
|
3357
|
+
Status: string;
|
|
269
3358
|
/**
|
|
270
|
-
*
|
|
3359
|
+
* DNSSEC 相关信息
|
|
271
3360
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
272
3361
|
*/
|
|
273
|
-
|
|
3362
|
+
Dnssec: DnssecInfo;
|
|
3363
|
+
/**
|
|
3364
|
+
* 修改时间
|
|
3365
|
+
*/
|
|
3366
|
+
ModifiedOn: string;
|
|
274
3367
|
/**
|
|
275
3368
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
276
3369
|
*/
|
|
277
3370
|
RequestId?: string;
|
|
278
3371
|
}
|
|
279
3372
|
/**
|
|
280
|
-
*
|
|
3373
|
+
* ScanDnsRecords请求参数结构体
|
|
281
3374
|
*/
|
|
282
|
-
export interface
|
|
283
|
-
/**
|
|
284
|
-
* HTTP头部
|
|
285
|
-
*/
|
|
286
|
-
Name: string;
|
|
3375
|
+
export interface ScanDnsRecordsRequest {
|
|
287
3376
|
/**
|
|
288
|
-
*
|
|
3377
|
+
* 站点 ID
|
|
289
3378
|
*/
|
|
290
|
-
|
|
3379
|
+
ZoneId: string;
|
|
291
3380
|
}
|
|
292
3381
|
/**
|
|
293
|
-
*
|
|
3382
|
+
* ImportDnsRecords返回参数结构体
|
|
294
3383
|
*/
|
|
295
|
-
export interface
|
|
3384
|
+
export interface ImportDnsRecordsResponse {
|
|
296
3385
|
/**
|
|
297
|
-
*
|
|
3386
|
+
* 记录 ID
|
|
298
3387
|
*/
|
|
299
|
-
|
|
3388
|
+
Ids: Array<string>;
|
|
300
3389
|
/**
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
Targets: Array<string>;
|
|
3390
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3391
|
+
*/
|
|
3392
|
+
RequestId?: string;
|
|
305
3393
|
}
|
|
306
3394
|
/**
|
|
307
|
-
*
|
|
3395
|
+
* DescribeLoadBalancingDetail请求参数结构体
|
|
308
3396
|
*/
|
|
309
|
-
export interface
|
|
310
|
-
/**
|
|
311
|
-
* 任务ID
|
|
312
|
-
*/
|
|
313
|
-
JobId: string;
|
|
314
|
-
/**
|
|
315
|
-
* 状态
|
|
316
|
-
*/
|
|
317
|
-
Status: string;
|
|
318
|
-
/**
|
|
319
|
-
* 资源
|
|
320
|
-
*/
|
|
321
|
-
Target: string;
|
|
322
|
-
/**
|
|
323
|
-
* 任务类型
|
|
324
|
-
*/
|
|
325
|
-
Type: string;
|
|
3397
|
+
export interface DescribeLoadBalancingDetailRequest {
|
|
326
3398
|
/**
|
|
327
|
-
*
|
|
3399
|
+
* 站点ID
|
|
328
3400
|
*/
|
|
329
|
-
|
|
3401
|
+
ZoneId: string;
|
|
330
3402
|
/**
|
|
331
|
-
*
|
|
3403
|
+
* 负载均衡ID
|
|
332
3404
|
*/
|
|
333
|
-
|
|
3405
|
+
LoadBalancingId: string;
|
|
334
3406
|
}
|
|
335
3407
|
/**
|
|
336
|
-
*
|
|
3408
|
+
* https 服务端证书配置
|
|
337
3409
|
*/
|
|
338
|
-
export interface
|
|
3410
|
+
export interface DefaultServerCertInfo {
|
|
339
3411
|
/**
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
3412
|
+
* 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
|
|
3413
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3414
|
+
*/
|
|
3415
|
+
CertId: string;
|
|
343
3416
|
/**
|
|
344
|
-
*
|
|
345
|
-
|
|
3417
|
+
* 证书备注名
|
|
3418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
346
3419
|
*/
|
|
347
|
-
|
|
3420
|
+
Alias?: string;
|
|
348
3421
|
/**
|
|
349
|
-
*
|
|
350
|
-
|
|
3422
|
+
* 证书类型:
|
|
3423
|
+
default: 默认证书
|
|
3424
|
+
upload:用户上传
|
|
3425
|
+
managed:腾讯云托管
|
|
3426
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
351
3427
|
*/
|
|
352
|
-
|
|
3428
|
+
Type?: string;
|
|
353
3429
|
/**
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* DescribePurgeTasks返回参数结构体
|
|
360
|
-
*/
|
|
361
|
-
export interface DescribePurgeTasksResponse {
|
|
3430
|
+
* 证书过期时间
|
|
3431
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3432
|
+
*/
|
|
3433
|
+
ExpireTime?: string;
|
|
362
3434
|
/**
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
3435
|
+
* 证书生效时间
|
|
3436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3437
|
+
*/
|
|
3438
|
+
EffectiveTime?: string;
|
|
366
3439
|
/**
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
3440
|
+
* 证书公用名
|
|
3441
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3442
|
+
*/
|
|
3443
|
+
CommonName?: string;
|
|
370
3444
|
/**
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
3445
|
+
* 证书SAN域名
|
|
3446
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3447
|
+
*/
|
|
3448
|
+
SubjectAltName?: Array<string>;
|
|
3449
|
+
/**
|
|
3450
|
+
* 证书状态:
|
|
3451
|
+
applying: 证书申请中
|
|
3452
|
+
failed: 证书(申请)失败
|
|
3453
|
+
processing: 证书部署中
|
|
3454
|
+
deployed: 证书已部署
|
|
3455
|
+
disabled: 证书被禁用
|
|
3456
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3457
|
+
*/
|
|
3458
|
+
Status?: string;
|
|
3459
|
+
/**
|
|
3460
|
+
* Status为失败时,此字段返回失败原因
|
|
3461
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3462
|
+
*/
|
|
3463
|
+
Message?: string;
|
|
374
3464
|
}
|
|
375
3465
|
/**
|
|
376
|
-
*
|
|
3466
|
+
* DNSSEC 相关信息
|
|
377
3467
|
*/
|
|
378
|
-
export interface
|
|
3468
|
+
export interface DnssecInfo {
|
|
379
3469
|
/**
|
|
380
|
-
*
|
|
3470
|
+
* 标志
|
|
381
3471
|
*/
|
|
382
|
-
|
|
3472
|
+
Flags: number;
|
|
383
3473
|
/**
|
|
384
|
-
*
|
|
3474
|
+
* 加密算法
|
|
385
3475
|
*/
|
|
386
|
-
|
|
3476
|
+
Algorithm: string;
|
|
387
3477
|
/**
|
|
388
|
-
*
|
|
3478
|
+
* 加密类型
|
|
389
3479
|
*/
|
|
390
|
-
|
|
3480
|
+
KeyType: string;
|
|
391
3481
|
/**
|
|
392
|
-
*
|
|
3482
|
+
* 摘要类型
|
|
393
3483
|
*/
|
|
394
|
-
|
|
3484
|
+
DigestType: string;
|
|
395
3485
|
/**
|
|
396
|
-
*
|
|
3486
|
+
* 摘要算法
|
|
397
3487
|
*/
|
|
398
|
-
|
|
3488
|
+
DigestAlgorithm: string;
|
|
399
3489
|
/**
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
Statuses?: Array<string>;
|
|
3490
|
+
* 摘要信息
|
|
3491
|
+
*/
|
|
3492
|
+
Digest: string;
|
|
404
3493
|
/**
|
|
405
|
-
*
|
|
3494
|
+
* DS 记录值
|
|
406
3495
|
*/
|
|
407
|
-
|
|
3496
|
+
DS: string;
|
|
408
3497
|
/**
|
|
409
|
-
*
|
|
3498
|
+
* 密钥标签
|
|
410
3499
|
*/
|
|
411
|
-
|
|
3500
|
+
KeyTag: number;
|
|
412
3501
|
/**
|
|
413
|
-
*
|
|
3502
|
+
* 公钥
|
|
414
3503
|
*/
|
|
415
|
-
|
|
3504
|
+
PublicKey: string;
|
|
416
3505
|
}
|
|
417
3506
|
/**
|
|
418
|
-
*
|
|
3507
|
+
* DNS 记录查询过滤条件
|
|
419
3508
|
*/
|
|
420
|
-
export interface
|
|
3509
|
+
export interface DnsRecordFilter {
|
|
421
3510
|
/**
|
|
422
3511
|
* 过滤字段名,支持的列表如下:
|
|
423
3512
|
- name: 站点名。
|
|
@@ -434,32 +3523,36 @@ export interface ZoneFilter {
|
|
|
434
3523
|
Fuzzy?: boolean;
|
|
435
3524
|
}
|
|
436
3525
|
/**
|
|
437
|
-
*
|
|
3526
|
+
* Http2回源配置
|
|
438
3527
|
*/
|
|
439
|
-
export interface
|
|
440
|
-
/**
|
|
441
|
-
* 日志打包开始时间
|
|
442
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
443
|
-
*/
|
|
444
|
-
LogTime: number;
|
|
3528
|
+
export interface UpstreamHttp2 {
|
|
445
3529
|
/**
|
|
446
|
-
*
|
|
447
|
-
|
|
3530
|
+
* http2回源配置开关
|
|
3531
|
+
on:开启
|
|
3532
|
+
off:关闭
|
|
448
3533
|
*/
|
|
449
|
-
|
|
3534
|
+
Switch: string;
|
|
3535
|
+
}
|
|
3536
|
+
/**
|
|
3537
|
+
* 离线缓存是否开启
|
|
3538
|
+
*/
|
|
3539
|
+
export interface OfflineCache {
|
|
450
3540
|
/**
|
|
451
|
-
*
|
|
3541
|
+
* on | off, 离线缓存是否开启
|
|
452
3542
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
453
3543
|
*/
|
|
454
|
-
|
|
3544
|
+
Switch: string;
|
|
3545
|
+
}
|
|
3546
|
+
/**
|
|
3547
|
+
* 自定义名字服务器 IP 信息
|
|
3548
|
+
*/
|
|
3549
|
+
export interface VanityNameServersIps {
|
|
455
3550
|
/**
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
Url: string;
|
|
3551
|
+
* 自定义名字服务器名称
|
|
3552
|
+
*/
|
|
3553
|
+
Name: string;
|
|
460
3554
|
/**
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
LogPacketName: string;
|
|
3555
|
+
* 自定义名字服务器 IPv4 地址
|
|
3556
|
+
*/
|
|
3557
|
+
IPv4: string;
|
|
465
3558
|
}
|