tencentcloud-sdk-vpc 1.0.263 → 1.0.266

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: f126925b8aea2bffef10a3cb91aecb62966aa8a2
4
+ data.tar.gz: e73b099c4d1926434d57afd6497e641c5a844788
5
5
  SHA512:
6
- metadata.gz: 9d20e1962eabb9ad8ee359659e60d4d77de7a4d34cfdd3e640b7283a3f344587d29fbc20a91f866e741c15bae0b93178473a7600e23d444fc8dce2943eb55479
7
- data.tar.gz: 5872d5f0c4f3da476996d2060e6bf604779a6152207c08e31fa0f1ef86fbefd9ca56d56b5859d3d708eff5653501029e69f316f0789e3bfe3b6de2c2d6c7671b
6
+ metadata.gz: d29f5b529494837d2e0daa94eac3f079b5cd9f02cf209f4e0a7322d945a31d02ae5fc83e628ff0c36547051406c670b1c678df531ac0da576837e2c5214284f3
7
+ data.tar.gz: db0446e43f0047439a90b296bf112ae8cbac38475128b7b546fde5099be67f97b0f1c04de20e78e23f338a3a15accb1493f1be0a2c245125b1b05859a0d97960
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.263
1
+ 1.0.266
@@ -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.
@@ -472,7 +472,7 @@ module TencentCloud
472
472
  end
473
473
  end
474
474
 
475
- # IP地址模版
475
+ # IP地址模板
476
476
  class AddressTemplateSpecification < TencentCloud::Common::AbstractModel
477
477
  # @param AddressId: IP地址ID,例如:ipm-2uw6ujo6。
478
478
  # @type AddressId: String
@@ -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。
@@ -16242,6 +16672,7 @@ module TencentCloud
16242
16672
  # @param Protocol: 协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。
16243
16673
  # @type Protocol: String
16244
16674
  # @param Port: 端口(all, 离散port, range)。
16675
+ # 说明:如果Protocol设置为ALL,则Port也需要设置为all。
16245
16676
  # @type Port: String
16246
16677
  # @param ServiceTemplate: 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。
16247
16678
  # @type ServiceTemplate: :class:`Tencentcloud::Vpc.v20170312.models.ServiceTemplateSpecification`
@@ -16433,7 +16864,7 @@ module TencentCloud
16433
16864
  end
16434
16865
  end
16435
16866
 
16436
- # 协议端口模版
16867
+ # 协议端口模板
16437
16868
  class ServiceTemplateSpecification < TencentCloud::Common::AbstractModel
16438
16869
  # @param ServiceId: 协议端口ID,例如:ppm-f5n1f8da。
16439
16870
  # @type ServiceId: String
@@ -16573,6 +17004,144 @@ module TencentCloud
16573
17004
  end
16574
17005
  end
16575
17006
 
17007
+ # SSL-VPN-CLIENT 出参
17008
+ class SslVpnClient < TencentCloud::Common::AbstractModel
17009
+ # @param VpcId: VPC实例ID
17010
+ # @type VpcId: String
17011
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID
17012
+ # @type SslVpnServerId: String
17013
+ # @param CertStatus: 证书状态.
17014
+ # 0:创建中
17015
+ # 1:正常
17016
+ # 2:已停用
17017
+ # 3.已过期
17018
+ # 4.创建出错
17019
+ # @type CertStatus: Integer
17020
+ # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID
17021
+ # @type SslVpnClientId: String
17022
+ # @param CertBeginTime: 证书开始时间
17023
+ # @type CertBeginTime: String
17024
+ # @param CertEndTime: 证书到期时间
17025
+ # @type CertEndTime: String
17026
+ # @param Name: CLIENT NAME
17027
+ # @type Name: String
17028
+ # @param State: 创建CLIENT 状态。
17029
+ # 0 创建中
17030
+ # 1 创建出错
17031
+ # 2 更新中
17032
+ # 3 更新出错
17033
+ # 4 销毁中
17034
+ # 5 销毁出粗
17035
+ # 6 已连通
17036
+ # 7 未知
17037
+ # @type State: String
17038
+
17039
+ attr_accessor :VpcId, :SslVpnServerId, :CertStatus, :SslVpnClientId, :CertBeginTime, :CertEndTime, :Name, :State
17040
+
17041
+ def initialize(vpcid=nil, sslvpnserverid=nil, certstatus=nil, sslvpnclientid=nil, certbegintime=nil, certendtime=nil, name=nil, state=nil)
17042
+ @VpcId = vpcid
17043
+ @SslVpnServerId = sslvpnserverid
17044
+ @CertStatus = certstatus
17045
+ @SslVpnClientId = sslvpnclientid
17046
+ @CertBeginTime = certbegintime
17047
+ @CertEndTime = certendtime
17048
+ @Name = name
17049
+ @State = state
17050
+ end
17051
+
17052
+ def deserialize(params)
17053
+ @VpcId = params['VpcId']
17054
+ @SslVpnServerId = params['SslVpnServerId']
17055
+ @CertStatus = params['CertStatus']
17056
+ @SslVpnClientId = params['SslVpnClientId']
17057
+ @CertBeginTime = params['CertBeginTime']
17058
+ @CertEndTime = params['CertEndTime']
17059
+ @Name = params['Name']
17060
+ @State = params['State']
17061
+ end
17062
+ end
17063
+
17064
+ # SSL-VPN-SERVER 信息 SET
17065
+ class SslVpnSever < TencentCloud::Common::AbstractModel
17066
+ # @param VpcId: VPC实例ID.
17067
+ # 注意:此字段可能返回 null,表示取不到有效值。
17068
+ # @type VpcId: String
17069
+ # @param SslVpnServerId: SSL-VPN-SERVER 实例ID。
17070
+ # @type SslVpnServerId: String
17071
+ # @param VpnGatewayId: VPN 实例ID。
17072
+ # @type VpnGatewayId: String
17073
+ # @param SslVpnServerName: SSL-VPN-SERVER name。
17074
+ # @type SslVpnServerName: String
17075
+ # @param LocalAddress: 本端地址段。
17076
+ # @type LocalAddress: Array
17077
+ # @param RemoteAddress: 客户端地址段。
17078
+ # @type RemoteAddress: String
17079
+ # @param MaxConnection: 客户端最大连接数。
17080
+ # @type MaxConnection: Integer
17081
+ # @param WanIp: SSL-VPN 网关公网IP。
17082
+ # @type WanIp: String
17083
+ # @param SslVpnProtocol: SSL VPN服务端监听协议
17084
+ # @type SslVpnProtocol: String
17085
+ # @param SslVpnPort: SSL VPN服务端监听协议端口
17086
+ # @type SslVpnPort: Integer
17087
+ # @param EncryptAlgorithm: 加密算法。
17088
+ # @type EncryptAlgorithm: String
17089
+ # @param IntegrityAlgorithm: 认证算法。
17090
+ # @type IntegrityAlgorithm: String
17091
+ # @param Compress: 是否支持压缩。
17092
+ # @type Compress: Integer
17093
+ # @param CreateTime: 创建时间。
17094
+ # @type CreateTime: String
17095
+ # @param State: SSL-VPN-SERVER 创建状态。
17096
+ # 0 创建中
17097
+ # 1 创建出错
17098
+ # 2 更新中
17099
+ # 3 更新出错
17100
+ # 4 销毁中
17101
+ # 5 销毁出粗
17102
+ # 6 已连通
17103
+ # 7 未知
17104
+ # @type State: Integer
17105
+
17106
+ attr_accessor :VpcId, :SslVpnServerId, :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :MaxConnection, :WanIp, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :CreateTime, :State
17107
+
17108
+ 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)
17109
+ @VpcId = vpcid
17110
+ @SslVpnServerId = sslvpnserverid
17111
+ @VpnGatewayId = vpngatewayid
17112
+ @SslVpnServerName = sslvpnservername
17113
+ @LocalAddress = localaddress
17114
+ @RemoteAddress = remoteaddress
17115
+ @MaxConnection = maxconnection
17116
+ @WanIp = wanip
17117
+ @SslVpnProtocol = sslvpnprotocol
17118
+ @SslVpnPort = sslvpnport
17119
+ @EncryptAlgorithm = encryptalgorithm
17120
+ @IntegrityAlgorithm = integrityalgorithm
17121
+ @Compress = compress
17122
+ @CreateTime = createtime
17123
+ @State = state
17124
+ end
17125
+
17126
+ def deserialize(params)
17127
+ @VpcId = params['VpcId']
17128
+ @SslVpnServerId = params['SslVpnServerId']
17129
+ @VpnGatewayId = params['VpnGatewayId']
17130
+ @SslVpnServerName = params['SslVpnServerName']
17131
+ @LocalAddress = params['LocalAddress']
17132
+ @RemoteAddress = params['RemoteAddress']
17133
+ @MaxConnection = params['MaxConnection']
17134
+ @WanIp = params['WanIp']
17135
+ @SslVpnProtocol = params['SslVpnProtocol']
17136
+ @SslVpnPort = params['SslVpnPort']
17137
+ @EncryptAlgorithm = params['EncryptAlgorithm']
17138
+ @IntegrityAlgorithm = params['IntegrityAlgorithm']
17139
+ @Compress = params['Compress']
17140
+ @CreateTime = params['CreateTime']
17141
+ @State = params['State']
17142
+ end
17143
+ end
17144
+
16576
17145
  # 子网对象
16577
17146
  class Subnet < TencentCloud::Common::AbstractModel
16578
17147
  # @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.266
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-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common