tencentcloud-sdk-nodejs 4.1.0 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/common/sdk_version.js +1 -1
- package/es/common/sse_response_model.js +1 -1
- package/es/services/cdb/v20170320/cdb_client.js +3 -0
- package/es/services/cls/v20201016/cls_client.js +2 -14
- package/es/services/dnspod/v20210323/dnspod_client.js +168 -159
- package/es/services/dsgc/v20190723/dsgc_client.js +0 -3
- package/es/services/monitor/v20180724/monitor_client.js +3 -0
- package/es/services/mps/v20190612/mps_client.js +31 -4
- package/es/services/redis/v20180412/redis_client.js +3 -0
- package/es/services/tcb/v20180608/tcb_client.js +3 -3
- package/es/services/tcss/v20201101/tcss_client.js +26 -29
- package/es/services/tdmq/v20200217/tdmq_client.js +0 -3
- package/es/services/teo/v20220901/teo_client.js +3 -0
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/common/sse_response_model.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +35 -35
- package/tencentcloud/services/bi/v20220105/bi_models.d.ts +3 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +0 -7
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +7 -7
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +0 -10
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +5 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +6 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +161 -128
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +22 -77
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +0 -130
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +21 -10
- package/tencentcloud/services/cls/v20201016/cls_client.d.ts +3 -19
- package/tencentcloud/services/cls/v20201016/cls_client.js +3 -27
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +189 -553
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +4 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +1 -43
- package/tencentcloud/services/dbbrain/v20191016/dbbrain_models.d.ts +14 -32
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +17 -70
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +0 -24
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +187 -175
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +273 -255
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +218 -17
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +0 -4
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.d.ts +1 -6
- package/tencentcloud/services/dsgc/v20190723/dsgc_client.js +0 -7
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +0 -13
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -1
- package/tencentcloud/services/fmu/v20191213/fmu_models.d.ts +2 -2
- package/tencentcloud/services/goosefs/v20220519/goosefs_models.d.ts +0 -1
- package/tencentcloud/services/gwlb/v20240906/gwlb_models.d.ts +2 -2
- package/tencentcloud/services/iotcloud/v20210408/iotcloud_models.d.ts +16 -17
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.d.ts +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_client.js +1 -1
- package/tencentcloud/services/iotvideoindustry/v20201201/iotvideoindustry_models.d.ts +117 -315
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +10 -14
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +4 -0
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +0 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +4 -23
- package/tencentcloud/services/mmps/v20200710/mmps_models.d.ts +23 -51
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +86 -22
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +42 -5
- package/tencentcloud/services/mps/v20190612/mps_client.js +61 -6
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +1322 -216
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +5 -5
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +5 -5
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +43 -154
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +5 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +6 -0
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +18 -0
- package/tencentcloud/services/svp/v20240125/svp_models.d.ts +0 -21
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +5 -5
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +6 -6
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +84 -183
- package/tencentcloud/services/tcss/v20201101/tcss_client.d.ts +31 -45
- package/tencentcloud/services/tcss/v20201101/tcss_client.js +45 -61
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +974 -1431
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.d.ts +1 -5
- package/tencentcloud/services/tdmq/v20200217/tdmq_client.js +0 -6
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +82 -224
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -1
- package/tencentcloud/services/teo/v20220901/teo_client.js +6 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +58 -26
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +2 -5
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +2 -5
- package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +2 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +0 -27
- package/tencentcloud/services/tke/v20220501/tke_models.d.ts +0 -17
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +0 -17
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +33 -0
- package/tencentcloud/services/weilingwith/v20230427/weilingwith_models.d.ts +0 -482
|
@@ -28,140 +28,138 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
28
28
|
super("dnspod.tencentcloudapi.com", "2021-03-23", clientConfig);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* 获取域名权限
|
|
32
32
|
*/
|
|
33
|
-
async
|
|
34
|
-
return this.request("
|
|
33
|
+
async DescribeDomainPurview(req, cb) {
|
|
34
|
+
return this.request("DescribeDomainPurview", req, cb);
|
|
35
35
|
}
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
38
|
-
备注:
|
|
39
|
-
1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
40
|
-
2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
|
|
37
|
+
* 暂停子域名的解析记录
|
|
41
38
|
*/
|
|
42
|
-
async
|
|
43
|
-
return this.request("
|
|
39
|
+
async ModifySubdomainStatus(req, cb) {
|
|
40
|
+
return this.request("ModifySubdomainStatus", req, cb);
|
|
44
41
|
}
|
|
45
42
|
/**
|
|
46
|
-
*
|
|
43
|
+
* 统计子域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况。仅付费套餐域名可用。
|
|
47
44
|
*/
|
|
48
|
-
async
|
|
49
|
-
return this.request("
|
|
45
|
+
async DescribeSubdomainAnalytics(req, cb) {
|
|
46
|
+
return this.request("DescribeSubdomainAnalytics", req, cb);
|
|
50
47
|
}
|
|
51
48
|
/**
|
|
52
|
-
*
|
|
49
|
+
* 添加TXT记录
|
|
50
|
+
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
53
51
|
*/
|
|
54
|
-
async
|
|
55
|
-
return this.request("
|
|
52
|
+
async CreateTXTRecord(req, cb) {
|
|
53
|
+
return this.request("CreateTXTRecord", req, cb);
|
|
56
54
|
}
|
|
57
55
|
/**
|
|
58
|
-
*
|
|
56
|
+
* 快照回滚前检查
|
|
59
57
|
*/
|
|
60
|
-
async
|
|
61
|
-
return this.request("
|
|
58
|
+
async CheckSnapshotRollback(req, cb) {
|
|
59
|
+
return this.request("CheckSnapshotRollback", req, cb);
|
|
62
60
|
}
|
|
63
61
|
/**
|
|
64
|
-
*
|
|
62
|
+
* 增值服务自动续费设置
|
|
65
63
|
*/
|
|
66
|
-
async
|
|
67
|
-
return this.request("
|
|
64
|
+
async ModifyVasAutoRenewStatus(req, cb) {
|
|
65
|
+
return this.request("ModifyVasAutoRenewStatus", req, cb);
|
|
68
66
|
}
|
|
69
67
|
/**
|
|
70
|
-
*
|
|
68
|
+
* 获取域名Whois信息
|
|
71
69
|
*/
|
|
72
|
-
async
|
|
73
|
-
return this.request("
|
|
70
|
+
async DescribeDomainWhois(req, cb) {
|
|
71
|
+
return this.request("DescribeDomainWhois", req, cb);
|
|
74
72
|
}
|
|
75
73
|
/**
|
|
76
|
-
*
|
|
74
|
+
* 批量添加域名
|
|
77
75
|
*/
|
|
78
|
-
async
|
|
79
|
-
return this.request("
|
|
76
|
+
async CreateDomainBatch(req, cb) {
|
|
77
|
+
return this.request("CreateDomainBatch", req, cb);
|
|
80
78
|
}
|
|
81
79
|
/**
|
|
82
|
-
*
|
|
80
|
+
* 获取域名共享信息
|
|
83
81
|
*/
|
|
84
|
-
async
|
|
85
|
-
return this.request("
|
|
82
|
+
async DescribeDomainShareInfo(req, cb) {
|
|
83
|
+
return this.request("DescribeDomainShareInfo", req, cb);
|
|
86
84
|
}
|
|
87
85
|
/**
|
|
88
|
-
*
|
|
86
|
+
* 创建域名的线路分组
|
|
89
87
|
*/
|
|
90
|
-
async
|
|
91
|
-
return this.request("
|
|
88
|
+
async CreateLineGroup(req, cb) {
|
|
89
|
+
return this.request("CreateLineGroup", req, cb);
|
|
92
90
|
}
|
|
93
91
|
/**
|
|
94
|
-
*
|
|
92
|
+
* 获取域名信息
|
|
95
93
|
*/
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
94
|
+
async DescribeDomain(req, cb) {
|
|
95
|
+
return this.request("DescribeDomain", req, cb);
|
|
98
96
|
}
|
|
99
97
|
/**
|
|
100
|
-
*
|
|
98
|
+
* 获取等级允许的记录类型
|
|
101
99
|
*/
|
|
102
|
-
async
|
|
103
|
-
return this.request("
|
|
100
|
+
async DescribeRecordType(req, cb) {
|
|
101
|
+
return this.request("DescribeRecordType", req, cb);
|
|
104
102
|
}
|
|
105
103
|
/**
|
|
106
|
-
*
|
|
104
|
+
* 修改记录分组
|
|
107
105
|
*/
|
|
108
|
-
async
|
|
109
|
-
return this.request("
|
|
106
|
+
async ModifyRecordGroup(req, cb) {
|
|
107
|
+
return this.request("ModifyRecordGroup", req, cb);
|
|
110
108
|
}
|
|
111
109
|
/**
|
|
112
|
-
*
|
|
110
|
+
* 修改快照配置
|
|
113
111
|
*/
|
|
114
|
-
async
|
|
115
|
-
return this.request("
|
|
112
|
+
async ModifySnapshotConfig(req, cb) {
|
|
113
|
+
return this.request("ModifySnapshotConfig", req, cb);
|
|
116
114
|
}
|
|
117
115
|
/**
|
|
118
|
-
*
|
|
116
|
+
* 修改记录
|
|
119
117
|
*/
|
|
120
|
-
async
|
|
121
|
-
return this.request("
|
|
118
|
+
async ModifyRecord(req, cb) {
|
|
119
|
+
return this.request("ModifyRecord", req, cb);
|
|
122
120
|
}
|
|
123
121
|
/**
|
|
124
|
-
*
|
|
125
|
-
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
122
|
+
* 域名过户
|
|
126
123
|
*/
|
|
127
|
-
async
|
|
128
|
-
return this.request("
|
|
124
|
+
async ModifyDomainOwner(req, cb) {
|
|
125
|
+
return this.request("ModifyDomainOwner", req, cb);
|
|
129
126
|
}
|
|
130
127
|
/**
|
|
131
|
-
*
|
|
128
|
+
* 批量删除解析记录
|
|
129
|
+
备注:因存储限制, 建议一次批量删除最多2000条
|
|
132
130
|
*/
|
|
133
|
-
async
|
|
134
|
-
return this.request("
|
|
131
|
+
async DeleteRecordBatch(req, cb) {
|
|
132
|
+
return this.request("DeleteRecordBatch", req, cb);
|
|
135
133
|
}
|
|
136
134
|
/**
|
|
137
|
-
*
|
|
135
|
+
* 重新回滚指定解析记录快照
|
|
138
136
|
*/
|
|
139
|
-
async
|
|
140
|
-
return this.request("
|
|
137
|
+
async RollbackRecordSnapshot(req, cb) {
|
|
138
|
+
return this.request("RollbackRecordSnapshot", req, cb);
|
|
141
139
|
}
|
|
142
140
|
/**
|
|
143
|
-
*
|
|
141
|
+
* 判断是否有除系统默认的@-NS记录之外的记录存在
|
|
144
142
|
*/
|
|
145
|
-
async
|
|
146
|
-
return this.request("
|
|
143
|
+
async DescribeRecordExistExceptDefaultNS(req, cb) {
|
|
144
|
+
return this.request("DescribeRecordExistExceptDefaultNS", req, cb);
|
|
147
145
|
}
|
|
148
146
|
/**
|
|
149
|
-
*
|
|
147
|
+
* 创建快照
|
|
150
148
|
*/
|
|
151
|
-
async
|
|
152
|
-
return this.request("
|
|
149
|
+
async CreateSnapshot(req, cb) {
|
|
150
|
+
return this.request("CreateSnapshot", req, cb);
|
|
153
151
|
}
|
|
154
152
|
/**
|
|
155
|
-
*
|
|
153
|
+
* 修改记录可选字段
|
|
156
154
|
*/
|
|
157
|
-
async
|
|
158
|
-
return this.request("
|
|
155
|
+
async ModifyRecordFields(req, cb) {
|
|
156
|
+
return this.request("ModifyRecordFields", req, cb);
|
|
159
157
|
}
|
|
160
158
|
/**
|
|
161
|
-
*
|
|
159
|
+
* 批量删除域名
|
|
162
160
|
*/
|
|
163
|
-
async
|
|
164
|
-
return this.request("
|
|
161
|
+
async DeleteDomainBatch(req, cb) {
|
|
162
|
+
return this.request("DeleteDomainBatch", req, cb);
|
|
165
163
|
}
|
|
166
164
|
/**
|
|
167
165
|
* 查询快照回滚结果
|
|
@@ -169,12 +167,6 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
169
167
|
async DescribeSnapshotRollbackResult(req, cb) {
|
|
170
168
|
return this.request("DescribeSnapshotRollbackResult", req, cb);
|
|
171
169
|
}
|
|
172
|
-
/**
|
|
173
|
-
* 删除快照
|
|
174
|
-
*/
|
|
175
|
-
async DeleteSnapshot(req, cb) {
|
|
176
|
-
return this.request("DeleteSnapshot", req, cb);
|
|
177
|
-
}
|
|
178
170
|
/**
|
|
179
171
|
* 域名锁定解锁
|
|
180
172
|
*/
|
|
@@ -182,157 +174,163 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
182
174
|
return this.request("ModifyDomainUnlock", req, cb);
|
|
183
175
|
}
|
|
184
176
|
/**
|
|
185
|
-
*
|
|
177
|
+
* 获取域名列表
|
|
186
178
|
*/
|
|
187
|
-
async
|
|
188
|
-
return this.request("
|
|
179
|
+
async DescribeDomainList(req, cb) {
|
|
180
|
+
return this.request("DescribeDomainList", req, cb);
|
|
189
181
|
}
|
|
190
182
|
/**
|
|
191
|
-
*
|
|
183
|
+
* 查询解析快照配置
|
|
192
184
|
*/
|
|
193
|
-
async
|
|
194
|
-
return this.request("
|
|
185
|
+
async DescribeSnapshotConfig(req, cb) {
|
|
186
|
+
return this.request("DescribeSnapshotConfig", req, cb);
|
|
195
187
|
}
|
|
196
188
|
/**
|
|
197
|
-
*
|
|
189
|
+
* 获取账户信息
|
|
198
190
|
*/
|
|
199
|
-
async
|
|
200
|
-
return this.request("
|
|
191
|
+
async DescribeUserDetail(req, cb) {
|
|
192
|
+
return this.request("DescribeUserDetail", req, cb);
|
|
201
193
|
}
|
|
202
194
|
/**
|
|
203
|
-
*
|
|
204
|
-
备注:
|
|
205
|
-
1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
206
|
-
2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
|
|
195
|
+
* 修改域名状态
|
|
207
196
|
*/
|
|
208
|
-
async
|
|
209
|
-
return this.request("
|
|
197
|
+
async ModifyDomainStatus(req, cb) {
|
|
198
|
+
return this.request("ModifyDomainStatus", req, cb);
|
|
210
199
|
}
|
|
211
200
|
/**
|
|
212
|
-
*
|
|
201
|
+
* 统计各个域名的解析量,帮助您了解流量情况、时间段分布。支持查看近 3 个月内的统计情况
|
|
213
202
|
*/
|
|
214
|
-
async
|
|
215
|
-
return this.request("
|
|
203
|
+
async DescribeDomainAnalytics(req, cb) {
|
|
204
|
+
return this.request("DescribeDomainAnalytics", req, cb);
|
|
216
205
|
}
|
|
217
206
|
/**
|
|
218
|
-
*
|
|
207
|
+
* DNS 解析套餐自动续费设置
|
|
219
208
|
*/
|
|
220
|
-
async
|
|
221
|
-
return this.request("
|
|
209
|
+
async ModifyPackageAutoRenew(req, cb) {
|
|
210
|
+
return this.request("ModifyPackageAutoRenew", req, cb);
|
|
222
211
|
}
|
|
223
212
|
/**
|
|
224
|
-
*
|
|
213
|
+
* 添加记录
|
|
214
|
+
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
225
215
|
*/
|
|
226
|
-
async
|
|
227
|
-
return this.request("
|
|
216
|
+
async CreateRecord(req, cb) {
|
|
217
|
+
return this.request("CreateRecord", req, cb);
|
|
228
218
|
}
|
|
229
219
|
/**
|
|
230
|
-
*
|
|
220
|
+
* 按分类返回线路列表
|
|
231
221
|
*/
|
|
232
|
-
async
|
|
233
|
-
return this.request("
|
|
222
|
+
async DescribeRecordLineCategoryList(req, cb) {
|
|
223
|
+
return this.request("DescribeRecordLineCategoryList", req, cb);
|
|
234
224
|
}
|
|
235
225
|
/**
|
|
236
|
-
*
|
|
226
|
+
* 获取域名日志
|
|
237
227
|
*/
|
|
238
|
-
async
|
|
239
|
-
return this.request("
|
|
228
|
+
async DescribeDomainLogList(req, cb) {
|
|
229
|
+
return this.request("DescribeDomainLogList", req, cb);
|
|
240
230
|
}
|
|
241
231
|
/**
|
|
242
|
-
*
|
|
232
|
+
* 创建域名分组
|
|
243
233
|
*/
|
|
244
|
-
async
|
|
245
|
-
return this.request("
|
|
234
|
+
async CreateDomainGroup(req, cb) {
|
|
235
|
+
return this.request("CreateDomainGroup", req, cb);
|
|
246
236
|
}
|
|
247
237
|
/**
|
|
248
|
-
*
|
|
238
|
+
* 获取域名概览信息
|
|
249
239
|
*/
|
|
250
|
-
async
|
|
251
|
-
return this.request("
|
|
240
|
+
async DescribeDomainPreview(req, cb) {
|
|
241
|
+
return this.request("DescribeDomainPreview", req, cb);
|
|
252
242
|
}
|
|
253
243
|
/**
|
|
254
|
-
*
|
|
244
|
+
* 将记录添加到分组
|
|
255
245
|
*/
|
|
256
|
-
async
|
|
257
|
-
return this.request("
|
|
246
|
+
async ModifyRecordToGroup(req, cb) {
|
|
247
|
+
return this.request("ModifyRecordToGroup", req, cb);
|
|
258
248
|
}
|
|
259
249
|
/**
|
|
260
|
-
*
|
|
250
|
+
* 修改TXT记录
|
|
261
251
|
*/
|
|
262
|
-
async
|
|
263
|
-
return this.request("
|
|
252
|
+
async ModifyTXTRecord(req, cb) {
|
|
253
|
+
return this.request("ModifyTXTRecord", req, cb);
|
|
264
254
|
}
|
|
265
255
|
/**
|
|
266
|
-
*
|
|
256
|
+
* 删除域名
|
|
267
257
|
*/
|
|
268
|
-
async
|
|
269
|
-
return this.request("
|
|
258
|
+
async DeleteDomain(req, cb) {
|
|
259
|
+
return this.request("DeleteDomain", req, cb);
|
|
270
260
|
}
|
|
271
261
|
/**
|
|
272
|
-
*
|
|
262
|
+
* 获取域名分组列表
|
|
273
263
|
*/
|
|
274
|
-
async
|
|
275
|
-
return this.request("
|
|
264
|
+
async DescribeDomainGroupList(req, cb) {
|
|
265
|
+
return this.request("DescribeDomainGroupList", req, cb);
|
|
276
266
|
}
|
|
277
267
|
/**
|
|
278
|
-
*
|
|
268
|
+
* 删除域名的自定义线路
|
|
279
269
|
*/
|
|
280
|
-
async
|
|
281
|
-
return this.request("
|
|
270
|
+
async DeleteDomainCustomLine(req, cb) {
|
|
271
|
+
return this.request("DeleteDomainCustomLine", req, cb);
|
|
282
272
|
}
|
|
283
273
|
/**
|
|
284
|
-
*
|
|
274
|
+
* 获取域名别名列表
|
|
285
275
|
*/
|
|
286
|
-
async
|
|
287
|
-
return this.request("
|
|
276
|
+
async DescribeDomainAliasList(req, cb) {
|
|
277
|
+
return this.request("DescribeDomainAliasList", req, cb);
|
|
288
278
|
}
|
|
289
279
|
/**
|
|
290
|
-
*
|
|
280
|
+
* 查询快照列表
|
|
291
281
|
*/
|
|
292
|
-
async
|
|
293
|
-
return this.request("
|
|
282
|
+
async DescribeSnapshotList(req, cb) {
|
|
283
|
+
return this.request("DescribeSnapshotList", req, cb);
|
|
294
284
|
}
|
|
295
285
|
/**
|
|
296
|
-
*
|
|
286
|
+
* 批量导出子域名解析量
|
|
297
287
|
*/
|
|
298
|
-
async
|
|
299
|
-
return this.request("
|
|
288
|
+
async CreateSubDomainsAnalyticsFile(req, cb) {
|
|
289
|
+
return this.request("CreateSubDomainsAnalyticsFile", req, cb);
|
|
300
290
|
}
|
|
301
291
|
/**
|
|
302
|
-
*
|
|
292
|
+
* 删除快照
|
|
303
293
|
*/
|
|
304
|
-
async
|
|
305
|
-
return this.request("
|
|
294
|
+
async DeleteSnapshot(req, cb) {
|
|
295
|
+
return this.request("DeleteSnapshot", req, cb);
|
|
306
296
|
}
|
|
307
297
|
/**
|
|
308
|
-
*
|
|
298
|
+
* DNSPod商品下单
|
|
309
299
|
*/
|
|
310
|
-
async
|
|
311
|
-
return this.request("
|
|
300
|
+
async CreateDeal(req, cb) {
|
|
301
|
+
return this.request("CreateDeal", req, cb);
|
|
312
302
|
}
|
|
313
303
|
/**
|
|
314
|
-
*
|
|
304
|
+
* 修改域名所属分组
|
|
315
305
|
*/
|
|
316
|
-
async
|
|
317
|
-
return this.request("
|
|
306
|
+
async ModifyDomainToGroup(req, cb) {
|
|
307
|
+
return this.request("ModifyDomainToGroup", req, cb);
|
|
318
308
|
}
|
|
319
309
|
/**
|
|
320
|
-
*
|
|
310
|
+
* 添加域名
|
|
311
|
+
|
|
312
|
+
备注:该接口不支持添加子域名。
|
|
321
313
|
*/
|
|
322
|
-
async
|
|
323
|
-
return this.request("
|
|
314
|
+
async CreateDomain(req, cb) {
|
|
315
|
+
return this.request("CreateDomain", req, cb);
|
|
324
316
|
}
|
|
325
317
|
/**
|
|
326
|
-
*
|
|
318
|
+
* 锁定域名
|
|
327
319
|
*/
|
|
328
|
-
async
|
|
329
|
-
return this.request("
|
|
320
|
+
async ModifyDomainLock(req, cb) {
|
|
321
|
+
return this.request("ModifyDomainLock", req, cb);
|
|
330
322
|
}
|
|
331
323
|
/**
|
|
332
|
-
*
|
|
324
|
+
* 回滚快照
|
|
333
325
|
*/
|
|
334
|
-
async
|
|
335
|
-
return this.request("
|
|
326
|
+
async RollbackSnapshot(req, cb) {
|
|
327
|
+
return this.request("RollbackSnapshot", req, cb);
|
|
328
|
+
}
|
|
329
|
+
/**
|
|
330
|
+
* 查询解析记录分组列表
|
|
331
|
+
*/
|
|
332
|
+
async DescribeRecordGroupList(req, cb) {
|
|
333
|
+
return this.request("DescribeRecordGroupList", req, cb);
|
|
336
334
|
}
|
|
337
335
|
/**
|
|
338
336
|
* 获取等级允许的线路
|
|
@@ -341,116 +339,118 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
341
339
|
return this.request("DescribeRecordLineList", req, cb);
|
|
342
340
|
}
|
|
343
341
|
/**
|
|
344
|
-
*
|
|
342
|
+
* 设置记录备注
|
|
345
343
|
*/
|
|
346
|
-
async
|
|
347
|
-
return this.request("
|
|
344
|
+
async ModifyRecordRemark(req, cb) {
|
|
345
|
+
return this.request("ModifyRecordRemark", req, cb);
|
|
348
346
|
}
|
|
349
347
|
/**
|
|
350
|
-
*
|
|
348
|
+
* 获取域名的线路分组列表
|
|
351
349
|
*/
|
|
352
|
-
async
|
|
353
|
-
return this.request("
|
|
350
|
+
async DescribeLineGroupList(req, cb) {
|
|
351
|
+
return this.request("DescribeLineGroupList", req, cb);
|
|
354
352
|
}
|
|
355
353
|
/**
|
|
356
|
-
*
|
|
354
|
+
* 修改域名的线路分组
|
|
357
355
|
*/
|
|
358
|
-
async
|
|
359
|
-
return this.request("
|
|
356
|
+
async ModifyLineGroup(req, cb) {
|
|
357
|
+
return this.request("ModifyLineGroup", req, cb);
|
|
360
358
|
}
|
|
361
359
|
/**
|
|
362
|
-
*
|
|
363
|
-
备注:因存储限制, 建议一次批量删除最多2000条
|
|
360
|
+
* 复制域名的线路分组
|
|
364
361
|
*/
|
|
365
|
-
async
|
|
366
|
-
return this.request("
|
|
362
|
+
async CreateLineGroupCopy(req, cb) {
|
|
363
|
+
return this.request("CreateLineGroupCopy", req, cb);
|
|
367
364
|
}
|
|
368
365
|
/**
|
|
369
|
-
*
|
|
366
|
+
* 回滚前检查单条记录
|
|
370
367
|
*/
|
|
371
|
-
async
|
|
372
|
-
return this.request("
|
|
368
|
+
async CheckRecordSnapshotRollback(req, cb) {
|
|
369
|
+
return this.request("CheckRecordSnapshotRollback", req, cb);
|
|
373
370
|
}
|
|
374
371
|
/**
|
|
375
|
-
*
|
|
376
|
-
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
372
|
+
* DNSPod商品余额支付
|
|
377
373
|
*/
|
|
378
|
-
async
|
|
379
|
-
return this.request("
|
|
374
|
+
async PayOrderWithBalance(req, cb) {
|
|
375
|
+
return this.request("PayOrderWithBalance", req, cb);
|
|
380
376
|
}
|
|
381
377
|
/**
|
|
382
|
-
*
|
|
378
|
+
* 根据批量任务ID获取生成文件信息
|
|
383
379
|
*/
|
|
384
|
-
async
|
|
385
|
-
return this.request("
|
|
380
|
+
async DescribeFileInfoByJobId(req, cb) {
|
|
381
|
+
return this.request("DescribeFileInfoByJobId", req, cb);
|
|
386
382
|
}
|
|
387
383
|
/**
|
|
388
|
-
*
|
|
384
|
+
* 获取各套餐配置详情
|
|
389
385
|
*/
|
|
390
|
-
async
|
|
391
|
-
return this.request("
|
|
386
|
+
async DescribePackageDetail(req, cb) {
|
|
387
|
+
return this.request("DescribePackageDetail", req, cb);
|
|
392
388
|
}
|
|
393
389
|
/**
|
|
394
|
-
*
|
|
390
|
+
* 获取某个域名下的解析记录列表
|
|
391
|
+
备注:
|
|
392
|
+
1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
393
|
+
2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
|
|
395
394
|
*/
|
|
396
|
-
async
|
|
397
|
-
return this.request("
|
|
395
|
+
async DescribeRecordFilterList(req, cb) {
|
|
396
|
+
return this.request("DescribeRecordFilterList", req, cb);
|
|
398
397
|
}
|
|
399
398
|
/**
|
|
400
|
-
*
|
|
399
|
+
* 批量修改记录
|
|
401
400
|
*/
|
|
402
|
-
async
|
|
403
|
-
return this.request("
|
|
401
|
+
async ModifyRecordBatch(req, cb) {
|
|
402
|
+
return this.request("ModifyRecordBatch", req, cb);
|
|
404
403
|
}
|
|
405
404
|
/**
|
|
406
|
-
*
|
|
405
|
+
* 查询解析记录重新回滚的结果
|
|
407
406
|
*/
|
|
408
|
-
async
|
|
409
|
-
return this.request("
|
|
407
|
+
async DescribeRecordSnapshotRollbackResult(req, cb) {
|
|
408
|
+
return this.request("DescribeRecordSnapshotRollbackResult", req, cb);
|
|
410
409
|
}
|
|
411
410
|
/**
|
|
412
|
-
*
|
|
411
|
+
* 创建添加子域名 Zone 域解析时所需要的 TXT 记录值
|
|
413
412
|
*/
|
|
414
|
-
async
|
|
415
|
-
return this.request("
|
|
413
|
+
async CreateSubdomainValidateTXTValue(req, cb) {
|
|
414
|
+
return this.request("CreateSubdomainValidateTXTValue", req, cb);
|
|
416
415
|
}
|
|
417
416
|
/**
|
|
418
|
-
*
|
|
417
|
+
* 获取某个域名下的解析记录列表
|
|
418
|
+
备注:
|
|
419
|
+
1. 新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
420
|
+
2. API获取的记录总条数会比控制台多2条,原因是: 为了防止用户误操作导致解析服务不可用,对2021-10-29 14:24:26之后添加的域名,在控制台都不显示这2条NS记录。
|
|
419
421
|
*/
|
|
420
|
-
async
|
|
421
|
-
return this.request("
|
|
422
|
+
async DescribeRecordList(req, cb) {
|
|
423
|
+
return this.request("DescribeRecordList", req, cb);
|
|
422
424
|
}
|
|
423
425
|
/**
|
|
424
|
-
*
|
|
426
|
+
* 查询最近一次回滚
|
|
425
427
|
*/
|
|
426
|
-
async
|
|
427
|
-
return this.request("
|
|
428
|
+
async DescribeSnapshotRollbackTask(req, cb) {
|
|
429
|
+
return this.request("DescribeSnapshotRollbackTask", req, cb);
|
|
428
430
|
}
|
|
429
431
|
/**
|
|
430
|
-
*
|
|
432
|
+
* 删除记录
|
|
431
433
|
*/
|
|
432
|
-
async
|
|
433
|
-
return this.request("
|
|
434
|
+
async DeleteRecord(req, cb) {
|
|
435
|
+
return this.request("DeleteRecord", req, cb);
|
|
434
436
|
}
|
|
435
437
|
/**
|
|
436
|
-
*
|
|
438
|
+
* 删除记录分组
|
|
437
439
|
*/
|
|
438
|
-
async
|
|
439
|
-
return this.request("
|
|
440
|
+
async DeleteRecordGroup(req, cb) {
|
|
441
|
+
return this.request("DeleteRecordGroup", req, cb);
|
|
440
442
|
}
|
|
441
443
|
/**
|
|
442
|
-
*
|
|
443
|
-
|
|
444
|
-
备注:该接口不支持添加子域名。
|
|
444
|
+
* 下载快照
|
|
445
445
|
*/
|
|
446
|
-
async
|
|
447
|
-
return this.request("
|
|
446
|
+
async DownloadSnapshot(req, cb) {
|
|
447
|
+
return this.request("DownloadSnapshot", req, cb);
|
|
448
448
|
}
|
|
449
449
|
/**
|
|
450
|
-
*
|
|
450
|
+
* 修改解析记录的状态
|
|
451
451
|
*/
|
|
452
|
-
async
|
|
453
|
-
return this.request("
|
|
452
|
+
async ModifyRecordStatus(req, cb) {
|
|
453
|
+
return this.request("ModifyRecordStatus", req, cb);
|
|
454
454
|
}
|
|
455
455
|
/**
|
|
456
456
|
* 修改域名的自定义线路
|
|
@@ -459,89 +459,107 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
459
459
|
return this.request("ModifyDomainCustomLine", req, cb);
|
|
460
460
|
}
|
|
461
461
|
/**
|
|
462
|
-
*
|
|
463
|
-
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
462
|
+
* 获取域名增值服务用量
|
|
464
463
|
*/
|
|
465
|
-
async
|
|
466
|
-
return this.request("
|
|
464
|
+
async DescribeVASStatistic(req, cb) {
|
|
465
|
+
return this.request("DescribeVASStatistic", req, cb);
|
|
467
466
|
}
|
|
468
467
|
/**
|
|
469
|
-
*
|
|
468
|
+
* 按账号删除域名共享
|
|
470
469
|
*/
|
|
471
|
-
async
|
|
472
|
-
return this.request("
|
|
470
|
+
async DeleteShareDomain(req, cb) {
|
|
471
|
+
return this.request("DeleteShareDomain", req, cb);
|
|
473
472
|
}
|
|
474
473
|
/**
|
|
475
|
-
*
|
|
474
|
+
* 删除域名的线路分组
|
|
476
475
|
*/
|
|
477
|
-
async
|
|
478
|
-
return this.request("
|
|
476
|
+
async DeleteLineGroup(req, cb) {
|
|
477
|
+
return this.request("DeleteLineGroup", req, cb);
|
|
479
478
|
}
|
|
480
479
|
/**
|
|
481
|
-
*
|
|
480
|
+
* 添加记录分组
|
|
482
481
|
*/
|
|
483
|
-
async
|
|
484
|
-
return this.request("
|
|
482
|
+
async CreateRecordGroup(req, cb) {
|
|
483
|
+
return this.request("CreateRecordGroup", req, cb);
|
|
485
484
|
}
|
|
486
485
|
/**
|
|
487
|
-
*
|
|
486
|
+
* 更新动态 DNS 记录
|
|
488
487
|
*/
|
|
489
|
-
async
|
|
490
|
-
return this.request("
|
|
488
|
+
async ModifyDynamicDNS(req, cb) {
|
|
489
|
+
return this.request("ModifyDynamicDNS", req, cb);
|
|
491
490
|
}
|
|
492
491
|
/**
|
|
493
|
-
*
|
|
492
|
+
* 批量添加记录
|
|
494
493
|
*/
|
|
495
|
-
async
|
|
496
|
-
return this.request("
|
|
494
|
+
async CreateRecordBatch(req, cb) {
|
|
495
|
+
return this.request("CreateRecordBatch", req, cb);
|
|
497
496
|
}
|
|
498
497
|
/**
|
|
499
|
-
*
|
|
498
|
+
* 创建域名的自定义线路
|
|
500
499
|
*/
|
|
501
|
-
async
|
|
502
|
-
return this.request("
|
|
500
|
+
async CreateDomainCustomLine(req, cb) {
|
|
501
|
+
return this.request("CreateDomainCustomLine", req, cb);
|
|
503
502
|
}
|
|
504
503
|
/**
|
|
505
|
-
*
|
|
504
|
+
* 批量导出域名解析量
|
|
506
505
|
*/
|
|
507
|
-
async
|
|
508
|
-
return this.request("
|
|
506
|
+
async CreateDomainsAnalyticsFile(req, cb) {
|
|
507
|
+
return this.request("CreateDomainsAnalyticsFile", req, cb);
|
|
509
508
|
}
|
|
510
509
|
/**
|
|
511
|
-
*
|
|
510
|
+
* 获取记录信息
|
|
512
511
|
*/
|
|
513
|
-
async
|
|
514
|
-
return this.request("
|
|
512
|
+
async DescribeRecord(req, cb) {
|
|
513
|
+
return this.request("DescribeRecord", req, cb);
|
|
515
514
|
}
|
|
516
515
|
/**
|
|
517
|
-
*
|
|
516
|
+
* 获取指定域名的已共享列表
|
|
518
517
|
*/
|
|
519
|
-
async
|
|
520
|
-
return this.request("
|
|
518
|
+
async DescribeDomainShareUserList(req, cb) {
|
|
519
|
+
return this.request("DescribeDomainShareUserList", req, cb);
|
|
521
520
|
}
|
|
522
521
|
/**
|
|
523
|
-
*
|
|
522
|
+
* 设置域名备注
|
|
524
523
|
*/
|
|
525
|
-
async
|
|
526
|
-
return this.request("
|
|
524
|
+
async ModifyDomainRemark(req, cb) {
|
|
525
|
+
return this.request("ModifyDomainRemark", req, cb);
|
|
527
526
|
}
|
|
528
527
|
/**
|
|
529
|
-
*
|
|
528
|
+
* 查看添加子域名 Zone 域解析 TXT 记录值验证状态
|
|
530
529
|
*/
|
|
531
|
-
async
|
|
532
|
-
return this.request("
|
|
530
|
+
async DescribeSubdomainValidateStatus(req, cb) {
|
|
531
|
+
return this.request("DescribeSubdomainValidateStatus", req, cb);
|
|
533
532
|
}
|
|
534
533
|
/**
|
|
535
|
-
*
|
|
534
|
+
* 删除域名别名
|
|
536
535
|
*/
|
|
537
|
-
async
|
|
538
|
-
return this.request("
|
|
536
|
+
async DeleteDomainAlias(req, cb) {
|
|
537
|
+
return this.request("DeleteDomainAlias", req, cb);
|
|
539
538
|
}
|
|
540
539
|
/**
|
|
541
|
-
*
|
|
540
|
+
* 获取任务详情
|
|
542
541
|
*/
|
|
543
|
-
async
|
|
544
|
-
return this.request("
|
|
542
|
+
async DescribeBatchTask(req, cb) {
|
|
543
|
+
return this.request("DescribeBatchTask", req, cb);
|
|
544
|
+
}
|
|
545
|
+
/**
|
|
546
|
+
* 获取域名的自定义线路列表
|
|
547
|
+
*/
|
|
548
|
+
async DescribeDomainCustomLineList(req, cb) {
|
|
549
|
+
return this.request("DescribeDomainCustomLineList", req, cb);
|
|
550
|
+
}
|
|
551
|
+
/**
|
|
552
|
+
* 获取域名筛选列表
|
|
553
|
+
备注:新添加的解析记录存在短暂的索引延迟,如果查询不到新增记录,请在 30 秒后重试
|
|
554
|
+
*/
|
|
555
|
+
async DescribeDomainFilterList(req, cb) {
|
|
556
|
+
return this.request("DescribeDomainFilterList", req, cb);
|
|
557
|
+
}
|
|
558
|
+
/**
|
|
559
|
+
* 创建域名别名
|
|
560
|
+
*/
|
|
561
|
+
async CreateDomainAlias(req, cb) {
|
|
562
|
+
return this.request("CreateDomainAlias", req, cb);
|
|
545
563
|
}
|
|
546
564
|
}
|
|
547
565
|
exports.Client = Client;
|