tencentcloud-sdk-nodejs 4.0.861 → 4.0.863
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 +320 -0
- package/SERVICE_CHANGELOG.md +307 -114
- package/package.json +1 -1
- package/products.md +24 -24
- package/src/common/sdk_version.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +1 -1
- package/src/services/cat/v20180409/cat_models.ts +1 -1
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +4 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +10 -0
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +67 -18
- package/src/services/dasb/v20191018/dasb_client.ts +100 -25
- package/src/services/dasb/v20191018/dasb_models.ts +605 -128
- package/src/services/dbbrain/v20210527/dbbrain_client.ts +12 -0
- package/src/services/dbbrain/v20210527/dbbrain_models.ts +32 -0
- package/src/services/dlc/v20210125/dlc_client.ts +12 -0
- package/src/services/dlc/v20210125/dlc_models.ts +28 -0
- package/src/services/domain/v20180808/domain_client.ts +219 -47
- package/src/services/domain/v20180808/domain_models.ts +942 -248
- package/src/services/dsgc/v20190723/dsgc_models.ts +5 -0
- package/src/services/dts/v20211206/dts_models.ts +2 -2
- package/src/services/ess/v20201111/ess_models.ts +11 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +3 -2
- package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +116 -40
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +452 -149
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +22 -16
- package/src/services/mna/v20210119/mna_client.ts +33 -9
- package/src/services/mna/v20210119/mna_models.ts +165 -75
- package/src/services/ocr/v20181119/ocr_models.ts +24 -0
- package/src/services/rum/v20210622/rum_models.ts +6 -6
- package/src/services/ssl/v20191205/ssl_client.ts +1 -1
- package/src/services/teo/v20220901/teo_models.ts +1 -0
- package/src/services/tione/v20211111/tione_models.ts +5 -0
- package/src/services/tmt/v20180321/tmt_models.ts +0 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +1 -1
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +1 -1
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +4 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +10 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +67 -18
- package/tencentcloud/services/dasb/v20191018/dasb_client.d.ts +31 -7
- package/tencentcloud/services/dasb/v20191018/dasb_client.js +45 -9
- package/tencentcloud/services/dasb/v20191018/dasb_models.d.ts +565 -103
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.d.ts +5 -1
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_client.js +6 -0
- package/tencentcloud/services/dbbrain/v20210527/dbbrain_models.d.ts +30 -0
- package/tencentcloud/services/dlc/v20210125/dlc_client.d.ts +5 -1
- package/tencentcloud/services/dlc/v20210125/dlc_client.js +6 -0
- package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +26 -0
- package/tencentcloud/services/domain/v20180808/domain_client.d.ts +67 -11
- package/tencentcloud/services/domain/v20180808/domain_client.js +99 -15
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +915 -253
- package/tencentcloud/services/dsgc/v20190723/dsgc_models.d.ts +5 -0
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +2 -2
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +11 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +3 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +35 -11
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +51 -15
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +436 -149
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +22 -16
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +11 -3
- package/tencentcloud/services/mna/v20210119/mna_client.js +15 -3
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +160 -74
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +24 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +6 -6
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +1 -1
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +1 -1
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +5 -0
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +0 -1
- package/test/dasb.v20191018.test.js +66 -6
- package/test/dbbrain.v20210527.test.js +10 -0
- package/test/dlc.v20210125.test.js +10 -0
- package/test/domain.v20180808.test.js +150 -10
- package/test/iotexplorer.v20190423.test.js +76 -16
- package/test/mna.v20210119.test.js +22 -2
|
@@ -95,7 +95,7 @@ export interface DescribeInstancesTrafficPackagesRequest {
|
|
|
95
95
|
*/
|
|
96
96
|
export interface DescribeDisksDeniedActionsRequest {
|
|
97
97
|
/**
|
|
98
|
-
* 云硬盘ID
|
|
98
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
99
99
|
*/
|
|
100
100
|
DiskIds: Array<string>
|
|
101
101
|
}
|
|
@@ -870,11 +870,11 @@ export interface DescribeDiskBackupsResponse {
|
|
|
870
870
|
*/
|
|
871
871
|
export interface AttachDisksRequest {
|
|
872
872
|
/**
|
|
873
|
-
* 云硬盘ID
|
|
873
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
874
874
|
*/
|
|
875
875
|
DiskIds: Array<string>
|
|
876
876
|
/**
|
|
877
|
-
* 实例ID
|
|
877
|
+
* 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
|
878
878
|
*/
|
|
879
879
|
InstanceId: string
|
|
880
880
|
/**
|
|
@@ -926,7 +926,7 @@ export interface RebootInstancesRequest {
|
|
|
926
926
|
*/
|
|
927
927
|
export interface ResetAttachCcnRequest {
|
|
928
928
|
/**
|
|
929
|
-
* 云联网实例ID
|
|
929
|
+
* 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。
|
|
930
930
|
*/
|
|
931
931
|
CcnId: string
|
|
932
932
|
}
|
|
@@ -1246,7 +1246,7 @@ export interface ModifyBlueprintAttributeRequest {
|
|
|
1246
1246
|
*/
|
|
1247
1247
|
export interface InquirePriceRenewDisksRequest {
|
|
1248
1248
|
/**
|
|
1249
|
-
* 云硬盘ID
|
|
1249
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 1。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1250
1250
|
*/
|
|
1251
1251
|
DiskIds: Array<string>
|
|
1252
1252
|
/**
|
|
@@ -1434,7 +1434,7 @@ export interface ApplyInstanceSnapshotResponse {
|
|
|
1434
1434
|
*/
|
|
1435
1435
|
export interface DetachDisksRequest {
|
|
1436
1436
|
/**
|
|
1437
|
-
* 云硬盘ID
|
|
1437
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1438
1438
|
*/
|
|
1439
1439
|
DiskIds: Array<string>
|
|
1440
1440
|
}
|
|
@@ -1811,7 +1811,7 @@ export interface RenewDisksRequest {
|
|
|
1811
1811
|
*/
|
|
1812
1812
|
export interface ModifyDisksAttributeRequest {
|
|
1813
1813
|
/**
|
|
1814
|
-
* 云硬盘ID
|
|
1814
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1815
1815
|
*/
|
|
1816
1816
|
DiskIds: Array<string>
|
|
1817
1817
|
/**
|
|
@@ -2061,11 +2061,17 @@ export interface DescribeAllScenesRequest {
|
|
|
2061
2061
|
*/
|
|
2062
2062
|
export interface ModifyDisksRenewFlagRequest {
|
|
2063
2063
|
/**
|
|
2064
|
-
* 云硬盘ID
|
|
2064
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
2065
2065
|
*/
|
|
2066
2066
|
DiskIds: Array<string>
|
|
2067
2067
|
/**
|
|
2068
|
-
*
|
|
2068
|
+
* 自动续费标识。取值范围:
|
|
2069
|
+
|
|
2070
|
+
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
2071
|
+
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
2072
|
+
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
2073
|
+
|
|
2074
|
+
若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
2069
2075
|
*/
|
|
2070
2076
|
RenewFlag: string
|
|
2071
2077
|
}
|
|
@@ -3082,7 +3088,7 @@ export interface InquirePriceRenewDisksResponse {
|
|
|
3082
3088
|
/**
|
|
3083
3089
|
* 云硬盘价格。
|
|
3084
3090
|
*/
|
|
3085
|
-
DiskPrice
|
|
3091
|
+
DiskPrice?: DiskPrice
|
|
3086
3092
|
/**
|
|
3087
3093
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3088
3094
|
*/
|
|
@@ -3477,7 +3483,7 @@ export interface DescribeFirewallTemplateRuleQuotaResponse {
|
|
|
3477
3483
|
*/
|
|
3478
3484
|
export interface DetachCcnRequest {
|
|
3479
3485
|
/**
|
|
3480
|
-
* 云联网实例ID
|
|
3486
|
+
* 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。
|
|
3481
3487
|
*/
|
|
3482
3488
|
CcnId: string
|
|
3483
3489
|
}
|
|
@@ -3984,7 +3990,7 @@ export interface CreateFirewallRulesResponse {
|
|
|
3984
3990
|
*/
|
|
3985
3991
|
export interface DescribeDisksRequest {
|
|
3986
3992
|
/**
|
|
3987
|
-
* 云硬盘ID
|
|
3993
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。
|
|
3988
3994
|
*/
|
|
3989
3995
|
DiskIds?: Array<string>
|
|
3990
3996
|
/**
|
|
@@ -4646,11 +4652,11 @@ export interface DescribeDisksReturnableResponse {
|
|
|
4646
4652
|
/**
|
|
4647
4653
|
* 可退还云硬盘详细信息列表。
|
|
4648
4654
|
*/
|
|
4649
|
-
DiskReturnableSet
|
|
4655
|
+
DiskReturnableSet?: Array<DiskReturnable>
|
|
4650
4656
|
/**
|
|
4651
4657
|
* 符合条件的云硬盘数量。
|
|
4652
4658
|
*/
|
|
4653
|
-
TotalCount
|
|
4659
|
+
TotalCount?: number
|
|
4654
4660
|
/**
|
|
4655
4661
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4656
4662
|
*/
|
|
@@ -4754,7 +4760,7 @@ export interface DescribeResetInstanceBlueprintsResponse {
|
|
|
4754
4760
|
*/
|
|
4755
4761
|
export interface DescribeDisksReturnableRequest {
|
|
4756
4762
|
/**
|
|
4757
|
-
* 云硬盘ID
|
|
4763
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 10。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
4758
4764
|
*/
|
|
4759
4765
|
DiskIds?: Array<string>
|
|
4760
4766
|
/**
|
|
@@ -4989,7 +4995,7 @@ export interface DescribeDisksDeniedActionsResponse {
|
|
|
4989
4995
|
/**
|
|
4990
4996
|
* 云硬盘操作限制列表详细信息。
|
|
4991
4997
|
*/
|
|
4992
|
-
DiskDeniedActionSet
|
|
4998
|
+
DiskDeniedActionSet?: Array<DiskDeniedActions>
|
|
4993
4999
|
/**
|
|
4994
5000
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4995
5001
|
*/
|
|
@@ -22,18 +22,19 @@ import {
|
|
|
22
22
|
GetDeviceResponse,
|
|
23
23
|
GetDevicePayModeRequest,
|
|
24
24
|
Capacity,
|
|
25
|
-
|
|
25
|
+
GetFlowAlarmInfoResponse,
|
|
26
26
|
DestAddressInfo,
|
|
27
27
|
GetNetMonitorResponse,
|
|
28
28
|
SlotNetInfo,
|
|
29
29
|
DeleteQosRequest,
|
|
30
30
|
GetNetMonitorRequest,
|
|
31
|
+
OrderFlowPackageRequest,
|
|
31
32
|
GetMultiFlowStatisticResponse,
|
|
32
33
|
VendorHardware,
|
|
33
34
|
DeviceNetInfo,
|
|
34
35
|
GetFlowStatisticResponse,
|
|
35
36
|
SrcAddressInfo,
|
|
36
|
-
|
|
37
|
+
GetFlowAlarmInfoRequest,
|
|
37
38
|
CreateQosResponse,
|
|
38
39
|
DescribeQosResponse,
|
|
39
40
|
GetVendorHardwareRequest,
|
|
@@ -53,6 +54,7 @@ import {
|
|
|
53
54
|
GetVendorHardwareResponse,
|
|
54
55
|
UpdateDeviceRequest,
|
|
55
56
|
GetPublicKeyResponse,
|
|
57
|
+
GetFlowStatisticRequest,
|
|
56
58
|
ActivateHardwareRequest,
|
|
57
59
|
AddHardwareResponse,
|
|
58
60
|
ModifyPackageRenewFlagResponse,
|
|
@@ -65,8 +67,9 @@ import {
|
|
|
65
67
|
GetDevicePayModeResponse,
|
|
66
68
|
GetDeviceRequest,
|
|
67
69
|
ActivateHardwareResponse,
|
|
68
|
-
|
|
70
|
+
NetDetails,
|
|
69
71
|
UpdateHardwareResponse,
|
|
72
|
+
GetFlowStatisticByGroupRequest,
|
|
70
73
|
HardwareInfo,
|
|
71
74
|
GetDevicesResponse,
|
|
72
75
|
DescribeQosRequest,
|
|
@@ -76,6 +79,7 @@ import {
|
|
|
76
79
|
GetStatisticDataResponse,
|
|
77
80
|
DeviceInfo,
|
|
78
81
|
AddHardwareRequest,
|
|
82
|
+
GetFlowStatisticByGroupResponse,
|
|
79
83
|
Hardware,
|
|
80
84
|
GetDevicesRequest,
|
|
81
85
|
FlowPackageInfo,
|
|
@@ -126,6 +130,16 @@ export class Client extends AbstractClient {
|
|
|
126
130
|
return this.request("GetFlowStatistic", req, cb)
|
|
127
131
|
}
|
|
128
132
|
|
|
133
|
+
/**
|
|
134
|
+
* 获取指定分组,指定时间数据流量使用情况
|
|
135
|
+
*/
|
|
136
|
+
async GetFlowStatisticByGroup(
|
|
137
|
+
req: GetFlowStatisticByGroupRequest,
|
|
138
|
+
cb?: (error: string, rep: GetFlowStatisticByGroupResponse) => void
|
|
139
|
+
): Promise<GetFlowStatisticByGroupResponse> {
|
|
140
|
+
return this.request("GetFlowStatisticByGroup", req, cb)
|
|
141
|
+
}
|
|
142
|
+
|
|
129
143
|
/**
|
|
130
144
|
* 批量获取设备流量统计曲线
|
|
131
145
|
*/
|
|
@@ -186,6 +200,16 @@ export class Client extends AbstractClient {
|
|
|
186
200
|
return this.request("AddHardware", req, cb)
|
|
187
201
|
}
|
|
188
202
|
|
|
203
|
+
/**
|
|
204
|
+
* 通过指定设备的ID查找设备详细信息
|
|
205
|
+
*/
|
|
206
|
+
async GetDevice(
|
|
207
|
+
req: GetDeviceRequest,
|
|
208
|
+
cb?: (error: string, rep: GetDeviceResponse) => void
|
|
209
|
+
): Promise<GetDeviceResponse> {
|
|
210
|
+
return this.request("GetDevice", req, cb)
|
|
211
|
+
}
|
|
212
|
+
|
|
189
213
|
/**
|
|
190
214
|
* 移动网络发起Qos加速过程
|
|
191
215
|
*/
|
|
@@ -267,13 +291,13 @@ export class Client extends AbstractClient {
|
|
|
267
291
|
}
|
|
268
292
|
|
|
269
293
|
/**
|
|
270
|
-
*
|
|
294
|
+
* 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
|
|
271
295
|
*/
|
|
272
|
-
async
|
|
273
|
-
req
|
|
274
|
-
cb?: (error: string, rep:
|
|
275
|
-
): Promise<
|
|
276
|
-
return this.request("
|
|
296
|
+
async GetFlowAlarmInfo(
|
|
297
|
+
req?: GetFlowAlarmInfoRequest,
|
|
298
|
+
cb?: (error: string, rep: GetFlowAlarmInfoResponse) => void
|
|
299
|
+
): Promise<GetFlowAlarmInfoResponse> {
|
|
300
|
+
return this.request("GetFlowAlarmInfo", req, cb)
|
|
277
301
|
}
|
|
278
302
|
|
|
279
303
|
/**
|
|
@@ -85,41 +85,28 @@ export interface Capacity {
|
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* GetFlowAlarmInfo返回参数结构体
|
|
89
89
|
*/
|
|
90
|
-
export interface
|
|
91
|
-
/**
|
|
92
|
-
* 设备ID
|
|
93
|
-
*/
|
|
94
|
-
DeviceId: string
|
|
95
|
-
/**
|
|
96
|
-
* 开始查找时间
|
|
97
|
-
*/
|
|
98
|
-
BeginTime: number
|
|
99
|
-
/**
|
|
100
|
-
* 截止时间
|
|
101
|
-
*/
|
|
102
|
-
EndTime: number
|
|
90
|
+
export interface GetFlowAlarmInfoResponse {
|
|
103
91
|
/**
|
|
104
|
-
*
|
|
105
|
-
|
|
106
|
-
Type: number
|
|
107
|
-
/**
|
|
108
|
-
* 时间粒度(1:按小时统计,2:按天统计)
|
|
92
|
+
* 流量包的告警阈值
|
|
93
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
109
94
|
*/
|
|
110
|
-
|
|
95
|
+
AlarmValue?: number
|
|
111
96
|
/**
|
|
112
|
-
*
|
|
97
|
+
* 告警通知回调url
|
|
98
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
113
99
|
*/
|
|
114
|
-
|
|
100
|
+
NotifyUrl?: string
|
|
115
101
|
/**
|
|
116
|
-
*
|
|
102
|
+
* 告警通知回调key
|
|
103
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
117
104
|
*/
|
|
118
|
-
|
|
105
|
+
CallbackKey?: string
|
|
119
106
|
/**
|
|
120
|
-
*
|
|
107
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
121
108
|
*/
|
|
122
|
-
|
|
109
|
+
RequestId?: string
|
|
123
110
|
}
|
|
124
111
|
|
|
125
112
|
/**
|
|
@@ -212,6 +199,54 @@ export interface GetNetMonitorRequest {
|
|
|
212
199
|
GatewayType?: number
|
|
213
200
|
}
|
|
214
201
|
|
|
202
|
+
/**
|
|
203
|
+
* OrderFlowPackage请求参数结构体
|
|
204
|
+
*/
|
|
205
|
+
export interface OrderFlowPackageRequest {
|
|
206
|
+
/**
|
|
207
|
+
* 流量包规格类型。可取值如下:
|
|
208
|
+
DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
|
209
|
+
DEVICE_3_FLOW_100G、
|
|
210
|
+
DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
211
|
+
档位也影响流量包可绑定的设备数量上限:
|
|
212
|
+
20G:最多绑定1个设备
|
|
213
|
+
50G:最多绑定2个设备
|
|
214
|
+
100G:最多绑定3个设备
|
|
215
|
+
500G:最多绑定5个设备
|
|
216
|
+
*/
|
|
217
|
+
PackageType: string
|
|
218
|
+
/**
|
|
219
|
+
* 流量包绑定的设备ID列表。捆绑设备个数上限取决于包的规格档位:
|
|
220
|
+
20G:最多绑定1个设备
|
|
221
|
+
50G:最多绑定2个设备
|
|
222
|
+
100G:最多绑定3个设备
|
|
223
|
+
500G:最多绑定5个设备
|
|
224
|
+
*/
|
|
225
|
+
DeviceList: Array<string>
|
|
226
|
+
/**
|
|
227
|
+
* 是否自动续费,该选项和流量截断冲突,只能开启一个
|
|
228
|
+
*/
|
|
229
|
+
AutoRenewFlag: boolean
|
|
230
|
+
/**
|
|
231
|
+
* 区域标识,0:国内,1:国外
|
|
232
|
+
*/
|
|
233
|
+
PackageRegion: number
|
|
234
|
+
/**
|
|
235
|
+
* 是否开启流量截断功能,该选项和自动续费冲突
|
|
236
|
+
*/
|
|
237
|
+
FlowTruncFlag?: boolean
|
|
238
|
+
/**
|
|
239
|
+
* 是否自动选择代金券,默认false。
|
|
240
|
+
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
241
|
+
*/
|
|
242
|
+
AutoVoucher?: boolean
|
|
243
|
+
/**
|
|
244
|
+
* 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
|
|
245
|
+
注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
|
246
|
+
*/
|
|
247
|
+
VoucherIds?: Array<string>
|
|
248
|
+
}
|
|
249
|
+
|
|
215
250
|
/**
|
|
216
251
|
* GetMultiFlowStatistic返回参数结构体
|
|
217
252
|
*/
|
|
@@ -428,18 +463,9 @@ export interface SrcAddressInfo {
|
|
|
428
463
|
}
|
|
429
464
|
|
|
430
465
|
/**
|
|
431
|
-
*
|
|
466
|
+
* GetFlowAlarmInfo请求参数结构体
|
|
432
467
|
*/
|
|
433
|
-
export
|
|
434
|
-
/**
|
|
435
|
-
* 流量值(byte)
|
|
436
|
-
*/
|
|
437
|
-
Current?: number
|
|
438
|
-
/**
|
|
439
|
-
* 时间点,单位:s
|
|
440
|
-
*/
|
|
441
|
-
Time?: string
|
|
442
|
-
}
|
|
468
|
+
export type GetFlowAlarmInfoRequest = null
|
|
443
469
|
|
|
444
470
|
/**
|
|
445
471
|
* CreateQos返回参数结构体
|
|
@@ -888,6 +914,44 @@ export interface GetPublicKeyResponse {
|
|
|
888
914
|
RequestId?: string
|
|
889
915
|
}
|
|
890
916
|
|
|
917
|
+
/**
|
|
918
|
+
* GetFlowStatistic请求参数结构体
|
|
919
|
+
*/
|
|
920
|
+
export interface GetFlowStatisticRequest {
|
|
921
|
+
/**
|
|
922
|
+
* 设备ID
|
|
923
|
+
*/
|
|
924
|
+
DeviceId: string
|
|
925
|
+
/**
|
|
926
|
+
* 开始查找时间
|
|
927
|
+
*/
|
|
928
|
+
BeginTime: number
|
|
929
|
+
/**
|
|
930
|
+
* 截止时间
|
|
931
|
+
*/
|
|
932
|
+
EndTime: number
|
|
933
|
+
/**
|
|
934
|
+
* 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
|
935
|
+
*/
|
|
936
|
+
Type: number
|
|
937
|
+
/**
|
|
938
|
+
* 时间粒度(1:按小时统计,2:按天统计)
|
|
939
|
+
*/
|
|
940
|
+
TimeGranularity: number
|
|
941
|
+
/**
|
|
942
|
+
* 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
|
|
943
|
+
*/
|
|
944
|
+
AccessRegion?: string
|
|
945
|
+
/**
|
|
946
|
+
* 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
947
|
+
*/
|
|
948
|
+
GatewayType?: number
|
|
949
|
+
/**
|
|
950
|
+
* 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
|
|
951
|
+
*/
|
|
952
|
+
DeviceList?: Array<string>
|
|
953
|
+
}
|
|
954
|
+
|
|
891
955
|
/**
|
|
892
956
|
* ActivateHardware请求参数结构体
|
|
893
957
|
*/
|
|
@@ -1123,61 +1187,61 @@ export interface ActivateHardwareResponse {
|
|
|
1123
1187
|
}
|
|
1124
1188
|
|
|
1125
1189
|
/**
|
|
1126
|
-
*
|
|
1190
|
+
* 网络详细信息
|
|
1127
1191
|
*/
|
|
1128
|
-
export interface
|
|
1192
|
+
export interface NetDetails {
|
|
1129
1193
|
/**
|
|
1130
|
-
*
|
|
1131
|
-
DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
|
1132
|
-
DEVICE_3_FLOW_100G、
|
|
1133
|
-
DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
1134
|
-
档位也影响流量包可绑定的设备数量上限:
|
|
1135
|
-
20G:最多绑定1个设备
|
|
1136
|
-
50G:最多绑定2个设备
|
|
1137
|
-
100G:最多绑定3个设备
|
|
1138
|
-
500G:最多绑定5个设备
|
|
1194
|
+
* 流量值(byte)
|
|
1139
1195
|
*/
|
|
1140
|
-
|
|
1196
|
+
Current?: number
|
|
1141
1197
|
/**
|
|
1142
|
-
*
|
|
1143
|
-
20G:最多绑定1个设备
|
|
1144
|
-
50G:最多绑定2个设备
|
|
1145
|
-
100G:最多绑定3个设备
|
|
1146
|
-
500G:最多绑定5个设备
|
|
1198
|
+
* 时间点,单位:s
|
|
1147
1199
|
*/
|
|
1148
|
-
|
|
1200
|
+
Time?: string
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/**
|
|
1204
|
+
* UpdateHardware返回参数结构体
|
|
1205
|
+
*/
|
|
1206
|
+
export interface UpdateHardwareResponse {
|
|
1149
1207
|
/**
|
|
1150
|
-
*
|
|
1208
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1151
1209
|
*/
|
|
1152
|
-
|
|
1210
|
+
RequestId?: string
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* GetFlowStatisticByGroup请求参数结构体
|
|
1215
|
+
*/
|
|
1216
|
+
export interface GetFlowStatisticByGroupRequest {
|
|
1153
1217
|
/**
|
|
1154
|
-
*
|
|
1218
|
+
* 分组ID
|
|
1155
1219
|
*/
|
|
1156
|
-
|
|
1220
|
+
GroupId: string
|
|
1157
1221
|
/**
|
|
1158
|
-
*
|
|
1222
|
+
* 开始查找时间
|
|
1159
1223
|
*/
|
|
1160
|
-
|
|
1224
|
+
BeginTime: number
|
|
1161
1225
|
/**
|
|
1162
|
-
*
|
|
1163
|
-
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
1226
|
+
* 截止时间
|
|
1164
1227
|
*/
|
|
1165
|
-
|
|
1228
|
+
EndTime: number
|
|
1166
1229
|
/**
|
|
1167
|
-
*
|
|
1168
|
-
注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
|
1230
|
+
* 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
|
|
1169
1231
|
*/
|
|
1170
|
-
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* UpdateHardware返回参数结构体
|
|
1175
|
-
*/
|
|
1176
|
-
export interface UpdateHardwareResponse {
|
|
1232
|
+
Type: number
|
|
1177
1233
|
/**
|
|
1178
|
-
*
|
|
1234
|
+
* 时间粒度(1:按小时统计,2:按天统计)
|
|
1179
1235
|
*/
|
|
1180
|
-
|
|
1236
|
+
TimeGranularity: number
|
|
1237
|
+
/**
|
|
1238
|
+
* 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
|
|
1239
|
+
*/
|
|
1240
|
+
AccessRegion?: string
|
|
1241
|
+
/**
|
|
1242
|
+
* 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
1243
|
+
*/
|
|
1244
|
+
GatewayType?: number
|
|
1181
1245
|
}
|
|
1182
1246
|
|
|
1183
1247
|
/**
|
|
@@ -1407,6 +1471,32 @@ export interface AddHardwareRequest {
|
|
|
1407
1471
|
Hardware: Array<Hardware>
|
|
1408
1472
|
}
|
|
1409
1473
|
|
|
1474
|
+
/**
|
|
1475
|
+
* GetFlowStatisticByGroup返回参数结构体
|
|
1476
|
+
*/
|
|
1477
|
+
export interface GetFlowStatisticByGroupResponse {
|
|
1478
|
+
/**
|
|
1479
|
+
* 流量详细信息
|
|
1480
|
+
*/
|
|
1481
|
+
NetDetails?: Array<NetDetails>
|
|
1482
|
+
/**
|
|
1483
|
+
* 查找时间段流量使用最大值(单位:byte)
|
|
1484
|
+
*/
|
|
1485
|
+
MaxValue?: number
|
|
1486
|
+
/**
|
|
1487
|
+
* 查找时间段流量使用平均值(单位:byte)
|
|
1488
|
+
*/
|
|
1489
|
+
AvgValue?: number
|
|
1490
|
+
/**
|
|
1491
|
+
* 查找时间段流量使用总量(单位:byte)
|
|
1492
|
+
*/
|
|
1493
|
+
TotalValue?: number
|
|
1494
|
+
/**
|
|
1495
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1496
|
+
*/
|
|
1497
|
+
RequestId?: string
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1410
1500
|
/**
|
|
1411
1501
|
* 新建Hardware入参
|
|
1412
1502
|
*/
|
|
@@ -10031,6 +10031,30 @@ WARN_RESHOOT_CARD翻拍件告警
|
|
|
10031
10031
|
|
|
10032
10032
|
*/
|
|
10033
10033
|
Angle?: number
|
|
10034
|
+
/**
|
|
10035
|
+
* 是否有国徽。0为没有,1为有。
|
|
10036
|
+
*/
|
|
10037
|
+
NationalEmblem?: boolean
|
|
10038
|
+
/**
|
|
10039
|
+
* 是否有二维码。0为没有,1为有。
|
|
10040
|
+
*/
|
|
10041
|
+
QRCode?: boolean
|
|
10042
|
+
/**
|
|
10043
|
+
* 是否有印章。0为没有,1为有。
|
|
10044
|
+
*/
|
|
10045
|
+
Seal?: boolean
|
|
10046
|
+
/**
|
|
10047
|
+
* 标题
|
|
10048
|
+
*/
|
|
10049
|
+
Title?: string
|
|
10050
|
+
/**
|
|
10051
|
+
* 编号
|
|
10052
|
+
*/
|
|
10053
|
+
SerialNumber?: string
|
|
10054
|
+
/**
|
|
10055
|
+
* 登记机关
|
|
10056
|
+
*/
|
|
10057
|
+
RegistrationAuthority?: string
|
|
10034
10058
|
/**
|
|
10035
10059
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10036
10060
|
*/
|
|
@@ -444,7 +444,7 @@ export interface DescribePvListResponse {
|
|
|
444
444
|
* pv列表
|
|
445
445
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
446
446
|
*/
|
|
447
|
-
ProjectPvSet
|
|
447
|
+
ProjectPvSet?: Array<RumPvInfo>
|
|
448
448
|
/**
|
|
449
449
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
450
450
|
*/
|
|
@@ -846,11 +846,11 @@ export interface DescribeTawAreasResponse {
|
|
|
846
846
|
/**
|
|
847
847
|
* 片区总数
|
|
848
848
|
*/
|
|
849
|
-
TotalCount
|
|
849
|
+
TotalCount?: number
|
|
850
850
|
/**
|
|
851
851
|
* 片区列表
|
|
852
852
|
*/
|
|
853
|
-
AreaSet
|
|
853
|
+
AreaSet?: Array<RumAreaInfo>
|
|
854
854
|
/**
|
|
855
855
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
856
856
|
*/
|
|
@@ -2191,7 +2191,7 @@ export interface DescribeTawAreasRequest {
|
|
|
2191
2191
|
*/
|
|
2192
2192
|
AreaKeys?: Array<string>
|
|
2193
2193
|
/**
|
|
2194
|
-
* 分页Limit
|
|
2194
|
+
* 分页Limit,默认根据AreaKeys和AreaStatuses参数查询所有。
|
|
2195
2195
|
*/
|
|
2196
2196
|
Limit?: number
|
|
2197
2197
|
/**
|
|
@@ -2199,7 +2199,7 @@ export interface DescribeTawAreasRequest {
|
|
|
2199
2199
|
*/
|
|
2200
2200
|
AreaStatuses?: Array<number | bigint>
|
|
2201
2201
|
/**
|
|
2202
|
-
* 分页Offset
|
|
2202
|
+
* 分页Offset,默认根据AreaKeys和AreaStatuses参数查询所有。
|
|
2203
2203
|
*/
|
|
2204
2204
|
Offset?: number
|
|
2205
2205
|
}
|
|
@@ -3132,7 +3132,7 @@ export interface DescribePvListRequest {
|
|
|
3132
3132
|
*/
|
|
3133
3133
|
StartTime: string
|
|
3134
3134
|
/**
|
|
3135
|
-
*
|
|
3135
|
+
* 对PV指标的查询维度。获取day:d, 获取min则不填。
|
|
3136
3136
|
*/
|
|
3137
3137
|
Dimension?: string
|
|
3138
3138
|
}
|
|
@@ -425,7 +425,7 @@ export class Client extends AbstractClient {
|
|
|
425
425
|
}
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
428
|
+
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
429
429
|
*/
|
|
430
430
|
async UpdateCertificateInstance(
|
|
431
431
|
req: UpdateCertificateInstanceRequest,
|
|
@@ -3754,6 +3754,7 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
|
|
|
3754
3754
|
Sample?: number
|
|
3755
3755
|
/**
|
|
3756
3756
|
* 日志投递的输出格式。不填保持原有配置。
|
|
3757
|
+
特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
|
|
3757
3758
|
*/
|
|
3758
3759
|
LogFormat?: LogFormat
|
|
3759
3760
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.863";
|
|
@@ -329,7 +329,7 @@ export interface SentenceRecognitionRequest {
|
|
|
329
329
|
* 临时热词表:该参数用于提升识别准确率。
|
|
330
330
|
单个热词限制:"热词|权重",单个热词不超过30个字符(最多10个汉字),权重1-11或者100,如:“腾讯云|5” 或 “ASR|11”;
|
|
331
331
|
临时热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;
|
|
332
|
-
参数 hotword_list
|
|
332
|
+
参数 hotword_list(临时热词表) 与 hotword_id(热词表) 区别:
|
|
333
333
|
hotword_id:热词表。需要先在控制台或接口创建热词表,获得对应hotword_id传入参数来使用热词功能;
|
|
334
334
|
hotword_list:临时热词表。每次请求时直接传入临时热词表来使用热词功能,云端不保留临时热词表。适用于有极大量热词需求的用户;
|
|
335
335
|
注意:
|