tencentcloud-sdk-vpc 3.0.686 → 3.0.688

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0868690c82e430f7c5b715ad04c67cf4da161163
4
- data.tar.gz: b775a8a4dbf0027ab2262aa04125a9272d133308
3
+ metadata.gz: bd97cba4e923110f5aaa7c65a078cbb2cf9ed7fc
4
+ data.tar.gz: d563ff292062cb4b4e13c0ed62b1bd8cbab225b6
5
5
  SHA512:
6
- metadata.gz: 891bae755dbb78446178c391dd7b837e0c83e41234c158ae6ad7e56fdf8e7f19a95e6255d40472de9c7c008cd6f9dd4cc5acc515776a76104ddd294e9a05a734
7
- data.tar.gz: 33c7cc34d2d34c58e7311738bd6b9c1456c3c2cab2a1a6e8d3997bb348c0a81f485f658869a382d92db3bf4128c65a47639181b284b969ea5a77e88c8766d282
6
+ metadata.gz: 473cfe09227f41736bca88114922382bf25631a5d2f6831cab6b1769131a586705392a338f5469032166611a3b8ab0f9c2de70a7e51c82c7e0a23dccda9c483e
7
+ data.tar.gz: e82b78ac3e9adf6bb61acfbb2a8cc2b6388bf1f2e30e6f8f6223c70bac26e09b642e3350e91ff1bdb122ccdceb5713bb72670bdace2cc9913fedf954c002c6f9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.686
1
+ 3.0.688
@@ -7061,6 +7061,30 @@ module TencentCloud
7061
7061
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7062
7062
  end
7063
7063
 
7064
+ # 本接口用于修改 SSL-VPN 服务端属性
7065
+
7066
+ # @param request: Request instance for ModifyVpnGatewaySslServer.
7067
+ # @type request: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewaySslServerRequest`
7068
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::ModifyVpnGatewaySslServerResponse`
7069
+ def ModifyVpnGatewaySslServer(request)
7070
+ body = send_request('ModifyVpnGatewaySslServer', request.serialize)
7071
+ response = JSON.parse(body)
7072
+ if response['Response'].key?('Error') == false
7073
+ model = ModifyVpnGatewaySslServerResponse.new
7074
+ model.deserialize(response['Response'])
7075
+ model
7076
+ else
7077
+ code = response['Response']['Error']['Code']
7078
+ message = response['Response']['Error']['Message']
7079
+ reqid = response['Response']['RequestId']
7080
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7081
+ end
7082
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7083
+ raise e
7084
+ rescue StandardError => e
7085
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7086
+ end
7087
+
7064
7088
  # 本接口(NotifyRoutes)用于路由表列表页操作增加“发布到云联网”,发布路由到云联网。
7065
7089
 
7066
7090
  # @param request: Request instance for NotifyRoutes.
@@ -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
@@ -17137,6 +17257,82 @@ module TencentCloud
17137
17257
  end
17138
17258
  end
17139
17259
 
17260
+ # ModifyVpnGatewaySslServer请求参数结构体
17261
+ class ModifyVpnGatewaySslServerRequest < TencentCloud::Common::AbstractModel
17262
+ # @param SslVpnServerId: SSL-VPN SERVER 实例ID
17263
+ # @type SslVpnServerId: String
17264
+ # @param SslVpnServerName: SSL-VPN SERVER NAME
17265
+ # @type SslVpnServerName: String
17266
+ # @param LocalAddress: 本端地址
17267
+ # @type LocalAddress: Array
17268
+ # @param RemoteAddress: 客户端地址
17269
+ # @type RemoteAddress: String
17270
+ # @param SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP
17271
+ # @type SslVpnProtocol: String
17272
+ # @param SslVpnPort: SSL VPN服务端监听协议端口。
17273
+ # @type SslVpnPort: Integer
17274
+ # @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'NONE'。默认NONE
17275
+ # @type EncryptAlgorithm: String
17276
+ # @param IntegrityAlgorithm: 认证算法。可选 'SHA1', 'MD5', 'NONE'。默认NONE
17277
+ # @type IntegrityAlgorithm: String
17278
+ # @param Compress: 是否支持压缩。当前仅支持不支持压缩。默认False
17279
+ # @type Compress: Boolean
17280
+ # @param SsoEnabled: 是否开启SSO认证,默认False
17281
+ # @type SsoEnabled: Boolean
17282
+ # @param SamlData: SAML-DATA
17283
+ # @type SamlData: String
17284
+
17285
+ attr_accessor :SslVpnServerId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :SsoEnabled, :SamlData
17286
+
17287
+ def initialize(sslvpnserverid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, sslvpnprotocol=nil, sslvpnport=nil, encryptalgorithm=nil, integrityalgorithm=nil, compress=nil, ssoenabled=nil, samldata=nil)
17288
+ @SslVpnServerId = sslvpnserverid
17289
+ @SslVpnServerName = sslvpnservername
17290
+ @LocalAddress = localaddress
17291
+ @RemoteAddress = remoteaddress
17292
+ @SslVpnProtocol = sslvpnprotocol
17293
+ @SslVpnPort = sslvpnport
17294
+ @EncryptAlgorithm = encryptalgorithm
17295
+ @IntegrityAlgorithm = integrityalgorithm
17296
+ @Compress = compress
17297
+ @SsoEnabled = ssoenabled
17298
+ @SamlData = samldata
17299
+ end
17300
+
17301
+ def deserialize(params)
17302
+ @SslVpnServerId = params['SslVpnServerId']
17303
+ @SslVpnServerName = params['SslVpnServerName']
17304
+ @LocalAddress = params['LocalAddress']
17305
+ @RemoteAddress = params['RemoteAddress']
17306
+ @SslVpnProtocol = params['SslVpnProtocol']
17307
+ @SslVpnPort = params['SslVpnPort']
17308
+ @EncryptAlgorithm = params['EncryptAlgorithm']
17309
+ @IntegrityAlgorithm = params['IntegrityAlgorithm']
17310
+ @Compress = params['Compress']
17311
+ @SsoEnabled = params['SsoEnabled']
17312
+ @SamlData = params['SamlData']
17313
+ end
17314
+ end
17315
+
17316
+ # ModifyVpnGatewaySslServer返回参数结构体
17317
+ class ModifyVpnGatewaySslServerResponse < TencentCloud::Common::AbstractModel
17318
+ # @param TaskId: 异步任务TASKID
17319
+ # @type TaskId: Integer
17320
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
17321
+ # @type RequestId: String
17322
+
17323
+ attr_accessor :TaskId, :RequestId
17324
+
17325
+ def initialize(taskid=nil, requestid=nil)
17326
+ @TaskId = taskid
17327
+ @RequestId = requestid
17328
+ end
17329
+
17330
+ def deserialize(params)
17331
+ @TaskId = params['TaskId']
17332
+ @RequestId = params['RequestId']
17333
+ end
17334
+ end
17335
+
17140
17336
  # 查询nat路由的返回路由对象
17141
17337
  class NatDirectConnectGatewayRoute < TencentCloud::Common::AbstractModel
17142
17338
  # @param DestinationCidrBlock: 子网的 `IPv4` `CIDR`
@@ -19813,8 +20009,10 @@ module TencentCloud
19813
20009
  # SecurityPolicyDatabase策略
19814
20010
  class SecurityPolicyDatabase < TencentCloud::Common::AbstractModel
19815
20011
  # @param LocalCidrBlock: 本端网段
20012
+ # 注意:此字段可能返回 null,表示取不到有效值。
19816
20013
  # @type LocalCidrBlock: String
19817
20014
  # @param RemoteCidrBlock: 对端网段
20015
+ # 注意:此字段可能返回 null,表示取不到有效值。
19818
20016
  # @type RemoteCidrBlock: Array
19819
20017
 
19820
20018
  attr_accessor :LocalCidrBlock, :RemoteCidrBlock
@@ -21262,10 +21460,13 @@ module TencentCloud
21262
21460
  # @param NegotiationType: 协商类型
21263
21461
  # 注意:此字段可能返回 null,表示取不到有效值。
21264
21462
  # @type NegotiationType: String
21463
+ # @param BgpConfig: Bgp配置信息
21464
+ # 注意:此字段可能返回 null,表示取不到有效值。
21465
+ # @type BgpConfig: :class:`Tencentcloud::Vpc.v20170312.models.BgpConfigAndAsn`
21265
21466
 
21266
- 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
21267
21468
 
21268
- 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)
21269
21470
  @VpnConnectionId = vpnconnectionid
21270
21471
  @VpnConnectionName = vpnconnectionname
21271
21472
  @VpcId = vpcid
@@ -21290,6 +21491,7 @@ module TencentCloud
21290
21491
  @DpdAction = dpdaction
21291
21492
  @TagSet = tagset
21292
21493
  @NegotiationType = negotiationtype
21494
+ @BgpConfig = bgpconfig
21293
21495
  end
21294
21496
 
21295
21497
  def deserialize(params)
@@ -21337,6 +21539,10 @@ module TencentCloud
21337
21539
  end
21338
21540
  end
21339
21541
  @NegotiationType = params['NegotiationType']
21542
+ unless params['BgpConfig'].nil?
21543
+ @BgpConfig = BgpConfigAndAsn.new
21544
+ @BgpConfig.deserialize(params['BgpConfig'])
21545
+ end
21340
21546
  end
21341
21547
  end
21342
21548
 
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.686
4
+ version: 3.0.688
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-27 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common