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
|
@@ -74,7 +74,7 @@ export interface DescribeInstancesTrafficPackagesRequest {
|
|
|
74
74
|
*/
|
|
75
75
|
export interface DescribeDisksDeniedActionsRequest {
|
|
76
76
|
/**
|
|
77
|
-
* 云硬盘ID
|
|
77
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
78
78
|
*/
|
|
79
79
|
DiskIds: Array<string>;
|
|
80
80
|
}
|
|
@@ -808,11 +808,11 @@ export interface DescribeDiskBackupsResponse {
|
|
|
808
808
|
*/
|
|
809
809
|
export interface AttachDisksRequest {
|
|
810
810
|
/**
|
|
811
|
-
* 云硬盘ID
|
|
811
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
812
812
|
*/
|
|
813
813
|
DiskIds: Array<string>;
|
|
814
814
|
/**
|
|
815
|
-
* 实例ID
|
|
815
|
+
* 实例ID。可通过[DescribeInstances](https://cloud.tencent.com/document/product/1207/47573)接口返回值中的InstanceId获取。
|
|
816
816
|
*/
|
|
817
817
|
InstanceId: string;
|
|
818
818
|
/**
|
|
@@ -860,7 +860,7 @@ export interface RebootInstancesRequest {
|
|
|
860
860
|
*/
|
|
861
861
|
export interface ResetAttachCcnRequest {
|
|
862
862
|
/**
|
|
863
|
-
* 云联网实例ID
|
|
863
|
+
* 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。
|
|
864
864
|
*/
|
|
865
865
|
CcnId: string;
|
|
866
866
|
}
|
|
@@ -1166,7 +1166,7 @@ export interface ModifyBlueprintAttributeRequest {
|
|
|
1166
1166
|
*/
|
|
1167
1167
|
export interface InquirePriceRenewDisksRequest {
|
|
1168
1168
|
/**
|
|
1169
|
-
* 云硬盘ID
|
|
1169
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 1。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1170
1170
|
*/
|
|
1171
1171
|
DiskIds: Array<string>;
|
|
1172
1172
|
/**
|
|
@@ -1346,7 +1346,7 @@ export interface ApplyInstanceSnapshotResponse {
|
|
|
1346
1346
|
*/
|
|
1347
1347
|
export interface DetachDisksRequest {
|
|
1348
1348
|
/**
|
|
1349
|
-
* 云硬盘ID
|
|
1349
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1350
1350
|
*/
|
|
1351
1351
|
DiskIds: Array<string>;
|
|
1352
1352
|
}
|
|
@@ -1701,7 +1701,7 @@ export interface RenewDisksRequest {
|
|
|
1701
1701
|
*/
|
|
1702
1702
|
export interface ModifyDisksAttributeRequest {
|
|
1703
1703
|
/**
|
|
1704
|
-
* 云硬盘ID
|
|
1704
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1705
1705
|
*/
|
|
1706
1706
|
DiskIds: Array<string>;
|
|
1707
1707
|
/**
|
|
@@ -1934,11 +1934,17 @@ export interface DescribeAllScenesRequest {
|
|
|
1934
1934
|
*/
|
|
1935
1935
|
export interface ModifyDisksRenewFlagRequest {
|
|
1936
1936
|
/**
|
|
1937
|
-
* 云硬盘ID
|
|
1937
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
1938
1938
|
*/
|
|
1939
1939
|
DiskIds: Array<string>;
|
|
1940
1940
|
/**
|
|
1941
|
-
*
|
|
1941
|
+
* 自动续费标识。取值范围:
|
|
1942
|
+
|
|
1943
|
+
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
|
|
1944
|
+
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
1945
|
+
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
1946
|
+
|
|
1947
|
+
若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
|
|
1942
1948
|
*/
|
|
1943
1949
|
RenewFlag: string;
|
|
1944
1950
|
}
|
|
@@ -2903,7 +2909,7 @@ export interface InquirePriceRenewDisksResponse {
|
|
|
2903
2909
|
/**
|
|
2904
2910
|
* 云硬盘价格。
|
|
2905
2911
|
*/
|
|
2906
|
-
DiskPrice
|
|
2912
|
+
DiskPrice?: DiskPrice;
|
|
2907
2913
|
/**
|
|
2908
2914
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2909
2915
|
*/
|
|
@@ -3281,7 +3287,7 @@ export interface DescribeFirewallTemplateRuleQuotaResponse {
|
|
|
3281
3287
|
*/
|
|
3282
3288
|
export interface DetachCcnRequest {
|
|
3283
3289
|
/**
|
|
3284
|
-
* 云联网实例ID
|
|
3290
|
+
* 云联网实例ID。可通过[DescribeCcnAttachedInstances](https://cloud.tencent.com/document/product/1207/58797)接口返回值中的CcnId获取。
|
|
3285
3291
|
*/
|
|
3286
3292
|
CcnId: string;
|
|
3287
3293
|
}
|
|
@@ -3764,7 +3770,7 @@ export interface CreateFirewallRulesResponse {
|
|
|
3764
3770
|
*/
|
|
3765
3771
|
export interface DescribeDisksRequest {
|
|
3766
3772
|
/**
|
|
3767
|
-
* 云硬盘ID
|
|
3773
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 100。
|
|
3768
3774
|
*/
|
|
3769
3775
|
DiskIds?: Array<string>;
|
|
3770
3776
|
/**
|
|
@@ -4390,11 +4396,11 @@ export interface DescribeDisksReturnableResponse {
|
|
|
4390
4396
|
/**
|
|
4391
4397
|
* 可退还云硬盘详细信息列表。
|
|
4392
4398
|
*/
|
|
4393
|
-
DiskReturnableSet
|
|
4399
|
+
DiskReturnableSet?: Array<DiskReturnable>;
|
|
4394
4400
|
/**
|
|
4395
4401
|
* 符合条件的云硬盘数量。
|
|
4396
4402
|
*/
|
|
4397
|
-
TotalCount
|
|
4403
|
+
TotalCount?: number;
|
|
4398
4404
|
/**
|
|
4399
4405
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4400
4406
|
*/
|
|
@@ -4490,7 +4496,7 @@ export interface DescribeResetInstanceBlueprintsResponse {
|
|
|
4490
4496
|
*/
|
|
4491
4497
|
export interface DescribeDisksReturnableRequest {
|
|
4492
4498
|
/**
|
|
4493
|
-
* 云硬盘ID
|
|
4499
|
+
* 云硬盘ID列表。每次批量请求云硬盘的上限为 10。可通过[DescribeDisks](https://cloud.tencent.com/document/product/1207/66093)接口返回值中的DiskId获取。
|
|
4494
4500
|
*/
|
|
4495
4501
|
DiskIds?: Array<string>;
|
|
4496
4502
|
/**
|
|
@@ -4711,7 +4717,7 @@ export interface DescribeDisksDeniedActionsResponse {
|
|
|
4711
4717
|
/**
|
|
4712
4718
|
* 云硬盘操作限制列表详细信息。
|
|
4713
4719
|
*/
|
|
4714
|
-
DiskDeniedActionSet
|
|
4720
|
+
DiskDeniedActionSet?: Array<DiskDeniedActions>;
|
|
4715
4721
|
/**
|
|
4716
4722
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4717
4723
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { GetDeviceResponse, GetDevicePayModeRequest,
|
|
3
|
+
import { GetDeviceResponse, GetDevicePayModeRequest, GetFlowAlarmInfoResponse, GetNetMonitorResponse, DeleteQosRequest, GetNetMonitorRequest, OrderFlowPackageRequest, GetMultiFlowStatisticResponse, GetFlowStatisticResponse, GetFlowAlarmInfoRequest, CreateQosResponse, DescribeQosResponse, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, GetFlowPackagesRequest, GetHardwareListRequest, CreateEncryptedKeyResponse, OrderFlowPackageResponse, UpdateDeviceResponse, ModifyPackageRenewFlagRequest, CreateQosRequest, GetStatisticDataRequest, GetFlowPackagesResponse, GetVendorHardwareResponse, UpdateDeviceRequest, GetPublicKeyResponse, GetFlowStatisticRequest, ActivateHardwareRequest, AddHardwareResponse, ModifyPackageRenewFlagResponse, GetMultiFlowStatisticRequest, DeleteQosResponse, AddDeviceResponse, GetDevicePayModeResponse, GetDeviceRequest, ActivateHardwareResponse, UpdateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, DescribeQosRequest, DeleteDeviceResponse, GetStatisticDataResponse, AddHardwareRequest, GetFlowStatisticByGroupResponse, GetDevicesRequest, GetHardwareListResponse, UpdateHardwareRequest, AddDeviceRequest, GetPublicKeyRequest } from "./mna_models";
|
|
4
4
|
/**
|
|
5
5
|
* mna client
|
|
6
6
|
* @class
|
|
@@ -19,6 +19,10 @@ export declare class Client extends AbstractClient {
|
|
|
19
19
|
* 获取指定设备Id,指定时间点数据流量使用情况
|
|
20
20
|
*/
|
|
21
21
|
GetFlowStatistic(req: GetFlowStatisticRequest, cb?: (error: string, rep: GetFlowStatisticResponse) => void): Promise<GetFlowStatisticResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* 获取指定分组,指定时间数据流量使用情况
|
|
24
|
+
*/
|
|
25
|
+
GetFlowStatisticByGroup(req: GetFlowStatisticByGroupRequest, cb?: (error: string, rep: GetFlowStatisticByGroupResponse) => void): Promise<GetFlowStatisticByGroupResponse>;
|
|
22
26
|
/**
|
|
23
27
|
* 批量获取设备流量统计曲线
|
|
24
28
|
*/
|
|
@@ -43,6 +47,10 @@ export declare class Client extends AbstractClient {
|
|
|
43
47
|
* 添加硬件设备,生成未激活的硬件设备,可支持批量添加
|
|
44
48
|
*/
|
|
45
49
|
AddHardware(req: AddHardwareRequest, cb?: (error: string, rep: AddHardwareResponse) => void): Promise<AddHardwareResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* 通过指定设备的ID查找设备详细信息
|
|
52
|
+
*/
|
|
53
|
+
GetDevice(req: GetDeviceRequest, cb?: (error: string, rep: GetDeviceResponse) => void): Promise<GetDeviceResponse>;
|
|
46
54
|
/**
|
|
47
55
|
* 移动网络发起Qos加速过程
|
|
48
56
|
*/
|
|
@@ -76,9 +84,9 @@ export declare class Client extends AbstractClient {
|
|
|
76
84
|
*/
|
|
77
85
|
DeleteQos(req: DeleteQosRequest, cb?: (error: string, rep: DeleteQosResponse) => void): Promise<DeleteQosResponse>;
|
|
78
86
|
/**
|
|
79
|
-
*
|
|
87
|
+
* 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
|
|
80
88
|
*/
|
|
81
|
-
|
|
89
|
+
GetFlowAlarmInfo(req?: GetFlowAlarmInfoRequest, cb?: (error: string, rep: GetFlowAlarmInfoResponse) => void): Promise<GetFlowAlarmInfoResponse>;
|
|
82
90
|
/**
|
|
83
91
|
* 购买预付费流量包
|
|
84
92
|
*/
|
|
@@ -45,6 +45,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
45
45
|
async GetFlowStatistic(req, cb) {
|
|
46
46
|
return this.request("GetFlowStatistic", req, cb);
|
|
47
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* 获取指定分组,指定时间数据流量使用情况
|
|
50
|
+
*/
|
|
51
|
+
async GetFlowStatisticByGroup(req, cb) {
|
|
52
|
+
return this.request("GetFlowStatisticByGroup", req, cb);
|
|
53
|
+
}
|
|
48
54
|
/**
|
|
49
55
|
* 批量获取设备流量统计曲线
|
|
50
56
|
*/
|
|
@@ -81,6 +87,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
81
87
|
async AddHardware(req, cb) {
|
|
82
88
|
return this.request("AddHardware", req, cb);
|
|
83
89
|
}
|
|
90
|
+
/**
|
|
91
|
+
* 通过指定设备的ID查找设备详细信息
|
|
92
|
+
*/
|
|
93
|
+
async GetDevice(req, cb) {
|
|
94
|
+
return this.request("GetDevice", req, cb);
|
|
95
|
+
}
|
|
84
96
|
/**
|
|
85
97
|
* 移动网络发起Qos加速过程
|
|
86
98
|
*/
|
|
@@ -130,10 +142,10 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
130
142
|
return this.request("DeleteQos", req, cb);
|
|
131
143
|
}
|
|
132
144
|
/**
|
|
133
|
-
*
|
|
145
|
+
* 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
|
|
134
146
|
*/
|
|
135
|
-
async
|
|
136
|
-
return this.request("
|
|
147
|
+
async GetFlowAlarmInfo(req, cb) {
|
|
148
|
+
return this.request("GetFlowAlarmInfo", req, cb);
|
|
137
149
|
}
|
|
138
150
|
/**
|
|
139
151
|
* 购买预付费流量包
|
|
@@ -64,41 +64,28 @@ export interface Capacity {
|
|
|
64
64
|
Province?: string;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* GetFlowAlarmInfo返回参数结构体
|
|
68
68
|
*/
|
|
69
|
-
export interface
|
|
70
|
-
/**
|
|
71
|
-
* 设备ID
|
|
72
|
-
*/
|
|
73
|
-
DeviceId: string;
|
|
74
|
-
/**
|
|
75
|
-
* 开始查找时间
|
|
76
|
-
*/
|
|
77
|
-
BeginTime: number;
|
|
78
|
-
/**
|
|
79
|
-
* 截止时间
|
|
80
|
-
*/
|
|
81
|
-
EndTime: number;
|
|
69
|
+
export interface GetFlowAlarmInfoResponse {
|
|
82
70
|
/**
|
|
83
|
-
*
|
|
84
|
-
|
|
85
|
-
Type: number;
|
|
86
|
-
/**
|
|
87
|
-
* 时间粒度(1:按小时统计,2:按天统计)
|
|
71
|
+
* 流量包的告警阈值
|
|
72
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
88
73
|
*/
|
|
89
|
-
|
|
74
|
+
AlarmValue?: number;
|
|
90
75
|
/**
|
|
91
|
-
*
|
|
76
|
+
* 告警通知回调url
|
|
77
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
92
78
|
*/
|
|
93
|
-
|
|
79
|
+
NotifyUrl?: string;
|
|
94
80
|
/**
|
|
95
|
-
*
|
|
81
|
+
* 告警通知回调key
|
|
82
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
96
83
|
*/
|
|
97
|
-
|
|
84
|
+
CallbackKey?: string;
|
|
98
85
|
/**
|
|
99
|
-
*
|
|
86
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
100
87
|
*/
|
|
101
|
-
|
|
88
|
+
RequestId?: string;
|
|
102
89
|
}
|
|
103
90
|
/**
|
|
104
91
|
* 多网聚合加速目标地址结构体
|
|
@@ -185,6 +172,53 @@ export interface GetNetMonitorRequest {
|
|
|
185
172
|
*/
|
|
186
173
|
GatewayType?: number;
|
|
187
174
|
}
|
|
175
|
+
/**
|
|
176
|
+
* OrderFlowPackage请求参数结构体
|
|
177
|
+
*/
|
|
178
|
+
export interface OrderFlowPackageRequest {
|
|
179
|
+
/**
|
|
180
|
+
* 流量包规格类型。可取值如下:
|
|
181
|
+
DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
|
182
|
+
DEVICE_3_FLOW_100G、
|
|
183
|
+
DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
184
|
+
档位也影响流量包可绑定的设备数量上限:
|
|
185
|
+
20G:最多绑定1个设备
|
|
186
|
+
50G:最多绑定2个设备
|
|
187
|
+
100G:最多绑定3个设备
|
|
188
|
+
500G:最多绑定5个设备
|
|
189
|
+
*/
|
|
190
|
+
PackageType: string;
|
|
191
|
+
/**
|
|
192
|
+
* 流量包绑定的设备ID列表。捆绑设备个数上限取决于包的规格档位:
|
|
193
|
+
20G:最多绑定1个设备
|
|
194
|
+
50G:最多绑定2个设备
|
|
195
|
+
100G:最多绑定3个设备
|
|
196
|
+
500G:最多绑定5个设备
|
|
197
|
+
*/
|
|
198
|
+
DeviceList: Array<string>;
|
|
199
|
+
/**
|
|
200
|
+
* 是否自动续费,该选项和流量截断冲突,只能开启一个
|
|
201
|
+
*/
|
|
202
|
+
AutoRenewFlag: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* 区域标识,0:国内,1:国外
|
|
205
|
+
*/
|
|
206
|
+
PackageRegion: number;
|
|
207
|
+
/**
|
|
208
|
+
* 是否开启流量截断功能,该选项和自动续费冲突
|
|
209
|
+
*/
|
|
210
|
+
FlowTruncFlag?: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* 是否自动选择代金券,默认false。
|
|
213
|
+
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
214
|
+
*/
|
|
215
|
+
AutoVoucher?: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* 指定代金券ID。自动选择代金券时此参数无效。目前只允许传入一张代金券。
|
|
218
|
+
注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
|
219
|
+
*/
|
|
220
|
+
VoucherIds?: Array<string>;
|
|
221
|
+
}
|
|
188
222
|
/**
|
|
189
223
|
* GetMultiFlowStatistic返回参数结构体
|
|
190
224
|
*/
|
|
@@ -396,18 +430,9 @@ export interface SrcAddressInfo {
|
|
|
396
430
|
SrcIpv6?: string;
|
|
397
431
|
}
|
|
398
432
|
/**
|
|
399
|
-
*
|
|
433
|
+
* GetFlowAlarmInfo请求参数结构体
|
|
400
434
|
*/
|
|
401
|
-
export
|
|
402
|
-
/**
|
|
403
|
-
* 流量值(byte)
|
|
404
|
-
*/
|
|
405
|
-
Current?: number;
|
|
406
|
-
/**
|
|
407
|
-
* 时间点,单位:s
|
|
408
|
-
*/
|
|
409
|
-
Time?: string;
|
|
410
|
-
}
|
|
435
|
+
export declare type GetFlowAlarmInfoRequest = null;
|
|
411
436
|
/**
|
|
412
437
|
* CreateQos返回参数结构体
|
|
413
438
|
*/
|
|
@@ -836,6 +861,43 @@ export interface GetPublicKeyResponse {
|
|
|
836
861
|
*/
|
|
837
862
|
RequestId?: string;
|
|
838
863
|
}
|
|
864
|
+
/**
|
|
865
|
+
* GetFlowStatistic请求参数结构体
|
|
866
|
+
*/
|
|
867
|
+
export interface GetFlowStatisticRequest {
|
|
868
|
+
/**
|
|
869
|
+
* 设备ID
|
|
870
|
+
*/
|
|
871
|
+
DeviceId: string;
|
|
872
|
+
/**
|
|
873
|
+
* 开始查找时间
|
|
874
|
+
*/
|
|
875
|
+
BeginTime: number;
|
|
876
|
+
/**
|
|
877
|
+
* 截止时间
|
|
878
|
+
*/
|
|
879
|
+
EndTime: number;
|
|
880
|
+
/**
|
|
881
|
+
* 流量种类(1:上行流量,2:下行流量,3:上下行总和)
|
|
882
|
+
*/
|
|
883
|
+
Type: number;
|
|
884
|
+
/**
|
|
885
|
+
* 时间粒度(1:按小时统计,2:按天统计)
|
|
886
|
+
*/
|
|
887
|
+
TimeGranularity: number;
|
|
888
|
+
/**
|
|
889
|
+
* 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
|
|
890
|
+
*/
|
|
891
|
+
AccessRegion?: string;
|
|
892
|
+
/**
|
|
893
|
+
* 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
894
|
+
*/
|
|
895
|
+
GatewayType?: number;
|
|
896
|
+
/**
|
|
897
|
+
* 设备ID列表,用于查询多设备流量,该字段启用时DeviceId可传"-1"
|
|
898
|
+
*/
|
|
899
|
+
DeviceList?: Array<string>;
|
|
900
|
+
}
|
|
839
901
|
/**
|
|
840
902
|
* ActivateHardware请求参数结构体
|
|
841
903
|
*/
|
|
@@ -1059,60 +1121,59 @@ export interface ActivateHardwareResponse {
|
|
|
1059
1121
|
RequestId?: string;
|
|
1060
1122
|
}
|
|
1061
1123
|
/**
|
|
1062
|
-
*
|
|
1124
|
+
* 网络详细信息
|
|
1063
1125
|
*/
|
|
1064
|
-
export interface
|
|
1126
|
+
export interface NetDetails {
|
|
1065
1127
|
/**
|
|
1066
|
-
*
|
|
1067
|
-
DEVICE_1_FLOW_20G、DEVICE_2_FLOW_50G、
|
|
1068
|
-
DEVICE_3_FLOW_100G、
|
|
1069
|
-
DEVICE_5_FLOW_500G,分别代表20G、50G、100G、500G档位的流量包。
|
|
1070
|
-
档位也影响流量包可绑定的设备数量上限:
|
|
1071
|
-
20G:最多绑定1个设备
|
|
1072
|
-
50G:最多绑定2个设备
|
|
1073
|
-
100G:最多绑定3个设备
|
|
1074
|
-
500G:最多绑定5个设备
|
|
1128
|
+
* 流量值(byte)
|
|
1075
1129
|
*/
|
|
1076
|
-
|
|
1130
|
+
Current?: number;
|
|
1077
1131
|
/**
|
|
1078
|
-
*
|
|
1079
|
-
20G:最多绑定1个设备
|
|
1080
|
-
50G:最多绑定2个设备
|
|
1081
|
-
100G:最多绑定3个设备
|
|
1082
|
-
500G:最多绑定5个设备
|
|
1132
|
+
* 时间点,单位:s
|
|
1083
1133
|
*/
|
|
1084
|
-
|
|
1134
|
+
Time?: string;
|
|
1135
|
+
}
|
|
1136
|
+
/**
|
|
1137
|
+
* UpdateHardware返回参数结构体
|
|
1138
|
+
*/
|
|
1139
|
+
export interface UpdateHardwareResponse {
|
|
1085
1140
|
/**
|
|
1086
|
-
*
|
|
1141
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1087
1142
|
*/
|
|
1088
|
-
|
|
1143
|
+
RequestId?: string;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* GetFlowStatisticByGroup请求参数结构体
|
|
1147
|
+
*/
|
|
1148
|
+
export interface GetFlowStatisticByGroupRequest {
|
|
1089
1149
|
/**
|
|
1090
|
-
*
|
|
1150
|
+
* 分组ID
|
|
1091
1151
|
*/
|
|
1092
|
-
|
|
1152
|
+
GroupId: string;
|
|
1093
1153
|
/**
|
|
1094
|
-
*
|
|
1154
|
+
* 开始查找时间
|
|
1095
1155
|
*/
|
|
1096
|
-
|
|
1156
|
+
BeginTime: number;
|
|
1097
1157
|
/**
|
|
1098
|
-
*
|
|
1099
|
-
有多张券时的选择策略:按照可支付订单全部金额的券,先到期的券,可抵扣金额最大的券,余额最小的券,现金券 这个优先级进行扣券,且最多只抵扣一张券。
|
|
1158
|
+
* 截止时间
|
|
1100
1159
|
*/
|
|
1101
|
-
|
|
1160
|
+
EndTime: number;
|
|
1102
1161
|
/**
|
|
1103
|
-
*
|
|
1104
|
-
注:若指定的代金券不符合订单抵扣条件,则正常支付,不扣券
|
|
1162
|
+
* 流量种类(1:上行流量,2:下行流量, 3: 上下行总和)
|
|
1105
1163
|
*/
|
|
1106
|
-
|
|
1107
|
-
}
|
|
1108
|
-
/**
|
|
1109
|
-
* UpdateHardware返回参数结构体
|
|
1110
|
-
*/
|
|
1111
|
-
export interface UpdateHardwareResponse {
|
|
1164
|
+
Type: number;
|
|
1112
1165
|
/**
|
|
1113
|
-
*
|
|
1166
|
+
* 时间粒度(1:按小时统计,2:按天统计)
|
|
1114
1167
|
*/
|
|
1115
|
-
|
|
1168
|
+
TimeGranularity: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* 接入区域。取值范围:['MC','AP','EU','AM'] MC=中国大陆 AP=亚太 EU=欧洲 AM=美洲。不填代表全量区域。
|
|
1171
|
+
*/
|
|
1172
|
+
AccessRegion?: string;
|
|
1173
|
+
/**
|
|
1174
|
+
* 网关类型。0:公有云网关;1:自有网关。不传默认为0。
|
|
1175
|
+
*/
|
|
1176
|
+
GatewayType?: number;
|
|
1116
1177
|
}
|
|
1117
1178
|
/**
|
|
1118
1179
|
* 硬件信息
|
|
@@ -1332,6 +1393,31 @@ export interface AddHardwareRequest {
|
|
|
1332
1393
|
*/
|
|
1333
1394
|
Hardware: Array<Hardware>;
|
|
1334
1395
|
}
|
|
1396
|
+
/**
|
|
1397
|
+
* GetFlowStatisticByGroup返回参数结构体
|
|
1398
|
+
*/
|
|
1399
|
+
export interface GetFlowStatisticByGroupResponse {
|
|
1400
|
+
/**
|
|
1401
|
+
* 流量详细信息
|
|
1402
|
+
*/
|
|
1403
|
+
NetDetails?: Array<NetDetails>;
|
|
1404
|
+
/**
|
|
1405
|
+
* 查找时间段流量使用最大值(单位:byte)
|
|
1406
|
+
*/
|
|
1407
|
+
MaxValue?: number;
|
|
1408
|
+
/**
|
|
1409
|
+
* 查找时间段流量使用平均值(单位:byte)
|
|
1410
|
+
*/
|
|
1411
|
+
AvgValue?: number;
|
|
1412
|
+
/**
|
|
1413
|
+
* 查找时间段流量使用总量(单位:byte)
|
|
1414
|
+
*/
|
|
1415
|
+
TotalValue?: number;
|
|
1416
|
+
/**
|
|
1417
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1418
|
+
*/
|
|
1419
|
+
RequestId?: string;
|
|
1420
|
+
}
|
|
1335
1421
|
/**
|
|
1336
1422
|
* 新建Hardware入参
|
|
1337
1423
|
*/
|
|
@@ -9741,6 +9741,30 @@ export interface BizLicenseOCRResponse {
|
|
|
9741
9741
|
|
|
9742
9742
|
*/
|
|
9743
9743
|
Angle?: number;
|
|
9744
|
+
/**
|
|
9745
|
+
* 是否有国徽。0为没有,1为有。
|
|
9746
|
+
*/
|
|
9747
|
+
NationalEmblem?: boolean;
|
|
9748
|
+
/**
|
|
9749
|
+
* 是否有二维码。0为没有,1为有。
|
|
9750
|
+
*/
|
|
9751
|
+
QRCode?: boolean;
|
|
9752
|
+
/**
|
|
9753
|
+
* 是否有印章。0为没有,1为有。
|
|
9754
|
+
*/
|
|
9755
|
+
Seal?: boolean;
|
|
9756
|
+
/**
|
|
9757
|
+
* 标题
|
|
9758
|
+
*/
|
|
9759
|
+
Title?: string;
|
|
9760
|
+
/**
|
|
9761
|
+
* 编号
|
|
9762
|
+
*/
|
|
9763
|
+
SerialNumber?: string;
|
|
9764
|
+
/**
|
|
9765
|
+
* 登记机关
|
|
9766
|
+
*/
|
|
9767
|
+
RegistrationAuthority?: string;
|
|
9744
9768
|
/**
|
|
9745
9769
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9746
9770
|
*/
|
|
@@ -409,7 +409,7 @@ export interface DescribePvListResponse {
|
|
|
409
409
|
* pv列表
|
|
410
410
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
411
411
|
*/
|
|
412
|
-
ProjectPvSet
|
|
412
|
+
ProjectPvSet?: Array<RumPvInfo>;
|
|
413
413
|
/**
|
|
414
414
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
415
415
|
*/
|
|
@@ -796,11 +796,11 @@ export interface DescribeTawAreasResponse {
|
|
|
796
796
|
/**
|
|
797
797
|
* 片区总数
|
|
798
798
|
*/
|
|
799
|
-
TotalCount
|
|
799
|
+
TotalCount?: number;
|
|
800
800
|
/**
|
|
801
801
|
* 片区列表
|
|
802
802
|
*/
|
|
803
|
-
AreaSet
|
|
803
|
+
AreaSet?: Array<RumAreaInfo>;
|
|
804
804
|
/**
|
|
805
805
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
806
806
|
*/
|
|
@@ -2094,7 +2094,7 @@ export interface DescribeTawAreasRequest {
|
|
|
2094
2094
|
*/
|
|
2095
2095
|
AreaKeys?: Array<string>;
|
|
2096
2096
|
/**
|
|
2097
|
-
* 分页Limit
|
|
2097
|
+
* 分页Limit,默认根据AreaKeys和AreaStatuses参数查询所有。
|
|
2098
2098
|
*/
|
|
2099
2099
|
Limit?: number;
|
|
2100
2100
|
/**
|
|
@@ -2102,7 +2102,7 @@ export interface DescribeTawAreasRequest {
|
|
|
2102
2102
|
*/
|
|
2103
2103
|
AreaStatuses?: Array<number | bigint>;
|
|
2104
2104
|
/**
|
|
2105
|
-
* 分页Offset
|
|
2105
|
+
* 分页Offset,默认根据AreaKeys和AreaStatuses参数查询所有。
|
|
2106
2106
|
*/
|
|
2107
2107
|
Offset?: number;
|
|
2108
2108
|
}
|
|
@@ -3005,7 +3005,7 @@ export interface DescribePvListRequest {
|
|
|
3005
3005
|
*/
|
|
3006
3006
|
StartTime: string;
|
|
3007
3007
|
/**
|
|
3008
|
-
*
|
|
3008
|
+
* 对PV指标的查询维度。获取day:d, 获取min则不填。
|
|
3009
3009
|
*/
|
|
3010
3010
|
Dimension?: string;
|
|
3011
3011
|
}
|
|
@@ -92,7 +92,7 @@ export declare class Client extends AbstractClient {
|
|
|
92
92
|
*/
|
|
93
93
|
CompleteCertificate(req: CompleteCertificateRequest, cb?: (error: string, rep: CompleteCertificateResponse) => void): Promise<CompleteCertificateResponse>;
|
|
94
94
|
/**
|
|
95
|
-
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
95
|
+
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
96
96
|
*/
|
|
97
97
|
UpdateCertificateInstance(req: UpdateCertificateInstanceRequest, cb?: (error: string, rep: UpdateCertificateInstanceResponse) => void): Promise<UpdateCertificateInstanceResponse>;
|
|
98
98
|
/**
|
|
@@ -154,7 +154,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
154
154
|
return this.request("CompleteCertificate", req, cb);
|
|
155
155
|
}
|
|
156
156
|
/**
|
|
157
|
-
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
157
|
+
* 一键更新旧证书资源,本接口为异步接口, 调用之后DeployRecordId为0表示任务进行中, 重复请求这个接口, 当返回DeployRecordId大于0则表示任务创建成功。 未创建成功则会抛出异常
|
|
158
158
|
*/
|
|
159
159
|
async UpdateCertificateInstance(req, cb) {
|
|
160
160
|
return this.request("UpdateCertificateInstance", req, cb);
|
|
@@ -3595,6 +3595,7 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
|
|
|
3595
3595
|
Sample?: number;
|
|
3596
3596
|
/**
|
|
3597
3597
|
* 日志投递的输出格式。不填保持原有配置。
|
|
3598
|
+
特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
|
|
3598
3599
|
*/
|
|
3599
3600
|
LogFormat?: LogFormat;
|
|
3600
3601
|
/**
|