tencentcloud-sdk-nodejs 4.0.516 → 4.0.517
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 +243 -0
- package/SERVICE_CHANGELOG.md +338 -296
- package/package.json +1 -1
- package/products.md +9 -8
- package/src/common/sdk_version.ts +1 -1
- package/src/services/api/v20201106/api_models.ts +63 -3
- package/src/services/cdn/v20180606/cdn_models.ts +12 -2
- package/src/services/dts/v20211206/dts_client.ts +71 -34
- package/src/services/dts/v20211206/dts_models.ts +285 -116
- package/src/services/faceid/v20180301/faceid_client.ts +1 -14
- package/src/services/faceid/v20180301/faceid_models.ts +25 -65
- package/src/services/hasim/index.ts +5 -0
- package/src/services/hasim/v20210716/hasim_client.ts +309 -0
- package/src/services/hasim/v20210716/hasim_models.ts +1833 -0
- package/src/services/hasim/v20210716/index.ts +6 -0
- package/src/services/index.ts +1 -0
- package/src/services/mongodb/v20190725/mongodb_client.ts +3 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +3 -3
- package/src/services/rum/v20210622/rum_client.ts +19 -7
- package/src/services/rum/v20210622/rum_models.ts +64 -4
- package/src/services/ssa/v20180608/ssa_client.ts +106 -94
- package/src/services/ssa/v20180608/ssa_models.ts +188 -130
- package/src/services/vpc/v20170312/vpc_client.ts +226 -77
- package/src/services/vpc/v20170312/vpc_models.ts +726 -168
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/api/v20201106/api_models.d.ts +53 -3
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +10 -2
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +25 -13
- package/tencentcloud/services/dts/v20211206/dts_client.js +36 -18
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +248 -103
- package/tencentcloud/services/faceid/v20180301/faceid_client.d.ts +1 -6
- package/tencentcloud/services/faceid/v20180301/faceid_client.js +0 -7
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +22 -56
- package/tencentcloud/services/hasim/index.d.ts +6 -0
- package/tencentcloud/services/hasim/index.js +7 -0
- package/tencentcloud/services/hasim/v20210716/hasim_client.d.ts +98 -0
- package/tencentcloud/services/hasim/v20210716/hasim_client.js +163 -0
- package/tencentcloud/services/hasim/v20210716/hasim_models.d.ts +1536 -0
- package/tencentcloud/services/hasim/v20210716/hasim_models.js +18 -0
- package/tencentcloud/services/hasim/v20210716/index.d.ts +6 -0
- package/tencentcloud/services/hasim/v20210716/index.js +9 -0
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +3 -3
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +3 -3
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +7 -3
- package/tencentcloud/services/rum/v20210622/rum_client.js +9 -3
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +54 -4
- package/tencentcloud/services/ssa/v20180608/ssa_client.d.ts +37 -33
- package/tencentcloud/services/ssa/v20180608/ssa_client.js +54 -48
- package/tencentcloud/services/ssa/v20180608/ssa_models.d.ts +158 -109
- package/tencentcloud/services/vpc/v20170312/vpc_client.d.ts +82 -34
- package/tencentcloud/services/vpc/v20170312/vpc_client.js +113 -41
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +636 -159
- package/test/dts.v20211206.test.js +46 -16
- package/test/faceid.v20180301.test.js +0 -10
- package/test/hasim.v20210716.test.js +241 -0
- package/test/rum.v20210622.test.js +12 -2
- package/test/ssa.v20180608.test.js +44 -34
- package/test/vpc.v20170312.test.js +136 -16
|
@@ -52,9 +52,9 @@ import {
|
|
|
52
52
|
DescribeIpGeolocationInfosRequest,
|
|
53
53
|
AddTemplateMemberResponse,
|
|
54
54
|
CreateDefaultSecurityGroupRequest,
|
|
55
|
+
CreateSnapshotPoliciesResponse,
|
|
55
56
|
DescribeServiceTemplateGroupsResponse,
|
|
56
57
|
DescribeVpcEndPointRequest,
|
|
57
|
-
AssignPrivateIpAddressesRequest,
|
|
58
58
|
DetachClassicLinkVpcRequest,
|
|
59
59
|
DescribeBandwidthPackageBillUsageResponse,
|
|
60
60
|
DeleteBandwidthPackageResponse,
|
|
@@ -102,18 +102,20 @@ import {
|
|
|
102
102
|
ModifyCustomerGatewayAttributeRequest,
|
|
103
103
|
DescribeRouteTablesResponse,
|
|
104
104
|
DeleteVpcEndPointServiceWhiteListRequest,
|
|
105
|
+
DetachSnapshotInstancesResponse,
|
|
105
106
|
DetachNetworkInterfaceResponse,
|
|
106
107
|
DeleteVpcEndPointServiceRequest,
|
|
107
108
|
DeleteCcnResponse,
|
|
108
109
|
ServiceTemplate,
|
|
109
110
|
DescribeCcnAttachedInstancesRequest,
|
|
111
|
+
AttachSnapshotInstancesResponse,
|
|
110
112
|
DescribeNatGatewaySourceIpTranslationNatRulesRequest,
|
|
111
113
|
DescribeNatGatewaysRequest,
|
|
112
114
|
ModifyFlowLogAttributeResponse,
|
|
113
115
|
DescribeBandwidthPackagesResponse,
|
|
114
116
|
DescribeDirectConnectGatewaysRequest,
|
|
115
117
|
DisableVpnGatewaySslClientCertRequest,
|
|
116
|
-
|
|
118
|
+
AttachSnapshotInstancesRequest,
|
|
117
119
|
ModifyIp6TranslatorResponse,
|
|
118
120
|
CreateVpcEndPointServiceWhiteListResponse,
|
|
119
121
|
DescribeIpGeolocationDatabaseUrlResponse,
|
|
@@ -128,6 +130,7 @@ import {
|
|
|
128
130
|
IpGeolocationInfo,
|
|
129
131
|
DeleteFlowLogRequest,
|
|
130
132
|
NetDetectState,
|
|
133
|
+
DescribeSnapshotFilesRequest,
|
|
131
134
|
HaVipDisassociateAddressIpResponse,
|
|
132
135
|
DisassociateVpcEndPointSecurityGroupsRequest,
|
|
133
136
|
DescribeTaskResultRequest,
|
|
@@ -173,6 +176,7 @@ import {
|
|
|
173
176
|
Ip6RuleInfo,
|
|
174
177
|
CreateSecurityGroupWithPoliciesResponse,
|
|
175
178
|
DeleteAddressTemplateResponse,
|
|
179
|
+
ResumeSnapshotInstanceResponse,
|
|
176
180
|
ModifySubnetAttributeResponse,
|
|
177
181
|
ResetNatGatewayConnectionRequest,
|
|
178
182
|
ModifyCcnAttachedInstancesAttributeRequest,
|
|
@@ -190,6 +194,7 @@ import {
|
|
|
190
194
|
ModifySecurityGroupAttributeRequest,
|
|
191
195
|
DescribeVpnGatewaySslServersRequest,
|
|
192
196
|
ModifyNetDetectRequest,
|
|
197
|
+
DescribeSgSnapshotFileContentResponse,
|
|
193
198
|
DescribeNetDetectStatesResponse,
|
|
194
199
|
DeleteVpnGatewaySslServerRequest,
|
|
195
200
|
AllocateIp6AddressesBandwidthResponse,
|
|
@@ -200,6 +205,7 @@ import {
|
|
|
200
205
|
DescribeBandwidthPackagesRequest,
|
|
201
206
|
DeleteDirectConnectGatewayCcnRoutesResponse,
|
|
202
207
|
DescribeAssistantCidrResponse,
|
|
208
|
+
BackupPolicy,
|
|
203
209
|
InstanceStatistic,
|
|
204
210
|
CreateVpnConnectionRequest,
|
|
205
211
|
CcnRoute,
|
|
@@ -215,6 +221,7 @@ import {
|
|
|
215
221
|
DescribeCustomerGatewayVendorsResponse,
|
|
216
222
|
RouteConflict,
|
|
217
223
|
DeleteSubnetResponse,
|
|
224
|
+
EnableSnapshotPoliciesResponse,
|
|
218
225
|
Vpc,
|
|
219
226
|
CreateVpnGatewayResponse,
|
|
220
227
|
DescribeNatGatewayDestinationIpPortTranslationNatRulesResponse,
|
|
@@ -231,6 +238,7 @@ import {
|
|
|
231
238
|
AdjustPublicAddressResponse,
|
|
232
239
|
RenewVpnGatewayRequest,
|
|
233
240
|
SecurityGroupPolicy,
|
|
241
|
+
DescribeSnapshotPoliciesRequest,
|
|
234
242
|
NotifyRoutesRequest,
|
|
235
243
|
DeleteVpcRequest,
|
|
236
244
|
ModifyServiceTemplateAttributeResponse,
|
|
@@ -278,11 +286,13 @@ import {
|
|
|
278
286
|
CreateServiceTemplateGroupResponse,
|
|
279
287
|
NetDetect,
|
|
280
288
|
VpnGatewayRouteModify,
|
|
289
|
+
DisableSnapshotPoliciesRequest,
|
|
281
290
|
MemberInfo,
|
|
291
|
+
ResumeSnapshotInstanceRequest,
|
|
282
292
|
ReplaceSecurityGroupPolicyRequest,
|
|
283
293
|
ModifyVpcEndPointServiceAttributeResponse,
|
|
284
294
|
ResourceDashboard,
|
|
285
|
-
|
|
295
|
+
DescribeSnapshotFilesResponse,
|
|
286
296
|
DescribeCcnAttachedInstancesResponse,
|
|
287
297
|
HaVipAssociateAddressIpResponse,
|
|
288
298
|
DeleteCustomerGatewayResponse,
|
|
@@ -302,6 +312,7 @@ import {
|
|
|
302
312
|
ModifyIp6AddressesBandwidthResponse,
|
|
303
313
|
CreateSubnetsRequest,
|
|
304
314
|
DescribeVpcEndPointServiceRequest,
|
|
315
|
+
DisableSnapshotPoliciesResponse,
|
|
305
316
|
ModifyServiceTemplateAttributeRequest,
|
|
306
317
|
AssociateAddressResponse,
|
|
307
318
|
AccessPolicy,
|
|
@@ -322,6 +333,7 @@ import {
|
|
|
322
333
|
DescribeIpGeolocationDatabaseUrlRequest,
|
|
323
334
|
DescribeVpcEndPointResponse,
|
|
324
335
|
DescribeNetworkAclQuintupleEntriesRequest,
|
|
336
|
+
DescribeSnapshotPoliciesResponse,
|
|
325
337
|
DisableGatewayFlowMonitorRequest,
|
|
326
338
|
EnableRoutesResponse,
|
|
327
339
|
DeleteVpnConnectionRequest,
|
|
@@ -383,6 +395,7 @@ import {
|
|
|
383
395
|
LocalGateway,
|
|
384
396
|
RejectAttachCcnInstancesResponse,
|
|
385
397
|
SetCcnRegionBandwidthLimitsResponse,
|
|
398
|
+
ModifySnapshotPoliciesResponse,
|
|
386
399
|
DescribeAccountAttributesRequest,
|
|
387
400
|
RenewAddressesResponse,
|
|
388
401
|
DescribeCcnRoutesRequest,
|
|
@@ -409,6 +422,7 @@ import {
|
|
|
409
422
|
CreateVpnGatewaySslClientRequest,
|
|
410
423
|
UnlockCcnsRequest,
|
|
411
424
|
DescribeVpnGatewaySslServersResponse,
|
|
425
|
+
Subnet,
|
|
412
426
|
DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse,
|
|
413
427
|
DeleteVpnGatewayRequest,
|
|
414
428
|
ReplaceRouteTableAssociationResponse,
|
|
@@ -426,10 +440,13 @@ import {
|
|
|
426
440
|
DeleteAssistantCidrResponse,
|
|
427
441
|
DescribeCcnRegionBandwidthLimitsResponse,
|
|
428
442
|
ModifyTemplateMemberRequest,
|
|
443
|
+
EnableSnapshotPoliciesRequest,
|
|
429
444
|
DescribeAddressesResponse,
|
|
430
445
|
GatewayQos,
|
|
446
|
+
GetCcnRegionBandwidthLimitsRequest,
|
|
431
447
|
ModifyIpv6AddressesAttributeRequest,
|
|
432
448
|
DescribeCustomerGatewayVendorsRequest,
|
|
449
|
+
DetachSnapshotInstancesRequest,
|
|
433
450
|
DeleteLocalGatewayRequest,
|
|
434
451
|
ResetVpnGatewayInternetMaxBandwidthResponse,
|
|
435
452
|
LockCcnBandwidthsRequest,
|
|
@@ -456,13 +473,14 @@ import {
|
|
|
456
473
|
AttachNetworkInterfaceResponse,
|
|
457
474
|
DisassociateNatGatewayAddressRequest,
|
|
458
475
|
DescribeTrafficPackagesResponse,
|
|
459
|
-
|
|
476
|
+
CreateSnapshotPoliciesRequest,
|
|
460
477
|
DescribeRouteTablesRequest,
|
|
461
478
|
ResetAttachCcnInstancesRequest,
|
|
462
479
|
CreateHaVipResponse,
|
|
463
480
|
DescribeSecurityGroupReferencesRequest,
|
|
464
481
|
DescribeTemplateLimitsResponse,
|
|
465
482
|
CheckDefaultSubnetResponse,
|
|
483
|
+
DescribeVpcPrivateIpAddressesResponse,
|
|
466
484
|
DisableRoutesRequest,
|
|
467
485
|
DisassociateDirectConnectGatewayNatGatewayRequest,
|
|
468
486
|
EnableRoutesRequest,
|
|
@@ -477,6 +495,7 @@ import {
|
|
|
477
495
|
RenewAddressesRequest,
|
|
478
496
|
ProductQuota,
|
|
479
497
|
DisableRoutesResponse,
|
|
498
|
+
ModifySnapshotPoliciesRequest,
|
|
480
499
|
ModifyAddressAttributeRequest,
|
|
481
500
|
DhcpIp,
|
|
482
501
|
DeleteAssistantCidrRequest,
|
|
@@ -504,6 +523,7 @@ import {
|
|
|
504
523
|
SetVpnGatewaysRenewFlagResponse,
|
|
505
524
|
DeleteVpnGatewayResponse,
|
|
506
525
|
DescribeHaVipsRequest,
|
|
526
|
+
SnapshotPolicy,
|
|
507
527
|
UnassignPrivateIpAddressesResponse,
|
|
508
528
|
Address,
|
|
509
529
|
VpnGateway,
|
|
@@ -541,11 +561,14 @@ import {
|
|
|
541
561
|
DeleteIp6TranslatorsRequest,
|
|
542
562
|
Ip6Translator,
|
|
543
563
|
CheckAssistantCidrRequest,
|
|
564
|
+
RemoveBandwidthPackageResourcesResponse,
|
|
544
565
|
DestinationIpPortTranslationNatRule,
|
|
566
|
+
DeleteSnapshotPoliciesRequest,
|
|
545
567
|
CreateDefaultVpcRequest,
|
|
546
568
|
DescribeSubnetsResponse,
|
|
547
569
|
DescribeCustomerGatewaysResponse,
|
|
548
570
|
CheckAssistantCidrResponse,
|
|
571
|
+
DescribeVpcTaskResultResponse,
|
|
549
572
|
InquiryPriceRenewVpnGatewayRequest,
|
|
550
573
|
EnableCcnRoutesResponse,
|
|
551
574
|
ModifyVpnGatewayCcnRoutesResponse,
|
|
@@ -556,7 +579,7 @@ import {
|
|
|
556
579
|
DescribeAddressTemplateGroupsRequest,
|
|
557
580
|
CheckNetDetectStateResponse,
|
|
558
581
|
DisassociateVpcEndPointSecurityGroupsResponse,
|
|
559
|
-
|
|
582
|
+
DeleteSnapshotPoliciesResponse,
|
|
560
583
|
AssociateNatGatewayAddressResponse,
|
|
561
584
|
RemoveBandwidthPackageResourcesRequest,
|
|
562
585
|
VpngwCcnRoutes,
|
|
@@ -573,12 +596,16 @@ import {
|
|
|
573
596
|
CreateLocalGatewayResponse,
|
|
574
597
|
ServicesInfo,
|
|
575
598
|
MigratePrivateIpAddressRequest,
|
|
576
|
-
|
|
599
|
+
AssignPrivateIpAddressesRequest,
|
|
600
|
+
DescribeSnapshotAttachedInstancesResponse,
|
|
577
601
|
RefreshDirectConnectGatewayRouteToNatGatewayResponse,
|
|
578
602
|
DeleteRouteTableRequest,
|
|
603
|
+
SnapshotInstance,
|
|
579
604
|
CreateVpnGatewayRequest,
|
|
580
605
|
DescribeVpcInstancesRequest,
|
|
581
606
|
DeleteVpcEndPointServiceWhiteListResponse,
|
|
607
|
+
DescribeServiceTemplatesResponse,
|
|
608
|
+
DescribeSgSnapshotFileContentRequest,
|
|
582
609
|
CreateBandwidthPackageResponse,
|
|
583
610
|
ResetVpnConnectionRequest,
|
|
584
611
|
ReleaseAddressesResponse,
|
|
@@ -595,7 +622,7 @@ import {
|
|
|
595
622
|
CreateNetworkInterfaceResponse,
|
|
596
623
|
DescribeAddressQuotaRequest,
|
|
597
624
|
LockCcnsResponse,
|
|
598
|
-
|
|
625
|
+
BatchModifySnapshotPolicy,
|
|
599
626
|
AssignIpv6AddressesResponse,
|
|
600
627
|
CreateRoutesResponse,
|
|
601
628
|
DescribeSecurityGroupsResponse,
|
|
@@ -606,6 +633,7 @@ import {
|
|
|
606
633
|
ReplaceDirectConnectGatewayCcnRoutesResponse,
|
|
607
634
|
ModifySecurityGroupPoliciesResponse,
|
|
608
635
|
ModifyNatGatewayDestinationIpPortTranslationNatRuleRequest,
|
|
636
|
+
DescribeServiceTemplatesRequest,
|
|
609
637
|
ServiceTemplateSpecification,
|
|
610
638
|
DetachNetworkInterfaceRequest,
|
|
611
639
|
Ip6Rule,
|
|
@@ -633,6 +661,7 @@ import {
|
|
|
633
661
|
ClassicLinkInstance,
|
|
634
662
|
DeleteLocalGatewayResponse,
|
|
635
663
|
NetworkInterfaceAttachment,
|
|
664
|
+
SnapshotFileInfo,
|
|
636
665
|
ModifyNetworkInterfaceAttributeRequest,
|
|
637
666
|
RemoveIp6RulesResponse,
|
|
638
667
|
ModifyHaVipAttributeRequest,
|
|
@@ -653,7 +682,7 @@ import {
|
|
|
653
682
|
DescribeDhcpIpsResponse,
|
|
654
683
|
CreateRouteTableResponse,
|
|
655
684
|
DescribeCrossBorderCcnRegionBandwidthLimitsRequest,
|
|
656
|
-
|
|
685
|
+
DescribeSnapshotAttachedInstancesRequest,
|
|
657
686
|
DescribeDirectConnectGatewayCcnRoutesResponse,
|
|
658
687
|
ModifyPrivateIpAddressesAttributeRequest,
|
|
659
688
|
ResetNatGatewayConnectionResponse,
|
|
@@ -988,6 +1017,16 @@ export class Client extends AbstractClient {
|
|
|
988
1017
|
return this.request("DescribeNetworkInterfaceLimit", req, cb)
|
|
989
1018
|
}
|
|
990
1019
|
|
|
1020
|
+
/**
|
|
1021
|
+
* 本接口(EnableSnapshotPolicies)用于启用快照策略。
|
|
1022
|
+
*/
|
|
1023
|
+
async EnableSnapshotPolicies(
|
|
1024
|
+
req: EnableSnapshotPoliciesRequest,
|
|
1025
|
+
cb?: (error: string, rep: EnableSnapshotPoliciesResponse) => void
|
|
1026
|
+
): Promise<EnableSnapshotPoliciesResponse> {
|
|
1027
|
+
return this.request("EnableSnapshotPolicies", req, cb)
|
|
1028
|
+
}
|
|
1029
|
+
|
|
991
1030
|
/**
|
|
992
1031
|
* 本接口(DescribeNetDetects)用于查询网络探测列表。
|
|
993
1032
|
*/
|
|
@@ -1032,13 +1071,13 @@ export class Client extends AbstractClient {
|
|
|
1032
1071
|
}
|
|
1033
1072
|
|
|
1034
1073
|
/**
|
|
1035
|
-
* 本接口(
|
|
1074
|
+
* 本接口(AttachSnapshotInstances)用于快照策略关联实例。
|
|
1036
1075
|
*/
|
|
1037
|
-
async
|
|
1038
|
-
req:
|
|
1039
|
-
cb?: (error: string, rep:
|
|
1040
|
-
): Promise<
|
|
1041
|
-
return this.request("
|
|
1076
|
+
async AttachSnapshotInstances(
|
|
1077
|
+
req: AttachSnapshotInstancesRequest,
|
|
1078
|
+
cb?: (error: string, rep: AttachSnapshotInstancesResponse) => void
|
|
1079
|
+
): Promise<AttachSnapshotInstancesResponse> {
|
|
1080
|
+
return this.request("AttachSnapshotInstances", req, cb)
|
|
1042
1081
|
}
|
|
1043
1082
|
|
|
1044
1083
|
/**
|
|
@@ -1072,6 +1111,16 @@ export class Client extends AbstractClient {
|
|
|
1072
1111
|
return this.request("DeleteVpnConnection", req, cb)
|
|
1073
1112
|
}
|
|
1074
1113
|
|
|
1114
|
+
/**
|
|
1115
|
+
* 本接口(DeleteSnapshotPolicies)用于删除快照策略。
|
|
1116
|
+
*/
|
|
1117
|
+
async DeleteSnapshotPolicies(
|
|
1118
|
+
req: DeleteSnapshotPoliciesRequest,
|
|
1119
|
+
cb?: (error: string, rep: DeleteSnapshotPoliciesResponse) => void
|
|
1120
|
+
): Promise<DeleteSnapshotPoliciesResponse> {
|
|
1121
|
+
return this.request("DeleteSnapshotPolicies", req, cb)
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1075
1124
|
/**
|
|
1076
1125
|
* 是否接受终端节点连接请求。
|
|
1077
1126
|
*/
|
|
@@ -1271,6 +1320,16 @@ export class Client extends AbstractClient {
|
|
|
1271
1320
|
return this.request("DescribeVpcEndPointService", req, cb)
|
|
1272
1321
|
}
|
|
1273
1322
|
|
|
1323
|
+
/**
|
|
1324
|
+
* 修改终端节点服务白名单属性。
|
|
1325
|
+
*/
|
|
1326
|
+
async ModifyVpcEndPointServiceWhiteList(
|
|
1327
|
+
req: ModifyVpcEndPointServiceWhiteListRequest,
|
|
1328
|
+
cb?: (error: string, rep: ModifyVpcEndPointServiceWhiteListResponse) => void
|
|
1329
|
+
): Promise<ModifyVpcEndPointServiceWhiteListResponse> {
|
|
1330
|
+
return this.request("ModifyVpcEndPointServiceWhiteList", req, cb)
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1274
1333
|
/**
|
|
1275
1334
|
* 查询跨境带宽监控数据,该接口特提供给联通使用
|
|
1276
1335
|
*/
|
|
@@ -1310,13 +1369,13 @@ export class Client extends AbstractClient {
|
|
|
1310
1369
|
}
|
|
1311
1370
|
|
|
1312
1371
|
/**
|
|
1313
|
-
*
|
|
1372
|
+
* 本接口(ModifySnapshotPolicies)用于修改快照策略。
|
|
1314
1373
|
*/
|
|
1315
|
-
async
|
|
1316
|
-
req:
|
|
1317
|
-
cb?: (error: string, rep:
|
|
1318
|
-
): Promise<
|
|
1319
|
-
return this.request("
|
|
1374
|
+
async ModifySnapshotPolicies(
|
|
1375
|
+
req: ModifySnapshotPoliciesRequest,
|
|
1376
|
+
cb?: (error: string, rep: ModifySnapshotPoliciesResponse) => void
|
|
1377
|
+
): Promise<ModifySnapshotPoliciesResponse> {
|
|
1378
|
+
return this.request("ModifySnapshotPolicies", req, cb)
|
|
1320
1379
|
}
|
|
1321
1380
|
|
|
1322
1381
|
/**
|
|
@@ -1609,6 +1668,16 @@ export class Client extends AbstractClient {
|
|
|
1609
1668
|
return this.request("ResetAttachCcnInstances", req, cb)
|
|
1610
1669
|
}
|
|
1611
1670
|
|
|
1671
|
+
/**
|
|
1672
|
+
* 本接口(ModifyHaVipAttribute)用于修改高可用虚拟IP(HAVIP)属性
|
|
1673
|
+
*/
|
|
1674
|
+
async ModifyHaVipAttribute(
|
|
1675
|
+
req: ModifyHaVipAttributeRequest,
|
|
1676
|
+
cb?: (error: string, rep: ModifyHaVipAttributeResponse) => void
|
|
1677
|
+
): Promise<ModifyHaVipAttributeResponse> {
|
|
1678
|
+
return this.request("ModifyHaVipAttribute", req, cb)
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1612
1681
|
/**
|
|
1613
1682
|
* 本接口(DeleteSecurityGroupPolicies)用于用于删除安全组规则(SecurityGroupPolicy)。
|
|
1614
1683
|
* SecurityGroupPolicySet.Version 用于指定要操作的安全组的版本。传入 Version 版本号若不等于当前安全组的最新版本,将返回失败;若不传 Version 则直接删除指定PolicyIndex的规则。
|
|
@@ -1752,6 +1821,16 @@ export class Client extends AbstractClient {
|
|
|
1752
1821
|
return this.request("SetVpnGatewaysRenewFlag", req, cb)
|
|
1753
1822
|
}
|
|
1754
1823
|
|
|
1824
|
+
/**
|
|
1825
|
+
* 本接口(DisableSnapshotPolicies)用于停用快照策略。
|
|
1826
|
+
*/
|
|
1827
|
+
async DisableSnapshotPolicies(
|
|
1828
|
+
req: DisableSnapshotPoliciesRequest,
|
|
1829
|
+
cb?: (error: string, rep: DisableSnapshotPoliciesResponse) => void
|
|
1830
|
+
): Promise<DisableSnapshotPoliciesResponse> {
|
|
1831
|
+
return this.request("DisableSnapshotPolicies", req, cb)
|
|
1832
|
+
}
|
|
1833
|
+
|
|
1755
1834
|
/**
|
|
1756
1835
|
* 本接口(DescribeDhcpIps)用于查询DhcpIp列表
|
|
1757
1836
|
*/
|
|
@@ -1892,6 +1971,16 @@ export class Client extends AbstractClient {
|
|
|
1892
1971
|
return this.request("DeleteDirectConnectGateway", req, cb)
|
|
1893
1972
|
}
|
|
1894
1973
|
|
|
1974
|
+
/**
|
|
1975
|
+
* 本接口(DescribeSnapshotAttachedInstances)用于查询快照策略关联实例列表。
|
|
1976
|
+
*/
|
|
1977
|
+
async DescribeSnapshotAttachedInstances(
|
|
1978
|
+
req: DescribeSnapshotAttachedInstancesRequest,
|
|
1979
|
+
cb?: (error: string, rep: DescribeSnapshotAttachedInstancesResponse) => void
|
|
1980
|
+
): Promise<DescribeSnapshotAttachedInstancesResponse> {
|
|
1981
|
+
return this.request("DescribeSnapshotAttachedInstances", req, cb)
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1895
1984
|
/**
|
|
1896
1985
|
* 本接口(DescribeDirectConnectGatewayCcnRoutes)用于查询专线网关的云联网路由(IDC网段)
|
|
1897
1986
|
*/
|
|
@@ -2165,6 +2254,16 @@ export class Client extends AbstractClient {
|
|
|
2165
2254
|
return this.request("RenewAddresses", req, cb)
|
|
2166
2255
|
}
|
|
2167
2256
|
|
|
2257
|
+
/**
|
|
2258
|
+
* 本接口(EnableGatewayFlowMonitor)用于开启网关流量监控。
|
|
2259
|
+
*/
|
|
2260
|
+
async EnableGatewayFlowMonitor(
|
|
2261
|
+
req: EnableGatewayFlowMonitorRequest,
|
|
2262
|
+
cb?: (error: string, rep: EnableGatewayFlowMonitorResponse) => void
|
|
2263
|
+
): Promise<EnableGatewayFlowMonitorResponse> {
|
|
2264
|
+
return this.request("EnableGatewayFlowMonitor", req, cb)
|
|
2265
|
+
}
|
|
2266
|
+
|
|
2168
2267
|
/**
|
|
2169
2268
|
* 本接口(DescribeFlowLog)用于查询流日志实例信息
|
|
2170
2269
|
*/
|
|
@@ -2525,6 +2624,17 @@ export class Client extends AbstractClient {
|
|
|
2525
2624
|
return this.request("CreateServiceTemplate", req, cb)
|
|
2526
2625
|
}
|
|
2527
2626
|
|
|
2627
|
+
/**
|
|
2628
|
+
* 本接口(ReturnNormalAddresses)用于解绑并释放普通公网IP。
|
|
2629
|
+
为完善公网IP的访问管理功能,此接口于2022年12月15日升级优化鉴权功能,升级后子用户调用此接口需向主账号申请CAM策略授权,否则可能调用失败。您可以提前为子账号配置操作授权,详情见[授权指南](https://cloud.tencent.com/document/product/598/34545)。
|
|
2630
|
+
*/
|
|
2631
|
+
async ReturnNormalAddresses(
|
|
2632
|
+
req: ReturnNormalAddressesRequest,
|
|
2633
|
+
cb?: (error: string, rep: ReturnNormalAddressesResponse) => void
|
|
2634
|
+
): Promise<ReturnNormalAddressesResponse> {
|
|
2635
|
+
return this.request("ReturnNormalAddresses", req, cb)
|
|
2636
|
+
}
|
|
2637
|
+
|
|
2528
2638
|
/**
|
|
2529
2639
|
* 路由表列表页操作增加“从云联网撤销”,用于撤销已发布到云联网的路由。
|
|
2530
2640
|
*/
|
|
@@ -2576,6 +2686,16 @@ export class Client extends AbstractClient {
|
|
|
2576
2686
|
return this.request("DisableFlowLogs", req, cb)
|
|
2577
2687
|
}
|
|
2578
2688
|
|
|
2689
|
+
/**
|
|
2690
|
+
* 本接口(DescribeSgSnapshotFileContent)用于查询安全组快照文件内容。
|
|
2691
|
+
*/
|
|
2692
|
+
async DescribeSgSnapshotFileContent(
|
|
2693
|
+
req: DescribeSgSnapshotFileContentRequest,
|
|
2694
|
+
cb?: (error: string, rep: DescribeSgSnapshotFileContentResponse) => void
|
|
2695
|
+
): Promise<DescribeSgSnapshotFileContentResponse> {
|
|
2696
|
+
return this.request("DescribeSgSnapshotFileContent", req, cb)
|
|
2697
|
+
}
|
|
2698
|
+
|
|
2579
2699
|
/**
|
|
2580
2700
|
* 本接口(DescribeNetworkInterfaces)用于查询弹性网卡列表。
|
|
2581
2701
|
*/
|
|
@@ -2809,14 +2929,15 @@ export class Client extends AbstractClient {
|
|
|
2809
2929
|
}
|
|
2810
2930
|
|
|
2811
2931
|
/**
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2932
|
+
* 本接口 (ReleaseAddresses) 用于释放一个或多个[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
|
|
2933
|
+
* 该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。
|
|
2934
|
+
* 只有状态为 UNBIND 的 EIP 才能进行释放操作。
|
|
2935
|
+
*/
|
|
2936
|
+
async ReleaseAddresses(
|
|
2937
|
+
req: ReleaseAddressesRequest,
|
|
2938
|
+
cb?: (error: string, rep: ReleaseAddressesResponse) => void
|
|
2939
|
+
): Promise<ReleaseAddressesResponse> {
|
|
2940
|
+
return this.request("ReleaseAddresses", req, cb)
|
|
2820
2941
|
}
|
|
2821
2942
|
|
|
2822
2943
|
/**
|
|
@@ -2905,6 +3026,16 @@ export class Client extends AbstractClient {
|
|
|
2905
3026
|
return this.request("DescribeIpGeolocationInfos", req, cb)
|
|
2906
3027
|
}
|
|
2907
3028
|
|
|
3029
|
+
/**
|
|
3030
|
+
* 本接口(DetachSnapshotInstances)用于快照策略解关联实例。
|
|
3031
|
+
*/
|
|
3032
|
+
async DetachSnapshotInstances(
|
|
3033
|
+
req: DetachSnapshotInstancesRequest,
|
|
3034
|
+
cb?: (error: string, rep: DetachSnapshotInstancesResponse) => void
|
|
3035
|
+
): Promise<DetachSnapshotInstancesResponse> {
|
|
3036
|
+
return this.request("DetachSnapshotInstances", req, cb)
|
|
3037
|
+
}
|
|
3038
|
+
|
|
2908
3039
|
/**
|
|
2909
3040
|
* 本接口(DescribeServiceTemplates)用于查询协议端口模板
|
|
2910
3041
|
*/
|
|
@@ -3063,6 +3194,17 @@ LimitTypes取值范围:
|
|
|
3063
3194
|
return this.request("DescribeHaVips", req, cb)
|
|
3064
3195
|
}
|
|
3065
3196
|
|
|
3197
|
+
/**
|
|
3198
|
+
* 本接口(UnassignIpv6SubnetCidrBlock)用于释放IPv6子网段。<br />
|
|
3199
|
+
子网段如果还有IP占用且未回收,则子网段无法释放。
|
|
3200
|
+
*/
|
|
3201
|
+
async UnassignIpv6SubnetCidrBlock(
|
|
3202
|
+
req: UnassignIpv6SubnetCidrBlockRequest,
|
|
3203
|
+
cb?: (error: string, rep: UnassignIpv6SubnetCidrBlockResponse) => void
|
|
3204
|
+
): Promise<UnassignIpv6SubnetCidrBlockResponse> {
|
|
3205
|
+
return this.request("UnassignIpv6SubnetCidrBlock", req, cb)
|
|
3206
|
+
}
|
|
3207
|
+
|
|
3066
3208
|
/**
|
|
3067
3209
|
* 该接口用于创建用于CDC的本地网关。
|
|
3068
3210
|
*/
|
|
@@ -3528,25 +3670,23 @@ LimitTypes取值范围:
|
|
|
3528
3670
|
}
|
|
3529
3671
|
|
|
3530
3672
|
/**
|
|
3531
|
-
* 本接口(
|
|
3673
|
+
* 本接口(CreateSnapshotPolicies)用于创建快照策略。
|
|
3532
3674
|
*/
|
|
3533
|
-
async
|
|
3534
|
-
req:
|
|
3535
|
-
cb?: (error: string, rep:
|
|
3536
|
-
): Promise<
|
|
3537
|
-
return this.request("
|
|
3675
|
+
async CreateSnapshotPolicies(
|
|
3676
|
+
req: CreateSnapshotPoliciesRequest,
|
|
3677
|
+
cb?: (error: string, rep: CreateSnapshotPoliciesResponse) => void
|
|
3678
|
+
): Promise<CreateSnapshotPoliciesResponse> {
|
|
3679
|
+
return this.request("CreateSnapshotPolicies", req, cb)
|
|
3538
3680
|
}
|
|
3539
3681
|
|
|
3540
3682
|
/**
|
|
3541
|
-
*
|
|
3542
|
-
* 该操作不可逆,释放后 EIP 关联的 IP 地址将不再属于您的名下。
|
|
3543
|
-
* 只有状态为 UNBIND 的 EIP 才能进行释放操作。
|
|
3683
|
+
* 本接口(DescribeSnapshotFiles)用于查询快照文件。
|
|
3544
3684
|
*/
|
|
3545
|
-
async
|
|
3546
|
-
req:
|
|
3547
|
-
cb?: (error: string, rep:
|
|
3548
|
-
): Promise<
|
|
3549
|
-
return this.request("
|
|
3685
|
+
async DescribeSnapshotFiles(
|
|
3686
|
+
req: DescribeSnapshotFilesRequest,
|
|
3687
|
+
cb?: (error: string, rep: DescribeSnapshotFilesResponse) => void
|
|
3688
|
+
): Promise<DescribeSnapshotFilesResponse> {
|
|
3689
|
+
return this.request("DescribeSnapshotFiles", req, cb)
|
|
3550
3690
|
}
|
|
3551
3691
|
|
|
3552
3692
|
/**
|
|
@@ -3621,6 +3761,16 @@ LimitTypes取值范围:
|
|
|
3621
3761
|
return this.request("ModifyCcnAttribute", req, cb)
|
|
3622
3762
|
}
|
|
3623
3763
|
|
|
3764
|
+
/**
|
|
3765
|
+
* 本接口(ResumeSnapshotInstance)用于根据备份内容恢复安全组策略。
|
|
3766
|
+
*/
|
|
3767
|
+
async ResumeSnapshotInstance(
|
|
3768
|
+
req: ResumeSnapshotInstanceRequest,
|
|
3769
|
+
cb?: (error: string, rep: ResumeSnapshotInstanceResponse) => void
|
|
3770
|
+
): Promise<ResumeSnapshotInstanceResponse> {
|
|
3771
|
+
return this.request("ResumeSnapshotInstance", req, cb)
|
|
3772
|
+
}
|
|
3773
|
+
|
|
3624
3774
|
/**
|
|
3625
3775
|
* 本接口(DescribeSecurityGroupReferences)用于查询安全组被引用信息。
|
|
3626
3776
|
*/
|
|
@@ -3642,14 +3792,13 @@ LimitTypes取值范围:
|
|
|
3642
3792
|
}
|
|
3643
3793
|
|
|
3644
3794
|
/**
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
return this.request("UnassignIpv6SubnetCidrBlock", req, cb)
|
|
3795
|
+
* 本接口(DescribeSnapshotPolicies)用于查询快照策略。
|
|
3796
|
+
*/
|
|
3797
|
+
async DescribeSnapshotPolicies(
|
|
3798
|
+
req: DescribeSnapshotPoliciesRequest,
|
|
3799
|
+
cb?: (error: string, rep: DescribeSnapshotPoliciesResponse) => void
|
|
3800
|
+
): Promise<DescribeSnapshotPoliciesResponse> {
|
|
3801
|
+
return this.request("DescribeSnapshotPolicies", req, cb)
|
|
3653
3802
|
}
|
|
3654
3803
|
|
|
3655
3804
|
/**
|
|
@@ -3747,26 +3896,13 @@ LimitTypes取值范围:
|
|
|
3747
3896
|
}
|
|
3748
3897
|
|
|
3749
3898
|
/**
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
3758
|
-
* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
3759
|
-
* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
|
|
3760
|
-
* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port排他关系,不允许同时输入,否则会接口报错。
|
|
3761
|
-
* Action字段只允许输入ACCEPT或DROP。
|
|
3762
|
-
* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
|
|
3763
|
-
* 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
|
|
3764
|
-
*/
|
|
3765
|
-
async CreateSecurityGroupWithPolicies(
|
|
3766
|
-
req: CreateSecurityGroupWithPoliciesRequest,
|
|
3767
|
-
cb?: (error: string, rep: CreateSecurityGroupWithPoliciesResponse) => void
|
|
3768
|
-
): Promise<CreateSecurityGroupWithPoliciesResponse> {
|
|
3769
|
-
return this.request("CreateSecurityGroupWithPolicies", req, cb)
|
|
3899
|
+
* 创建路由型VPN网关的目的路由
|
|
3900
|
+
*/
|
|
3901
|
+
async CreateVpnGatewayRoutes(
|
|
3902
|
+
req: CreateVpnGatewayRoutesRequest,
|
|
3903
|
+
cb?: (error: string, rep: CreateVpnGatewayRoutesResponse) => void
|
|
3904
|
+
): Promise<CreateVpnGatewayRoutesResponse> {
|
|
3905
|
+
return this.request("CreateVpnGatewayRoutes", req, cb)
|
|
3770
3906
|
}
|
|
3771
3907
|
|
|
3772
3908
|
/**
|
|
@@ -3834,13 +3970,26 @@ LimitTypes取值范围:
|
|
|
3834
3970
|
}
|
|
3835
3971
|
|
|
3836
3972
|
/**
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3973
|
+
* 本接口(CreateSecurityGroupWithPolicies)用于创建新的安全组(SecurityGroup),并且可以同时添加安全组规则(SecurityGroupPolicy)。
|
|
3974
|
+
* 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
|
|
3975
|
+
* 新建的安全组的入站和出站规则默认都是全部拒绝,在创建后通常您需要再调用CreateSecurityGroupPolicies将安全组的规则设置为需要的规则。
|
|
3976
|
+
|
|
3977
|
+
安全组规则说明:
|
|
3978
|
+
* Version安全组规则版本号,用户每次更新安全规则版本会自动加1,防止您更新的路由规则已过期,不填不考虑冲突。
|
|
3979
|
+
* Protocol字段支持输入TCP, UDP, ICMP, ICMPV6, GRE, ALL。
|
|
3980
|
+
* CidrBlock字段允许输入符合cidr格式标准的任意字符串。(展开)在基础网络中,如果CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IP,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
3981
|
+
* Ipv6CidrBlock字段允许输入符合IPv6 cidr格式标准的任意字符串。(展开)在基础网络中,如果Ipv6CidrBlock包含您的账户内的云服务器之外的设备在腾讯云的内网IPv6,并不代表此规则允许您访问这些设备,租户之间网络隔离规则优先于安全组中的内网规则。
|
|
3982
|
+
* SecurityGroupId字段允许输入与待修改的安全组位于相同项目中的安全组ID,包括这个安全组ID本身,代表安全组下所有云服务器的内网IP。使用这个字段时,这条规则用来匹配网络报文的过程中会随着被使用的这个ID所关联的云服务器变化而变化,不需要重新修改。
|
|
3983
|
+
* Port字段允许输入一个单独端口号,或者用减号分隔的两个端口号代表端口范围,例如80或8000-8010。只有当Protocol字段是TCP或UDP时,Port字段才被接受,即Protocol字段不是TCP或UDP时,Protocol和Port排他关系,不允许同时输入,否则会接口报错。
|
|
3984
|
+
* Action字段只允许输入ACCEPT或DROP。
|
|
3985
|
+
* CidrBlock, Ipv6CidrBlock, SecurityGroupId, AddressTemplate四者是排他关系,不允许同时输入,Protocol + Port和ServiceTemplate二者是排他关系,不允许同时输入。
|
|
3986
|
+
* 一次请求中只能创建单个方向的规则, 如果需要指定索引(PolicyIndex)参数, 多条规则的索引必须一致。
|
|
3987
|
+
*/
|
|
3988
|
+
async CreateSecurityGroupWithPolicies(
|
|
3989
|
+
req: CreateSecurityGroupWithPoliciesRequest,
|
|
3990
|
+
cb?: (error: string, rep: CreateSecurityGroupWithPoliciesResponse) => void
|
|
3991
|
+
): Promise<CreateSecurityGroupWithPoliciesResponse> {
|
|
3992
|
+
return this.request("CreateSecurityGroupWithPolicies", req, cb)
|
|
3844
3993
|
}
|
|
3845
3994
|
|
|
3846
3995
|
/**
|