tencentcloud-sdk-nodejs-vpc 4.0.308 → 4.0.309

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.
@@ -22,6 +22,7 @@ import {
22
22
  ModifyAddressTemplateAttributeResponse,
23
23
  DisassociateDhcpIpWithAddressIpRequest,
24
24
  SecurityGroupLimitSet,
25
+ LockCcnsRequest,
25
26
  CreateRoutesRequest,
26
27
  DescribeHaVipsResponse,
27
28
  SecurityGroupAssociationStatistics,
@@ -112,6 +113,7 @@ import {
112
113
  ModifyIp6TranslatorResponse,
113
114
  CreateVpcEndPointServiceWhiteListResponse,
114
115
  DescribeIpGeolocationDatabaseUrlResponse,
116
+ UnlockCcnBandwidthsRequest,
115
117
  DeleteIp6TranslatorsResponse,
116
118
  DescribeNatGatewaySourceIpTranslationNatRulesResponse,
117
119
  DescribeVpcsRequest,
@@ -143,6 +145,7 @@ import {
143
145
  ModifyNetworkAclEntriesResponse,
144
146
  ModifyVpcEndPointAttributeResponse,
145
147
  DescribeFlowLogRequest,
148
+ DescribeTenantCcnsRequest,
146
149
  DescribeIp6AddressesRequest,
147
150
  AddIp6RulesRequest,
148
151
  DescribeAccountAttributesResponse,
@@ -335,6 +338,7 @@ import {
335
338
  DescribeVpnGatewayCcnRoutesResponse,
336
339
  DetachCcnInstancesRequest,
337
340
  ModifyVpcEndPointServiceWhiteListRequest,
341
+ DescribeTenantCcnsResponse,
338
342
  Filter,
339
343
  MigrateNetworkInterfaceResponse,
340
344
  DeleteDirectConnectGatewayRequest,
@@ -386,6 +390,7 @@ import {
386
390
  AttachClassicLinkVpcRequest,
387
391
  GatewayFlowMonitorDetail,
388
392
  CreateVpnGatewaySslClientRequest,
393
+ UnlockCcnsRequest,
389
394
  DescribeVpnGatewaySslServersResponse,
390
395
  DeleteNatGatewayDestinationIpPortTranslationNatRuleResponse,
391
396
  DeleteVpnGatewayRequest,
@@ -410,6 +415,7 @@ import {
410
415
  DescribeCustomerGatewayVendorsRequest,
411
416
  DeleteLocalGatewayRequest,
412
417
  ResetVpnGatewayInternetMaxBandwidthResponse,
418
+ LockCcnBandwidthsRequest,
413
419
  AddressChargePrepaid,
414
420
  DescribeVpnGatewayRoutesResponse,
415
421
  DescribeNetworkAclsResponse,
@@ -506,6 +512,7 @@ import {
506
512
  DeleteVpcEndPointRequest,
507
513
  UnassignIpv6CidrBlockRequest,
508
514
  CCN,
515
+ VpcEndPointServiceUser,
509
516
  InquirePriceCreateDirectConnectGatewayResponse,
510
517
  DeleteIp6TranslatorsRequest,
511
518
  Ip6Translator,
@@ -557,9 +564,11 @@ import {
557
564
  ReplaceRoutesResponse,
558
565
  ModifyHaVipAttributeResponse,
559
566
  CcnBandwidthInfo,
567
+ DescribeCrossBorderCcnRegionBandwidthLimitsResponse,
560
568
  DeleteSecurityGroupResponse,
561
569
  CreateNetworkInterfaceResponse,
562
570
  DescribeAddressQuotaRequest,
571
+ LockCcnsResponse,
563
572
  RemoveBandwidthPackageResourcesResponse,
564
573
  AssignIpv6AddressesResponse,
565
574
  CreateRoutesResponse,
@@ -584,6 +593,7 @@ import {
584
593
  DescribeCcnRoutesResponse,
585
594
  AllocateIp6AddressesBandwidthRequest,
586
595
  SecurityGroup,
596
+ UnlockCcnsResponse,
587
597
  DisableGatewayFlowMonitorResponse,
588
598
  DisassociateAddressResponse,
589
599
  DirectConnectSubnet,
@@ -592,7 +602,7 @@ import {
592
602
  DeleteRoutesRequest,
593
603
  AssociateAddressRequest,
594
604
  CcnRegionBandwidthLimit,
595
- VpcEndPointServiceUser,
605
+ UnlockCcnBandwidthsResponse,
596
606
  CreateDefaultSecurityGroupResponse,
597
607
  ClassicLinkInstance,
598
608
  DeleteLocalGatewayResponse,
@@ -609,11 +619,13 @@ import {
609
619
  ModifyNetDetectResponse,
610
620
  CreateHaVipRequest,
611
621
  Ipv6SubnetCidrBlock,
622
+ LockCcnBandwidthsResponse,
612
623
  DescribeAddressQuotaResponse,
613
624
  CreateCustomerGatewayRequest,
614
625
  DeleteSecurityGroupRequest,
615
626
  DescribeDhcpIpsResponse,
616
627
  CreateRouteTableResponse,
628
+ DescribeCrossBorderCcnRegionBandwidthLimitsRequest,
617
629
  GetCcnRegionBandwidthLimitsRequest,
618
630
  DescribeDirectConnectGatewayCcnRoutesResponse,
619
631
  ModifyPrivateIpAddressesAttributeRequest,
@@ -1210,13 +1222,14 @@ export class Client extends TencentCloudCommon.AbstractClient {
1210
1222
  }
1211
1223
 
1212
1224
  /**
1213
- * 刷新专线直连nat路由,更新nat到专线的路由表
1214
- */
1215
- async RefreshDirectConnectGatewayRouteToNatGateway(
1216
- req: RefreshDirectConnectGatewayRouteToNatGatewayRequest,
1217
- cb?: (error: string, rep: RefreshDirectConnectGatewayRouteToNatGatewayResponse) => void
1218
- ): Promise<RefreshDirectConnectGatewayRouteToNatGatewayResponse> {
1219
- return this.request("RefreshDirectConnectGatewayRouteToNatGateway", req, cb)
1225
+ * 本接口(EnableRoutes)用于启用已禁用的子网路由。<br />
1226
+ 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
1227
+ */
1228
+ async EnableRoutes(
1229
+ req: EnableRoutesRequest,
1230
+ cb?: (error: string, rep: EnableRoutesResponse) => void
1231
+ ): Promise<EnableRoutesResponse> {
1232
+ return this.request("EnableRoutes", req, cb)
1220
1233
  }
1221
1234
 
1222
1235
  /**
@@ -1433,6 +1446,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
1433
1446
  return this.request("DeleteDhcpIp", req, cb)
1434
1447
  }
1435
1448
 
1449
+ /**
1450
+ * 本接口(LockCcnBandwidths)用户锁定云联网限速实例。
1451
+ 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(LockCcns)。
1452
+ 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
1453
+ */
1454
+ async LockCcnBandwidths(
1455
+ req?: LockCcnBandwidthsRequest,
1456
+ cb?: (error: string, rep: LockCcnBandwidthsResponse) => void
1457
+ ): Promise<LockCcnBandwidthsResponse> {
1458
+ return this.request("LockCcnBandwidths", req, cb)
1459
+ }
1460
+
1436
1461
  /**
1437
1462
  * 本接口(ModifyAddressTemplateAttribute)用于修改IP地址模板
1438
1463
  */
@@ -1739,6 +1764,16 @@ export class Client extends TencentCloudCommon.AbstractClient {
1739
1764
  return this.request("DescribeLocalGateway", req, cb)
1740
1765
  }
1741
1766
 
1767
+ /**
1768
+ * 刷新专线直连nat路由,更新nat到专线的路由表
1769
+ */
1770
+ async RefreshDirectConnectGatewayRouteToNatGateway(
1771
+ req: RefreshDirectConnectGatewayRouteToNatGatewayRequest,
1772
+ cb?: (error: string, rep: RefreshDirectConnectGatewayRouteToNatGatewayResponse) => void
1773
+ ): Promise<RefreshDirectConnectGatewayRouteToNatGatewayResponse> {
1774
+ return this.request("RefreshDirectConnectGatewayRouteToNatGateway", req, cb)
1775
+ }
1776
+
1742
1777
  /**
1743
1778
  * 本接口(MigratePrivateIpAddress)用于弹性网卡内网IP迁移。
1744
1779
  * 该接口用于将一个内网IP从一个弹性网卡上迁移到另外一个弹性网卡,主IP地址不支持迁移。
@@ -2510,6 +2545,18 @@ export class Client extends TencentCloudCommon.AbstractClient {
2510
2545
  return this.request("CreateAddressTemplateGroup", req, cb)
2511
2546
  }
2512
2547
 
2548
+ /**
2549
+ * 本接口(UnlockCcnBandwidths)用户解锁云联网限速实例。
2550
+ 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(SecurityUnlockCcns)。
2551
+ 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统。
2552
+ */
2553
+ async UnlockCcnBandwidths(
2554
+ req?: UnlockCcnBandwidthsRequest,
2555
+ cb?: (error: string, rep: UnlockCcnBandwidthsResponse) => void
2556
+ ): Promise<UnlockCcnBandwidthsResponse> {
2557
+ return this.request("UnlockCcnBandwidths", req, cb)
2558
+ }
2559
+
2513
2560
  /**
2514
2561
  * 本接口(CreateSecurityGroup)用于创建新的安全组(SecurityGroup)。
2515
2562
  * 每个账户下每个地域的每个项目的<a href="https://cloud.tencent.com/document/product/213/12453">安全组数量限制</a>。
@@ -2815,6 +2862,22 @@ LimitTypes取值范围:
2815
2862
  return this.request("DescribeVpcLimits", req, cb)
2816
2863
  }
2817
2864
 
2865
+ /**
2866
+ * 本接口(UnlockCcns)用于解锁云联网实例
2867
+
2868
+ 该接口一般用来解封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间解封禁, 只能按更粗的云联网实例粒度解封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度解封禁(UnlockCcnBandwidths)
2869
+
2870
+ 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
2871
+
2872
+
2873
+ */
2874
+ async UnlockCcns(
2875
+ req?: UnlockCcnsRequest,
2876
+ cb?: (error: string, rep: UnlockCcnsResponse) => void
2877
+ ): Promise<UnlockCcnsResponse> {
2878
+ return this.request("UnlockCcns", req, cb)
2879
+ }
2880
+
2818
2881
  /**
2819
2882
  * 本接口(HaVipAssociateAddressIp)用于高可用虚拟IP(HAVIP)绑定弹性公网IP(EIP)。<br />
2820
2883
  本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
@@ -3134,14 +3197,16 @@ LimitTypes取值范围:
3134
3197
  }
3135
3198
 
3136
3199
  /**
3137
- * 本接口(EnableRoutes)用于启用已禁用的子网路由。<br />
3138
- 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
3200
+ * 本接口(DescribeCrossBorderCcnRegionBandwidthLimits)用于获取要锁定的限速实例列表。
3201
+ 该接口一般用来封禁地域间限速的云联网实例下的限速实例, 目前联通内部运营系统通过云API调用, 如果是出口限速, 一般使用更粗的云联网实例粒度封禁(DescribeTenantCcns)
3202
+ 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
3203
+
3139
3204
  */
3140
- async EnableRoutes(
3141
- req: EnableRoutesRequest,
3142
- cb?: (error: string, rep: EnableRoutesResponse) => void
3143
- ): Promise<EnableRoutesResponse> {
3144
- return this.request("EnableRoutes", req, cb)
3205
+ async DescribeCrossBorderCcnRegionBandwidthLimits(
3206
+ req?: DescribeCrossBorderCcnRegionBandwidthLimitsRequest,
3207
+ cb?: (error: string, rep: DescribeCrossBorderCcnRegionBandwidthLimitsResponse) => void
3208
+ ): Promise<DescribeCrossBorderCcnRegionBandwidthLimitsResponse> {
3209
+ return this.request("DescribeCrossBorderCcnRegionBandwidthLimits", req, cb)
3145
3210
  }
3146
3211
 
3147
3212
  /**
@@ -3189,6 +3254,18 @@ LimitTypes取值范围:
3189
3254
  return this.request("DeleteSecurityGroup", req, cb)
3190
3255
  }
3191
3256
 
3257
+ /**
3258
+ * 本接口(DescribeTenantCcns)用于获取要锁定的云联网实例列表。
3259
+ 该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(DescribeCrossBorderCcnRegionBandwidthLimits)
3260
+ 如有需要, 可以封禁任意云联网实例, 可接入到内部运营系统
3261
+ */
3262
+ async DescribeTenantCcns(
3263
+ req?: DescribeTenantCcnsRequest,
3264
+ cb?: (error: string, rep: DescribeTenantCcnsResponse) => void
3265
+ ): Promise<DescribeTenantCcnsResponse> {
3266
+ return this.request("DescribeTenantCcns", req, cb)
3267
+ }
3268
+
3192
3269
  /**
3193
3270
  * 本接口(DisassociateNetworkAclSubnets)用于网络ACL解关联vpc下的子网。
3194
3271
  */
@@ -3270,6 +3347,22 @@ LimitTypes取值范围:
3270
3347
  return this.request("DeleteNatGatewayDestinationIpPortTranslationNatRule", req, cb)
3271
3348
  }
3272
3349
 
3350
+ /**
3351
+ * 本接口(LockCcns)用于锁定云联网实例
3352
+
3353
+ 该接口一般用来封禁出口限速的云联网实例, 目前联通内部运营系统通过云API调用, 因为出口限速无法按地域间封禁, 只能按更粗的云联网实例粒度封禁, 如果是地域间限速, 一般可以通过更细的限速实例粒度封禁(LockCcnBandwidths)
3354
+
3355
+ 如有需要, 可以封禁任意限速实例, 可接入到内部运营系统
3356
+
3357
+
3358
+ */
3359
+ async LockCcns(
3360
+ req?: LockCcnsRequest,
3361
+ cb?: (error: string, rep: LockCcnsResponse) => void
3362
+ ): Promise<LockCcnsResponse> {
3363
+ return this.request("LockCcns", req, cb)
3364
+ }
3365
+
3273
3366
  /**
3274
3367
  * 本接口(CreateRoutes)用于创建路由策略。
3275
3368
  * 向指定路由表批量新增路由策略。
@@ -120,6 +120,11 @@ export interface SecurityGroupLimitSet {
120
120
  InstanceSecurityGroupLimit: number
121
121
  }
122
122
 
123
+ /**
124
+ * LockCcns请求参数结构体
125
+ */
126
+ export type LockCcnsRequest = null
127
+
123
128
  /**
124
129
  * CreateRoutes请求参数结构体
125
130
  */
@@ -2128,6 +2133,11 @@ export interface DescribeIpGeolocationDatabaseUrlResponse {
2128
2133
  RequestId?: string
2129
2134
  }
2130
2135
 
2136
+ /**
2137
+ * UnlockCcnBandwidths请求参数结构体
2138
+ */
2139
+ export type UnlockCcnBandwidthsRequest = null
2140
+
2131
2141
  /**
2132
2142
  * DeleteIp6Translators返回参数结构体
2133
2143
  */
@@ -2709,6 +2719,11 @@ export interface DescribeFlowLogRequest {
2709
2719
  FlowLogId: string
2710
2720
  }
2711
2721
 
2722
+ /**
2723
+ * DescribeTenantCcns请求参数结构体
2724
+ */
2725
+ export type DescribeTenantCcnsRequest = null
2726
+
2712
2727
  /**
2713
2728
  * DescribeIp6Addresses请求参数结构体
2714
2729
  */
@@ -7213,6 +7228,16 @@ export interface ModifyVpcEndPointServiceWhiteListRequest {
7213
7228
  Description?: string
7214
7229
  }
7215
7230
 
7231
+ /**
7232
+ * DescribeTenantCcns返回参数结构体
7233
+ */
7234
+ export interface DescribeTenantCcnsResponse {
7235
+ /**
7236
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7237
+ */
7238
+ RequestId?: string
7239
+ }
7240
+
7216
7241
  /**
7217
7242
  * 过滤器
7218
7243
  */
@@ -8551,6 +8576,11 @@ export interface CreateVpnGatewaySslClientRequest {
8551
8576
  SslVpnClientName: string
8552
8577
  }
8553
8578
 
8579
+ /**
8580
+ * UnlockCcns请求参数结构体
8581
+ */
8582
+ export type UnlockCcnsRequest = null
8583
+
8554
8584
  /**
8555
8585
  * DescribeVpnGatewaySslServers返回参数结构体
8556
8586
  */
@@ -8948,6 +8978,11 @@ export interface ResetVpnGatewayInternetMaxBandwidthResponse {
8948
8978
  RequestId?: string
8949
8979
  }
8950
8980
 
8981
+ /**
8982
+ * LockCcnBandwidths请求参数结构体
8983
+ */
8984
+ export type LockCcnBandwidthsRequest = null
8985
+
8951
8986
  /**
8952
8987
  * 用于描述弹性公网IP的费用对象
8953
8988
  */
@@ -10880,6 +10915,36 @@ export interface CCN {
10880
10915
  RouteTableFlag: boolean
10881
10916
  }
10882
10917
 
10918
+ /**
10919
+ * 终端节点服务的服务白名单对象详情。
10920
+ */
10921
+ export interface VpcEndPointServiceUser {
10922
+ /**
10923
+ * AppId。
10924
+ */
10925
+ Owner: number
10926
+
10927
+ /**
10928
+ * Uin。
10929
+ */
10930
+ UserUin: string
10931
+
10932
+ /**
10933
+ * 描述信息。
10934
+ */
10935
+ Description: string
10936
+
10937
+ /**
10938
+ * 创建时间。
10939
+ */
10940
+ CreateTime: string
10941
+
10942
+ /**
10943
+ * 终端节点服务ID。
10944
+ */
10945
+ EndPointServiceId: string
10946
+ }
10947
+
10883
10948
  /**
10884
10949
  * InquirePriceCreateDirectConnectGateway返回参数结构体
10885
10950
  */
@@ -11871,6 +11936,16 @@ export interface CcnBandwidthInfo {
11871
11936
  MarketId: string
11872
11937
  }
11873
11938
 
11939
+ /**
11940
+ * DescribeCrossBorderCcnRegionBandwidthLimits返回参数结构体
11941
+ */
11942
+ export interface DescribeCrossBorderCcnRegionBandwidthLimitsResponse {
11943
+ /**
11944
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11945
+ */
11946
+ RequestId?: string
11947
+ }
11948
+
11874
11949
  /**
11875
11950
  * DeleteSecurityGroup返回参数结构体
11876
11951
  */
@@ -11901,6 +11976,16 @@ export interface CreateNetworkInterfaceResponse {
11901
11976
  */
11902
11977
  export type DescribeAddressQuotaRequest = null
11903
11978
 
11979
+ /**
11980
+ * LockCcns返回参数结构体
11981
+ */
11982
+ export interface LockCcnsResponse {
11983
+ /**
11984
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11985
+ */
11986
+ RequestId?: string
11987
+ }
11988
+
11904
11989
  /**
11905
11990
  * RemoveBandwidthPackageResources返回参数结构体
11906
11991
  */
@@ -12454,6 +12539,16 @@ export interface SecurityGroup {
12454
12539
  UpdateTime?: string
12455
12540
  }
12456
12541
 
12542
+ /**
12543
+ * UnlockCcns返回参数结构体
12544
+ */
12545
+ export interface UnlockCcnsResponse {
12546
+ /**
12547
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12548
+ */
12549
+ RequestId?: string
12550
+ }
12551
+
12457
12552
  /**
12458
12553
  * DisableGatewayFlowMonitor返回参数结构体
12459
12554
  */
@@ -12618,33 +12713,13 @@ export interface CcnRegionBandwidthLimit {
12618
12713
  }
12619
12714
 
12620
12715
  /**
12621
- * 终端节点服务的服务白名单对象详情。
12716
+ * UnlockCcnBandwidths返回参数结构体
12622
12717
  */
12623
- export interface VpcEndPointServiceUser {
12718
+ export interface UnlockCcnBandwidthsResponse {
12624
12719
  /**
12625
- * AppId
12626
- */
12627
- Owner: number
12628
-
12629
- /**
12630
- * Uin。
12631
- */
12632
- UserUin: string
12633
-
12634
- /**
12635
- * 描述信息。
12636
- */
12637
- Description: string
12638
-
12639
- /**
12640
- * 创建时间。
12641
- */
12642
- CreateTime: string
12643
-
12644
- /**
12645
- * 终端节点服务ID。
12720
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId
12646
12721
  */
12647
- EndPointServiceId: string
12722
+ RequestId?: string
12648
12723
  }
12649
12724
 
12650
12725
  /**
@@ -12892,6 +12967,16 @@ export interface Ipv6SubnetCidrBlock {
12892
12967
  Ipv6CidrBlock?: string
12893
12968
  }
12894
12969
 
12970
+ /**
12971
+ * LockCcnBandwidths返回参数结构体
12972
+ */
12973
+ export interface LockCcnBandwidthsResponse {
12974
+ /**
12975
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
12976
+ */
12977
+ RequestId?: string
12978
+ }
12979
+
12895
12980
  /**
12896
12981
  * DescribeAddressQuota返回参数结构体
12897
12982
  */
@@ -12972,6 +13057,11 @@ export interface CreateRouteTableResponse {
12972
13057
  RequestId?: string
12973
13058
  }
12974
13059
 
13060
+ /**
13061
+ * DescribeCrossBorderCcnRegionBandwidthLimits请求参数结构体
13062
+ */
13063
+ export type DescribeCrossBorderCcnRegionBandwidthLimitsRequest = null
13064
+
12975
13065
  /**
12976
13066
  * GetCcnRegionBandwidthLimits请求参数结构体
12977
13067
  */