tencentcloud-sdk-nodejs-vpc 4.0.716 → 4.0.717

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.
@@ -255,17 +255,27 @@ export interface CreateVpcPeeringConnectionRequest {
255
255
  QosLevel?: string;
256
256
  }
257
257
  /**
258
- * CreateCcn返回参数结构体
258
+ * DescribeBandwidthPackageResources请求参数结构体
259
259
  */
260
- export interface CreateCcnResponse {
260
+ export interface DescribeBandwidthPackageResourcesRequest {
261
261
  /**
262
- * 云联网(CCN)对象。
262
+ * 标识 共享带宽包 的唯一 ID 列表。共享带宽包 唯一 ID 形如:`bwp-11112222`。
263
263
  */
264
- Ccn?: CCN;
264
+ BandwidthPackageId: string;
265
265
  /**
266
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
266
+ * 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下:
267
+ <li> resource-id - String - 是否必填:否 - (过滤条件)按照 共享带宽包内资源 的唯一 ID 过滤。共享带宽包内资源 唯一 ID 形如:eip-11112222。</li>
268
+ <li> resource-type - String - 是否必填:否 - (过滤条件)按照 共享带宽包内资源 类型过滤,目前仅支持 弹性IP 和 负载均衡 两种类型,可选值为 Address 和 LoadBalance。</li>
267
269
  */
268
- RequestId?: string;
270
+ Filters?: Array<Filter>;
271
+ /**
272
+ * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
273
+ */
274
+ Offset?: number;
275
+ /**
276
+ * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
277
+ */
278
+ Limit?: number;
269
279
  }
270
280
  /**
271
281
  * DescribeVpnConnections请求参数结构体
@@ -2358,50 +2368,62 @@ export interface DisassociateVpcEndPointSecurityGroupsRequest {
2358
2368
  export interface IKEOptionsSpecification {
2359
2369
  /**
2360
2370
  * 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC
2371
+ 注意:此字段可能返回 null,表示取不到有效值。
2361
2372
  */
2362
2373
  PropoEncryAlgorithm?: string;
2363
2374
  /**
2364
2375
  * 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5
2376
+ 注意:此字段可能返回 null,表示取不到有效值。
2365
2377
  */
2366
2378
  PropoAuthenAlgorithm?: string;
2367
2379
  /**
2368
2380
  * 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN
2381
+ 注意:此字段可能返回 null,表示取不到有效值。
2369
2382
  */
2370
2383
  ExchangeMode?: string;
2371
2384
  /**
2372
2385
  * 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
2386
+ 注意:此字段可能返回 null,表示取不到有效值。
2373
2387
  */
2374
2388
  LocalIdentity?: string;
2375
2389
  /**
2376
2390
  * 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
2391
+ 注意:此字段可能返回 null,表示取不到有效值。
2377
2392
  */
2378
2393
  RemoteIdentity?: string;
2379
2394
  /**
2380
2395
  * 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP
2396
+ 注意:此字段可能返回 null,表示取不到有效值。
2381
2397
  */
2382
2398
  LocalAddress?: string;
2383
2399
  /**
2384
2400
  * 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填
2401
+ 注意:此字段可能返回 null,表示取不到有效值。
2385
2402
  */
2386
2403
  RemoteAddress?: string;
2387
2404
  /**
2388
2405
  * 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填
2406
+ 注意:此字段可能返回 null,表示取不到有效值。
2389
2407
  */
2390
2408
  LocalFqdnName?: string;
2391
2409
  /**
2392
2410
  * 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填
2411
+ 注意:此字段可能返回 null,表示取不到有效值。
2393
2412
  */
2394
2413
  RemoteFqdnName?: string;
2395
2414
  /**
2396
2415
  * DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',
2416
+ 注意:此字段可能返回 null,表示取不到有效值。
2397
2417
  */
2398
2418
  DhGroupName?: string;
2399
2419
  /**
2400
2420
  * IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800
2421
+ 注意:此字段可能返回 null,表示取不到有效值。
2401
2422
  */
2402
2423
  IKESaLifetimeSeconds?: number;
2403
2424
  /**
2404
2425
  * IKE版本
2426
+ 注意:此字段可能返回 null,表示取不到有效值。
2405
2427
  */
2406
2428
  IKEVersion?: string;
2407
2429
  }
@@ -3861,6 +3883,14 @@ export interface CreateVpnConnectionRequest {
3861
3883
  * DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
3862
3884
  */
3863
3885
  DpdAction?: string;
3886
+ /**
3887
+ * 创建通道路由信息。
3888
+ */
3889
+ Route?: CreateVpnConnRoute;
3890
+ /**
3891
+ * BGP配置。
3892
+ */
3893
+ BgpConfig?: BgpConfig;
3864
3894
  }
3865
3895
  /**
3866
3896
  * CCN路由策略对象
@@ -3976,103 +4006,108 @@ export interface VpnConnection {
3976
4006
  /**
3977
4007
  * 通道实例ID。
3978
4008
  */
3979
- VpnConnectionId: string;
4009
+ VpnConnectionId?: string;
3980
4010
  /**
3981
4011
  * 通道名称。
3982
4012
  */
3983
- VpnConnectionName: string;
4013
+ VpnConnectionName?: string;
3984
4014
  /**
3985
4015
  * VPC实例ID。
3986
4016
  */
3987
- VpcId: string;
4017
+ VpcId?: string;
3988
4018
  /**
3989
4019
  * VPN网关实例ID。
3990
4020
  */
3991
- VpnGatewayId: string;
4021
+ VpnGatewayId?: string;
3992
4022
  /**
3993
4023
  * 对端网关实例ID。
3994
4024
  */
3995
- CustomerGatewayId: string;
4025
+ CustomerGatewayId?: string;
3996
4026
  /**
3997
4027
  * 预共享密钥。
3998
4028
  */
3999
- PreShareKey: string;
4029
+ PreShareKey?: string;
4000
4030
  /**
4001
4031
  * 通道传输协议。
4002
4032
  */
4003
- VpnProto: string;
4033
+ VpnProto?: string;
4004
4034
  /**
4005
4035
  * 通道加密协议。
4006
4036
  */
4007
- EncryptProto: string;
4037
+ EncryptProto?: string;
4008
4038
  /**
4009
4039
  * 路由类型。
4010
4040
  */
4011
- RouteType: string;
4041
+ RouteType?: string;
4012
4042
  /**
4013
4043
  * 创建时间。
4014
4044
  */
4015
- CreatedTime: string;
4045
+ CreatedTime?: string;
4016
4046
  /**
4017
4047
  * 通道的生产状态,PENDING:生产中,AVAILABLE:运行中,DELETING:删除中。
4018
4048
  */
4019
- State: string;
4049
+ State?: string;
4020
4050
  /**
4021
4051
  * 通道连接状态,AVAILABLE:已连接。
4022
4052
  */
4023
- NetStatus: string;
4053
+ NetStatus?: string;
4024
4054
  /**
4025
4055
  * SPD。
4026
4056
  */
4027
- SecurityPolicyDatabaseSet: Array<SecurityPolicyDatabase>;
4057
+ SecurityPolicyDatabaseSet?: Array<SecurityPolicyDatabase>;
4028
4058
  /**
4029
4059
  * IKE选项。
4030
4060
  */
4031
- IKEOptionsSpecification: IKEOptionsSpecification;
4061
+ IKEOptionsSpecification?: IKEOptionsSpecification;
4032
4062
  /**
4033
4063
  * IPSEC选择。
4034
4064
  */
4035
- IPSECOptionsSpecification: IPSECOptionsSpecification;
4065
+ IPSECOptionsSpecification?: IPSECOptionsSpecification;
4036
4066
  /**
4037
4067
  * 是否支持健康状态探测
4038
4068
  */
4039
- EnableHealthCheck: boolean;
4069
+ EnableHealthCheck?: boolean;
4040
4070
  /**
4041
4071
  * 本端探测ip
4042
4072
  */
4043
- HealthCheckLocalIp: string;
4073
+ HealthCheckLocalIp?: string;
4044
4074
  /**
4045
4075
  * 对端探测ip
4046
4076
  */
4047
- HealthCheckRemoteIp: string;
4077
+ HealthCheckRemoteIp?: string;
4048
4078
  /**
4049
4079
  * 通道健康检查状态,AVAILABLE:正常,UNAVAILABLE:不正常。 未配置健康检查不返回该对象
4050
4080
  */
4051
- HealthCheckStatus: string;
4081
+ HealthCheckStatus?: string;
4052
4082
  /**
4053
4083
  * DPD探测开关。默认为0,表示关闭DPD探测。可选值:0(关闭),1(开启)
4054
4084
  注意:此字段可能返回 null,表示取不到有效值。
4055
4085
  */
4056
- DpdEnable: number;
4086
+ DpdEnable?: number;
4057
4087
  /**
4058
4088
  * DPD超时时间。即探测确认对端不存在需要的时间。
4059
4089
  注意:此字段可能返回 null,表示取不到有效值。
4060
4090
  */
4061
- DpdTimeout: string;
4091
+ DpdTimeout?: string;
4062
4092
  /**
4063
4093
  * DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
4064
4094
  注意:此字段可能返回 null,表示取不到有效值。
4065
4095
  */
4066
- DpdAction: string;
4096
+ DpdAction?: string;
4067
4097
  /**
4068
4098
  * 标签键值对数组
4069
4099
  */
4070
- TagSet: Array<Tag>;
4100
+ TagSet?: Array<Tag>;
4071
4101
  /**
4072
4102
  * 协商类型
4073
4103
  注意:此字段可能返回 null,表示取不到有效值。
4074
4104
  */
4075
- NegotiationType: string;
4105
+ NegotiationType?: string;
4106
+ /**
4107
+ * Bgp配置信息
4108
+ 注意:此字段可能返回 null,表示取不到有效值。
4109
+ */
4110
+ BgpConfig?: BgpConfigAndAsn;
4076
4111
  }
4077
4112
  /**
4078
4113
  * DescribeCcns请求参数结构体
@@ -5041,27 +5076,17 @@ export interface DescribeVpnGatewaySslClientsResponse {
5041
5076
  RequestId?: string;
5042
5077
  }
5043
5078
  /**
5044
- * DescribeBandwidthPackageResources请求参数结构体
5079
+ * CreateCcn返回参数结构体
5045
5080
  */
5046
- export interface DescribeBandwidthPackageResourcesRequest {
5047
- /**
5048
- * 标识 共享带宽包 的唯一 ID 列表。共享带宽包 唯一 ID 形如:`bwp-11112222`。
5049
- */
5050
- BandwidthPackageId: string;
5051
- /**
5052
- * 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`AddressIds`和`Filters`。详细的过滤条件如下:
5053
- <li> resource-id - String - 是否必填:否 - (过滤条件)按照 共享带宽包内资源 的唯一 ID 过滤。共享带宽包内资源 唯一 ID 形如:eip-11112222。</li>
5054
- <li> resource-type - String - 是否必填:否 - (过滤条件)按照 共享带宽包内资源 类型过滤,目前仅支持 弹性IP 和 负载均衡 两种类型,可选值为 Address 和 LoadBalance。</li>
5055
- */
5056
- Filters?: Array<Filter>;
5081
+ export interface CreateCcnResponse {
5057
5082
  /**
5058
- * 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
5083
+ * 云联网(CCN)对象。
5059
5084
  */
5060
- Offset?: number;
5085
+ Ccn?: CCN;
5061
5086
  /**
5062
- * 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/11646)中的相关小节。
5087
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5063
5088
  */
5064
- Limit?: number;
5089
+ RequestId?: string;
5065
5090
  }
5066
5091
  /**
5067
5092
  * EnableCcnRoutes请求参数结构体
@@ -5254,6 +5279,10 @@ export interface CustomerGateway {
5254
5279
  * 创建时间
5255
5280
  */
5256
5281
  CreatedTime: string;
5282
+ /**
5283
+ * BGP ASN。
5284
+ */
5285
+ BgpAsn?: number;
5257
5286
  }
5258
5287
  /**
5259
5288
  * ModifyDirectConnectGatewayAttribute请求参数结构体
@@ -7413,6 +7442,36 @@ export interface DeleteNatGatewaySourceIpTranslationNatRuleResponse {
7413
7442
  */
7414
7443
  RequestId?: string;
7415
7444
  }
7445
+ /**
7446
+ * VPN通道BGP配置
7447
+ */
7448
+ export interface BgpConfigAndAsn {
7449
+ /**
7450
+ * BGP通道CIDR
7451
+ 注意:此字段可能返回 null,表示取不到有效值。
7452
+ */
7453
+ TunnelCidr?: string;
7454
+ /**
7455
+ * 本端BGP IP
7456
+ 注意:此字段可能返回 null,表示取不到有效值。
7457
+ */
7458
+ LocalBgpIp?: string;
7459
+ /**
7460
+ * 对端BGP IP
7461
+ 注意:此字段可能返回 null,表示取不到有效值。
7462
+ */
7463
+ RemoteBgpIp?: string;
7464
+ /**
7465
+ * 本端BGP ASN号
7466
+ 注意:此字段可能返回 null,表示取不到有效值。
7467
+ */
7468
+ LocalBgpAsn?: string;
7469
+ /**
7470
+ * 对端BGP ASN号
7471
+ 注意:此字段可能返回 null,表示取不到有效值。
7472
+ */
7473
+ RemoteBgpAsn?: string;
7474
+ }
7416
7475
  /**
7417
7476
  * 云联网(CCN)关联实例(Instance)对象
7418
7477
  */
@@ -7494,10 +7553,12 @@ export interface CcnAttachedInstance {
7494
7553
  export interface SecurityPolicyDatabase {
7495
7554
  /**
7496
7555
  * 本端网段
7556
+ 注意:此字段可能返回 null,表示取不到有效值。
7497
7557
  */
7498
7558
  LocalCidrBlock: string;
7499
7559
  /**
7500
7560
  * 对端网段
7561
+ 注意:此字段可能返回 null,表示取不到有效值。
7501
7562
  */
7502
7563
  RemoteCidrBlock: Array<string>;
7503
7564
  }
@@ -8957,6 +9018,23 @@ export interface ConflictItem {
8957
9018
  */
8958
9019
  DestinationItem: string;
8959
9020
  }
9021
+ /**
9022
+ * BgpConfig
9023
+ */
9024
+ export interface BgpConfig {
9025
+ /**
9026
+ * BGP隧道网段。
9027
+ */
9028
+ TunnelCidr: string;
9029
+ /**
9030
+ * 云端BGP地址。必须从BGP隧道网段内分配。
9031
+ */
9032
+ LocalBgpIp: string;
9033
+ /**
9034
+ * 用户端BGP地址。必须从BGP隧道网段内分配。
9035
+ */
9036
+ RemoteBgpIp: string;
9037
+ }
8960
9038
  /**
8961
9039
  * InquiryPriceRenewVpnGateway返回参数结构体
8962
9040
  */
@@ -9285,6 +9363,19 @@ export interface DeleteFlowLogResponse {
9285
9363
  */
9286
9364
  RequestId?: string;
9287
9365
  }
9366
+ /**
9367
+ * 创建路由添加的指向此通道的路由
9368
+ */
9369
+ export interface CreateVpnConnRoute {
9370
+ /**
9371
+ * 目的端IDC网段
9372
+ */
9373
+ DestinationCidrBlock: string;
9374
+ /**
9375
+ * 优先级;可选值0,100。
9376
+ */
9377
+ Priority?: number;
9378
+ }
9288
9379
  /**
9289
9380
  * AttachCcnInstances返回参数结构体
9290
9381
  */
@@ -10298,22 +10389,27 @@ export interface DeleteNetDetectRequest {
10298
10389
  export interface IPSECOptionsSpecification {
10299
10390
  /**
10300
10391
  * 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL', 默认为AES-CBC-128
10392
+ 注意:此字段可能返回 null,表示取不到有效值。
10301
10393
  */
10302
10394
  EncryptAlgorithm?: string;
10303
10395
  /**
10304
10396
  * 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为
10397
+ 注意:此字段可能返回 null,表示取不到有效值。
10305
10398
  */
10306
10399
  IntegrityAlgorith?: string;
10307
10400
  /**
10308
10401
  * IPsec SA lifetime(s):单位秒,取值范围:180-604800
10402
+ 注意:此字段可能返回 null,表示取不到有效值。
10309
10403
  */
10310
10404
  IPSECSaLifetimeSeconds?: number;
10311
10405
  /**
10312
10406
  * PFS:可选值:'NULL', 'DH-GROUP1', 'DH-GROUP2', 'DH-GROUP5', 'DH-GROUP14', 'DH-GROUP24',默认为NULL
10407
+ 注意:此字段可能返回 null,表示取不到有效值。
10313
10408
  */
10314
10409
  PfsDhGroup?: string;
10315
10410
  /**
10316
10411
  * IPsec SA lifetime(KB):单位KB,取值范围:2560-604800
10412
+ 注意:此字段可能返回 null,表示取不到有效值。
10317
10413
  */
10318
10414
  IPSECSaLifetimeTraffic?: number;
10319
10415
  }
@@ -13416,6 +13512,10 @@ export interface CreateCustomerGatewayRequest {
13416
13512
  * 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
13417
13513
  */
13418
13514
  Tags?: Array<Tag>;
13515
+ /**
13516
+ * BGP ASN。ASN取值范围为1- 4294967295,其中139341、45090和58835不可用。
13517
+ */
13518
+ BgpAsn?: number;
13419
13519
  }
13420
13520
  /**
13421
13521
  * DeleteSecurityGroup请求参数结构体
@@ -14216,18 +14316,23 @@ export interface DescribeUsedIpAddressResponse {
14216
14316
  RequestId?: string;
14217
14317
  }
14218
14318
  /**
14219
- * IP地址模板信息
14319
+ * DescribeNetDetects返回参数结构体
14220
14320
  */
14221
- export interface AddressInfo {
14321
+ export interface DescribeNetDetectsResponse {
14222
14322
  /**
14223
- * ip地址。
14323
+ * 符合条件的网络探测对象数组。
14324
+ 注意:此字段可能返回 null,表示取不到有效值。
14224
14325
  */
14225
- Address: string;
14326
+ NetDetectSet?: Array<NetDetect>;
14226
14327
  /**
14227
- * 备注。
14328
+ * 符合条件的网络探测对象数量。
14228
14329
  注意:此字段可能返回 null,表示取不到有效值。
14229
14330
  */
14230
- Description?: string;
14331
+ TotalCount?: number;
14332
+ /**
14333
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14334
+ */
14335
+ RequestId?: string;
14231
14336
  }
14232
14337
  /**
14233
14338
  * AuditCrossBorderCompliance请求参数结构体
@@ -14247,21 +14352,16 @@ export interface AuditCrossBorderComplianceRequest {
14247
14352
  AuditBehavior: string;
14248
14353
  }
14249
14354
  /**
14250
- * DescribeNetDetects返回参数结构体
14355
+ * IP地址模板信息
14251
14356
  */
14252
- export interface DescribeNetDetectsResponse {
14357
+ export interface AddressInfo {
14253
14358
  /**
14254
- * 符合条件的网络探测对象数组。
14255
- 注意:此字段可能返回 null,表示取不到有效值。
14359
+ * ip地址。
14256
14360
  */
14257
- NetDetectSet?: Array<NetDetect>;
14361
+ Address: string;
14258
14362
  /**
14259
- * 符合条件的网络探测对象数量。
14363
+ * 备注。
14260
14364
  注意:此字段可能返回 null,表示取不到有效值。
14261
14365
  */
14262
- TotalCount?: number;
14263
- /**
14264
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14265
- */
14266
- RequestId?: string;
14366
+ Description?: string;
14267
14367
  }