tencentcloud-sdk-nodejs 4.0.218 → 4.0.222
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 +880 -324
- package/package.json +1 -1
- package/products.md +30 -29
- package/src/common/sdk_version.ts +1 -1
- package/src/services/advisor/index.ts +5 -0
- package/src/services/advisor/v20200721/advisor_client.ts +58 -0
- package/src/services/advisor/v20200721/advisor_models.ts +197 -0
- package/src/services/advisor/v20200721/index.ts +6 -0
- package/src/services/as/v20180419/as_client.ts +30 -2
- package/src/services/as/v20180419/as_models.ts +44 -4
- package/src/services/cdb/v20170320/cdb_models.ts +5 -0
- package/src/services/cdn/v20180606/cdn_client.ts +105 -40
- package/src/services/cdn/v20180606/cdn_models.ts +844 -346
- package/src/services/clb/v20180317/clb_models.ts +20 -2
- package/src/services/cls/v20201016/cls_models.ts +2 -2
- package/src/services/cvm/v20170312/cvm_client.ts +1 -1
- package/src/services/cvm/v20170312/cvm_models.ts +2 -2
- package/src/services/cwp/v20180228/cwp_client.ts +33 -22
- package/src/services/cwp/v20180228/cwp_models.ts +252 -105
- package/src/services/ecm/v20190719/ecm_client.ts +16 -0
- package/src/services/ecm/v20190719/ecm_models.ts +160 -8
- package/src/services/eiam/v20210420/eiam_models.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_client.ts +14 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +81 -0
- package/src/services/faceid/v20180301/faceid_models.ts +5 -0
- package/src/services/gaap/v20180529/gaap_models.ts +5 -5
- package/src/services/ie/v20200304/ie_models.ts +1 -1
- package/src/services/index.ts +1 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +3 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +76 -1
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +1 -0
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +35 -0
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +1 -0
- package/src/services/mrs/v20200910/mrs_client.ts +11 -7
- package/src/services/mrs/v20200910/mrs_models.ts +321 -97
- package/src/services/organization/v20210331/organization_client.ts +12 -0
- package/src/services/organization/v20210331/organization_models.ts +50 -0
- package/src/services/postgres/v20170312/postgres_client.ts +48 -8
- package/src/services/postgres/v20170312/postgres_models.ts +300 -12
- package/src/services/rce/v20201103/rce_models.ts +19 -96
- package/src/services/scf/v20180416/scf_client.ts +1 -0
- package/src/services/scf/v20180416/scf_models.ts +34 -0
- package/src/services/tcb/v20180608/tcb_client.ts +31 -5
- package/src/services/tcb/v20180608/tcb_models.ts +462 -189
- package/src/services/tcr/v20190924/tcr_models.ts +15 -0
- package/src/services/tdmq/v20200217/tdmq_models.ts +79 -1
- package/src/services/tsf/v20180326/tsf_client.ts +57 -32
- package/src/services/tsf/v20180326/tsf_models.ts +137 -51
- package/src/services/vpc/v20170312/vpc_client.ts +3 -1
- package/src/services/vpc/v20170312/vpc_models.ts +86 -22
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/advisor/index.d.ts +6 -0
- package/tencentcloud/services/advisor/index.js +7 -0
- package/tencentcloud/services/advisor/v20200721/advisor_client.d.ts +18 -0
- package/tencentcloud/services/advisor/v20200721/advisor_client.js +43 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.d.ts +155 -0
- package/tencentcloud/services/advisor/v20200721/advisor_models.js +18 -0
- package/tencentcloud/services/advisor/v20200721/index.d.ts +6 -0
- package/tencentcloud/services/advisor/v20200721/index.js +9 -0
- package/tencentcloud/services/as/v20180419/as_client.d.ts +28 -0
- package/tencentcloud/services/as/v20180419/as_client.js +28 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +36 -4
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +29 -9
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +42 -12
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +731 -307
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +16 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +2 -2
- 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 +2 -2
- package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +11 -9
- package/tencentcloud/services/cwp/v20180228/cwp_client.js +15 -11
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +214 -88
- package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +5 -1
- package/tencentcloud/services/ecm/v20190719/ecm_client.js +6 -0
- package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +137 -8
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +6 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +70 -0
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +4 -0
- package/tencentcloud/services/gaap/v20180529/gaap_models.d.ts +5 -5
- package/tencentcloud/services/ie/v20200304/ie_models.d.ts +1 -1
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +1 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +64 -1
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +29 -0
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_client.js +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mrs/v20200910/mrs_client.d.ts +1 -1
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +275 -85
- package/tencentcloud/services/organization/v20210331/organization_client.d.ts +5 -1
- package/tencentcloud/services/organization/v20210331/organization_client.js +6 -0
- package/tencentcloud/services/organization/v20210331/organization_models.d.ts +42 -0
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +15 -3
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +21 -3
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +258 -12
- package/tencentcloud/services/rce/v20201103/rce_models.d.ts +13 -90
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +29 -0
- package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +9 -1
- package/tencentcloud/services/tcb/v20180608/tcb_client.js +12 -0
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +387 -157
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +12 -0
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +65 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +19 -11
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +27 -15
- package/tencentcloud/services/tsf/v20180326/tsf_models.d.ts +120 -46
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +75 -21
- package/test/advisor.v20200721.test.js +41 -0
- package/test/cdn.v20180606.test.js +58 -8
- package/test/cwp.v20180228.test.js +22 -12
- package/test/ecm.v20190719.test.js +10 -0
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/organization.v20210331.test.js +10 -0
- package/test/postgres.v20170312.test.js +32 -2
- package/test/tcb.v20180608.test.js +20 -0
- package/test/tsf.v20180326.test.js +36 -16
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
DescribeNetworkInterfacesRequest,
|
|
28
28
|
CreateSecurityGroupPoliciesResponse,
|
|
29
29
|
DescribeMonthPeakNetworkRequest,
|
|
30
|
+
SystemDisk,
|
|
30
31
|
DescribeNodeResponse,
|
|
31
32
|
DescribeModuleRequest,
|
|
32
33
|
RebootInstancesRequest,
|
|
@@ -84,6 +85,7 @@ import {
|
|
|
84
85
|
NetworkInterface,
|
|
85
86
|
DescribeVpcsResponse,
|
|
86
87
|
ModifySecurityGroupAttributeRequest,
|
|
88
|
+
DescribePackingQuotaGroupResponse,
|
|
87
89
|
LoadBalancer,
|
|
88
90
|
ModifyModuleNameResponse,
|
|
89
91
|
DescribePeakBaseOverviewRequest,
|
|
@@ -102,6 +104,7 @@ import {
|
|
|
102
104
|
DescribeCustomImageTaskResponse,
|
|
103
105
|
ISPCounter,
|
|
104
106
|
CreateModuleResponse,
|
|
107
|
+
DescribePackingQuotaGroupRequest,
|
|
105
108
|
SecurityGroupPolicy,
|
|
106
109
|
TerminateDisksResponse,
|
|
107
110
|
LoadBalancerHealth,
|
|
@@ -213,6 +216,7 @@ import {
|
|
|
213
216
|
DeleteModuleRequest,
|
|
214
217
|
DisableRoutesResponse,
|
|
215
218
|
DescribeConfigResponse,
|
|
219
|
+
DataDisk,
|
|
216
220
|
ModifyVpcAttributeResponse,
|
|
217
221
|
PrivateIpAddressSpecification,
|
|
218
222
|
MigratePrivateIpAddressResponse,
|
|
@@ -308,6 +312,7 @@ import {
|
|
|
308
312
|
InstanceFamilyConfig,
|
|
309
313
|
ModifySecurityGroupPoliciesResponse,
|
|
310
314
|
ServiceTemplateSpecification,
|
|
315
|
+
PackingQuotaInfo,
|
|
311
316
|
Image,
|
|
312
317
|
DetachNetworkInterfaceRequest,
|
|
313
318
|
ModifyTargetWeightRequest,
|
|
@@ -350,6 +355,7 @@ import {
|
|
|
350
355
|
DescribeImageResponse,
|
|
351
356
|
ListenerBackend,
|
|
352
357
|
RegionInfo,
|
|
358
|
+
PackingQuotaGroup,
|
|
353
359
|
DescribeNetworkInterfacesResponse,
|
|
354
360
|
EnableRoutesResponse,
|
|
355
361
|
AssignPrivateIpAddressesRequest,
|
|
@@ -1115,6 +1121,16 @@ EIP 如果被封堵,则不能进行解绑定操作。
|
|
|
1115
1121
|
return this.request("ModifySubnetAttribute", req, cb)
|
|
1116
1122
|
}
|
|
1117
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* 使用本接口获取某种机型在某些区域的装箱配额(当使用虚拟机型时,返回的是一组相互关联的装箱配额)。
|
|
1126
|
+
*/
|
|
1127
|
+
async DescribePackingQuotaGroup(
|
|
1128
|
+
req: DescribePackingQuotaGroupRequest,
|
|
1129
|
+
cb?: (error: string, rep: DescribePackingQuotaGroupResponse) => void
|
|
1130
|
+
): Promise<DescribePackingQuotaGroupResponse> {
|
|
1131
|
+
return this.request("DescribePackingQuotaGroup", req, cb)
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1118
1134
|
/**
|
|
1119
1135
|
* 查询弹性网卡列表
|
|
1120
1136
|
*/
|
|
@@ -198,6 +198,29 @@ export interface DescribeMonthPeakNetworkRequest {
|
|
|
198
198
|
Filters?: Array<Filter>
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
+
/**
|
|
202
|
+
* 用于描述系统盘。
|
|
203
|
+
*/
|
|
204
|
+
export interface SystemDisk {
|
|
205
|
+
/**
|
|
206
|
+
* 硬盘类型。取值范围:
|
|
207
|
+
- LOCAL_BASIC:本地硬盘;
|
|
208
|
+
- CLOUD_PREMIUM:高性能云硬盘;
|
|
209
|
+
默认取值:CLOUD_BASIC。
|
|
210
|
+
*/
|
|
211
|
+
DiskType?: string
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* 硬盘ID。此参数暂不可用。
|
|
215
|
+
*/
|
|
216
|
+
DiskId?: string
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* 硬盘容量大小。单位GB。
|
|
220
|
+
*/
|
|
221
|
+
DiskSize?: number
|
|
222
|
+
}
|
|
223
|
+
|
|
201
224
|
/**
|
|
202
225
|
* DescribeNode返回参数结构体
|
|
203
226
|
*/
|
|
@@ -1108,42 +1131,42 @@ PROTECTIVELY_ISOLATED:表示被安全隔离的实例。
|
|
|
1108
1131
|
*/
|
|
1109
1132
|
export interface Node {
|
|
1110
1133
|
/**
|
|
1111
|
-
* zone
|
|
1134
|
+
* zone信息。
|
|
1112
1135
|
*/
|
|
1113
1136
|
ZoneInfo: ZoneInfo
|
|
1114
1137
|
|
|
1115
1138
|
/**
|
|
1116
|
-
*
|
|
1139
|
+
* 国家信息。
|
|
1117
1140
|
*/
|
|
1118
1141
|
Country: Country
|
|
1119
1142
|
|
|
1120
1143
|
/**
|
|
1121
|
-
*
|
|
1144
|
+
* 区域信息。
|
|
1122
1145
|
*/
|
|
1123
1146
|
Area: Area
|
|
1124
1147
|
|
|
1125
1148
|
/**
|
|
1126
|
-
*
|
|
1149
|
+
* 省份信息。
|
|
1127
1150
|
*/
|
|
1128
1151
|
Province: Province
|
|
1129
1152
|
|
|
1130
1153
|
/**
|
|
1131
|
-
*
|
|
1154
|
+
* 城市信息。
|
|
1132
1155
|
*/
|
|
1133
1156
|
City: City
|
|
1134
1157
|
|
|
1135
1158
|
/**
|
|
1136
|
-
* Region
|
|
1159
|
+
* Region信息。
|
|
1137
1160
|
*/
|
|
1138
1161
|
RegionInfo: RegionInfo
|
|
1139
1162
|
|
|
1140
1163
|
/**
|
|
1141
|
-
*
|
|
1164
|
+
* 运营商列表。
|
|
1142
1165
|
*/
|
|
1143
1166
|
ISPSet: Array<ISP>
|
|
1144
1167
|
|
|
1145
1168
|
/**
|
|
1146
|
-
*
|
|
1169
|
+
* 运营商数量。
|
|
1147
1170
|
*/
|
|
1148
1171
|
ISPNum: number
|
|
1149
1172
|
}
|
|
@@ -1749,6 +1772,21 @@ export interface ModifySecurityGroupAttributeRequest {
|
|
|
1749
1772
|
GroupDescription?: string
|
|
1750
1773
|
}
|
|
1751
1774
|
|
|
1775
|
+
/**
|
|
1776
|
+
* DescribePackingQuotaGroup返回参数结构体
|
|
1777
|
+
*/
|
|
1778
|
+
export interface DescribePackingQuotaGroupResponse {
|
|
1779
|
+
/**
|
|
1780
|
+
* 装箱配额组
|
|
1781
|
+
*/
|
|
1782
|
+
PackingQuotaSet?: Array<PackingQuotaGroup>
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1786
|
+
*/
|
|
1787
|
+
RequestId?: string
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1752
1790
|
/**
|
|
1753
1791
|
* 负载均衡实例信息
|
|
1754
1792
|
*/
|
|
@@ -2198,6 +2236,16 @@ export interface CreateModuleResponse {
|
|
|
2198
2236
|
RequestId?: string
|
|
2199
2237
|
}
|
|
2200
2238
|
|
|
2239
|
+
/**
|
|
2240
|
+
* DescribePackingQuotaGroup请求参数结构体
|
|
2241
|
+
*/
|
|
2242
|
+
export interface DescribePackingQuotaGroupRequest {
|
|
2243
|
+
/**
|
|
2244
|
+
* 过滤条件,name取值为:Zone-可用区, InstanceType-实例类型,DataDiskSize - 数据盘大小
|
|
2245
|
+
*/
|
|
2246
|
+
Filters?: Array<Filter>
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2201
2249
|
/**
|
|
2202
2250
|
* 安全组规则对象
|
|
2203
2251
|
*/
|
|
@@ -3635,6 +3683,16 @@ false:表示开通IP直通
|
|
|
3635
3683
|
* 是否禁止分配外网IP
|
|
3636
3684
|
*/
|
|
3637
3685
|
DisableWanIp?: boolean
|
|
3686
|
+
|
|
3687
|
+
/**
|
|
3688
|
+
* 系统盘信息。
|
|
3689
|
+
*/
|
|
3690
|
+
SystemDisk?: SystemDisk
|
|
3691
|
+
|
|
3692
|
+
/**
|
|
3693
|
+
* 数据盘信息。
|
|
3694
|
+
*/
|
|
3695
|
+
DataDisks?: Array<DataDisk>
|
|
3638
3696
|
}
|
|
3639
3697
|
|
|
3640
3698
|
/**
|
|
@@ -3775,6 +3833,16 @@ DELETEFAILED:删除失败。
|
|
|
3775
3833
|
* 自定义脚本数据
|
|
3776
3834
|
*/
|
|
3777
3835
|
UserData: string
|
|
3836
|
+
|
|
3837
|
+
/**
|
|
3838
|
+
* 系统盘信息。
|
|
3839
|
+
*/
|
|
3840
|
+
SystemDisk: SystemDisk
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* 数据盘信息。
|
|
3844
|
+
*/
|
|
3845
|
+
DataDisks: Array<DataDisk>
|
|
3778
3846
|
}
|
|
3779
3847
|
|
|
3780
3848
|
/**
|
|
@@ -4308,6 +4376,16 @@ FALSE:表示不保持镜像的登录设置
|
|
|
4308
4376
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4309
4377
|
*/
|
|
4310
4378
|
KeepImageLogin?: string
|
|
4379
|
+
|
|
4380
|
+
/**
|
|
4381
|
+
* 系统盘信息。
|
|
4382
|
+
*/
|
|
4383
|
+
SystemDisk?: SystemDisk
|
|
4384
|
+
|
|
4385
|
+
/**
|
|
4386
|
+
* 数据盘信息。
|
|
4387
|
+
*/
|
|
4388
|
+
DataDisks?: Array<DataDisk>
|
|
4311
4389
|
}
|
|
4312
4390
|
|
|
4313
4391
|
/**
|
|
@@ -4524,6 +4602,21 @@ export interface ModifyModuleConfigRequest {
|
|
|
4524
4602
|
* 默认数据盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。
|
|
4525
4603
|
*/
|
|
4526
4604
|
DefaultDataDiskSize: number
|
|
4605
|
+
|
|
4606
|
+
/**
|
|
4607
|
+
* 默认系统盘大小,单位:G。范围不得超过数据盘范围大小,详看DescribeConfig。
|
|
4608
|
+
*/
|
|
4609
|
+
DefaultSystemDiskSize?: number
|
|
4610
|
+
|
|
4611
|
+
/**
|
|
4612
|
+
* 系统盘
|
|
4613
|
+
*/
|
|
4614
|
+
SystemDisk?: SystemDisk
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* 数据盘
|
|
4618
|
+
*/
|
|
4619
|
+
DataDisks?: Array<DataDisk>
|
|
4527
4620
|
}
|
|
4528
4621
|
|
|
4529
4622
|
/**
|
|
@@ -4933,6 +5026,25 @@ export interface DescribeConfigResponse {
|
|
|
4933
5026
|
RequestId?: string
|
|
4934
5027
|
}
|
|
4935
5028
|
|
|
5029
|
+
/**
|
|
5030
|
+
* 描述了数据盘的信息
|
|
5031
|
+
*/
|
|
5032
|
+
export interface DataDisk {
|
|
5033
|
+
/**
|
|
5034
|
+
* 数据盘大小。单位GB。
|
|
5035
|
+
*/
|
|
5036
|
+
DiskSize: number
|
|
5037
|
+
|
|
5038
|
+
/**
|
|
5039
|
+
* 数据盘类型,取值范围:
|
|
5040
|
+
- LOCAL_BASIC:本地硬盘
|
|
5041
|
+
- CLOUD_PREMIUM:高性能云硬盘
|
|
5042
|
+
|
|
5043
|
+
默认取值: LOCAL_BASIC。
|
|
5044
|
+
*/
|
|
5045
|
+
DiskType?: string
|
|
5046
|
+
}
|
|
5047
|
+
|
|
4936
5048
|
/**
|
|
4937
5049
|
* ModifyVpcAttribute返回参数结构体
|
|
4938
5050
|
*/
|
|
@@ -6874,6 +6986,21 @@ export interface ServiceTemplateSpecification {
|
|
|
6874
6986
|
ServiceGroupId: string
|
|
6875
6987
|
}
|
|
6876
6988
|
|
|
6989
|
+
/**
|
|
6990
|
+
* 一组相关联的装箱配额信息
|
|
6991
|
+
*/
|
|
6992
|
+
export interface PackingQuotaInfo {
|
|
6993
|
+
/**
|
|
6994
|
+
* 实例类型
|
|
6995
|
+
*/
|
|
6996
|
+
InstanceType: string
|
|
6997
|
+
|
|
6998
|
+
/**
|
|
6999
|
+
* 装箱配额
|
|
7000
|
+
*/
|
|
7001
|
+
PackingQuota: number
|
|
7002
|
+
}
|
|
7003
|
+
|
|
6877
7004
|
/**
|
|
6878
7005
|
* 镜像信息
|
|
6879
7006
|
*/
|
|
@@ -7794,6 +7921,31 @@ export interface RegionInfo {
|
|
|
7794
7921
|
RegionId: number
|
|
7795
7922
|
}
|
|
7796
7923
|
|
|
7924
|
+
/**
|
|
7925
|
+
* 一组相互关联的装箱配额,以实例类型的优先级排序,优先级高的在前
|
|
7926
|
+
*/
|
|
7927
|
+
export interface PackingQuotaGroup {
|
|
7928
|
+
/**
|
|
7929
|
+
* 可用区
|
|
7930
|
+
*/
|
|
7931
|
+
Zone: string
|
|
7932
|
+
|
|
7933
|
+
/**
|
|
7934
|
+
* 可用区id
|
|
7935
|
+
*/
|
|
7936
|
+
ZoneId: number
|
|
7937
|
+
|
|
7938
|
+
/**
|
|
7939
|
+
* ISP id
|
|
7940
|
+
*/
|
|
7941
|
+
ISPId: string
|
|
7942
|
+
|
|
7943
|
+
/**
|
|
7944
|
+
* 一组相互关联的装箱配额
|
|
7945
|
+
*/
|
|
7946
|
+
PackingQuotaInfos: Array<PackingQuotaInfo>
|
|
7947
|
+
}
|
|
7948
|
+
|
|
7797
7949
|
/**
|
|
7798
7950
|
* DescribeNetworkInterfaces返回参数结构体
|
|
7799
7951
|
*/
|
|
@@ -1386,7 +1386,7 @@ export interface ListUsersRequest {
|
|
|
1386
1386
|
ExpectedFields?: Array<string>
|
|
1387
1387
|
|
|
1388
1388
|
/**
|
|
1389
|
-
* 排序条件集合。可排序的属性支持:用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime
|
|
1389
|
+
* 排序条件集合。可排序的属性支持:用户名字(UserName)、手机号(Phone)、邮箱(Email)、用户状态(Status)、创建时间 (CreationTime)、上次修改时间(LastUpdateTime)、上次登录时间(LastLoginTime)。如果不指定,则默认按照用户昵称(DisplayName)正向排序。
|
|
1390
1390
|
*/
|
|
1391
1391
|
Sort?: SortCondition
|
|
1392
1392
|
|
|
@@ -18,19 +18,23 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
ResourceUrlInfo,
|
|
21
22
|
SyncProxyOrganizationResponse,
|
|
22
23
|
FlowApproverInfo,
|
|
23
24
|
PrepareFlowsResponse,
|
|
24
25
|
TemplateInfo,
|
|
26
|
+
DescribeResourceUrlsByFlowsResponse,
|
|
25
27
|
DescribeTemplatesResponse,
|
|
26
28
|
SyncProxyOrganizationOperatorsRequest,
|
|
27
29
|
CreateSignUrlsRequest,
|
|
30
|
+
DescribeResourceUrlsByFlowsRequest,
|
|
28
31
|
Component,
|
|
29
32
|
SignUrlInfo,
|
|
30
33
|
CreateConsoleLoginUrlRequest,
|
|
31
34
|
CreateFlowsByTemplatesResponse,
|
|
32
35
|
ProxyOrganizationOperator,
|
|
33
36
|
SyncProxyOrganizationOperatorsResponse,
|
|
37
|
+
FlowResourceUrlInfo,
|
|
34
38
|
DescribeTemplatesRequest,
|
|
35
39
|
CreateConsoleLoginUrlResponse,
|
|
36
40
|
CreateFlowsByTemplatesRequest,
|
|
@@ -119,6 +123,16 @@ export class Client extends AbstractClient {
|
|
|
119
123
|
return this.request("DescribeUsage", req, cb)
|
|
120
124
|
}
|
|
121
125
|
|
|
126
|
+
/**
|
|
127
|
+
* 根据流程信息批量获取资源下载链接
|
|
128
|
+
*/
|
|
129
|
+
async DescribeResourceUrlsByFlows(
|
|
130
|
+
req: DescribeResourceUrlsByFlowsRequest,
|
|
131
|
+
cb?: (error: string, rep: DescribeResourceUrlsByFlowsResponse) => void
|
|
132
|
+
): Promise<DescribeResourceUrlsByFlowsResponse> {
|
|
133
|
+
return this.request("DescribeResourceUrlsByFlows", req, cb)
|
|
134
|
+
}
|
|
135
|
+
|
|
122
136
|
/**
|
|
123
137
|
* 此接口(SyncProxyOrganization)用于同步渠道侧企业信息
|
|
124
138
|
*/
|
|
@@ -15,6 +15,29 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* 资源链接信息
|
|
20
|
+
*/
|
|
21
|
+
export interface ResourceUrlInfo {
|
|
22
|
+
/**
|
|
23
|
+
* 资源链接地址,过期时间5分钟
|
|
24
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
25
|
+
*/
|
|
26
|
+
Url: string
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* 资源名称
|
|
30
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
31
|
+
*/
|
|
32
|
+
Name: string
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* 资源类型
|
|
36
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
37
|
+
*/
|
|
38
|
+
Type: string
|
|
39
|
+
}
|
|
40
|
+
|
|
18
41
|
/**
|
|
19
42
|
* SyncProxyOrganization返回参数结构体
|
|
20
43
|
*/
|
|
@@ -135,6 +158,27 @@ export interface TemplateInfo {
|
|
|
135
158
|
Recipients: Array<Recipient>
|
|
136
159
|
}
|
|
137
160
|
|
|
161
|
+
/**
|
|
162
|
+
* DescribeResourceUrlsByFlows返回参数结构体
|
|
163
|
+
*/
|
|
164
|
+
export interface DescribeResourceUrlsByFlowsResponse {
|
|
165
|
+
/**
|
|
166
|
+
* 流程资源对应链接信息
|
|
167
|
+
*/
|
|
168
|
+
FlowResourceUrlInfos: Array<FlowResourceUrlInfo>
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* 创建消息,对应多个合同ID,
|
|
172
|
+
成功为“”,创建失败则对应失败消息
|
|
173
|
+
*/
|
|
174
|
+
ErrorMessages: Array<string>
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
178
|
+
*/
|
|
179
|
+
RequestId?: string
|
|
180
|
+
}
|
|
181
|
+
|
|
138
182
|
/**
|
|
139
183
|
* DescribeTemplates返回参数结构体
|
|
140
184
|
*/
|
|
@@ -205,6 +249,26 @@ export interface CreateSignUrlsRequest {
|
|
|
205
249
|
JumpUrl?: string
|
|
206
250
|
}
|
|
207
251
|
|
|
252
|
+
/**
|
|
253
|
+
* DescribeResourceUrlsByFlows请求参数结构体
|
|
254
|
+
*/
|
|
255
|
+
export interface DescribeResourceUrlsByFlowsRequest {
|
|
256
|
+
/**
|
|
257
|
+
* 渠道应用相关信息
|
|
258
|
+
*/
|
|
259
|
+
Agent: Agent
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* 操作者的信息
|
|
263
|
+
*/
|
|
264
|
+
Operator?: UserInfo
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* 查询资源所对应的流程Id
|
|
268
|
+
*/
|
|
269
|
+
FlowIds?: Array<string>
|
|
270
|
+
}
|
|
271
|
+
|
|
208
272
|
/**
|
|
209
273
|
* 此结构体 (Component) 用于描述控件属性。
|
|
210
274
|
*/
|
|
@@ -523,6 +587,23 @@ export interface SyncProxyOrganizationOperatorsResponse {
|
|
|
523
587
|
RequestId?: string
|
|
524
588
|
}
|
|
525
589
|
|
|
590
|
+
/**
|
|
591
|
+
* 流程对应资源链接信息
|
|
592
|
+
*/
|
|
593
|
+
export interface FlowResourceUrlInfo {
|
|
594
|
+
/**
|
|
595
|
+
* 流程对应Id
|
|
596
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
597
|
+
*/
|
|
598
|
+
FlowId: string
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* 流程对应资源链接信息数组
|
|
602
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
603
|
+
*/
|
|
604
|
+
ResourceUrlInfos: Array<ResourceUrlInfo>
|
|
605
|
+
}
|
|
606
|
+
|
|
526
607
|
/**
|
|
527
608
|
* DescribeTemplates请求参数结构体
|
|
528
609
|
*/
|
|
@@ -627,6 +627,11 @@ export interface GetEidTokenRequest {
|
|
|
627
627
|
* 最长长度1024位。用户从Url中进入核身认证结束后重定向的回调链接地址。EidToken会在该链接的query参数中。
|
|
628
628
|
*/
|
|
629
629
|
RedirectUrl?: string
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* 敏感数据加密信息。对传入信息(姓名、身份证号)有加密需求的用户可使用此参数,详情请点击左侧链接。
|
|
633
|
+
*/
|
|
634
|
+
Encryption?: Encryption
|
|
630
635
|
}
|
|
631
636
|
|
|
632
637
|
/**
|
|
@@ -1810,7 +1810,7 @@ IPAddressVersion - String - 是否必填:否 - (过滤条件)按照IP版
|
|
|
1810
1810
|
|
|
1811
1811
|
/**
|
|
1812
1812
|
* 输出通道列表的排列顺序。取值范围:
|
|
1813
|
-
asc
|
|
1813
|
+
asc:升序排列;
|
|
1814
1814
|
desc:降序排列。
|
|
1815
1815
|
默认为降序。
|
|
1816
1816
|
*/
|
|
@@ -1818,10 +1818,10 @@ desc:降序排列。
|
|
|
1818
1818
|
|
|
1819
1819
|
/**
|
|
1820
1820
|
* 通道列表排序的依据字段。取值范围:
|
|
1821
|
-
create_time
|
|
1822
|
-
proxy_id:依据通道的ID
|
|
1823
|
-
bandwidth
|
|
1824
|
-
concurrent_connections
|
|
1821
|
+
create_time:依据通道的创建时间排序;
|
|
1822
|
+
proxy_id:依据通道的ID排序;
|
|
1823
|
+
bandwidth:依据通道带宽上限排序;
|
|
1824
|
+
concurrent_connections:依据通道并发排序;
|
|
1825
1825
|
默认按通道创建时间排序。
|
|
1826
1826
|
*/
|
|
1827
1827
|
OrderField?: string
|
package/src/services/index.ts
CHANGED
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
ModifyModelDefinitionRequest,
|
|
39
39
|
CreateStudioProductResponse,
|
|
40
40
|
CallDeviceActionSyncRequest,
|
|
41
|
+
ProductDevicesPositionItem,
|
|
41
42
|
DescribeDevicePositionListRequest,
|
|
42
43
|
GetDeviceLocationHistoryResponse,
|
|
43
44
|
UpdateFirmwareResponse,
|
|
@@ -54,6 +55,7 @@ import {
|
|
|
54
55
|
SearchTopicRuleRequest,
|
|
55
56
|
DescribeDeviceDataRequest,
|
|
56
57
|
FenceBindProductItem,
|
|
58
|
+
DevicePositionItem,
|
|
57
59
|
ListTopicPolicyResponse,
|
|
58
60
|
SearchPositionSpaceResponse,
|
|
59
61
|
DescribePositionFenceListResponse,
|
|
@@ -744,7 +746,7 @@ export class Client extends AbstractClient {
|
|
|
744
746
|
* 获取设备位置列表
|
|
745
747
|
*/
|
|
746
748
|
async DescribeDevicePositionList(
|
|
747
|
-
req
|
|
749
|
+
req: DescribeDevicePositionListRequest,
|
|
748
750
|
cb?: (error: string, rep: DescribeDevicePositionListResponse) => void
|
|
749
751
|
): Promise<DescribeDevicePositionListResponse> {
|
|
750
752
|
return this.request("DescribeDevicePositionList", req, cb)
|
|
@@ -399,10 +399,50 @@ export interface CallDeviceActionSyncRequest {
|
|
|
399
399
|
InputParams?: string
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
+
/**
|
|
403
|
+
* 产品设备位置信息
|
|
404
|
+
*/
|
|
405
|
+
export interface ProductDevicesPositionItem {
|
|
406
|
+
/**
|
|
407
|
+
* 设备位置列表
|
|
408
|
+
*/
|
|
409
|
+
Items: Array<DevicePositionItem>
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* 产品标识
|
|
413
|
+
*/
|
|
414
|
+
ProductId: string
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* 设备位置数量
|
|
418
|
+
*/
|
|
419
|
+
Total: number
|
|
420
|
+
}
|
|
421
|
+
|
|
402
422
|
/**
|
|
403
423
|
* DescribeDevicePositionList请求参数结构体
|
|
404
424
|
*/
|
|
405
|
-
export
|
|
425
|
+
export interface DescribeDevicePositionListRequest {
|
|
426
|
+
/**
|
|
427
|
+
* 产品标识列表
|
|
428
|
+
*/
|
|
429
|
+
ProductIdList: Array<string>
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* 坐标类型
|
|
433
|
+
*/
|
|
434
|
+
CoordinateType?: number
|
|
435
|
+
|
|
436
|
+
/**
|
|
437
|
+
* 分页偏移
|
|
438
|
+
*/
|
|
439
|
+
Offset?: number
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* 分页的大小
|
|
443
|
+
*/
|
|
444
|
+
Limit?: number
|
|
445
|
+
}
|
|
406
446
|
|
|
407
447
|
/**
|
|
408
448
|
* GetDeviceLocationHistory返回参数结构体
|
|
@@ -731,6 +771,31 @@ export interface FenceBindProductItem {
|
|
|
731
771
|
ProductId: string
|
|
732
772
|
}
|
|
733
773
|
|
|
774
|
+
/**
|
|
775
|
+
* 设备位置详情
|
|
776
|
+
*/
|
|
777
|
+
export interface DevicePositionItem {
|
|
778
|
+
/**
|
|
779
|
+
* 设备名称
|
|
780
|
+
*/
|
|
781
|
+
DeviceName: string
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* 位置信息时间
|
|
785
|
+
*/
|
|
786
|
+
CreateTime: number
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* 设备经度信息
|
|
790
|
+
*/
|
|
791
|
+
Longitude: number
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* 设备纬度信息
|
|
795
|
+
*/
|
|
796
|
+
Latitude: number
|
|
797
|
+
}
|
|
798
|
+
|
|
734
799
|
/**
|
|
735
800
|
* ListTopicPolicy返回参数结构体
|
|
736
801
|
*/
|
|
@@ -824,6 +889,16 @@ export interface GetDeviceLocationHistoryRequest {
|
|
|
824
889
|
* DescribeDevicePositionList返回参数结构体
|
|
825
890
|
*/
|
|
826
891
|
export interface DescribeDevicePositionListResponse {
|
|
892
|
+
/**
|
|
893
|
+
* 产品设备位置信息列表
|
|
894
|
+
*/
|
|
895
|
+
Positions: Array<ProductDevicesPositionItem>
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* 产品设备位置信息的数目
|
|
899
|
+
*/
|
|
900
|
+
Total: number
|
|
901
|
+
|
|
827
902
|
/**
|
|
828
903
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
829
904
|
*/
|