tencentcloud-sdk-nodejs-vpc 4.1.117 → 4.1.120

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.
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-vpc",
3
- "version": "4.1.117",
3
+ "version": "4.1.120",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -12,7 +12,8 @@
12
12
  "build:es": "tsc -p tsconfig.es.json",
13
13
  "build:slim": "node ./scripts/build_slim.js",
14
14
  "prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
15
- "clean": "rimraf tencentcloud es"
15
+ "clean": "rimraf tencentcloud es",
16
+ "test:common": "vitest run"
16
17
  },
17
18
  "engines": {
18
19
  "node": ">=10"
@@ -44,9 +45,8 @@
44
45
  "url": "https://github.com/tencentcloud/tencentcloud-sdk-nodejs"
45
46
  },
46
47
  "devDependencies": {
47
- "@types/form-data": "^2.5.0",
48
48
  "@types/json-bigint": "^1.0.1",
49
- "@types/node": "^14.0.26",
49
+ "@types/node": "^18.0.0",
50
50
  "@types/node-fetch": "^2.5.7",
51
51
  "@types/uuid": "^9.0.8",
52
52
  "@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -61,6 +61,7 @@
61
61
  "prettier": "^2.3.0",
62
62
  "rimraf": "^5.0.10",
63
63
  "ts-node": "^8.10.2",
64
- "typescript": "^3.9.7"
64
+ "typescript": "^5.9.2",
65
+ "vitest": "2.1.9"
65
66
  }
66
67
  }
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.vpc = void 0;
3
4
  var vpc_1 = require("./vpc");
4
5
  Object.defineProperty(exports, "vpc", { enumerable: true, get: function () { return vpc_1.vpc; } });
@@ -1667,7 +1667,6 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
1667
1667
  * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
1668
1668
  * 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
1669
1669
  * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
1670
- * 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
1671
1670
  * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)。
1672
1671
  * EIP 如果欠费或被封堵,则不能被绑定。
1673
1672
  * 只有状态为 UNBIND 的 EIP 才能够被绑定。
@@ -2369,7 +2369,6 @@ class Client extends TencentCloudCommon.AbstractClient {
2369
2369
  * 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
2370
2370
  * 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
2371
2371
  * 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
2372
- * 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
2373
2372
  * 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)。
2374
2373
  * EIP 如果欠费或被封堵,则不能被绑定。
2375
2374
  * 只有状态为 UNBIND 的 EIP 才能够被绑定。
@@ -119,7 +119,7 @@ export interface SecurityGroupLimitSet {
119
119
  /**
120
120
  * LockCcns请求参数结构体
121
121
  */
122
- export declare type LockCcnsRequest = null;
122
+ export type LockCcnsRequest = null;
123
123
  /**
124
124
  * CreateRoutes请求参数结构体
125
125
  */
@@ -3576,7 +3576,7 @@ export interface TrafficFlow {
3576
3576
  /**
3577
3577
  * DescribeAccountAttributes请求参数结构体
3578
3578
  */
3579
- export declare type DescribeAccountAttributesRequest = null;
3579
+ export type DescribeAccountAttributesRequest = null;
3580
3580
  /**
3581
3581
  * AddIp6Rules请求参数结构体
3582
3582
  */
@@ -4036,7 +4036,7 @@ export interface ModifyCcnAttachedInstancesAttributeRequest {
4036
4036
  /**
4037
4037
  * DescribeNetworkAccountType请求参数结构体
4038
4038
  */
4039
- export declare type DescribeNetworkAccountTypeRequest = null;
4039
+ export type DescribeNetworkAccountTypeRequest = null;
4040
4040
  /**
4041
4041
  * 流量调度规则
4042
4042
  */
@@ -4260,7 +4260,7 @@ export interface ModifyAddressTemplateAttributeRequest {
4260
4260
  /**
4261
4261
  * CreateCdcLDCXList请求参数结构体
4262
4262
  */
4263
- export declare type CreateCdcLDCXListRequest = null;
4263
+ export type CreateCdcLDCXListRequest = null;
4264
4264
  /**
4265
4265
  * CreateNatGateway返回参数结构体
4266
4266
  */
@@ -5267,7 +5267,7 @@ export interface DescribeCustomerGatewayVendorsResponse {
5267
5267
  /**
5268
5268
  * DeleteCdcLDCXList请求参数结构体
5269
5269
  */
5270
- export declare type DeleteCdcLDCXListRequest = null;
5270
+ export type DeleteCdcLDCXListRequest = null;
5271
5271
  /**
5272
5272
  * 路由冲突对象
5273
5273
  */
@@ -5746,11 +5746,11 @@ export interface ResumeSnapshotInstanceResponse {
5746
5746
  /**
5747
5747
  * DescribeCdcNetPlanes请求参数结构体
5748
5748
  */
5749
- export declare type DescribeCdcNetPlanesRequest = null;
5749
+ export type DescribeCdcNetPlanesRequest = null;
5750
5750
  /**
5751
5751
  * DescribePrivateNatGatewayRegions请求参数结构体
5752
5752
  */
5753
- export declare type DescribePrivateNatGatewayRegionsRequest = null;
5753
+ export type DescribePrivateNatGatewayRegionsRequest = null;
5754
5754
  /**
5755
5755
  * DescribeSnapshotPolicies请求参数结构体
5756
5756
  */
@@ -5843,7 +5843,7 @@ export interface DescribeCcnsResponse {
5843
5843
  /**
5844
5844
  * ModifyCdcNetPlaneAttribute请求参数结构体
5845
5845
  */
5846
- export declare type ModifyCdcNetPlaneAttributeRequest = null;
5846
+ export type ModifyCdcNetPlaneAttributeRequest = null;
5847
5847
  /**
5848
5848
  * 参数模板配额
5849
5849
  */
@@ -9163,7 +9163,7 @@ export interface DescribeClassicLinkInstancesResponse {
9163
9163
  /**
9164
9164
  * ModifyCdcLDCXAttribute请求参数结构体
9165
9165
  */
9166
- export declare type ModifyCdcLDCXAttributeRequest = null;
9166
+ export type ModifyCdcLDCXAttributeRequest = null;
9167
9167
  /**
9168
9168
  * EnableVpnGatewaySslClientCert请求参数结构体
9169
9169
  */
@@ -11540,7 +11540,7 @@ export interface DescribeVpcEndPointResponse {
11540
11540
  /**
11541
11541
  * DescribeCustomerGatewayVendors请求参数结构体
11542
11542
  */
11543
- export declare type DescribeCustomerGatewayVendorsRequest = null;
11543
+ export type DescribeCustomerGatewayVendorsRequest = null;
11544
11544
  /**
11545
11545
  * 网络ACL五元组
11546
11546
  */
@@ -12340,7 +12340,7 @@ export interface Tags {
12340
12340
  /**
12341
12341
  * InquirePriceCreateDirectConnectGateway请求参数结构体
12342
12342
  */
12343
- export declare type InquirePriceCreateDirectConnectGatewayRequest = null;
12343
+ export type InquirePriceCreateDirectConnectGatewayRequest = null;
12344
12344
  /**
12345
12345
  * AttachNetworkInterface返回参数结构体
12346
12346
  */
@@ -14082,7 +14082,7 @@ export interface MigrateBandwidthPackageResourcesResponse {
14082
14082
  /**
14083
14083
  * DescribeCdcUsedIdcVlan请求参数结构体
14084
14084
  */
14085
- export declare type DescribeCdcUsedIdcVlanRequest = null;
14085
+ export type DescribeCdcUsedIdcVlanRequest = null;
14086
14086
  /**
14087
14087
  * 描述带宽包信息的结构
14088
14088
  */
@@ -16103,7 +16103,7 @@ export interface ModifyPrivateIpAddressesAttributeResponse {
16103
16103
  /**
16104
16104
  * DeleteCdcNetPlanes请求参数结构体
16105
16105
  */
16106
- export declare type DeleteCdcNetPlanesRequest = null;
16106
+ export type DeleteCdcNetPlanesRequest = null;
16107
16107
  /**
16108
16108
  * ModifyHaVipAttribute返回参数结构体
16109
16109
  */
@@ -16218,7 +16218,7 @@ export interface DeleteNetworkAclEntriesResponse {
16218
16218
  /**
16219
16219
  * DescribeCdcLDCXList请求参数结构体
16220
16220
  */
16221
- export declare type DescribeCdcLDCXListRequest = null;
16221
+ export type DescribeCdcLDCXListRequest = null;
16222
16222
  /**
16223
16223
  * UpdateTrafficMirrorDirection请求参数结构体
16224
16224
  */
@@ -16257,7 +16257,7 @@ export interface CreateNetworkInterfaceResponse {
16257
16257
  /**
16258
16258
  * DescribeAddressQuota请求参数结构体
16259
16259
  */
16260
- export declare type DescribeAddressQuotaRequest = null;
16260
+ export type DescribeAddressQuotaRequest = null;
16261
16261
  /**
16262
16262
  * LockCcns返回参数结构体
16263
16263
  */
@@ -17044,7 +17044,7 @@ export interface AssociateAddressRequest {
17044
17044
  */
17045
17045
  PrivateIpAddress?: string;
17046
17046
  /**
17047
- * 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:TrueFalse,默认值为 False。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 True。此参数目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2)。
17047
+ * 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:truefalse,默认值为 false。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 true。此参数目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2)。
17048
17048
  */
17049
17049
  EipDirectConnection?: boolean;
17050
17050
  /**
@@ -17364,7 +17364,7 @@ export interface VpcLimit {
17364
17364
  /**
17365
17365
  * NAT地域地区对象
17366
17366
  */
17367
- export declare type NatRegionInfoWithArea = null;
17367
+ export type NatRegionInfoWithArea = null;
17368
17368
  /**
17369
17369
  * DetachClassicLinkVpc返回参数结构体
17370
17370
  */
@@ -17807,7 +17807,7 @@ export interface ReplaceCcnRouteTableBroadcastPolicysRequest {
17807
17807
  /**
17808
17808
  * UnlockCcns请求参数结构体
17809
17809
  */
17810
- export declare type UnlockCcnsRequest = null;
17810
+ export type UnlockCcnsRequest = null;
17811
17811
  /**
17812
17812
  * DescribeSnapshotAttachedInstances请求参数结构体
17813
17813
  */
@@ -17947,7 +17947,7 @@ export interface ModifyCcnAttributeResponse {
17947
17947
  /**
17948
17948
  * DescribeSecurityGroupLimits请求参数结构体
17949
17949
  */
17950
- export declare type DescribeSecurityGroupLimitsRequest = null;
17950
+ export type DescribeSecurityGroupLimitsRequest = null;
17951
17951
  /**
17952
17952
  * DescribeClassicLinkInstances请求参数结构体
17953
17953
  */
@@ -18369,7 +18369,7 @@ export interface AcceptVpcPeeringConnectionRequest {
18369
18369
  /**
18370
18370
  * CreateCdcNetPlanes请求参数结构体
18371
18371
  */
18372
- export declare type CreateCdcNetPlanesRequest = null;
18372
+ export type CreateCdcNetPlanesRequest = null;
18373
18373
  /**
18374
18374
  * CreatePrivateNatGatewayDestinationIpPortTranslationNatRule返回参数结构体
18375
18375
  */
@@ -18736,7 +18736,7 @@ export interface DescribeCrossBorderFlowMonitorResponse {
18736
18736
  /**
18737
18737
  * DescribeBandwidthPackageQuota请求参数结构体
18738
18738
  */
18739
- export declare type DescribeBandwidthPackageQuotaRequest = null;
18739
+ export type DescribeBandwidthPackageQuotaRequest = null;
18740
18740
  /**
18741
18741
  * DeleteVpc返回参数结构体
18742
18742
  */
@@ -18810,7 +18810,7 @@ export interface InstanceChargePrepaid {
18810
18810
  /**
18811
18811
  * DescribeTemplateLimits请求参数结构体
18812
18812
  */
18813
- export declare type DescribeTemplateLimitsRequest = null;
18813
+ export type DescribeTemplateLimitsRequest = null;
18814
18814
  /**
18815
18815
  * AddTemplateMember请求参数结构体
18816
18816
  */