tencentcloud-sdk-vpc 3.0.687 → 3.0.688

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +138 -8
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7640485fd7f57c5a48a991156dcee3bbb82dd87b
4
- data.tar.gz: dc1e5a629e9b67548e0d3ef928afaa347fc88cb2
3
+ metadata.gz: bd97cba4e923110f5aaa7c65a078cbb2cf9ed7fc
4
+ data.tar.gz: d563ff292062cb4b4e13c0ed62b1bd8cbab225b6
5
5
  SHA512:
6
- metadata.gz: 0930c789d34e805cfce489273bcae1079b6a8d5840877888331459d68f5ad52e2fe6bb704b78af85edaadb01913ddccbfe66495e75a5b215f0f9956f11aff175
7
- data.tar.gz: ba7aab9ebc0f1cafda8db9533b0aeca6136f469b714f02f301904c1da0a6406a20de4beb77bddf15814b5ac69ceba6c32d9a49cdb8ca08850a82400fe17ccd9d
6
+ metadata.gz: 473cfe09227f41736bca88114922382bf25631a5d2f6831cab6b1769131a586705392a338f5469032166611a3b8ab0f9c2de70a7e51c82c7e0a23dccda9c483e
7
+ data.tar.gz: e82b78ac3e9adf6bb61acfbb2a8cc2b6388bf1f2e30e6f8f6223c70bac26e09b642e3350e91ff1bdb122ccdceb5713bb72670bdace2cc9913fedf954c002c6f9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.687
1
+ 3.0.688
@@ -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
@@ -19889,8 +20009,10 @@ module TencentCloud
19889
20009
  # SecurityPolicyDatabase策略
19890
20010
  class SecurityPolicyDatabase < TencentCloud::Common::AbstractModel
19891
20011
  # @param LocalCidrBlock: 本端网段
20012
+ # 注意:此字段可能返回 null,表示取不到有效值。
19892
20013
  # @type LocalCidrBlock: String
19893
20014
  # @param RemoteCidrBlock: 对端网段
20015
+ # 注意:此字段可能返回 null,表示取不到有效值。
19894
20016
  # @type RemoteCidrBlock: Array
19895
20017
 
19896
20018
  attr_accessor :LocalCidrBlock, :RemoteCidrBlock
@@ -21338,10 +21460,13 @@ module TencentCloud
21338
21460
  # @param NegotiationType: 协商类型
21339
21461
  # 注意:此字段可能返回 null,表示取不到有效值。
21340
21462
  # @type NegotiationType: String
21463
+ # @param BgpConfig: Bgp配置信息
21464
+ # 注意:此字段可能返回 null,表示取不到有效值。
21465
+ # @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfigAndAsn`
21341
21466
 
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
21467
+ 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
21468
 
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)
21469
+ 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
21470
  @VpnConnectionId = vpnconnectionid
21346
21471
  @VpnConnectionName = vpnconnectionname
21347
21472
  @VpcId = vpcid
@@ -21366,6 +21491,7 @@ module TencentCloud
21366
21491
  @DpdAction = dpdaction
21367
21492
  @TagSet = tagset
21368
21493
  @NegotiationType = negotiationtype
21494
+ @BgpConfig = bgpconfig
21369
21495
  end
21370
21496
 
21371
21497
  def deserialize(params)
@@ -21413,6 +21539,10 @@ module TencentCloud
21413
21539
  end
21414
21540
  end
21415
21541
  @NegotiationType = params['NegotiationType']
21542
+ unless params['BgpConfig'].nil?
21543
+ @BgpConfig = BgpConfigAndAsn.new
21544
+ @BgpConfig.deserialize(params['BgpConfig'])
21545
+ end
21416
21546
  end
21417
21547
  end
21418
21548
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-vpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.687
4
+ version: 3.0.688
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud