tencentcloud-sdk-nodejs 4.0.303 → 4.0.304
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 +113 -0
- package/SERVICE_CHANGELOG.md +139 -44
- package/package.json +1 -1
- package/products.md +8 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_models.ts +17 -6
- package/src/services/billing/v20180709/billing_client.ts +31 -2
- package/src/services/billing/v20180709/billing_models.ts +334 -47
- package/src/services/es/v20180416/es_models.ts +5 -0
- package/src/services/faceid/v20180301/faceid_models.ts +2 -4
- package/src/services/mongodb/v20190725/mongodb_models.ts +7 -5
- package/src/services/monitor/v20180724/monitor_models.ts +9 -4
- package/src/services/tem/v20210701/tem_models.ts +11 -0
- package/src/services/vod/v20180717/vod_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_models.d.ts +15 -6
- package/tencentcloud/services/billing/v20180709/billing_client.d.ts +9 -1
- package/tencentcloud/services/billing/v20180709/billing_client.js +12 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +279 -39
- package/tencentcloud/services/es/v20180416/es_models.d.ts +4 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +2 -4
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +6 -4
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +8 -4
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +10 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +1 -1
- package/test/billing.v20180709.test.js +20 -0
|
@@ -33,6 +33,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
33
33
|
async DescribeAccountBalance(req, cb) {
|
|
34
34
|
return this.request("DescribeAccountBalance", req, cb);
|
|
35
35
|
}
|
|
36
|
+
/**
|
|
37
|
+
* 获取代金券相关信息
|
|
38
|
+
*/
|
|
39
|
+
async DescribeVoucherInfo(req, cb) {
|
|
40
|
+
return this.request("DescribeVoucherInfo", req, cb);
|
|
41
|
+
}
|
|
36
42
|
/**
|
|
37
43
|
* 按日期获取产品用量明细
|
|
38
44
|
*/
|
|
@@ -45,6 +51,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
51
|
async DescribeCostSummaryByResource(req, cb) {
|
|
46
52
|
return this.request("DescribeCostSummaryByResource", req, cb);
|
|
47
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 获取代金券使用记录
|
|
56
|
+
*/
|
|
57
|
+
async DescribeVoucherUsageDetails(req, cb) {
|
|
58
|
+
return this.request("DescribeVoucherUsageDetails", req, cb);
|
|
59
|
+
}
|
|
48
60
|
/**
|
|
49
61
|
* 获取收支明细列表,支持翻页和参数过滤
|
|
50
62
|
*/
|
|
@@ -51,6 +51,57 @@ export interface CostComponentSet {
|
|
|
51
51
|
*/
|
|
52
52
|
IncentivePayAmount: string;
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 代金券相关信息
|
|
56
|
+
*/
|
|
57
|
+
export interface VoucherInfos {
|
|
58
|
+
/**
|
|
59
|
+
* 代金券拥有者
|
|
60
|
+
*/
|
|
61
|
+
OwnerUin: string;
|
|
62
|
+
/**
|
|
63
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
64
|
+
*/
|
|
65
|
+
Status: string;
|
|
66
|
+
/**
|
|
67
|
+
* 代金券面额(微分)
|
|
68
|
+
*/
|
|
69
|
+
NominalValue: number;
|
|
70
|
+
/**
|
|
71
|
+
* 剩余金额(微分)
|
|
72
|
+
*/
|
|
73
|
+
Balance: number;
|
|
74
|
+
/**
|
|
75
|
+
* 代金券id
|
|
76
|
+
*/
|
|
77
|
+
VoucherId: string;
|
|
78
|
+
/**
|
|
79
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者'*'表示全部模式
|
|
80
|
+
*/
|
|
81
|
+
PayMode: string;
|
|
82
|
+
/**
|
|
83
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
84
|
+
*/
|
|
85
|
+
PayScene: string;
|
|
86
|
+
/**
|
|
87
|
+
* 有效期生效时间
|
|
88
|
+
*/
|
|
89
|
+
BeginTime: string;
|
|
90
|
+
/**
|
|
91
|
+
* 有效期截止时间
|
|
92
|
+
*/
|
|
93
|
+
EndTime: string;
|
|
94
|
+
/**
|
|
95
|
+
* 适用商品信息
|
|
96
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
97
|
+
*/
|
|
98
|
+
ApplicableProducts: ApplicableProducts;
|
|
99
|
+
/**
|
|
100
|
+
* 不适用商品信息
|
|
101
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
102
|
+
*/
|
|
103
|
+
ExcludedProducts: Array<ExcludedProducts>;
|
|
104
|
+
}
|
|
54
105
|
/**
|
|
55
106
|
* DescribeCostSummaryByProduct请求参数结构体
|
|
56
107
|
*/
|
|
@@ -729,46 +780,26 @@ export interface BillTransactionInfo {
|
|
|
729
780
|
DeductMode: string;
|
|
730
781
|
}
|
|
731
782
|
/**
|
|
732
|
-
*
|
|
783
|
+
* DescribeVoucherInfo返回参数结构体
|
|
733
784
|
*/
|
|
734
|
-
export interface
|
|
735
|
-
/**
|
|
736
|
-
* 地域ID
|
|
737
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
738
|
-
*/
|
|
739
|
-
RegionId: string;
|
|
740
|
-
/**
|
|
741
|
-
* 地域名称
|
|
742
|
-
*/
|
|
743
|
-
RegionName: string;
|
|
785
|
+
export interface DescribeVoucherInfoResponse {
|
|
744
786
|
/**
|
|
745
|
-
*
|
|
746
|
-
*/
|
|
747
|
-
RealTotalCost: string;
|
|
748
|
-
/**
|
|
749
|
-
* 费用所占百分比,两位小数
|
|
750
|
-
*/
|
|
751
|
-
RealTotalCostRatio: string;
|
|
752
|
-
/**
|
|
753
|
-
* 现金金额
|
|
787
|
+
* 券总数
|
|
754
788
|
*/
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* 赠送金金额
|
|
758
|
-
*/
|
|
759
|
-
IncentivePayAmount: string;
|
|
789
|
+
TotalCount: number;
|
|
760
790
|
/**
|
|
761
|
-
*
|
|
791
|
+
* 总余额(微分)
|
|
762
792
|
*/
|
|
763
|
-
|
|
793
|
+
TotalBalance: number;
|
|
764
794
|
/**
|
|
765
|
-
*
|
|
795
|
+
* 代金券相关信息
|
|
796
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
766
797
|
*/
|
|
767
|
-
|
|
798
|
+
VoucherInfos: Array<VoucherInfos>;
|
|
768
799
|
/**
|
|
769
|
-
*
|
|
800
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
770
801
|
*/
|
|
771
|
-
|
|
802
|
+
RequestId?: string;
|
|
772
803
|
}
|
|
773
804
|
/**
|
|
774
805
|
* 消耗按资源汇总详情
|
|
@@ -945,6 +976,48 @@ export interface ConsumptionProjectSummaryDataItem {
|
|
|
945
976
|
*/
|
|
946
977
|
Business: Array<ConsumptionBusinessSummaryDataItem>;
|
|
947
978
|
}
|
|
979
|
+
/**
|
|
980
|
+
* 按地域汇总消费详情
|
|
981
|
+
*/
|
|
982
|
+
export interface RegionSummaryOverviewItem {
|
|
983
|
+
/**
|
|
984
|
+
* 地域ID
|
|
985
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
986
|
+
*/
|
|
987
|
+
RegionId: string;
|
|
988
|
+
/**
|
|
989
|
+
* 地域名称
|
|
990
|
+
*/
|
|
991
|
+
RegionName: string;
|
|
992
|
+
/**
|
|
993
|
+
* 实际花费
|
|
994
|
+
*/
|
|
995
|
+
RealTotalCost: string;
|
|
996
|
+
/**
|
|
997
|
+
* 费用所占百分比,两位小数
|
|
998
|
+
*/
|
|
999
|
+
RealTotalCostRatio: string;
|
|
1000
|
+
/**
|
|
1001
|
+
* 现金金额
|
|
1002
|
+
*/
|
|
1003
|
+
CashPayAmount: string;
|
|
1004
|
+
/**
|
|
1005
|
+
* 赠送金金额
|
|
1006
|
+
*/
|
|
1007
|
+
IncentivePayAmount: string;
|
|
1008
|
+
/**
|
|
1009
|
+
* 代金券金额
|
|
1010
|
+
*/
|
|
1011
|
+
VoucherPayAmount: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* 账单月份,格式2019-08
|
|
1014
|
+
*/
|
|
1015
|
+
BillMonth: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1018
|
+
*/
|
|
1019
|
+
TotalCost: string;
|
|
1020
|
+
}
|
|
948
1021
|
/**
|
|
949
1022
|
* DescribeCostSummaryByProduct返回参数结构体
|
|
950
1023
|
*/
|
|
@@ -1364,6 +1437,24 @@ export interface DescribeCostSummaryByProjectRequest {
|
|
|
1364
1437
|
*/
|
|
1365
1438
|
NeedRecordNum?: number;
|
|
1366
1439
|
}
|
|
1440
|
+
/**
|
|
1441
|
+
* 使用记录
|
|
1442
|
+
*/
|
|
1443
|
+
export interface UsageRecords {
|
|
1444
|
+
/**
|
|
1445
|
+
* 使用金额(微分)
|
|
1446
|
+
*/
|
|
1447
|
+
UsedAmount: number;
|
|
1448
|
+
/**
|
|
1449
|
+
* 使用时间
|
|
1450
|
+
*/
|
|
1451
|
+
UsedTime: string;
|
|
1452
|
+
/**
|
|
1453
|
+
* 使用记录细节
|
|
1454
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1455
|
+
*/
|
|
1456
|
+
UsageDetails: Array<UsageDetails>;
|
|
1457
|
+
}
|
|
1367
1458
|
/**
|
|
1368
1459
|
* 消耗按地域汇总详情
|
|
1369
1460
|
*/
|
|
@@ -1402,6 +1493,21 @@ export interface DescribeDosageCosDetailByDateResponse {
|
|
|
1402
1493
|
*/
|
|
1403
1494
|
RequestId?: string;
|
|
1404
1495
|
}
|
|
1496
|
+
/**
|
|
1497
|
+
* 购买商品信息
|
|
1498
|
+
*/
|
|
1499
|
+
export interface UsageDetails {
|
|
1500
|
+
/**
|
|
1501
|
+
* 商品名
|
|
1502
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1503
|
+
*/
|
|
1504
|
+
ProductName: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* 商品细节
|
|
1507
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1508
|
+
*/
|
|
1509
|
+
SubProductName: string;
|
|
1510
|
+
}
|
|
1405
1511
|
/**
|
|
1406
1512
|
* DescribeBillResourceSummary返回参数结构体
|
|
1407
1513
|
*/
|
|
@@ -1461,6 +1567,84 @@ export interface ActionSummaryOverviewItem {
|
|
|
1461
1567
|
*/
|
|
1462
1568
|
TotalCost: string;
|
|
1463
1569
|
}
|
|
1570
|
+
/**
|
|
1571
|
+
* DescribeVoucherInfo请求参数结构体
|
|
1572
|
+
*/
|
|
1573
|
+
export interface DescribeVoucherInfoRequest {
|
|
1574
|
+
/**
|
|
1575
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1576
|
+
*/
|
|
1577
|
+
Limit: number;
|
|
1578
|
+
/**
|
|
1579
|
+
* 第多少页,默认是1
|
|
1580
|
+
*/
|
|
1581
|
+
Offset: number;
|
|
1582
|
+
/**
|
|
1583
|
+
* 券状态:待使用:unUsed,已使用: used,已发货:delivered,已作废: cancel,已过期:overdue
|
|
1584
|
+
*/
|
|
1585
|
+
Status?: string;
|
|
1586
|
+
/**
|
|
1587
|
+
* 代金券id
|
|
1588
|
+
*/
|
|
1589
|
+
VoucherId?: string;
|
|
1590
|
+
/**
|
|
1591
|
+
* 代金券订单id
|
|
1592
|
+
*/
|
|
1593
|
+
CodeId?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* 商品码
|
|
1596
|
+
*/
|
|
1597
|
+
ProductCode?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* 活动id
|
|
1600
|
+
*/
|
|
1601
|
+
ActivityId?: string;
|
|
1602
|
+
/**
|
|
1603
|
+
* 代金券名称
|
|
1604
|
+
*/
|
|
1605
|
+
VoucherName?: string;
|
|
1606
|
+
/**
|
|
1607
|
+
* 发放开始时间
|
|
1608
|
+
*/
|
|
1609
|
+
TimeFrom?: string;
|
|
1610
|
+
/**
|
|
1611
|
+
* 发放结束时间
|
|
1612
|
+
*/
|
|
1613
|
+
TimeTo?: string;
|
|
1614
|
+
/**
|
|
1615
|
+
* 指定排序字段:BeginTime开始时间、EndTime到期时间、CreateTime创建时间
|
|
1616
|
+
*/
|
|
1617
|
+
SortField?: string;
|
|
1618
|
+
/**
|
|
1619
|
+
* 指定升序降序:desc、asc
|
|
1620
|
+
*/
|
|
1621
|
+
SortOrder?: string;
|
|
1622
|
+
/**
|
|
1623
|
+
* 付费模式,postPay后付费/prePay预付费/riPay预留实例/""或者"*"表示全部模式,如果payMode为""或"*",那么productCode与subProductCode必须传空
|
|
1624
|
+
*/
|
|
1625
|
+
PayMode?: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* 付费场景PayMode=postPay时:spotpay-竞价实例,"settle account"-普通后付费PayMode=prePay时:purchase-包年包月新购,renew-包年包月续费(自动续费),modify-包年包月配置变更(变配)PayMode=riPay时:oneOffFee-预留实例预付,hourlyFee-预留实例每小时扣费,*-支持全部付费场景
|
|
1628
|
+
*/
|
|
1629
|
+
PayScene?: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* 操作人,默认就是用户uin
|
|
1632
|
+
*/
|
|
1633
|
+
Operator?: string;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
* 适用商品信息
|
|
1637
|
+
*/
|
|
1638
|
+
export interface ApplicableProducts {
|
|
1639
|
+
/**
|
|
1640
|
+
* 适用商品名称,值为“全产品通用”或商品名称组成的string,以","分割。
|
|
1641
|
+
*/
|
|
1642
|
+
GoodsName: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。如GoodsName为多个商品名以","分割组成的string,而PayMode为"*",表示每一件商品的模式都为"*"。
|
|
1645
|
+
*/
|
|
1646
|
+
PayMode: string;
|
|
1647
|
+
}
|
|
1464
1648
|
/**
|
|
1465
1649
|
* 付费模式过滤条件
|
|
1466
1650
|
*/
|
|
@@ -1474,6 +1658,27 @@ export interface ConditionPayMode {
|
|
|
1474
1658
|
*/
|
|
1475
1659
|
PayModeName: string;
|
|
1476
1660
|
}
|
|
1661
|
+
/**
|
|
1662
|
+
* DescribeVoucherUsageDetails请求参数结构体
|
|
1663
|
+
*/
|
|
1664
|
+
export interface DescribeVoucherUsageDetailsRequest {
|
|
1665
|
+
/**
|
|
1666
|
+
* 一页多少条数据,默认是20条,最大不超过1000
|
|
1667
|
+
*/
|
|
1668
|
+
Limit: number;
|
|
1669
|
+
/**
|
|
1670
|
+
* 第多少页,默认是1
|
|
1671
|
+
*/
|
|
1672
|
+
Offset: number;
|
|
1673
|
+
/**
|
|
1674
|
+
* 代金券id
|
|
1675
|
+
*/
|
|
1676
|
+
VoucherId?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* 操作人,默认就是用户uin
|
|
1679
|
+
*/
|
|
1680
|
+
Operator?: string;
|
|
1681
|
+
}
|
|
1477
1682
|
/**
|
|
1478
1683
|
* DescribeDealsByCond请求参数结构体
|
|
1479
1684
|
*/
|
|
@@ -1690,6 +1895,21 @@ export interface PayDealsResponse {
|
|
|
1690
1895
|
*/
|
|
1691
1896
|
RequestId?: string;
|
|
1692
1897
|
}
|
|
1898
|
+
/**
|
|
1899
|
+
* 总数
|
|
1900
|
+
*/
|
|
1901
|
+
export interface SummaryTotal {
|
|
1902
|
+
/**
|
|
1903
|
+
* 总数
|
|
1904
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1905
|
+
*/
|
|
1906
|
+
RealTotalCost: string;
|
|
1907
|
+
/**
|
|
1908
|
+
* 原价,单位为元。TotalCost字段自账单3.0(即2021-05)之后开始生效,账单3.0之前返回"-"。合同价的情况下,TotalCost字段与官网价格存在差异,也返回“-”。
|
|
1909
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1910
|
+
*/
|
|
1911
|
+
TotalCost: string;
|
|
1912
|
+
}
|
|
1693
1913
|
/**
|
|
1694
1914
|
* 账单明细数据对象
|
|
1695
1915
|
*/
|
|
@@ -2081,6 +2301,28 @@ export interface DescribeCostDetailRequest {
|
|
|
2081
2301
|
*/
|
|
2082
2302
|
ResourceId?: string;
|
|
2083
2303
|
}
|
|
2304
|
+
/**
|
|
2305
|
+
* DescribeVoucherUsageDetails返回参数结构体
|
|
2306
|
+
*/
|
|
2307
|
+
export interface DescribeVoucherUsageDetailsResponse {
|
|
2308
|
+
/**
|
|
2309
|
+
* 券总数
|
|
2310
|
+
*/
|
|
2311
|
+
TotalCount: number;
|
|
2312
|
+
/**
|
|
2313
|
+
* 总已用金额(微分)
|
|
2314
|
+
*/
|
|
2315
|
+
TotalUsedAmount: number;
|
|
2316
|
+
/**
|
|
2317
|
+
* 代金券使用记录细节
|
|
2318
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2319
|
+
*/
|
|
2320
|
+
UsageRecords: Array<UsageRecords>;
|
|
2321
|
+
/**
|
|
2322
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2323
|
+
*/
|
|
2324
|
+
RequestId?: string;
|
|
2325
|
+
}
|
|
2084
2326
|
/**
|
|
2085
2327
|
* DescribeDealsByCond返回参数结构体
|
|
2086
2328
|
*/
|
|
@@ -2266,19 +2508,17 @@ export interface DescribeDosageCosDetailByDateRequest {
|
|
|
2266
2508
|
BucketName: string;
|
|
2267
2509
|
}
|
|
2268
2510
|
/**
|
|
2269
|
-
*
|
|
2511
|
+
* 不适用商品信息
|
|
2270
2512
|
*/
|
|
2271
|
-
export interface
|
|
2513
|
+
export interface ExcludedProducts {
|
|
2272
2514
|
/**
|
|
2273
|
-
*
|
|
2274
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2515
|
+
* 不适用商品名称
|
|
2275
2516
|
*/
|
|
2276
|
-
|
|
2517
|
+
GoodsName: string;
|
|
2277
2518
|
/**
|
|
2278
|
-
*
|
|
2279
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2519
|
+
* postPay后付费/prePay预付费/riPay预留实例/空字符串或者"*"表示全部模式。
|
|
2280
2520
|
*/
|
|
2281
|
-
|
|
2521
|
+
PayMode: string;
|
|
2282
2522
|
}
|
|
2283
2523
|
/**
|
|
2284
2524
|
* 按付费模式汇总消费详情
|
|
@@ -1628,6 +1628,10 @@ export interface UpgradeInstanceRequest {
|
|
|
1628
1628
|
* 升级方式:<li>scale 蓝绿变更</li><li>restart 滚动重启</li>默认值为scale
|
|
1629
1629
|
*/
|
|
1630
1630
|
UpgradeMode?: string;
|
|
1631
|
+
/**
|
|
1632
|
+
* 升级版本前是否对集群进行备份,默认不备份
|
|
1633
|
+
*/
|
|
1634
|
+
CosBackup?: boolean;
|
|
1631
1635
|
}
|
|
1632
1636
|
/**
|
|
1633
1637
|
* DescribeViews返回参数结构体
|
|
@@ -504,15 +504,13 @@ export interface PhoneVerificationResponse {
|
|
|
504
504
|
/**
|
|
505
505
|
* 认证结果码:
|
|
506
506
|
收费结果码
|
|
507
|
-
0:
|
|
508
|
-
-4:
|
|
509
|
-
-5: 手机号未实名
|
|
507
|
+
0: 三要素信息一致
|
|
508
|
+
-4: 三要素信息不一致
|
|
510
509
|
不收费结果码
|
|
511
510
|
-6: 手机号码不合法
|
|
512
511
|
-7: 身份证号码有误
|
|
513
512
|
-8: 姓名校验不通过
|
|
514
513
|
-9: 没有记录
|
|
515
|
-
-10: 认证未通过
|
|
516
514
|
-11: 验证中心服务繁忙
|
|
517
515
|
*/
|
|
518
516
|
Result: string;
|
|
@@ -1131,7 +1131,7 @@ export interface DescribeBackupAccessResponse {
|
|
|
1131
1131
|
*/
|
|
1132
1132
|
export interface ReplicaSetInfo {
|
|
1133
1133
|
/**
|
|
1134
|
-
*
|
|
1134
|
+
* 副本集ID
|
|
1135
1135
|
*/
|
|
1136
1136
|
ReplicaSetId: string;
|
|
1137
1137
|
}
|
|
@@ -1188,15 +1188,17 @@ export interface DescribeAsyncRequestInfoRequest {
|
|
|
1188
1188
|
*/
|
|
1189
1189
|
export interface CreateBackupDownloadTaskRequest {
|
|
1190
1190
|
/**
|
|
1191
|
-
* 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID
|
|
1191
|
+
* 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同。
|
|
1192
1192
|
*/
|
|
1193
1193
|
InstanceId: string;
|
|
1194
1194
|
/**
|
|
1195
|
-
* 要下载的备份文件名,可通过DescribeDBBackups
|
|
1195
|
+
* 要下载的备份文件名,可通过DescribeDBBackups接口获取。
|
|
1196
1196
|
*/
|
|
1197
1197
|
BackupName: string;
|
|
1198
1198
|
/**
|
|
1199
|
-
*
|
|
1199
|
+
* 指定要下载的副本集的节点名称 或 分片集群的分片名称列表。
|
|
1200
|
+
如副本集cmgo-p8vnipr5,示例(固定取值):BackupSets.0=cmgo-p8vnipr5_0,可下载全量数据。
|
|
1201
|
+
如分片集群cmgo-p8vnipr5,示例:BackupSets.0=cmgo-p8vnipr5_0&BackupSets.1=cmgo-p8vnipr5_1,即下载分片0和分片1的数据,分片集群如需全量下载,请按示例方式传入全部分片名称。
|
|
1200
1202
|
*/
|
|
1201
1203
|
BackupSets: Array<ReplicaSetInfo>;
|
|
1202
1204
|
}
|
|
@@ -642,17 +642,21 @@ export interface DescribePolicyGroupInfoResponse {
|
|
|
642
642
|
*/
|
|
643
643
|
export interface ModifyAlarmPolicyNoticeRequest {
|
|
644
644
|
/**
|
|
645
|
-
* 模块名,这里填“monitor
|
|
645
|
+
* 模块名,这里填“monitor”。
|
|
646
646
|
*/
|
|
647
647
|
Module: string;
|
|
648
648
|
/**
|
|
649
|
-
* 告警策略 ID
|
|
649
|
+
* 告警策略 ID,如果该参数与PolicyIds参数同时存在,则以PolicyIds为准。
|
|
650
650
|
*/
|
|
651
|
-
PolicyId
|
|
651
|
+
PolicyId?: string;
|
|
652
652
|
/**
|
|
653
|
-
* 告警通知模板 ID
|
|
653
|
+
* 告警通知模板 ID 列表。
|
|
654
654
|
*/
|
|
655
655
|
NoticeIds?: Array<string>;
|
|
656
|
+
/**
|
|
657
|
+
* 告警策略ID数组,支持给多个告警策略批量绑定通知模板。最多30个。
|
|
658
|
+
*/
|
|
659
|
+
PolicyIds?: Array<string>;
|
|
656
660
|
}
|
|
657
661
|
/**
|
|
658
662
|
* DeleteAlarmPolicy请求参数结构体
|
|
@@ -641,6 +641,16 @@ export interface DeployApplicationRequest {
|
|
|
641
641
|
* 启动探针配置
|
|
642
642
|
*/
|
|
643
643
|
StartupProbe?: HealthCheckConfig;
|
|
644
|
+
/**
|
|
645
|
+
* 操作系统版本;
|
|
646
|
+
当选择openjdk时,可选参数:
|
|
647
|
+
- ALPINE
|
|
648
|
+
- CENTOS
|
|
649
|
+
当选择konajdk时,可选参数:
|
|
650
|
+
- ALPINE
|
|
651
|
+
- TENCENTOS
|
|
652
|
+
*/
|
|
653
|
+
OsFlavour?: string;
|
|
644
654
|
}
|
|
645
655
|
/**
|
|
646
656
|
* Ingress 配置
|
|
@@ -28,6 +28,16 @@ it("billing.v20180709.DescribeAccountBalance", async function () {
|
|
|
28
28
|
}
|
|
29
29
|
})
|
|
30
30
|
|
|
31
|
+
it("billing.v20180709.DescribeVoucherInfo", async function () {
|
|
32
|
+
try {
|
|
33
|
+
const data = await client.DescribeVoucherInfo({})
|
|
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
|
+
|
|
31
41
|
it("billing.v20180709.DescribeDosageDetailByDate", async function () {
|
|
32
42
|
try {
|
|
33
43
|
const data = await client.DescribeDosageDetailByDate({})
|
|
@@ -48,6 +58,16 @@ it("billing.v20180709.DescribeCostSummaryByResource", async function () {
|
|
|
48
58
|
}
|
|
49
59
|
})
|
|
50
60
|
|
|
61
|
+
it("billing.v20180709.DescribeVoucherUsageDetails", async function () {
|
|
62
|
+
try {
|
|
63
|
+
const data = await client.DescribeVoucherUsageDetails({})
|
|
64
|
+
expect(data).to.be.ok
|
|
65
|
+
} catch(error) {
|
|
66
|
+
expect(error.requestId).to.be.ok
|
|
67
|
+
expect(error.code).to.be.ok
|
|
68
|
+
}
|
|
69
|
+
})
|
|
70
|
+
|
|
51
71
|
it("billing.v20180709.DescribeBillList", async function () {
|
|
52
72
|
try {
|
|
53
73
|
const data = await client.DescribeBillList({})
|