tencentcloud-sdk-vpc 1.0.263 → 1.0.264

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: 3cc3688606adfaaedf65e510138bef03abe97fe4
4
- data.tar.gz: da6678f41e98a0b2ad028205940cb9dab24cdca7
3
+ metadata.gz: e89aa2c46c366dba29b54a0b1a47f4057061f556
4
+ data.tar.gz: 26dd7af57cb21df64dbba08e59136ae2f291cb57
5
5
  SHA512:
6
- metadata.gz: 9d20e1962eabb9ad8ee359659e60d4d77de7a4d34cfdd3e640b7283a3f344587d29fbc20a91f866e741c15bae0b93178473a7600e23d444fc8dce2943eb55479
7
- data.tar.gz: 5872d5f0c4f3da476996d2060e6bf604779a6152207c08e31fa0f1ef86fbefd9ca56d56b5859d3d708eff5653501029e69f316f0789e3bfe3b6de2c2d6c7671b
6
+ metadata.gz: f249611f59043e7a9f87a6a88ada516ea23d2112339ef616559bc78c8c8edbef2b7bcf312a77a8a00c5f3d14234fb52d13eb385f3dd9a60d17af74782148ef59
7
+ data.tar.gz: 169b8f788a6a594b9238cb4d327cd6a42806192b119849a63439c50a2f7e790bbfcc8e70a70a69e3f366098ff970f72bde89d5919b45aff3c5d71d46b5c7a0ed
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.263
1
+ 1.0.264
@@ -1640,6 +1640,54 @@ module TencentCloud
1640
1640
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1641
1641
  end
1642
1642
 
1643
+ # 创建SSL-VPN-CLIENT
1644
+
1645
+ # @param request: Request instance for CreateVpnGatewaySslClient.
1646
+ # @type request: :class:`Tencentcloud::vpc::V20170312::CreateVpnGatewaySslClientRequest`
1647
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::CreateVpnGatewaySslClientResponse`
1648
+ def CreateVpnGatewaySslClient(request)
1649
+ body = send_request('CreateVpnGatewaySslClient', request.serialize)
1650
+ response = JSON.parse(body)
1651
+ if response['Response'].key?('Error') == false
1652
+ model = CreateVpnGatewaySslClientResponse.new
1653
+ model.deserialize(response['Response'])
1654
+ model
1655
+ else
1656
+ code = response['Response']['Error']['Code']
1657
+ message = response['Response']['Error']['Message']
1658
+ reqid = response['Response']['RequestId']
1659
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1660
+ end
1661
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1662
+ raise e
1663
+ rescue StandardError => e
1664
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1665
+ end
1666
+
1667
+ # 创建 Server端
1668
+
1669
+ # @param request: Request instance for CreateVpnGatewaySslServer.
1670
+ # @type request: :class:`Tencentcloud::vpc::V20170312::CreateVpnGatewaySslServerRequest`
1671
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::CreateVpnGatewaySslServerResponse`
1672
+ def CreateVpnGatewaySslServer(request)
1673
+ body = send_request('CreateVpnGatewaySslServer', request.serialize)
1674
+ response = JSON.parse(body)
1675
+ if response['Response'].key?('Error') == false
1676
+ model = CreateVpnGatewaySslServerResponse.new
1677
+ model.deserialize(response['Response'])
1678
+ model
1679
+ else
1680
+ code = response['Response']['Error']['Code']
1681
+ message = response['Response']['Error']['Message']
1682
+ reqid = response['Response']['RequestId']
1683
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1684
+ end
1685
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1686
+ raise e
1687
+ rescue StandardError => e
1688
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1689
+ end
1690
+
1643
1691
  # 本接口(DeleteAddressTemplate)用于删除IP地址模板
1644
1692
 
1645
1693
  # @param request: Request instance for DeleteAddressTemplate.
@@ -2478,6 +2526,54 @@ module TencentCloud
2478
2526
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2479
2527
  end
2480
2528
 
2529
+ # 删除SSL-VPN-CLIENT
2530
+
2531
+ # @param request: Request instance for DeleteVpnGatewaySslClient.
2532
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DeleteVpnGatewaySslClientRequest`
2533
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteVpnGatewaySslClientResponse`
2534
+ def DeleteVpnGatewaySslClient(request)
2535
+ body = send_request('DeleteVpnGatewaySslClient', request.serialize)
2536
+ response = JSON.parse(body)
2537
+ if response['Response'].key?('Error') == false
2538
+ model = DeleteVpnGatewaySslClientResponse.new
2539
+ model.deserialize(response['Response'])
2540
+ model
2541
+ else
2542
+ code = response['Response']['Error']['Code']
2543
+ message = response['Response']['Error']['Message']
2544
+ reqid = response['Response']['RequestId']
2545
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2546
+ end
2547
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2548
+ raise e
2549
+ rescue StandardError => e
2550
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2551
+ end
2552
+
2553
+ # 删除SSL-VPN-SERVER 实例
2554
+
2555
+ # @param request: Request instance for DeleteVpnGatewaySslServer.
2556
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DeleteVpnGatewaySslServerRequest`
2557
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DeleteVpnGatewaySslServerResponse`
2558
+ def DeleteVpnGatewaySslServer(request)
2559
+ body = send_request('DeleteVpnGatewaySslServer', request.serialize)
2560
+ response = JSON.parse(body)
2561
+ if response['Response'].key?('Error') == false
2562
+ model = DeleteVpnGatewaySslServerResponse.new
2563
+ model.deserialize(response['Response'])
2564
+ model
2565
+ else
2566
+ code = response['Response']['Error']['Code']
2567
+ message = response['Response']['Error']['Message']
2568
+ reqid = response['Response']['RequestId']
2569
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2570
+ end
2571
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2572
+ raise e
2573
+ rescue StandardError => e
2574
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2575
+ end
2576
+
2481
2577
  # 本接口(DescribeAccountAttributes)用于查询用户账号私有属性。
2482
2578
 
2483
2579
  # @param request: Request instance for DescribeAccountAttributes.
@@ -4123,6 +4219,54 @@ module TencentCloud
4123
4219
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4124
4220
  end
4125
4221
 
4222
+ # 查询SSL-VPN-CLIENT 列表
4223
+
4224
+ # @param request: Request instance for DescribeVpnGatewaySslClients.
4225
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewaySslClientsRequest`
4226
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewaySslClientsResponse`
4227
+ def DescribeVpnGatewaySslClients(request)
4228
+ body = send_request('DescribeVpnGatewaySslClients', request.serialize)
4229
+ response = JSON.parse(body)
4230
+ if response['Response'].key?('Error') == false
4231
+ model = DescribeVpnGatewaySslClientsResponse.new
4232
+ model.deserialize(response['Response'])
4233
+ model
4234
+ else
4235
+ code = response['Response']['Error']['Code']
4236
+ message = response['Response']['Error']['Message']
4237
+ reqid = response['Response']['RequestId']
4238
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4239
+ end
4240
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4241
+ raise e
4242
+ rescue StandardError => e
4243
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4244
+ end
4245
+
4246
+ # 查询SSL-VPN SERVER 列表信息
4247
+
4248
+ # @param request: Request instance for DescribeVpnGatewaySslServers.
4249
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewaySslServersRequest`
4250
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DescribeVpnGatewaySslServersResponse`
4251
+ def DescribeVpnGatewaySslServers(request)
4252
+ body = send_request('DescribeVpnGatewaySslServers', request.serialize)
4253
+ response = JSON.parse(body)
4254
+ if response['Response'].key?('Error') == false
4255
+ model = DescribeVpnGatewaySslServersResponse.new
4256
+ model.deserialize(response['Response'])
4257
+ model
4258
+ else
4259
+ code = response['Response']['Error']['Code']
4260
+ message = response['Response']['Error']['Message']
4261
+ reqid = response['Response']['RequestId']
4262
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4263
+ end
4264
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4265
+ raise e
4266
+ rescue StandardError => e
4267
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4268
+ end
4269
+
4126
4270
  # 本接口(DescribeVpnGateways)用于查询VPN网关列表。
4127
4271
 
4128
4272
  # @param request: Request instance for DescribeVpnGateways.
@@ -4295,6 +4439,30 @@ module TencentCloud
4295
4439
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4296
4440
  end
4297
4441
 
4442
+ # 禁用SSL-VPN-CLIENT 证书
4443
+
4444
+ # @param request: Request instance for DisableVpnGatewaySslClientCert.
4445
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DisableVpnGatewaySslClientCertRequest`
4446
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DisableVpnGatewaySslClientCertResponse`
4447
+ def DisableVpnGatewaySslClientCert(request)
4448
+ body = send_request('DisableVpnGatewaySslClientCert', request.serialize)
4449
+ response = JSON.parse(body)
4450
+ if response['Response'].key?('Error') == false
4451
+ model = DisableVpnGatewaySslClientCertResponse.new
4452
+ model.deserialize(response['Response'])
4453
+ model
4454
+ else
4455
+ code = response['Response']['Error']['Code']
4456
+ message = response['Response']['Error']['Message']
4457
+ reqid = response['Response']['RequestId']
4458
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4459
+ end
4460
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4461
+ raise e
4462
+ rescue StandardError => e
4463
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4464
+ end
4465
+
4298
4466
  # 本接口 (DisassociateAddress) 用于解绑[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)。
4299
4467
  # * 支持CVM实例,弹性网卡上的EIP解绑
4300
4468
  # * 不支持NAT上的EIP解绑。NAT上的EIP解绑请参考[DisassociateNatGatewayAddress](https://cloud.tencent.com/document/api/215/36716)
@@ -4493,6 +4661,30 @@ module TencentCloud
4493
4661
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4494
4662
  end
4495
4663
 
4664
+ # 下载SSL-VPN-CLIENT 客户端证书
4665
+
4666
+ # @param request: Request instance for DownloadVpnGatewaySslClientCert.
4667
+ # @type request: :class:`Tencentcloud::vpc::V20170312::DownloadVpnGatewaySslClientCertRequest`
4668
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::DownloadVpnGatewaySslClientCertResponse`
4669
+ def DownloadVpnGatewaySslClientCert(request)
4670
+ body = send_request('DownloadVpnGatewaySslClientCert', request.serialize)
4671
+ response = JSON.parse(body)
4672
+ if response['Response'].key?('Error') == false
4673
+ model = DownloadVpnGatewaySslClientCertResponse.new
4674
+ model.deserialize(response['Response'])
4675
+ model
4676
+ else
4677
+ code = response['Response']['Error']['Code']
4678
+ message = response['Response']['Error']['Message']
4679
+ reqid = response['Response']['RequestId']
4680
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4681
+ end
4682
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4683
+ raise e
4684
+ rescue StandardError => e
4685
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4686
+ end
4687
+
4496
4688
  # 本接口(EnableCcnRoutes)用于启用已经加入云联网(CCN)的路由。<br />
4497
4689
  # 本接口会校验启用后,是否与已有路由冲突,如果冲突,则无法启用,失败处理。路由冲突时,需要先禁用与之冲突的路由,才能启用该路由。
4498
4690
 
@@ -4591,6 +4783,30 @@ module TencentCloud
4591
4783
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4592
4784
  end
4593
4785
 
4786
+ # 启用SSL-VPN-CLIENT 证书
4787
+
4788
+ # @param request: Request instance for EnableVpnGatewaySslClientCert.
4789
+ # @type request: :class:`Tencentcloud::vpc::V20170312::EnableVpnGatewaySslClientCertRequest`
4790
+ # @rtype: :class:`Tencentcloud::vpc::V20170312::EnableVpnGatewaySslClientCertResponse`
4791
+ def EnableVpnGatewaySslClientCert(request)
4792
+ body = send_request('EnableVpnGatewaySslClientCert', request.serialize)
4793
+ response = JSON.parse(body)
4794
+ if response['Response'].key?('Error') == false
4795
+ model = EnableVpnGatewaySslClientCertResponse.new
4796
+ model.deserialize(response['Response'])
4797
+ model
4798
+ else
4799
+ code = response['Response']['Error']['Code']
4800
+ message = response['Response']['Error']['Message']
4801
+ reqid = response['Response']['RequestId']
4802
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
4803
+ end
4804
+ rescue TencentCloud::Common::TencentCloudSDKException => e
4805
+ raise e
4806
+ rescue StandardError => e
4807
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
4808
+ end
4809
+
4594
4810
  # 本接口(GetCcnRegionBandwidthLimits)用于查询云联网相关地域带宽信息,其中预付费模式的云联网仅支持地域间限速,后付费模式的云联网支持地域间限速和地域出口限速。
4595
4811
 
4596
4812
  # @param request: Request instance for GetCcnRegionBandwidthLimits.
@@ -4296,6 +4296,114 @@ module TencentCloud
4296
4296
  end
4297
4297
  end
4298
4298
 
4299
+ # CreateVpnGatewaySslClient请求参数结构体
4300
+ class CreateVpnGatewaySslClientRequest < TencentCloud::Common::AbstractModel
4301
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID。
4302
+ # @type SslVpnServerId: String
4303
+ # @param SslVpnClientName: name
4304
+ # @type SslVpnClientName: String
4305
+
4306
+ attr_accessor :SslVpnServerId, :SslVpnClientName
4307
+
4308
+ def initialize(sslvpnserverid=nil, sslvpnclientname=nil)
4309
+ @SslVpnServerId = sslvpnserverid
4310
+ @SslVpnClientName = sslvpnclientname
4311
+ end
4312
+
4313
+ def deserialize(params)
4314
+ @SslVpnServerId = params['SslVpnServerId']
4315
+ @SslVpnClientName = params['SslVpnClientName']
4316
+ end
4317
+ end
4318
+
4319
+ # CreateVpnGatewaySslClient返回参数结构体
4320
+ class CreateVpnGatewaySslClientResponse < TencentCloud::Common::AbstractModel
4321
+ # @param TaskId: 异步任务ID。
4322
+ # @type TaskId: Integer
4323
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4324
+ # @type RequestId: String
4325
+
4326
+ attr_accessor :TaskId, :RequestId
4327
+
4328
+ def initialize(taskid=nil, requestid=nil)
4329
+ @TaskId = taskid
4330
+ @RequestId = requestid
4331
+ end
4332
+
4333
+ def deserialize(params)
4334
+ @TaskId = params['TaskId']
4335
+ @RequestId = params['RequestId']
4336
+ end
4337
+ end
4338
+
4339
+ # CreateVpnGatewaySslServer请求参数结构体
4340
+ class CreateVpnGatewaySslServerRequest < TencentCloud::Common::AbstractModel
4341
+ # @param VpnGatewayId: VPN实例ID
4342
+ # @type VpnGatewayId: String
4343
+ # @param SslVpnServerName: SSL_VPN_SERVER 实例名
4344
+ # @type SslVpnServerName: String
4345
+ # @param LocalAddress: 本端地址网段
4346
+ # @type LocalAddress: Array
4347
+ # @param RemoteAddress: 客户端地址网段
4348
+ # @type RemoteAddress: String
4349
+ # @param SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP。默认UDP
4350
+ # @type SslVpnProtocol: String
4351
+ # @param SslVpnPort: SSL VPN服务端监听协议端口。默认1194。
4352
+ # @type SslVpnPort: Integer
4353
+ # @param IntegrityAlgorithm: 认证算法。可选 'SHA1', 'MD5', 'NONE'。默认NONE
4354
+ # @type IntegrityAlgorithm: String
4355
+ # @param EncryptAlgorithm: 加密算法。可选 'AES-128-CBC', 'AES-192-CBC', 'AES-256-CBC', 'NONE'。默认NONE
4356
+ # @type EncryptAlgorithm: String
4357
+ # @param Compress: 是否支持压缩。当前仅支持不支持压缩。默认False
4358
+ # @type Compress: Boolean
4359
+
4360
+ attr_accessor :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :SslVpnProtocol, :SslVpnPort, :IntegrityAlgorithm, :EncryptAlgorithm, :Compress
4361
+
4362
+ def initialize(vpngatewayid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, sslvpnprotocol=nil, sslvpnport=nil, integrityalgorithm=nil, encryptalgorithm=nil, compress=nil)
4363
+ @VpnGatewayId = vpngatewayid
4364
+ @SslVpnServerName = sslvpnservername
4365
+ @LocalAddress = localaddress
4366
+ @RemoteAddress = remoteaddress
4367
+ @SslVpnProtocol = sslvpnprotocol
4368
+ @SslVpnPort = sslvpnport
4369
+ @IntegrityAlgorithm = integrityalgorithm
4370
+ @EncryptAlgorithm = encryptalgorithm
4371
+ @Compress = compress
4372
+ end
4373
+
4374
+ def deserialize(params)
4375
+ @VpnGatewayId = params['VpnGatewayId']
4376
+ @SslVpnServerName = params['SslVpnServerName']
4377
+ @LocalAddress = params['LocalAddress']
4378
+ @RemoteAddress = params['RemoteAddress']
4379
+ @SslVpnProtocol = params['SslVpnProtocol']
4380
+ @SslVpnPort = params['SslVpnPort']
4381
+ @IntegrityAlgorithm = params['IntegrityAlgorithm']
4382
+ @EncryptAlgorithm = params['EncryptAlgorithm']
4383
+ @Compress = params['Compress']
4384
+ end
4385
+ end
4386
+
4387
+ # CreateVpnGatewaySslServer返回参数结构体
4388
+ class CreateVpnGatewaySslServerResponse < TencentCloud::Common::AbstractModel
4389
+ # @param TaskId: 创建SSL-VPN server 异步任务ID
4390
+ # @type TaskId: Integer
4391
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4392
+ # @type RequestId: String
4393
+
4394
+ attr_accessor :TaskId, :RequestId
4395
+
4396
+ def initialize(taskid=nil, requestid=nil)
4397
+ @TaskId = taskid
4398
+ @RequestId = requestid
4399
+ end
4400
+
4401
+ def deserialize(params)
4402
+ @TaskId = params['TaskId']
4403
+ @RequestId = params['RequestId']
4404
+ end
4405
+ end
4406
+
4299
4407
  # 合规化审批单
4300
4408
  class CrossBorderCompliance < TencentCloud::Common::AbstractModel
4301
4409
  # @param ServiceProvider: 服务商,可选值:`UNICOM`。
@@ -5703,6 +5811,78 @@ module TencentCloud
5703
5811
  end
5704
5812
  end
5705
5813
 
5814
+ # DeleteVpnGatewaySslClient请求参数结构体
5815
+ class DeleteVpnGatewaySslClientRequest < TencentCloud::Common::AbstractModel
5816
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
5817
+ # @type SslVpnClientId: String
5818
+
5819
+ attr_accessor :SslVpnClientId
5820
+
5821
+ def initialize(sslvpnclientid=nil)
5822
+ @SslVpnClientId = sslvpnclientid
5823
+ end
5824
+
5825
+ def deserialize(params)
5826
+ @SslVpnClientId = params['SslVpnClientId']
5827
+ end
5828
+ end
5829
+
5830
+ # DeleteVpnGatewaySslClient返回参数结构体
5831
+ class DeleteVpnGatewaySslClientResponse < TencentCloud::Common::AbstractModel
5832
+ # @param TaskId: 异步任务ID。
5833
+ # @type TaskId: Integer
5834
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5835
+ # @type RequestId: String
5836
+
5837
+ attr_accessor :TaskId, :RequestId
5838
+
5839
+ def initialize(taskid=nil, requestid=nil)
5840
+ @TaskId = taskid
5841
+ @RequestId = requestid
5842
+ end
5843
+
5844
+ def deserialize(params)
5845
+ @TaskId = params['TaskId']
5846
+ @RequestId = params['RequestId']
5847
+ end
5848
+ end
5849
+
5850
+ # DeleteVpnGatewaySslServer请求参数结构体
5851
+ class DeleteVpnGatewaySslServerRequest < TencentCloud::Common::AbstractModel
5852
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID。
5853
+ # @type SslVpnServerId: String
5854
+
5855
+ attr_accessor :SslVpnServerId
5856
+
5857
+ def initialize(sslvpnserverid=nil)
5858
+ @SslVpnServerId = sslvpnserverid
5859
+ end
5860
+
5861
+ def deserialize(params)
5862
+ @SslVpnServerId = params['SslVpnServerId']
5863
+ end
5864
+ end
5865
+
5866
+ # DeleteVpnGatewaySslServer返回参数结构体
5867
+ class DeleteVpnGatewaySslServerResponse < TencentCloud::Common::AbstractModel
5868
+ # @param TaskId: 异步任务ID。
5869
+ # @type TaskId: Integer
5870
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5871
+ # @type RequestId: String
5872
+
5873
+ attr_accessor :TaskId, :RequestId
5874
+
5875
+ def initialize(taskid=nil, requestid=nil)
5876
+ @TaskId = taskid
5877
+ @RequestId = requestid
5878
+ end
5879
+
5880
+ def deserialize(params)
5881
+ @TaskId = params['TaskId']
5882
+ @RequestId = params['RequestId']
5883
+ end
5884
+ end
5885
+
5706
5886
  # DescribeAccountAttributes请求参数结构体
5707
5887
  class DescribeAccountAttributesRequest < TencentCloud::Common::AbstractModel
5708
5888
 
@@ -9822,6 +10002,148 @@ module TencentCloud
9822
10002
  end
9823
10003
  end
9824
10004
 
10005
+ # DescribeVpnGatewaySslClients请求参数结构体
10006
+ class DescribeVpnGatewaySslClientsRequest < TencentCloud::Common::AbstractModel
10007
+ # @param Filters: 过滤条件,参数不支持同时指定SslVpnClientIds和Filters。
10008
+ # <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li>
10009
+ # <li>vpn-gateway-id - String - (过滤条件)VPN实例ID形如:vpngw-5aluhh9t。</li>
10010
+ # <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID形如:vpngwSslServer-123456。</li>
10011
+ # <li>ssl-vpn-client-id - String - (过滤条件)SSL-VPN-CLIENT实例ID形如:vpngwSslClient-123456。</li>
10012
+ # <li>ssl-vpn-client-name - String - (过滤条件)SSL-VPN-CLIENT实例名称。</li>
10013
+ # @type Filters: Array
10014
+ # @param Offset: 偏移量
10015
+ # @type Offset: Integer
10016
+ # @param Limit: 请求对象个数
10017
+ # @type Limit: Integer
10018
+ # @param SslVpnClientIds: SSL-VPN-CLIENT实例ID。形如:vpngwSslClient-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定SslVpnClientIds和Filters。
10019
+ # @type SslVpnClientIds: Array
10020
+
10021
+ attr_accessor :Filters, :Offset, :Limit, :SslVpnClientIds
10022
+
10023
+ def initialize(filters=nil, offset=nil, limit=nil, sslvpnclientids=nil)
10024
+ @Filters = filters
10025
+ @Offset = offset
10026
+ @Limit = limit
10027
+ @SslVpnClientIds = sslvpnclientids
10028
+ end
10029
+
10030
+ def deserialize(params)
10031
+ unless params['Filters'].nil?
10032
+ @Filters = []
10033
+ params['Filters'].each do |i|
10034
+ filter_tmp = Filter.new
10035
+ filter_tmp.deserialize(i)
10036
+ @Filters << filter_tmp
10037
+ end
10038
+ end
10039
+ @Offset = params['Offset']
10040
+ @Limit = params['Limit']
10041
+ @SslVpnClientIds = params['SslVpnClientIds']
10042
+ end
10043
+ end
10044
+
10045
+ # DescribeVpnGatewaySslClients返回参数结构体
10046
+ class DescribeVpnGatewaySslClientsResponse < TencentCloud::Common::AbstractModel
10047
+ # @param TotalCount: 符合条件的实例数量。
10048
+ # @type TotalCount: Integer
10049
+ # @param SslVpnClientSet: 符合条件的实例个数。
10050
+ # @type SslVpnClientSet: Array
10051
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10052
+ # @type RequestId: String
10053
+
10054
+ attr_accessor :TotalCount, :SslVpnClientSet, :RequestId
10055
+
10056
+ def initialize(totalcount=nil, sslvpnclientset=nil, requestid=nil)
10057
+ @TotalCount = totalcount
10058
+ @SslVpnClientSet = sslvpnclientset
10059
+ @RequestId = requestid
10060
+ end
10061
+
10062
+ def deserialize(params)
10063
+ @TotalCount = params['TotalCount']
10064
+ unless params['SslVpnClientSet'].nil?
10065
+ @SslVpnClientSet = []
10066
+ params['SslVpnClientSet'].each do |i|
10067
+ sslvpnclient_tmp = SslVpnClient.new
10068
+ sslvpnclient_tmp.deserialize(i)
10069
+ @SslVpnClientSet << sslvpnclient_tmp
10070
+ end
10071
+ end
10072
+ @RequestId = params['RequestId']
10073
+ end
10074
+ end
10075
+
10076
+ # DescribeVpnGatewaySslServers请求参数结构体
10077
+ class DescribeVpnGatewaySslServersRequest < TencentCloud::Common::AbstractModel
10078
+ # @param Offset: 偏移量
10079
+ # @type Offset: Integer
10080
+ # @param Limit: 请求对象个数
10081
+ # @type Limit: Integer
10082
+ # @param SslVpnServerIds: SSL-VPN-SERVER实例ID。形如:vpngwSslServer-12345678。每次请求的实例的上限为100。参数不支持同时指定SslVpnServerIds和Filters。
10083
+ # @type SslVpnServerIds: Array
10084
+ # @param Filters: 过滤条件,参数不支持同时指定SslVpnServerIds和Filters。
10085
+ # <li>vpc-id - String - (过滤条件)VPC实例ID形如:vpc-f49l6u0z。</li>
10086
+ # <li>vpn-gateway-id - String - (过滤条件)VPN实例ID形如:vpngw-5aluhh9t。</li>
10087
+ # <li>vpn-gateway-name - String - (过滤条件)VPN实例名称。</li>
10088
+ # <li>ssl-vpn-server-name - String - (过滤条件)SSL-VPN-SERVER实例名称。</li>
10089
+ # <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID形如:vpngwSslServer-123456。</li>
10090
+ # @type Filters: Array
10091
+
10092
+ attr_accessor :Offset, :Limit, :SslVpnServerIds, :Filters
10093
+
10094
+ def initialize(offset=nil, limit=nil, sslvpnserverids=nil, filters=nil)
10095
+ @Offset = offset
10096
+ @Limit = limit
10097
+ @SslVpnServerIds = sslvpnserverids
10098
+ @Filters = filters
10099
+ end
10100
+
10101
+ def deserialize(params)
10102
+ @Offset = params['Offset']
10103
+ @Limit = params['Limit']
10104
+ @SslVpnServerIds = params['SslVpnServerIds']
10105
+ unless params['Filters'].nil?
10106
+ @Filters = []
10107
+ params['Filters'].each do |i|
10108
+ filterobject_tmp = FilterObject.new
10109
+ filterobject_tmp.deserialize(i)
10110
+ @Filters << filterobject_tmp
10111
+ end
10112
+ end
10113
+ end
10114
+ end
10115
+
10116
+ # DescribeVpnGatewaySslServers返回参数结构体
10117
+ class DescribeVpnGatewaySslServersResponse < TencentCloud::Common::AbstractModel
10118
+ # @param TotalCount: 符合条件的实例数量。
10119
+ # @type TotalCount: Integer
10120
+ # @param SslVpnSeverSet: SSL-VPN-SERVER 实例详细信息列表。
10121
+ # @type SslVpnSeverSet: Array
10122
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10123
+ # @type RequestId: String
10124
+
10125
+ attr_accessor :TotalCount, :SslVpnSeverSet, :RequestId
10126
+
10127
+ def initialize(totalcount=nil, sslvpnseverset=nil, requestid=nil)
10128
+ @TotalCount = totalcount
10129
+ @SslVpnSeverSet = sslvpnseverset
10130
+ @RequestId = requestid
10131
+ end
10132
+
10133
+ def deserialize(params)
10134
+ @TotalCount = params['TotalCount']
10135
+ unless params['SslVpnSeverSet'].nil?
10136
+ @SslVpnSeverSet = []
10137
+ params['SslVpnSeverSet'].each do |i|
10138
+ sslvpnsever_tmp = SslVpnSever.new
10139
+ sslvpnsever_tmp.deserialize(i)
10140
+ @SslVpnSeverSet << sslvpnsever_tmp
10141
+ end
10142
+ end
10143
+ @RequestId = params['RequestId']
10144
+ end
10145
+ end
10146
+
9825
10147
  # DescribeVpnGateways请求参数结构体
9826
10148
  class DescribeVpnGatewaysRequest < TencentCloud::Common::AbstractModel
9827
10149
  # @param VpnGatewayIds: VPN网关实例ID。形如:vpngw-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定VpnGatewayIds和Filters。
@@ -10389,6 +10711,42 @@ module TencentCloud
10389
10711
  end
10390
10712
  end
10391
10713
 
10714
+ # DisableVpnGatewaySslClientCert请求参数结构体
10715
+ class DisableVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
10716
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
10717
+ # @type SslVpnClientId: String
10718
+
10719
+ attr_accessor :SslVpnClientId
10720
+
10721
+ def initialize(sslvpnclientid=nil)
10722
+ @SslVpnClientId = sslvpnclientid
10723
+ end
10724
+
10725
+ def deserialize(params)
10726
+ @SslVpnClientId = params['SslVpnClientId']
10727
+ end
10728
+ end
10729
+
10730
+ # DisableVpnGatewaySslClientCert返回参数结构体
10731
+ class DisableVpnGatewaySslClientCertResponse < TencentCloud::Common::AbstractModel
10732
+ # @param TaskId: 异步任务实例ID。
10733
+ # @type TaskId: Integer
10734
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10735
+ # @type RequestId: String
10736
+
10737
+ attr_accessor :TaskId, :RequestId
10738
+
10739
+ def initialize(taskid=nil, requestid=nil)
10740
+ @TaskId = taskid
10741
+ @RequestId = requestid
10742
+ end
10743
+
10744
+ def deserialize(params)
10745
+ @TaskId = params['TaskId']
10746
+ @RequestId = params['RequestId']
10747
+ end
10748
+ end
10749
+
10392
10750
  # DisassociateAddress请求参数结构体
10393
10751
  class DisassociateAddressRequest < TencentCloud::Common::AbstractModel
10394
10752
  # @param AddressId: 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
@@ -10696,6 +11054,42 @@ module TencentCloud
10696
11054
  end
10697
11055
  end
10698
11056
 
11057
+ # DownloadVpnGatewaySslClientCert请求参数结构体
11058
+ class DownloadVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
11059
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
11060
+ # @type SslVpnClientId: String
11061
+
11062
+ attr_accessor :SslVpnClientId
11063
+
11064
+ def initialize(sslvpnclientid=nil)
11065
+ @SslVpnClientId = sslvpnclientid
11066
+ end
11067
+
11068
+ def deserialize(params)
11069
+ @SslVpnClientId = params['SslVpnClientId']
11070
+ end
11071
+ end
11072
+
11073
+ # DownloadVpnGatewaySslClientCert返回参数结构体
11074
+ class DownloadVpnGatewaySslClientCertResponse < TencentCloud::Common::AbstractModel
11075
+ # @param SslClientConfigsSet: SSL-VPN-CLIENT 证书配置
11076
+ # @type SslClientConfigsSet: String
11077
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11078
+ # @type RequestId: String
11079
+
11080
+ attr_accessor :SslClientConfigsSet, :RequestId
11081
+
11082
+ def initialize(sslclientconfigsset=nil, requestid=nil)
11083
+ @SslClientConfigsSet = sslclientconfigsset
11084
+ @RequestId = requestid
11085
+ end
11086
+
11087
+ def deserialize(params)
11088
+ @SslClientConfigsSet = params['SslClientConfigsSet']
11089
+ @RequestId = params['RequestId']
11090
+ end
11091
+ end
11092
+
10699
11093
  # EnableCcnRoutes请求参数结构体
10700
11094
  class EnableCcnRoutesRequest < TencentCloud::Common::AbstractModel
10701
11095
  # @param CcnId: CCN实例ID。形如:ccn-f49l6u0z。
@@ -10847,6 +11241,42 @@ module TencentCloud
10847
11241
  end
10848
11242
  end
10849
11243
 
11244
+ # EnableVpnGatewaySslClientCert请求参数结构体
11245
+ class EnableVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
11246
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
11247
+ # @type SslVpnClientId: String
11248
+
11249
+ attr_accessor :SslVpnClientId
11250
+
11251
+ def initialize(sslvpnclientid=nil)
11252
+ @SslVpnClientId = sslvpnclientid
11253
+ end
11254
+
11255
+ def deserialize(params)
11256
+ @SslVpnClientId = params['SslVpnClientId']
11257
+ end
11258
+ end
11259
+
11260
+ # EnableVpnGatewaySslClientCert返回参数结构体
11261
+ class EnableVpnGatewaySslClientCertResponse < TencentCloud::Common::AbstractModel
11262
+ # @param TaskId: 异步任务实例ID。
11263
+ # @type TaskId: Integer
11264
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11265
+ # @type RequestId: String
11266
+
11267
+ attr_accessor :TaskId, :RequestId
11268
+
11269
+ def initialize(taskid=nil, requestid=nil)
11270
+ @TaskId = taskid
11271
+ @RequestId = requestid
11272
+ end
11273
+
11274
+ def deserialize(params)
11275
+ @TaskId = params['TaskId']
11276
+ @RequestId = params['RequestId']
11277
+ end
11278
+ end
11279
+
10850
11280
  # 终端节点详情。
10851
11281
  class EndPoint < TencentCloud::Common::AbstractModel
10852
11282
  # @param EndPointId: 终端节点ID。
@@ -16573,6 +17003,144 @@ module TencentCloud
16573
17003
  end
16574
17004
  end
16575
17005
 
17006
+ # SSL-VPN-CLIENT 出参
17007
+ class SslVpnClient < TencentCloud::Common::AbstractModel
17008
+ # @param VpcId: VPC实例ID
17009
+ # @type VpcId: String
17010
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID
17011
+ # @type SslVpnServerId: String
17012
+ # @param CertStatus: 证书状态.
17013
+ # 0:创建中
17014
+ # 1:正常
17015
+ # 2:已停用
17016
+ # 3.已过期
17017
+ # 4.创建出错
17018
+ # @type CertStatus: Integer
17019
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID
17020
+ # @type SslVpnClientId: String
17021
+ # @param CertBeginTime: 证书开始时间
17022
+ # @type CertBeginTime: String
17023
+ # @param CertEndTime: 证书到期时间
17024
+ # @type CertEndTime: String
17025
+ # @param Name: CLIENT NAME
17026
+ # @type Name: String
17027
+ # @param State: 创建CLIENT 状态。
17028
+ # 0 创建中
17029
+ # 1 创建出错
17030
+ # 2 更新中
17031
+ # 3 更新出错
17032
+ # 4 销毁中
17033
+ # 5 销毁出粗
17034
+ # 6 已连通
17035
+ # 7 未知
17036
+ # @type State: String
17037
+
17038
+ attr_accessor :VpcId, :SslVpnServerId, :CertStatus, :SslVpnClientId, :CertBeginTime, :CertEndTime, :Name, :State
17039
+
17040
+ def initialize(vpcid=nil, sslvpnserverid=nil, certstatus=nil, sslvpnclientid=nil, certbegintime=nil, certendtime=nil, name=nil, state=nil)
17041
+ @VpcId = vpcid
17042
+ @SslVpnServerId = sslvpnserverid
17043
+ @CertStatus = certstatus
17044
+ @SslVpnClientId = sslvpnclientid
17045
+ @CertBeginTime = certbegintime
17046
+ @CertEndTime = certendtime
17047
+ @Name = name
17048
+ @State = state
17049
+ end
17050
+
17051
+ def deserialize(params)
17052
+ @VpcId = params['VpcId']
17053
+ @SslVpnServerId = params['SslVpnServerId']
17054
+ @CertStatus = params['CertStatus']
17055
+ @SslVpnClientId = params['SslVpnClientId']
17056
+ @CertBeginTime = params['CertBeginTime']
17057
+ @CertEndTime = params['CertEndTime']
17058
+ @Name = params['Name']
17059
+ @State = params['State']
17060
+ end
17061
+ end
17062
+
17063
+ # SSL-VPN-SERVER 信息 SET
17064
+ class SslVpnSever < TencentCloud::Common::AbstractModel
17065
+ # @param VpcId: VPC实例ID.
17066
+ # 注意:此字段可能返回 null,表示取不到有效值。
17067
+ # @type VpcId: String
17068
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID。
17069
+ # @type SslVpnServerId: String
17070
+ # @param VpnGatewayId: VPN 实例ID。
17071
+ # @type VpnGatewayId: String
17072
+ # @param SslVpnServerName: SSL-VPN-SERVER name。
17073
+ # @type SslVpnServerName: String
17074
+ # @param LocalAddress: 本端地址段。
17075
+ # @type LocalAddress: Array
17076
+ # @param RemoteAddress: 客户端地址段。
17077
+ # @type RemoteAddress: String
17078
+ # @param MaxConnection: 客户端最大连接数。
17079
+ # @type MaxConnection: Integer
17080
+ # @param WanIp: SSL-VPN 网关公网IP。
17081
+ # @type WanIp: String
17082
+ # @param SslVpnProtocol: SSL VPN服务端监听协议
17083
+ # @type SslVpnProtocol: String
17084
+ # @param SslVpnPort: SSL VPN服务端监听协议端口
17085
+ # @type SslVpnPort: Integer
17086
+ # @param EncryptAlgorithm: 加密算法。
17087
+ # @type EncryptAlgorithm: String
17088
+ # @param IntegrityAlgorithm: 认证算法。
17089
+ # @type IntegrityAlgorithm: String
17090
+ # @param Compress: 是否支持压缩。
17091
+ # @type Compress: Integer
17092
+ # @param CreateTime: 创建时间。
17093
+ # @type CreateTime: String
17094
+ # @param State: SSL-VPN-SERVER 创建状态。
17095
+ # 0 创建中
17096
+ # 1 创建出错
17097
+ # 2 更新中
17098
+ # 3 更新出错
17099
+ # 4 销毁中
17100
+ # 5 销毁出粗
17101
+ # 6 已连通
17102
+ # 7 未知
17103
+ # @type State: Integer
17104
+
17105
+ attr_accessor :VpcId, :SslVpnServerId, :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :MaxConnection, :WanIp, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :CreateTime, :State
17106
+
17107
+ def initialize(vpcid=nil, sslvpnserverid=nil, vpngatewayid=nil, sslvpnservername=nil, localaddress=nil, remoteaddress=nil, maxconnection=nil, wanip=nil, sslvpnprotocol=nil, sslvpnport=nil, encryptalgorithm=nil, integrityalgorithm=nil, compress=nil, createtime=nil, state=nil)
17108
+ @VpcId = vpcid
17109
+ @SslVpnServerId = sslvpnserverid
17110
+ @VpnGatewayId = vpngatewayid
17111
+ @SslVpnServerName = sslvpnservername
17112
+ @LocalAddress = localaddress
17113
+ @RemoteAddress = remoteaddress
17114
+ @MaxConnection = maxconnection
17115
+ @WanIp = wanip
17116
+ @SslVpnProtocol = sslvpnprotocol
17117
+ @SslVpnPort = sslvpnport
17118
+ @EncryptAlgorithm = encryptalgorithm
17119
+ @IntegrityAlgorithm = integrityalgorithm
17120
+ @Compress = compress
17121
+ @CreateTime = createtime
17122
+ @State = state
17123
+ end
17124
+
17125
+ def deserialize(params)
17126
+ @VpcId = params['VpcId']
17127
+ @SslVpnServerId = params['SslVpnServerId']
17128
+ @VpnGatewayId = params['VpnGatewayId']
17129
+ @SslVpnServerName = params['SslVpnServerName']
17130
+ @LocalAddress = params['LocalAddress']
17131
+ @RemoteAddress = params['RemoteAddress']
17132
+ @MaxConnection = params['MaxConnection']
17133
+ @WanIp = params['WanIp']
17134
+ @SslVpnProtocol = params['SslVpnProtocol']
17135
+ @SslVpnPort = params['SslVpnPort']
17136
+ @EncryptAlgorithm = params['EncryptAlgorithm']
17137
+ @IntegrityAlgorithm = params['IntegrityAlgorithm']
17138
+ @Compress = params['Compress']
17139
+ @CreateTime = params['CreateTime']
17140
+ @State = params['State']
17141
+ end
17142
+ end
17143
+
16576
17144
  # 子网对象
16577
17145
  class Subnet < TencentCloud::Common::AbstractModel
16578
17146
  # @param VpcId: `VPC`实例`ID`。
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: 1.0.263
4
+ version: 1.0.264
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-23 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common