tencentcloud-sdk-vpc 3.0.687 → 3.0.689
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/models.rb +142 -9
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cf8222c20662f11829d5ab3f5b6d2879fa5da4f
|
4
|
+
data.tar.gz: eb9d5a7f73fe5924d84235b41b33acf7bf0e07a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70edb6da651eec42903710f2b67bbec8746420c6e56e028f822b1efdd3244869838e6040c7ae10a470c868d1d96bb27fe6f4b99ee37af63dff25af46c5113f0c
|
7
|
+
data.tar.gz: 03b63dc8d1a6ce17f8bd7afd75558241f55a9da550dfe21001255ebe786a68ea32a566577b53ed2055a86b3e983019b198c5e784cc888081773510e0abcec058
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.689
|
data/lib/v20170312/models.rb
CHANGED
@@ -1665,6 +1665,67 @@ module TencentCloud
|
|
1665
1665
|
end
|
1666
1666
|
end
|
1667
1667
|
|
1668
|
+
# BgpConfig
|
1669
|
+
class BgpConfig < TencentCloud::Common::AbstractModel
|
1670
|
+
# @param TunnelCidr: BGP隧道网段。
|
1671
|
+
# @type TunnelCidr: String
|
1672
|
+
# @param LocalBgpIp: 云端BGP地址。必须从BGP隧道网段内分配。
|
1673
|
+
# @type LocalBgpIp: String
|
1674
|
+
# @param RemoteBgpIp: 用户端BGP地址。必须从BGP隧道网段内分配。
|
1675
|
+
# @type RemoteBgpIp: String
|
1676
|
+
|
1677
|
+
attr_accessor :TunnelCidr, :LocalBgpIp, :RemoteBgpIp
|
1678
|
+
|
1679
|
+
def initialize(tunnelcidr=nil, localbgpip=nil, remotebgpip=nil)
|
1680
|
+
@TunnelCidr = tunnelcidr
|
1681
|
+
@LocalBgpIp = localbgpip
|
1682
|
+
@RemoteBgpIp = remotebgpip
|
1683
|
+
end
|
1684
|
+
|
1685
|
+
def deserialize(params)
|
1686
|
+
@TunnelCidr = params['TunnelCidr']
|
1687
|
+
@LocalBgpIp = params['LocalBgpIp']
|
1688
|
+
@RemoteBgpIp = params['RemoteBgpIp']
|
1689
|
+
end
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# VPN通道BGP配置
|
1693
|
+
class BgpConfigAndAsn < TencentCloud::Common::AbstractModel
|
1694
|
+
# @param TunnelCidr: BGP通道CIDR
|
1695
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1696
|
+
# @type TunnelCidr: String
|
1697
|
+
# @param LocalBgpIp: 本端BGP IP
|
1698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1699
|
+
# @type LocalBgpIp: String
|
1700
|
+
# @param RemoteBgpIp: 对端BGP IP
|
1701
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1702
|
+
# @type RemoteBgpIp: String
|
1703
|
+
# @param LocalBgpAsn: 本端BGP ASN号
|
1704
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1705
|
+
# @type LocalBgpAsn: String
|
1706
|
+
# @param RemoteBgpAsn: 对端BGP ASN号
|
1707
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1708
|
+
# @type RemoteBgpAsn: String
|
1709
|
+
|
1710
|
+
attr_accessor :TunnelCidr, :LocalBgpIp, :RemoteBgpIp, :LocalBgpAsn, :RemoteBgpAsn
|
1711
|
+
|
1712
|
+
def initialize(tunnelcidr=nil, localbgpip=nil, remotebgpip=nil, localbgpasn=nil, remotebgpasn=nil)
|
1713
|
+
@TunnelCidr = tunnelcidr
|
1714
|
+
@LocalBgpIp = localbgpip
|
1715
|
+
@RemoteBgpIp = remotebgpip
|
1716
|
+
@LocalBgpAsn = localbgpasn
|
1717
|
+
@RemoteBgpAsn = remotebgpasn
|
1718
|
+
end
|
1719
|
+
|
1720
|
+
def deserialize(params)
|
1721
|
+
@TunnelCidr = params['TunnelCidr']
|
1722
|
+
@LocalBgpIp = params['LocalBgpIp']
|
1723
|
+
@RemoteBgpIp = params['RemoteBgpIp']
|
1724
|
+
@LocalBgpAsn = params['LocalBgpAsn']
|
1725
|
+
@RemoteBgpAsn = params['RemoteBgpAsn']
|
1726
|
+
end
|
1727
|
+
end
|
1728
|
+
|
1668
1729
|
# 云联网(CCN)对象
|
1669
1730
|
class CCN < TencentCloud::Common::AbstractModel
|
1670
1731
|
# @param CcnId: 云联网唯一ID
|
@@ -2886,13 +2947,16 @@ module TencentCloud
|
|
2886
2947
|
# @type IpAddress: String
|
2887
2948
|
# @param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
2888
2949
|
# @type Tags: Array
|
2950
|
+
# @param BgpAsn: BGP ASN。ASN取值范围为1- 4294967295,其中139341、45090和58835不可用。
|
2951
|
+
# @type BgpAsn: Integer
|
2889
2952
|
|
2890
|
-
attr_accessor :CustomerGatewayName, :IpAddress, :Tags
|
2953
|
+
attr_accessor :CustomerGatewayName, :IpAddress, :Tags, :BgpAsn
|
2891
2954
|
|
2892
|
-
def initialize(customergatewayname=nil, ipaddress=nil, tags=nil)
|
2955
|
+
def initialize(customergatewayname=nil, ipaddress=nil, tags=nil, bgpasn=nil)
|
2893
2956
|
@CustomerGatewayName = customergatewayname
|
2894
2957
|
@IpAddress = ipaddress
|
2895
2958
|
@Tags = tags
|
2959
|
+
@BgpAsn = bgpasn
|
2896
2960
|
end
|
2897
2961
|
|
2898
2962
|
def deserialize(params)
|
@@ -2906,6 +2970,7 @@ module TencentCloud
|
|
2906
2970
|
@Tags << tag_tmp
|
2907
2971
|
end
|
2908
2972
|
end
|
2973
|
+
@BgpAsn = params['BgpAsn']
|
2909
2974
|
end
|
2910
2975
|
end
|
2911
2976
|
|
@@ -4805,6 +4870,26 @@ module TencentCloud
|
|
4805
4870
|
end
|
4806
4871
|
end
|
4807
4872
|
|
4873
|
+
# 创建路由添加的指向此通道的路由
|
4874
|
+
class CreateVpnConnRoute < TencentCloud::Common::AbstractModel
|
4875
|
+
# @param DestinationCidrBlock: 目的端IDC网段
|
4876
|
+
# @type DestinationCidrBlock: String
|
4877
|
+
# @param Priority: 优先级;可选值0,100。
|
4878
|
+
# @type Priority: Integer
|
4879
|
+
|
4880
|
+
attr_accessor :DestinationCidrBlock, :Priority
|
4881
|
+
|
4882
|
+
def initialize(destinationcidrblock=nil, priority=nil)
|
4883
|
+
@DestinationCidrBlock = destinationcidrblock
|
4884
|
+
@Priority = priority
|
4885
|
+
end
|
4886
|
+
|
4887
|
+
def deserialize(params)
|
4888
|
+
@DestinationCidrBlock = params['DestinationCidrBlock']
|
4889
|
+
@Priority = params['Priority']
|
4890
|
+
end
|
4891
|
+
end
|
4892
|
+
|
4808
4893
|
# CreateVpnConnection请求参数结构体
|
4809
4894
|
class CreateVpnConnectionRequest < TencentCloud::Common::AbstractModel
|
4810
4895
|
# @param VpnGatewayId: VPN网关实例ID。
|
@@ -4842,10 +4927,14 @@ module TencentCloud
|
|
4842
4927
|
# @type DpdTimeout: String
|
4843
4928
|
# @param DpdAction: DPD超时后的动作。默认为clear。dpdEnable为1(开启)时有效。可取值为clear(断开)和restart(重试)
|
4844
4929
|
# @type DpdAction: String
|
4930
|
+
# @param Route: 创建通道路由信息。
|
4931
|
+
# @type Route: :class:`Tencentcloud::Vpc.v20170312.models.CreateVpnConnRoute`
|
4932
|
+
# @param BgpConfig: BGP配置。
|
4933
|
+
# @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfig`
|
4845
4934
|
|
4846
|
-
attr_accessor :VpnGatewayId, :CustomerGatewayId, :VpnConnectionName, :PreShareKey, :VpcId, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :Tags, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :RouteType, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction
|
4935
|
+
attr_accessor :VpnGatewayId, :CustomerGatewayId, :VpnConnectionName, :PreShareKey, :VpcId, :SecurityPolicyDatabases, :IKEOptionsSpecification, :IPSECOptionsSpecification, :Tags, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :RouteType, :NegotiationType, :DpdEnable, :DpdTimeout, :DpdAction, :Route, :BgpConfig
|
4847
4936
|
|
4848
|
-
def initialize(vpngatewayid=nil, customergatewayid=nil, vpnconnectionname=nil, presharekey=nil, vpcid=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, tags=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, routetype=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil)
|
4937
|
+
def initialize(vpngatewayid=nil, customergatewayid=nil, vpnconnectionname=nil, presharekey=nil, vpcid=nil, securitypolicydatabases=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, tags=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, routetype=nil, negotiationtype=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, route=nil, bgpconfig=nil)
|
4849
4938
|
@VpnGatewayId = vpngatewayid
|
4850
4939
|
@CustomerGatewayId = customergatewayid
|
4851
4940
|
@VpnConnectionName = vpnconnectionname
|
@@ -4863,6 +4952,8 @@ module TencentCloud
|
|
4863
4952
|
@DpdEnable = dpdenable
|
4864
4953
|
@DpdTimeout = dpdtimeout
|
4865
4954
|
@DpdAction = dpdaction
|
4955
|
+
@Route = route
|
4956
|
+
@BgpConfig = bgpconfig
|
4866
4957
|
end
|
4867
4958
|
|
4868
4959
|
def deserialize(params)
|
@@ -4903,6 +4994,14 @@ module TencentCloud
|
|
4903
4994
|
@DpdEnable = params['DpdEnable']
|
4904
4995
|
@DpdTimeout = params['DpdTimeout']
|
4905
4996
|
@DpdAction = params['DpdAction']
|
4997
|
+
unless params['Route'].nil?
|
4998
|
+
@Route = CreateVpnConnRoute.new
|
4999
|
+
@Route.deserialize(params['Route'])
|
5000
|
+
end
|
5001
|
+
unless params['BgpConfig'].nil?
|
5002
|
+
@BgpConfig = BgpConfig.new
|
5003
|
+
@BgpConfig.deserialize(params['BgpConfig'])
|
5004
|
+
end
|
4906
5005
|
end
|
4907
5006
|
end
|
4908
5007
|
|
@@ -5338,14 +5437,17 @@ module TencentCloud
|
|
5338
5437
|
# @type IpAddress: String
|
5339
5438
|
# @param CreatedTime: 创建时间
|
5340
5439
|
# @type CreatedTime: String
|
5440
|
+
# @param BgpAsn: BGP ASN。
|
5441
|
+
# @type BgpAsn: Integer
|
5341
5442
|
|
5342
|
-
attr_accessor :CustomerGatewayId, :CustomerGatewayName, :IpAddress, :CreatedTime
|
5443
|
+
attr_accessor :CustomerGatewayId, :CustomerGatewayName, :IpAddress, :CreatedTime, :BgpAsn
|
5343
5444
|
|
5344
|
-
def initialize(customergatewayid=nil, customergatewayname=nil, ipaddress=nil, createdtime=nil)
|
5445
|
+
def initialize(customergatewayid=nil, customergatewayname=nil, ipaddress=nil, createdtime=nil, bgpasn=nil)
|
5345
5446
|
@CustomerGatewayId = customergatewayid
|
5346
5447
|
@CustomerGatewayName = customergatewayname
|
5347
5448
|
@IpAddress = ipaddress
|
5348
5449
|
@CreatedTime = createdtime
|
5450
|
+
@BgpAsn = bgpasn
|
5349
5451
|
end
|
5350
5452
|
|
5351
5453
|
def deserialize(params)
|
@@ -5353,6 +5455,7 @@ module TencentCloud
|
|
5353
5455
|
@CustomerGatewayName = params['CustomerGatewayName']
|
5354
5456
|
@IpAddress = params['IpAddress']
|
5355
5457
|
@CreatedTime = params['CreatedTime']
|
5458
|
+
@BgpAsn = params['BgpAsn']
|
5356
5459
|
end
|
5357
5460
|
end
|
5358
5461
|
|
@@ -14121,28 +14224,40 @@ module TencentCloud
|
|
14121
14224
|
# IKE配置(Internet Key Exchange,因特网密钥交换),IKE具有一套自我保护机制,用户配置网络安全协议
|
14122
14225
|
class IKEOptionsSpecification < TencentCloud::Common::AbstractModel
|
14123
14226
|
# @param PropoEncryAlgorithm: 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBS-192', 'AES-CBC-256', 'DES-CBC','SM4', 默认为3DES-CBC
|
14227
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14124
14228
|
# @type PropoEncryAlgorithm: String
|
14125
14229
|
# @param PropoAuthenAlgorithm: 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为MD5
|
14230
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14126
14231
|
# @type PropoAuthenAlgorithm: String
|
14127
14232
|
# @param ExchangeMode: 协商模式:可选值:'AGGRESSIVE', 'MAIN',默认为MAIN
|
14233
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14128
14234
|
# @type ExchangeMode: String
|
14129
14235
|
# @param LocalIdentity: 本端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
|
14236
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14130
14237
|
# @type LocalIdentity: String
|
14131
14238
|
# @param RemoteIdentity: 对端标识类型:可选值:'ADDRESS', 'FQDN',默认为ADDRESS
|
14239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14132
14240
|
# @type RemoteIdentity: String
|
14133
14241
|
# @param LocalAddress: 本端标识,当LocalIdentity选为ADDRESS时,LocalAddress必填。localAddress默认为vpn网关公网IP
|
14242
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14134
14243
|
# @type LocalAddress: String
|
14135
14244
|
# @param RemoteAddress: 对端标识,当RemoteIdentity选为ADDRESS时,RemoteAddress必填
|
14245
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14136
14246
|
# @type RemoteAddress: String
|
14137
14247
|
# @param LocalFqdnName: 本端标识,当LocalIdentity选为FQDN时,LocalFqdnName必填
|
14248
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14138
14249
|
# @type LocalFqdnName: String
|
14139
14250
|
# @param RemoteFqdnName: 对端标识,当remoteIdentity选为FQDN时,RemoteFqdnName必填
|
14251
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14140
14252
|
# @type RemoteFqdnName: String
|
14141
14253
|
# @param DhGroupName: DH group,指定IKE交换密钥时使用的DH组,可选值:'GROUP1', 'GROUP2', 'GROUP5', 'GROUP14', 'GROUP24',
|
14254
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14142
14255
|
# @type DhGroupName: String
|
14143
14256
|
# @param IKESaLifetimeSeconds: IKE SA Lifetime,单位:秒,设置IKE SA的生存周期,取值范围:60-604800
|
14257
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14144
14258
|
# @type IKESaLifetimeSeconds: Integer
|
14145
14259
|
# @param IKEVersion: IKE版本
|
14260
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14146
14261
|
# @type IKEVersion: String
|
14147
14262
|
|
14148
14263
|
attr_accessor :PropoEncryAlgorithm, :PropoAuthenAlgorithm, :ExchangeMode, :LocalIdentity, :RemoteIdentity, :LocalAddress, :RemoteAddress, :LocalFqdnName, :RemoteFqdnName, :DhGroupName, :IKESaLifetimeSeconds, :IKEVersion
|
@@ -14181,14 +14296,19 @@ module TencentCloud
|
|
14181
14296
|
# IPSec配置,腾讯云提供IPSec安全会话设置
|
14182
14297
|
class IPSECOptionsSpecification < TencentCloud::Common::AbstractModel
|
14183
14298
|
# @param EncryptAlgorithm: 加密算法,可选值:'3DES-CBC', 'AES-CBC-128', 'AES-CBC-192', 'AES-CBC-256', 'DES-CBC', 'SM4', 'NULL', 默认为AES-CBC-128
|
14299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14184
14300
|
# @type EncryptAlgorithm: String
|
14185
14301
|
# @param IntegrityAlgorith: 认证算法:可选值:'MD5', 'SHA1','SHA-256' 默认为
|
14302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14186
14303
|
# @type IntegrityAlgorith: String
|
14187
14304
|
# @param IPSECSaLifetimeSeconds: IPsec SA lifetime(s):单位秒,取值范围:180-604800
|
14305
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14188
14306
|
# @type IPSECSaLifetimeSeconds: Integer
|
14189
14307
|
# @param PfsDhGroup: PFS:可选值:'NULL', 'DH-GROUP1', 'DH-GROUP2', 'DH-GROUP5', 'DH-GROUP14', 'DH-GROUP24',默认为NULL
|
14308
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14190
14309
|
# @type PfsDhGroup: String
|
14191
14310
|
# @param IPSECSaLifetimeTraffic: IPsec SA lifetime(KB):单位KB,取值范围:2560-604800
|
14311
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
14192
14312
|
# @type IPSECSaLifetimeTraffic: Integer
|
14193
14313
|
|
14194
14314
|
attr_accessor :EncryptAlgorithm, :IntegrityAlgorith, :IPSECSaLifetimeSeconds, :PfsDhGroup, :IPSECSaLifetimeTraffic
|
@@ -19447,7 +19567,9 @@ module TencentCloud
|
|
19447
19567
|
# LOCAL_GATEWAY:本地网关。
|
19448
19568
|
# @type GatewayType: String
|
19449
19569
|
# @param GatewayId: 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。
|
19450
|
-
# 特殊说明:
|
19570
|
+
# 特殊说明:
|
19571
|
+
# GatewayType为NORMAL_CVM时,GatewayId填写实例的内网IP。
|
19572
|
+
# GatewayType为EIP时,GatewayId填写0。
|
19451
19573
|
# @type GatewayId: String
|
19452
19574
|
# @param RouteId: 路由策略ID。IPv4路由策略ID是有意义的值,IPv6路由策略是无意义的值0。后续建议完全使用字符串唯一ID `RouteItemId`操作路由策略。
|
19453
19575
|
# 该字段在删除时必填,其他字段无需填写。
|
@@ -19465,6 +19587,7 @@ module TencentCloud
|
|
19465
19587
|
# @param RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
19466
19588
|
# @type RouteTableId: String
|
19467
19589
|
# @param DestinationIpv6CidrBlock: 目的IPv6网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。
|
19590
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19468
19591
|
# @type DestinationIpv6CidrBlock: String
|
19469
19592
|
# @param RouteItemId: 路由唯一策略ID。
|
19470
19593
|
# @type RouteItemId: String
|
@@ -19889,8 +20012,10 @@ module TencentCloud
|
|
19889
20012
|
# SecurityPolicyDatabase策略
|
19890
20013
|
class SecurityPolicyDatabase < TencentCloud::Common::AbstractModel
|
19891
20014
|
# @param LocalCidrBlock: 本端网段
|
20015
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19892
20016
|
# @type LocalCidrBlock: String
|
19893
20017
|
# @param RemoteCidrBlock: 对端网段
|
20018
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
19894
20019
|
# @type RemoteCidrBlock: Array
|
19895
20020
|
|
19896
20021
|
attr_accessor :LocalCidrBlock, :RemoteCidrBlock
|
@@ -21338,10 +21463,13 @@ module TencentCloud
|
|
21338
21463
|
# @param NegotiationType: 协商类型
|
21339
21464
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
21340
21465
|
# @type NegotiationType: String
|
21466
|
+
# @param BgpConfig: Bgp配置信息
|
21467
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
21468
|
+
# @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfigAndAsn`
|
21341
21469
|
|
21342
|
-
attr_accessor :VpnConnectionId, :VpnConnectionName, :VpcId, :VpnGatewayId, :CustomerGatewayId, :PreShareKey, :VpnProto, :EncryptProto, :RouteType, :CreatedTime, :State, :NetStatus, :SecurityPolicyDatabaseSet, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :HealthCheckStatus, :DpdEnable, :DpdTimeout, :DpdAction, :TagSet, :NegotiationType
|
21470
|
+
attr_accessor :VpnConnectionId, :VpnConnectionName, :VpcId, :VpnGatewayId, :CustomerGatewayId, :PreShareKey, :VpnProto, :EncryptProto, :RouteType, :CreatedTime, :State, :NetStatus, :SecurityPolicyDatabaseSet, :IKEOptionsSpecification, :IPSECOptionsSpecification, :EnableHealthCheck, :HealthCheckLocalIp, :HealthCheckRemoteIp, :HealthCheckStatus, :DpdEnable, :DpdTimeout, :DpdAction, :TagSet, :NegotiationType, :BgpConfig
|
21343
21471
|
|
21344
|
-
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, vpcid=nil, vpngatewayid=nil, customergatewayid=nil, presharekey=nil, vpnproto=nil, encryptproto=nil, routetype=nil, createdtime=nil, state=nil, netstatus=nil, securitypolicydatabaseset=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, healthcheckstatus=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, tagset=nil, negotiationtype=nil)
|
21472
|
+
def initialize(vpnconnectionid=nil, vpnconnectionname=nil, vpcid=nil, vpngatewayid=nil, customergatewayid=nil, presharekey=nil, vpnproto=nil, encryptproto=nil, routetype=nil, createdtime=nil, state=nil, netstatus=nil, securitypolicydatabaseset=nil, ikeoptionsspecification=nil, ipsecoptionsspecification=nil, enablehealthcheck=nil, healthchecklocalip=nil, healthcheckremoteip=nil, healthcheckstatus=nil, dpdenable=nil, dpdtimeout=nil, dpdaction=nil, tagset=nil, negotiationtype=nil, bgpconfig=nil)
|
21345
21473
|
@VpnConnectionId = vpnconnectionid
|
21346
21474
|
@VpnConnectionName = vpnconnectionname
|
21347
21475
|
@VpcId = vpcid
|
@@ -21366,6 +21494,7 @@ module TencentCloud
|
|
21366
21494
|
@DpdAction = dpdaction
|
21367
21495
|
@TagSet = tagset
|
21368
21496
|
@NegotiationType = negotiationtype
|
21497
|
+
@BgpConfig = bgpconfig
|
21369
21498
|
end
|
21370
21499
|
|
21371
21500
|
def deserialize(params)
|
@@ -21413,6 +21542,10 @@ module TencentCloud
|
|
21413
21542
|
end
|
21414
21543
|
end
|
21415
21544
|
@NegotiationType = params['NegotiationType']
|
21545
|
+
unless params['BgpConfig'].nil?
|
21546
|
+
@BgpConfig = BgpConfigAndAsn.new
|
21547
|
+
@BgpConfig.deserialize(params['BgpConfig'])
|
21548
|
+
end
|
21416
21549
|
end
|
21417
21550
|
end
|
21418
21551
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-vpc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.689
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-10-
|
11
|
+
date: 2023-10-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|