tencentcloud-sdk-nodejs 4.0.435 → 4.0.438
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 +772 -0
- package/SERVICE_CHANGELOG.md +996 -117
- package/package.json +1 -1
- package/products.md +34 -34
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +0 -12
- package/src/services/antiddos/v20200309/antiddos_models.ts +0 -35
- package/src/services/bda/v20200324/bda_models.ts +31 -6
- package/src/services/bma/v20210624/bma_client.ts +45 -8
- package/src/services/bma/v20210624/bma_models.ts +222 -37
- package/src/services/cbs/v20170312/cbs_client.ts +109 -41
- package/src/services/cbs/v20170312/cbs_models.ts +318 -111
- package/src/services/ccc/v20200210/ccc_models.ts +5 -0
- package/src/services/cdb/v20170320/cdb_client.ts +17 -0
- package/src/services/cdb/v20170320/cdb_models.ts +285 -2
- package/src/services/cfs/v20190719/cfs_client.ts +253 -103
- package/src/services/cfs/v20190719/cfs_models.ts +1008 -313
- package/src/services/cfw/v20190904/cfw_client.ts +0 -12
- package/src/services/cfw/v20190904/cfw_models.ts +20 -38
- package/src/services/cpdp/v20190820/cpdp_models.ts +21 -0
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +1 -1
- package/src/services/cwp/v20180228/cwp_models.ts +23 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +47 -22
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +115 -0
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +19 -6
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +80 -0
- package/src/services/emr/v20190103/emr_models.ts +42 -3
- package/src/services/ess/v20201111/ess_models.ts +21 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +10 -0
- package/src/services/gme/v20180711/gme_models.ts +12 -2
- package/src/services/monitor/v20180724/monitor_client.ts +3 -0
- package/src/services/monitor/v20180724/monitor_models.ts +69 -3
- package/src/services/redis/v20180412/redis_models.ts +1 -1
- package/src/services/ses/v20201002/ses_models.ts +10 -8
- package/src/services/ssl/v20191205/ssl_models.ts +12 -0
- package/src/services/tag/v20180813/tag_models.ts +2 -2
- package/src/services/tcss/v20201101/tcss_models.ts +12 -0
- package/src/services/tem/v20210701/tem_models.ts +15 -0
- package/src/services/teo/v20220106/teo_client.ts +9 -3
- package/src/services/teo/v20220106/teo_models.ts +522 -250
- package/src/services/tione/v20211111/tione_client.ts +106 -16
- package/src/services/tione/v20211111/tione_models.ts +888 -125
- package/src/services/tke/v20180525/tke_models.ts +5 -0
- package/src/services/tts/v20190823/tts_models.ts +6 -2
- package/src/services/vm/v20210922/vm_client.ts +2 -0
- package/src/services/vm/v20210922/vm_models.ts +87 -28
- package/src/services/vod/v20180717/vod_client.ts +16 -0
- package/src/services/vod/v20180717/vod_models.ts +66 -0
- package/src/services/vpc/v20170312/vpc_client.ts +20 -7
- package/src/services/vpc/v20170312/vpc_models.ts +108 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +1 -5
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +0 -6
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +0 -30
- package/tencentcloud/services/bda/v20200324/bda_models.d.ts +23 -2
- package/tencentcloud/services/bma/v20210624/bma_client.d.ts +15 -3
- package/tencentcloud/services/bma/v20210624/bma_client.js +21 -3
- package/tencentcloud/services/bma/v20210624/bma_models.d.ts +188 -33
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +48 -21
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +61 -24
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +273 -96
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +4 -0
- 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 +235 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +79 -31
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +117 -45
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +753 -168
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -5
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +0 -6
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +17 -33
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +19 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +1 -1
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +19 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +17 -9
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +24 -12
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +98 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +7 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +9 -3
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +67 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +35 -3
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +17 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -0
- package/tencentcloud/services/gme/v20180711/gme_models.d.ts +10 -2
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +3 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +3 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +57 -3
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/ses/v20201002/ses_models.d.ts +10 -8
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +10 -0
- package/tencentcloud/services/tag/v20180813/tag_models.d.ts +2 -2
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +10 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +12 -0
- package/tencentcloud/services/teo/v20220106/teo_client.d.ts +1 -1
- package/tencentcloud/services/teo/v20220106/teo_models.d.ts +464 -218
- package/tencentcloud/services/tione/v20211111/tione_client.d.ts +31 -3
- package/tencentcloud/services/tione/v20211111/tione_client.js +45 -3
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +758 -117
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
- package/tencentcloud/services/tts/v20190823/tts_models.d.ts +5 -1
- package/tencentcloud/services/vm/v20210922/vm_models.d.ts +77 -28
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +8 -1
- package/tencentcloud/services/vod/v20180717/vod_client.js +9 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +56 -0
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +12 -8
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +13 -7
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +91 -3
- package/test/antiddos.v20200309.test.js +0 -10
- package/test/bma.v20210624.test.js +32 -2
- package/test/cbs.v20170312.test.js +58 -8
- package/test/cdb.v20170320.test.js +10 -0
- package/test/cfs.v20190719.test.js +150 -30
- package/test/cfw.v20190904.test.js +0 -10
- package/test/cynosdb.v20190107.test.js +34 -14
- package/test/dbbrain.v20210527.test.js +12 -2
- package/test/tione.v20211111.test.js +72 -2
- package/test/vod.v20180717.test.js +10 -0
- package/test/vpc.v20170312.test.js +10 -0
|
@@ -278,7 +278,7 @@ export interface DescribeNetworkInterfacesRequest {
|
|
|
278
278
|
<li>address-ip - String - (过滤条件)内网IPv4地址,单IP后缀模糊匹配,多IP精确匹配。可以与`ip-exact-match`配合做单IP的精确匹配查询。</li>
|
|
279
279
|
<li>ip-exact-match - Boolean - (过滤条件)内网IPv4精确匹配查询,存在多值情况,只取第一个。</li>
|
|
280
280
|
<li>tag-key - String -是否必填:否- (过滤条件)按照标签键进行过滤。使用请参考示例2</li>
|
|
281
|
-
<li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例
|
|
281
|
+
<li>tag:tag-key - String - 是否必填:否 - (过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。使用请参考示例2。</li>
|
|
282
282
|
<li>is-primary - Boolean - 是否必填:否 - (过滤条件)按照是否主网卡进行过滤。值为true时,仅过滤主网卡;值为false时,仅过滤辅助网卡;此过滤参数未提供时,同时过滤主网卡和辅助网卡。</li>
|
|
283
283
|
<li>eni-type - String -是否必填:否- (过滤条件)按照网卡类型进行过滤。“0”-辅助网卡,“1”-主网卡,“2”:中继网卡</li>
|
|
284
284
|
<li>eni-qos - String -是否必填:否- (过滤条件)按照网卡服务质量进行过滤。“AG”-服务质量云铜,“AU”-服务质量为银</li>
|
|
@@ -3423,6 +3423,30 @@ export interface ModifyIpv6AddressesAttributeResponse {
|
|
|
3423
3423
|
*/
|
|
3424
3424
|
RequestId?: string;
|
|
3425
3425
|
}
|
|
3426
|
+
/**
|
|
3427
|
+
* DescribeTrafficPackages请求参数结构体
|
|
3428
|
+
*/
|
|
3429
|
+
export interface DescribeTrafficPackagesRequest {
|
|
3430
|
+
/**
|
|
3431
|
+
* 共享流量包ID,支持批量
|
|
3432
|
+
*/
|
|
3433
|
+
TrafficPackageIds?: Array<string>;
|
|
3434
|
+
/**
|
|
3435
|
+
* 每次请求的`Filters`的上限为10。参数不支持同时指定`TrafficPackageIds`和`Filters`。详细的过滤条件如下:
|
|
3436
|
+
<li> traffic-package_id - String - 是否必填:否 - (过滤条件)按照共享流量包的唯一标识ID过滤。</li>
|
|
3437
|
+
<li> traffic-package-name - String - 是否必填:否 - (过滤条件)按照共享流量包名称过滤。不支持模糊过滤。</li>
|
|
3438
|
+
<li> status - String - 是否必填:否 - (过滤条件)按照共享流量包状态过滤。可选状态:[AVAILABLE|EXPIRED|EXHAUSTED]</li>
|
|
3439
|
+
*/
|
|
3440
|
+
Filters?: Array<Filter>;
|
|
3441
|
+
/**
|
|
3442
|
+
* 分页参数
|
|
3443
|
+
*/
|
|
3444
|
+
Offset?: number;
|
|
3445
|
+
/**
|
|
3446
|
+
* 分页参数
|
|
3447
|
+
*/
|
|
3448
|
+
Limit?: number;
|
|
3449
|
+
}
|
|
3426
3450
|
/**
|
|
3427
3451
|
* DeleteSecurityGroupPolicies请求参数结构体
|
|
3428
3452
|
*/
|
|
@@ -4267,6 +4291,53 @@ export interface CreateCustomerGatewayResponse {
|
|
|
4267
4291
|
*/
|
|
4268
4292
|
RequestId?: string;
|
|
4269
4293
|
}
|
|
4294
|
+
/**
|
|
4295
|
+
* 流量包信息描述类型
|
|
4296
|
+
*/
|
|
4297
|
+
export interface TrafficPackage {
|
|
4298
|
+
/**
|
|
4299
|
+
* 流量包唯一ID
|
|
4300
|
+
*/
|
|
4301
|
+
TrafficPackageId: string;
|
|
4302
|
+
/**
|
|
4303
|
+
* 流量包名称
|
|
4304
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4305
|
+
*/
|
|
4306
|
+
TrafficPackageName: string;
|
|
4307
|
+
/**
|
|
4308
|
+
* 流量包总量,单位GB
|
|
4309
|
+
*/
|
|
4310
|
+
TotalAmount: number;
|
|
4311
|
+
/**
|
|
4312
|
+
* 流量包剩余量,单位GB
|
|
4313
|
+
*/
|
|
4314
|
+
RemainingAmount: number;
|
|
4315
|
+
/**
|
|
4316
|
+
* 流量包状态,可能的值有: AVAILABLE-可用状态, EXPIRED-已过期, EXHAUSTED-已用完, REFUNDED-已退还, DELETED-已删除
|
|
4317
|
+
*/
|
|
4318
|
+
Status: string;
|
|
4319
|
+
/**
|
|
4320
|
+
* 流量包创建时间
|
|
4321
|
+
*/
|
|
4322
|
+
CreatedTime: string;
|
|
4323
|
+
/**
|
|
4324
|
+
* 流量包截止时间
|
|
4325
|
+
*/
|
|
4326
|
+
Deadline: string;
|
|
4327
|
+
/**
|
|
4328
|
+
* 已使用的流量,单位GB
|
|
4329
|
+
*/
|
|
4330
|
+
UsedAmount: number;
|
|
4331
|
+
/**
|
|
4332
|
+
* 流量包标签
|
|
4333
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4334
|
+
*/
|
|
4335
|
+
TagSet: Array<Tag>;
|
|
4336
|
+
/**
|
|
4337
|
+
* 区分闲时流量包与全时流量包
|
|
4338
|
+
*/
|
|
4339
|
+
DeductType: string;
|
|
4340
|
+
}
|
|
4270
4341
|
/**
|
|
4271
4342
|
* WithdrawNotifyRoutes请求参数结构体
|
|
4272
4343
|
*/
|
|
@@ -8310,6 +8381,23 @@ export interface DisassociateNatGatewayAddressRequest {
|
|
|
8310
8381
|
*/
|
|
8311
8382
|
PublicIpAddresses: Array<string>;
|
|
8312
8383
|
}
|
|
8384
|
+
/**
|
|
8385
|
+
* DescribeTrafficPackages返回参数结构体
|
|
8386
|
+
*/
|
|
8387
|
+
export interface DescribeTrafficPackagesResponse {
|
|
8388
|
+
/**
|
|
8389
|
+
* 按照条件查询出来的流量包数量
|
|
8390
|
+
*/
|
|
8391
|
+
TotalCount: number;
|
|
8392
|
+
/**
|
|
8393
|
+
* 流量包信息
|
|
8394
|
+
*/
|
|
8395
|
+
TrafficPackageSet: Array<TrafficPackage>;
|
|
8396
|
+
/**
|
|
8397
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8398
|
+
*/
|
|
8399
|
+
RequestId?: string;
|
|
8400
|
+
}
|
|
8313
8401
|
/**
|
|
8314
8402
|
* DescribeServiceTemplates返回参数结构体
|
|
8315
8403
|
*/
|
|
@@ -9932,7 +10020,7 @@ export interface CheckAssistantCidrResponse {
|
|
|
9932
10020
|
/**
|
|
9933
10021
|
* 冲突资源信息数组。
|
|
9934
10022
|
*/
|
|
9935
|
-
ConflictSourceSet
|
|
10023
|
+
ConflictSourceSet: Array<ConflictSource>;
|
|
9936
10024
|
/**
|
|
9937
10025
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
9938
10026
|
*/
|
|
@@ -12033,7 +12121,7 @@ export interface CreateVpcRequest {
|
|
|
12033
12121
|
*/
|
|
12034
12122
|
VpcName: string;
|
|
12035
12123
|
/**
|
|
12036
|
-
* vpc的cidr,仅能在10.0.0.0/
|
|
12124
|
+
* vpc的cidr,仅能在10.0.0.0/12,172.16.0.0/12,192.168.0.0/16这三个内网网段内。
|
|
12037
12125
|
*/
|
|
12038
12126
|
CidrBlock: string;
|
|
12039
12127
|
/**
|
|
@@ -668,16 +668,6 @@ it("antiddos.v20200309.DescribeDDoSTrend", async function () {
|
|
|
668
668
|
}
|
|
669
669
|
})
|
|
670
670
|
|
|
671
|
-
it("antiddos.v20200309.ModifyL7RulesEdge", async function () {
|
|
672
|
-
try {
|
|
673
|
-
const data = await client.ModifyL7RulesEdge({})
|
|
674
|
-
expect(data).to.be.ok
|
|
675
|
-
} catch(error) {
|
|
676
|
-
expect(error.requestId).to.be.ok
|
|
677
|
-
expect(error.code).to.be.ok
|
|
678
|
-
}
|
|
679
|
-
})
|
|
680
|
-
|
|
681
671
|
it("antiddos.v20200309.CreateDDoSAI", async function () {
|
|
682
672
|
try {
|
|
683
673
|
const data = await client.CreateDDoSAI({})
|
|
@@ -138,6 +138,26 @@ it("bma.v20210624.CreateBPFakeURL", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("bma.v20210624.CreateCRRightFile", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.CreateCRRightFile({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
it("bma.v20210624.ModifyCRWhiteList", async function () {
|
|
152
|
+
try {
|
|
153
|
+
const data = await client.ModifyCRWhiteList({})
|
|
154
|
+
expect(data).to.be.ok
|
|
155
|
+
} catch(error) {
|
|
156
|
+
expect(error.requestId).to.be.ok
|
|
157
|
+
expect(error.code).to.be.ok
|
|
158
|
+
}
|
|
159
|
+
})
|
|
160
|
+
|
|
141
161
|
it("bma.v20210624.ModifyCRBlockStatus", async function () {
|
|
142
162
|
try {
|
|
143
163
|
const data = await client.ModifyCRBlockStatus({})
|
|
@@ -178,6 +198,16 @@ it("bma.v20210624.DescribeBPReportFakeURLs", async function () {
|
|
|
178
198
|
}
|
|
179
199
|
})
|
|
180
200
|
|
|
201
|
+
it("bma.v20210624.DescribeBPFakeURLs", async function () {
|
|
202
|
+
try {
|
|
203
|
+
const data = await client.DescribeBPFakeURLs({})
|
|
204
|
+
expect(data).to.be.ok
|
|
205
|
+
} catch(error) {
|
|
206
|
+
expect(error.requestId).to.be.ok
|
|
207
|
+
expect(error.code).to.be.ok
|
|
208
|
+
}
|
|
209
|
+
})
|
|
210
|
+
|
|
181
211
|
it("bma.v20210624.DescribeCRWorkInfo", async function () {
|
|
182
212
|
try {
|
|
183
213
|
const data = await client.DescribeCRWorkInfo({})
|
|
@@ -228,9 +258,9 @@ it("bma.v20210624.DescribeBPProtectURLs", async function () {
|
|
|
228
258
|
}
|
|
229
259
|
})
|
|
230
260
|
|
|
231
|
-
it("bma.v20210624.
|
|
261
|
+
it("bma.v20210624.CreateCRTort", async function () {
|
|
232
262
|
try {
|
|
233
|
-
const data = await client.
|
|
263
|
+
const data = await client.CreateCRTort({})
|
|
234
264
|
expect(data).to.be.ok
|
|
235
265
|
} catch(error) {
|
|
236
266
|
expect(error.requestId).to.be.ok
|
|
@@ -38,6 +38,16 @@ it("cbs.v20170312.RenewDisk", async function () {
|
|
|
38
38
|
}
|
|
39
39
|
})
|
|
40
40
|
|
|
41
|
+
it("cbs.v20170312.ApplyDiskBackup", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.ApplyDiskBackup({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
41
51
|
it("cbs.v20170312.CopySnapshotCrossRegions", async function () {
|
|
42
52
|
try {
|
|
43
53
|
const data = await client.CopySnapshotCrossRegions({})
|
|
@@ -108,6 +118,26 @@ it("cbs.v20170312.ModifyDisksRenewFlag", async function () {
|
|
|
108
118
|
}
|
|
109
119
|
})
|
|
110
120
|
|
|
121
|
+
it("cbs.v20170312.InquirePriceModifyDiskBackupQuota", async function () {
|
|
122
|
+
try {
|
|
123
|
+
const data = await client.InquirePriceModifyDiskBackupQuota({})
|
|
124
|
+
expect(data).to.be.ok
|
|
125
|
+
} catch(error) {
|
|
126
|
+
expect(error.requestId).to.be.ok
|
|
127
|
+
expect(error.code).to.be.ok
|
|
128
|
+
}
|
|
129
|
+
})
|
|
130
|
+
|
|
131
|
+
it("cbs.v20170312.DeleteDiskBackups", async function () {
|
|
132
|
+
try {
|
|
133
|
+
const data = await client.DeleteDiskBackups({})
|
|
134
|
+
expect(data).to.be.ok
|
|
135
|
+
} catch(error) {
|
|
136
|
+
expect(error.requestId).to.be.ok
|
|
137
|
+
expect(error.code).to.be.ok
|
|
138
|
+
}
|
|
139
|
+
})
|
|
140
|
+
|
|
111
141
|
it("cbs.v20170312.ModifyAutoSnapshotPolicyAttribute", async function () {
|
|
112
142
|
try {
|
|
113
143
|
const data = await client.ModifyAutoSnapshotPolicyAttribute({})
|
|
@@ -128,6 +158,16 @@ it("cbs.v20170312.InquiryPriceCreateDisks", async function () {
|
|
|
128
158
|
}
|
|
129
159
|
})
|
|
130
160
|
|
|
161
|
+
it("cbs.v20170312.DescribeDiskBackups", async function () {
|
|
162
|
+
try {
|
|
163
|
+
const data = await client.DescribeDiskBackups({})
|
|
164
|
+
expect(data).to.be.ok
|
|
165
|
+
} catch(error) {
|
|
166
|
+
expect(error.requestId).to.be.ok
|
|
167
|
+
expect(error.code).to.be.ok
|
|
168
|
+
}
|
|
169
|
+
})
|
|
170
|
+
|
|
131
171
|
it("cbs.v20170312.DescribeDiskOperationLogs", async function () {
|
|
132
172
|
try {
|
|
133
173
|
const data = await client.DescribeDiskOperationLogs({})
|
|
@@ -148,9 +188,9 @@ it("cbs.v20170312.DeleteAutoSnapshotPolicies", async function () {
|
|
|
148
188
|
}
|
|
149
189
|
})
|
|
150
190
|
|
|
151
|
-
it("cbs.v20170312.
|
|
191
|
+
it("cbs.v20170312.InitializeDisks", async function () {
|
|
152
192
|
try {
|
|
153
|
-
const data = await client.
|
|
193
|
+
const data = await client.InitializeDisks({})
|
|
154
194
|
expect(data).to.be.ok
|
|
155
195
|
} catch(error) {
|
|
156
196
|
expect(error.requestId).to.be.ok
|
|
@@ -168,6 +208,16 @@ it("cbs.v20170312.DescribeDisks", async function () {
|
|
|
168
208
|
}
|
|
169
209
|
})
|
|
170
210
|
|
|
211
|
+
it("cbs.v20170312.ModifyDiskBackupQuota", async function () {
|
|
212
|
+
try {
|
|
213
|
+
const data = await client.ModifyDiskBackupQuota({})
|
|
214
|
+
expect(data).to.be.ok
|
|
215
|
+
} catch(error) {
|
|
216
|
+
expect(error.requestId).to.be.ok
|
|
217
|
+
expect(error.code).to.be.ok
|
|
218
|
+
}
|
|
219
|
+
})
|
|
220
|
+
|
|
171
221
|
it("cbs.v20170312.CreateDisks", async function () {
|
|
172
222
|
try {
|
|
173
223
|
const data = await client.CreateDisks({})
|
|
@@ -248,9 +298,9 @@ it("cbs.v20170312.DescribeSnapshotSharePermission", async function () {
|
|
|
248
298
|
}
|
|
249
299
|
})
|
|
250
300
|
|
|
251
|
-
it("cbs.v20170312.
|
|
301
|
+
it("cbs.v20170312.CreateAutoSnapshotPolicy", async function () {
|
|
252
302
|
try {
|
|
253
|
-
const data = await client.
|
|
303
|
+
const data = await client.CreateAutoSnapshotPolicy({})
|
|
254
304
|
expect(data).to.be.ok
|
|
255
305
|
} catch(error) {
|
|
256
306
|
expect(error.requestId).to.be.ok
|
|
@@ -338,9 +388,9 @@ it("cbs.v20170312.ModifySnapshotsSharePermission", async function () {
|
|
|
338
388
|
}
|
|
339
389
|
})
|
|
340
390
|
|
|
341
|
-
it("cbs.v20170312.
|
|
391
|
+
it("cbs.v20170312.DetachDisks", async function () {
|
|
342
392
|
try {
|
|
343
|
-
const data = await client.
|
|
393
|
+
const data = await client.DetachDisks({})
|
|
344
394
|
expect(data).to.be.ok
|
|
345
395
|
} catch(error) {
|
|
346
396
|
expect(error.requestId).to.be.ok
|
|
@@ -368,9 +418,9 @@ it("cbs.v20170312.ResizeDisk", async function () {
|
|
|
368
418
|
}
|
|
369
419
|
})
|
|
370
420
|
|
|
371
|
-
it("cbs.v20170312.
|
|
421
|
+
it("cbs.v20170312.CreateSnapshot", async function () {
|
|
372
422
|
try {
|
|
373
|
-
const data = await client.
|
|
423
|
+
const data = await client.CreateSnapshot({})
|
|
374
424
|
expect(data).to.be.ok
|
|
375
425
|
} catch(error) {
|
|
376
426
|
expect(error.requestId).to.be.ok
|
|
@@ -138,6 +138,16 @@ it("cdb.v20170320.ModifyDBInstanceName", async function () {
|
|
|
138
138
|
}
|
|
139
139
|
})
|
|
140
140
|
|
|
141
|
+
it("cdb.v20170320.DescribeCdbZoneConfig", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.DescribeCdbZoneConfig({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
141
151
|
it("cdb.v20170320.StopRollback", async function () {
|
|
142
152
|
try {
|
|
143
153
|
const data = await client.StopRollback({})
|
|
@@ -18,9 +18,39 @@ const client = new tencentcloud.cfs.v20190719.Client({
|
|
|
18
18
|
})
|
|
19
19
|
describe("cfs.v20190719.test.js", function () {
|
|
20
20
|
|
|
21
|
-
it("cfs.v20190719.
|
|
21
|
+
it("cfs.v20190719.DescribeCfsRules", async function () {
|
|
22
22
|
try {
|
|
23
|
-
const data = await client.
|
|
23
|
+
const data = await client.DescribeCfsRules({})
|
|
24
|
+
expect(data).to.be.ok
|
|
25
|
+
} catch(error) {
|
|
26
|
+
expect(error.requestId).to.be.ok
|
|
27
|
+
expect(error.code).to.be.ok
|
|
28
|
+
}
|
|
29
|
+
})
|
|
30
|
+
|
|
31
|
+
it("cfs.v20190719.UpdateCfsFileSystemPGroup", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.UpdateCfsFileSystemPGroup({})
|
|
34
|
+
expect(data).to.be.ok
|
|
35
|
+
} catch(error) {
|
|
36
|
+
expect(error.requestId).to.be.ok
|
|
37
|
+
expect(error.code).to.be.ok
|
|
38
|
+
}
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
it("cfs.v20190719.SignUpCfsService", async function () {
|
|
42
|
+
try {
|
|
43
|
+
const data = await client.SignUpCfsService({})
|
|
44
|
+
expect(data).to.be.ok
|
|
45
|
+
} catch(error) {
|
|
46
|
+
expect(error.requestId).to.be.ok
|
|
47
|
+
expect(error.code).to.be.ok
|
|
48
|
+
}
|
|
49
|
+
})
|
|
50
|
+
|
|
51
|
+
it("cfs.v20190719.DeleteCfsSnapshot", async function () {
|
|
52
|
+
try {
|
|
53
|
+
const data = await client.DeleteCfsSnapshot({})
|
|
24
54
|
expect(data).to.be.ok
|
|
25
55
|
} catch(error) {
|
|
26
56
|
expect(error.requestId).to.be.ok
|
|
@@ -38,9 +68,9 @@ it("cfs.v20190719.DescribeCfsPGroups", async function () {
|
|
|
38
68
|
}
|
|
39
69
|
})
|
|
40
70
|
|
|
41
|
-
it("cfs.v20190719.
|
|
71
|
+
it("cfs.v20190719.DescribeAutoSnapshotPolicies", async function () {
|
|
42
72
|
try {
|
|
43
|
-
const data = await client.
|
|
73
|
+
const data = await client.DescribeAutoSnapshotPolicies({})
|
|
44
74
|
expect(data).to.be.ok
|
|
45
75
|
} catch(error) {
|
|
46
76
|
expect(error.requestId).to.be.ok
|
|
@@ -48,9 +78,39 @@ it("cfs.v20190719.DescribeCfsRules", async function () {
|
|
|
48
78
|
}
|
|
49
79
|
})
|
|
50
80
|
|
|
51
|
-
it("cfs.v20190719.
|
|
81
|
+
it("cfs.v20190719.BindAutoSnapshotPolicy", async function () {
|
|
52
82
|
try {
|
|
53
|
-
const data = await client.
|
|
83
|
+
const data = await client.BindAutoSnapshotPolicy({})
|
|
84
|
+
expect(data).to.be.ok
|
|
85
|
+
} catch(error) {
|
|
86
|
+
expect(error.requestId).to.be.ok
|
|
87
|
+
expect(error.code).to.be.ok
|
|
88
|
+
}
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
it("cfs.v20190719.DeleteCfsPGroup", async function () {
|
|
92
|
+
try {
|
|
93
|
+
const data = await client.DeleteCfsPGroup({})
|
|
94
|
+
expect(data).to.be.ok
|
|
95
|
+
} catch(error) {
|
|
96
|
+
expect(error.requestId).to.be.ok
|
|
97
|
+
expect(error.code).to.be.ok
|
|
98
|
+
}
|
|
99
|
+
})
|
|
100
|
+
|
|
101
|
+
it("cfs.v20190719.DescribeCfsFileSystemClients", async function () {
|
|
102
|
+
try {
|
|
103
|
+
const data = await client.DescribeCfsFileSystemClients({})
|
|
104
|
+
expect(data).to.be.ok
|
|
105
|
+
} catch(error) {
|
|
106
|
+
expect(error.requestId).to.be.ok
|
|
107
|
+
expect(error.code).to.be.ok
|
|
108
|
+
}
|
|
109
|
+
})
|
|
110
|
+
|
|
111
|
+
it("cfs.v20190719.DescribeCfsServiceStatus", async function () {
|
|
112
|
+
try {
|
|
113
|
+
const data = await client.DescribeCfsServiceStatus({})
|
|
54
114
|
expect(data).to.be.ok
|
|
55
115
|
} catch(error) {
|
|
56
116
|
expect(error.requestId).to.be.ok
|
|
@@ -78,6 +138,16 @@ it("cfs.v20190719.UpdateCfsFileSystemName", async function () {
|
|
|
78
138
|
}
|
|
79
139
|
})
|
|
80
140
|
|
|
141
|
+
it("cfs.v20190719.UpdateCfsFileSystemSizeLimit", async function () {
|
|
142
|
+
try {
|
|
143
|
+
const data = await client.UpdateCfsFileSystemSizeLimit({})
|
|
144
|
+
expect(data).to.be.ok
|
|
145
|
+
} catch(error) {
|
|
146
|
+
expect(error.requestId).to.be.ok
|
|
147
|
+
expect(error.code).to.be.ok
|
|
148
|
+
}
|
|
149
|
+
})
|
|
150
|
+
|
|
81
151
|
it("cfs.v20190719.DeleteCfsFileSystem", async function () {
|
|
82
152
|
try {
|
|
83
153
|
const data = await client.DeleteCfsFileSystem({})
|
|
@@ -88,9 +158,9 @@ it("cfs.v20190719.DeleteCfsFileSystem", async function () {
|
|
|
88
158
|
}
|
|
89
159
|
})
|
|
90
160
|
|
|
91
|
-
it("cfs.v20190719.
|
|
161
|
+
it("cfs.v20190719.CreateCfsFileSystem", async function () {
|
|
92
162
|
try {
|
|
93
|
-
const data = await client.
|
|
163
|
+
const data = await client.CreateCfsFileSystem({})
|
|
94
164
|
expect(data).to.be.ok
|
|
95
165
|
} catch(error) {
|
|
96
166
|
expect(error.requestId).to.be.ok
|
|
@@ -98,9 +168,9 @@ it("cfs.v20190719.UpdateCfsFileSystemSizeLimit", async function () {
|
|
|
98
168
|
}
|
|
99
169
|
})
|
|
100
170
|
|
|
101
|
-
it("cfs.v20190719.
|
|
171
|
+
it("cfs.v20190719.UpdateCfsSnapshotAttribute", async function () {
|
|
102
172
|
try {
|
|
103
|
-
const data = await client.
|
|
173
|
+
const data = await client.UpdateCfsSnapshotAttribute({})
|
|
104
174
|
expect(data).to.be.ok
|
|
105
175
|
} catch(error) {
|
|
106
176
|
expect(error.requestId).to.be.ok
|
|
@@ -108,9 +178,9 @@ it("cfs.v20190719.CreateCfsPGroup", async function () {
|
|
|
108
178
|
}
|
|
109
179
|
})
|
|
110
180
|
|
|
111
|
-
it("cfs.v20190719.
|
|
181
|
+
it("cfs.v20190719.DescribeCfsSnapshotOverview", async function () {
|
|
112
182
|
try {
|
|
113
|
-
const data = await client.
|
|
183
|
+
const data = await client.DescribeCfsSnapshotOverview({})
|
|
114
184
|
expect(data).to.be.ok
|
|
115
185
|
} catch(error) {
|
|
116
186
|
expect(error.requestId).to.be.ok
|
|
@@ -118,9 +188,9 @@ it("cfs.v20190719.UpdateCfsRule", async function () {
|
|
|
118
188
|
}
|
|
119
189
|
})
|
|
120
190
|
|
|
121
|
-
it("cfs.v20190719.
|
|
191
|
+
it("cfs.v20190719.UpdateAutoSnapshotPolicy", async function () {
|
|
122
192
|
try {
|
|
123
|
-
const data = await client.
|
|
193
|
+
const data = await client.UpdateAutoSnapshotPolicy({})
|
|
124
194
|
expect(data).to.be.ok
|
|
125
195
|
} catch(error) {
|
|
126
196
|
expect(error.requestId).to.be.ok
|
|
@@ -138,9 +208,9 @@ it("cfs.v20190719.DescribeCfsFileSystems", async function () {
|
|
|
138
208
|
}
|
|
139
209
|
})
|
|
140
210
|
|
|
141
|
-
it("cfs.v20190719.
|
|
211
|
+
it("cfs.v20190719.DescribeCfsSnapshots", async function () {
|
|
142
212
|
try {
|
|
143
|
-
const data = await client.
|
|
213
|
+
const data = await client.DescribeCfsSnapshots({})
|
|
144
214
|
expect(data).to.be.ok
|
|
145
215
|
} catch(error) {
|
|
146
216
|
expect(error.requestId).to.be.ok
|
|
@@ -148,9 +218,9 @@ it("cfs.v20190719.SignUpCfsService", async function () {
|
|
|
148
218
|
}
|
|
149
219
|
})
|
|
150
220
|
|
|
151
|
-
it("cfs.v20190719.
|
|
221
|
+
it("cfs.v20190719.DescribeMountTargets", async function () {
|
|
152
222
|
try {
|
|
153
|
-
const data = await client.
|
|
223
|
+
const data = await client.DescribeMountTargets({})
|
|
154
224
|
expect(data).to.be.ok
|
|
155
225
|
} catch(error) {
|
|
156
226
|
expect(error.requestId).to.be.ok
|
|
@@ -158,9 +228,9 @@ it("cfs.v20190719.CreateCfsRule", async function () {
|
|
|
158
228
|
}
|
|
159
229
|
})
|
|
160
230
|
|
|
161
|
-
it("cfs.v20190719.
|
|
231
|
+
it("cfs.v20190719.DeleteCfsRule", async function () {
|
|
162
232
|
try {
|
|
163
|
-
const data = await client.
|
|
233
|
+
const data = await client.DeleteCfsRule({})
|
|
164
234
|
expect(data).to.be.ok
|
|
165
235
|
} catch(error) {
|
|
166
236
|
expect(error.requestId).to.be.ok
|
|
@@ -168,9 +238,9 @@ it("cfs.v20190719.DeleteCfsPGroup", async function () {
|
|
|
168
238
|
}
|
|
169
239
|
})
|
|
170
240
|
|
|
171
|
-
it("cfs.v20190719.
|
|
241
|
+
it("cfs.v20190719.DeleteMountTarget", async function () {
|
|
172
242
|
try {
|
|
173
|
-
const data = await client.
|
|
243
|
+
const data = await client.DeleteMountTarget({})
|
|
174
244
|
expect(data).to.be.ok
|
|
175
245
|
} catch(error) {
|
|
176
246
|
expect(error.requestId).to.be.ok
|
|
@@ -178,9 +248,9 @@ it("cfs.v20190719.DescribeMountTargets", async function () {
|
|
|
178
248
|
}
|
|
179
249
|
})
|
|
180
250
|
|
|
181
|
-
it("cfs.v20190719.
|
|
251
|
+
it("cfs.v20190719.CreateAutoSnapshotPolicy", async function () {
|
|
182
252
|
try {
|
|
183
|
-
const data = await client.
|
|
253
|
+
const data = await client.CreateAutoSnapshotPolicy({})
|
|
184
254
|
expect(data).to.be.ok
|
|
185
255
|
} catch(error) {
|
|
186
256
|
expect(error.requestId).to.be.ok
|
|
@@ -188,9 +258,9 @@ it("cfs.v20190719.UpdateCfsPGroup", async function () {
|
|
|
188
258
|
}
|
|
189
259
|
})
|
|
190
260
|
|
|
191
|
-
it("cfs.v20190719.
|
|
261
|
+
it("cfs.v20190719.CreateCfsPGroup", async function () {
|
|
192
262
|
try {
|
|
193
|
-
const data = await client.
|
|
263
|
+
const data = await client.CreateCfsPGroup({})
|
|
194
264
|
expect(data).to.be.ok
|
|
195
265
|
} catch(error) {
|
|
196
266
|
expect(error.requestId).to.be.ok
|
|
@@ -198,9 +268,9 @@ it("cfs.v20190719.DeleteCfsRule", async function () {
|
|
|
198
268
|
}
|
|
199
269
|
})
|
|
200
270
|
|
|
201
|
-
it("cfs.v20190719.
|
|
271
|
+
it("cfs.v20190719.DeleteAutoSnapshotPolicy", async function () {
|
|
202
272
|
try {
|
|
203
|
-
const data = await client.
|
|
273
|
+
const data = await client.DeleteAutoSnapshotPolicy({})
|
|
204
274
|
expect(data).to.be.ok
|
|
205
275
|
} catch(error) {
|
|
206
276
|
expect(error.requestId).to.be.ok
|
|
@@ -208,9 +278,59 @@ it("cfs.v20190719.DescribeCfsFileSystemClients", async function () {
|
|
|
208
278
|
}
|
|
209
279
|
})
|
|
210
280
|
|
|
211
|
-
it("cfs.v20190719.
|
|
281
|
+
it("cfs.v20190719.CreateCfsSnapshot", async function () {
|
|
212
282
|
try {
|
|
213
|
-
const data = await client.
|
|
283
|
+
const data = await client.CreateCfsSnapshot({})
|
|
284
|
+
expect(data).to.be.ok
|
|
285
|
+
} catch(error) {
|
|
286
|
+
expect(error.requestId).to.be.ok
|
|
287
|
+
expect(error.code).to.be.ok
|
|
288
|
+
}
|
|
289
|
+
})
|
|
290
|
+
|
|
291
|
+
it("cfs.v20190719.UnbindAutoSnapshotPolicy", async function () {
|
|
292
|
+
try {
|
|
293
|
+
const data = await client.UnbindAutoSnapshotPolicy({})
|
|
294
|
+
expect(data).to.be.ok
|
|
295
|
+
} catch(error) {
|
|
296
|
+
expect(error.requestId).to.be.ok
|
|
297
|
+
expect(error.code).to.be.ok
|
|
298
|
+
}
|
|
299
|
+
})
|
|
300
|
+
|
|
301
|
+
it("cfs.v20190719.DescribeSnapshotOperationLogs", async function () {
|
|
302
|
+
try {
|
|
303
|
+
const data = await client.DescribeSnapshotOperationLogs({})
|
|
304
|
+
expect(data).to.be.ok
|
|
305
|
+
} catch(error) {
|
|
306
|
+
expect(error.requestId).to.be.ok
|
|
307
|
+
expect(error.code).to.be.ok
|
|
308
|
+
}
|
|
309
|
+
})
|
|
310
|
+
|
|
311
|
+
it("cfs.v20190719.CreateCfsRule", async function () {
|
|
312
|
+
try {
|
|
313
|
+
const data = await client.CreateCfsRule({})
|
|
314
|
+
expect(data).to.be.ok
|
|
315
|
+
} catch(error) {
|
|
316
|
+
expect(error.requestId).to.be.ok
|
|
317
|
+
expect(error.code).to.be.ok
|
|
318
|
+
}
|
|
319
|
+
})
|
|
320
|
+
|
|
321
|
+
it("cfs.v20190719.UpdateCfsRule", async function () {
|
|
322
|
+
try {
|
|
323
|
+
const data = await client.UpdateCfsRule({})
|
|
324
|
+
expect(data).to.be.ok
|
|
325
|
+
} catch(error) {
|
|
326
|
+
expect(error.requestId).to.be.ok
|
|
327
|
+
expect(error.code).to.be.ok
|
|
328
|
+
}
|
|
329
|
+
})
|
|
330
|
+
|
|
331
|
+
it("cfs.v20190719.UpdateCfsPGroup", async function () {
|
|
332
|
+
try {
|
|
333
|
+
const data = await client.UpdateCfsPGroup({})
|
|
214
334
|
expect(data).to.be.ok
|
|
215
335
|
} catch(error) {
|
|
216
336
|
expect(error.requestId).to.be.ok
|
|
@@ -358,16 +358,6 @@ it("cfw.v20190904.ModifyNatFwVpcDnsSwitch", async function () {
|
|
|
358
358
|
}
|
|
359
359
|
})
|
|
360
360
|
|
|
361
|
-
it("cfw.v20190904.ModifyVPCSwitchStatus", async function () {
|
|
362
|
-
try {
|
|
363
|
-
const data = await client.ModifyVPCSwitchStatus({})
|
|
364
|
-
expect(data).to.be.ok
|
|
365
|
-
} catch(error) {
|
|
366
|
-
expect(error.requestId).to.be.ok
|
|
367
|
-
expect(error.code).to.be.ok
|
|
368
|
-
}
|
|
369
|
-
})
|
|
370
|
-
|
|
371
361
|
it("cfw.v20190904.ModifyAllVPCSwitchStatus", async function () {
|
|
372
362
|
try {
|
|
373
363
|
const data = await client.ModifyAllVPCSwitchStatus({})
|