tencentcloud-sdk-vpc 1.0.339 → 1.0.340

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20170312/models.rb +127 -13
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2ca043aff7b719d65e19253ca25a2359f6556c58
4
- data.tar.gz: c5c8357e2b488ddfa792f28c94de48ae5630b126
3
+ metadata.gz: 49aed70384613fd3be406cc6cc85363af516cafa
4
+ data.tar.gz: 8957efff831ece9fe4e681d88734226b770d185a
5
5
  SHA512:
6
- metadata.gz: 3b1954286b455ad3fbf1ec0cd4a111acf6cabe90a4438e8854266788564e05a74cc9f554dde0bbb86987281fd66049753092fdaddc5951c63c0f731ba08caaee
7
- data.tar.gz: 7b5fcb72ca5270c014554f5dd220146b9087ed439def51be549f6b34563f14cc90b3bb00fb007599dd675610bbff376fd67ce857c22341d4a905fc819fb7ce67
6
+ metadata.gz: c7af597fd7d8f1c6c7be54ebd0e5f1acaa728138eef325b1169fa557b8c8786aeb6c740be8cc3b62bd8ff034a2a3f3b61ae93ebae8b464eba2aca597b71942e0
7
+ data.tar.gz: e0b7e49f42f208bfa45ccf017fddc60609295077019602b272d2855efda43739857b3f857c6fe6121eb1a65e6532699f4f3721c5d1cd803c1df6748b62b27be2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.339
1
+ 1.0.340
@@ -60,6 +60,38 @@ module TencentCloud
60
60
  end
61
61
  end
62
62
 
63
+ # 策略信息
64
+ class AccessPolicy < TencentCloud::Common::AbstractModel
65
+ # @param TargetCidr: 目的CIDR
66
+ # @type TargetCidr: String
67
+ # @param VpnGatewayIdSslAccessPolicyId: 策略ID
68
+ # @type VpnGatewayIdSslAccessPolicyId: String
69
+ # @param ForAllClient: 是否对所有用户都生效。1 生效 0不生效
70
+ # @type ForAllClient: Integer
71
+ # @param UserGroupIds: 用户组ID
72
+ # @type UserGroupIds: Array
73
+ # @param UpdateTime: 更新时间
74
+ # @type UpdateTime: String
75
+
76
+ attr_accessor :TargetCidr, :VpnGatewayIdSslAccessPolicyId, :ForAllClient, :UserGroupIds, :UpdateTime
77
+
78
+ def initialize(targetcidr=nil, vpngatewayidsslaccesspolicyid=nil, forallclient=nil, usergroupids=nil, updatetime=nil)
79
+ @TargetCidr = targetcidr
80
+ @VpnGatewayIdSslAccessPolicyId = vpngatewayidsslaccesspolicyid
81
+ @ForAllClient = forallclient
82
+ @UserGroupIds = usergroupids
83
+ @UpdateTime = updatetime
84
+ end
85
+
86
+ def deserialize(params)
87
+ @TargetCidr = params['TargetCidr']
88
+ @VpnGatewayIdSslAccessPolicyId = params['VpnGatewayIdSslAccessPolicyId']
89
+ @ForAllClient = params['ForAllClient']
90
+ @UserGroupIds = params['UserGroupIds']
91
+ @UpdateTime = params['UpdateTime']
92
+ end
93
+ end
94
+
63
95
  # 账户属性对象
64
96
  class AccountAttribute < TencentCloud::Common::AbstractModel
65
97
  # @param AttributeName: 属性名
@@ -10183,14 +10215,17 @@ module TencentCloud
10183
10215
  # @type Limit: Integer
10184
10216
  # @param SslVpnClientIds: SSL-VPN-CLIENT实例ID。形如:vpngwSslClient-f49l6u0z。每次请求的实例的上限为100。参数不支持同时指定SslVpnClientIds和Filters。
10185
10217
  # @type SslVpnClientIds: Array
10218
+ # @param IsVpnPortal: VPN门户网站使用。默认是False。
10219
+ # @type IsVpnPortal: Boolean
10186
10220
 
10187
- attr_accessor :Filters, :Offset, :Limit, :SslVpnClientIds
10221
+ attr_accessor :Filters, :Offset, :Limit, :SslVpnClientIds, :IsVpnPortal
10188
10222
 
10189
- def initialize(filters=nil, offset=nil, limit=nil, sslvpnclientids=nil)
10223
+ def initialize(filters=nil, offset=nil, limit=nil, sslvpnclientids=nil, isvpnportal=nil)
10190
10224
  @Filters = filters
10191
10225
  @Offset = offset
10192
10226
  @Limit = limit
10193
10227
  @SslVpnClientIds = sslvpnclientids
10228
+ @IsVpnPortal = isvpnportal
10194
10229
  end
10195
10230
 
10196
10231
  def deserialize(params)
@@ -10205,6 +10240,7 @@ module TencentCloud
10205
10240
  @Offset = params['Offset']
10206
10241
  @Limit = params['Limit']
10207
10242
  @SslVpnClientIds = params['SslVpnClientIds']
10243
+ @IsVpnPortal = params['IsVpnPortal']
10208
10244
  end
10209
10245
  end
10210
10246
 
@@ -10254,14 +10290,17 @@ module TencentCloud
10254
10290
  # <li>ssl-vpn-server-name - String - (过滤条件)SSL-VPN-SERVER实例名称。</li>
10255
10291
  # <li>ssl-vpn-server-id - String - (过滤条件)SSL-VPN-SERVER实例ID形如:vpngwSslServer-123456。</li>
10256
10292
  # @type Filters: Array
10293
+ # @param IsVpnPortal: vpn门户使用。 默认Flase
10294
+ # @type IsVpnPortal: Boolean
10257
10295
 
10258
- attr_accessor :Offset, :Limit, :SslVpnServerIds, :Filters
10296
+ attr_accessor :Offset, :Limit, :SslVpnServerIds, :Filters, :IsVpnPortal
10259
10297
 
10260
- def initialize(offset=nil, limit=nil, sslvpnserverids=nil, filters=nil)
10298
+ def initialize(offset=nil, limit=nil, sslvpnserverids=nil, filters=nil, isvpnportal=nil)
10261
10299
  @Offset = offset
10262
10300
  @Limit = limit
10263
10301
  @SslVpnServerIds = sslvpnserverids
10264
10302
  @Filters = filters
10303
+ @IsVpnPortal = isvpnportal
10265
10304
  end
10266
10305
 
10267
10306
  def deserialize(params)
@@ -10276,6 +10315,7 @@ module TencentCloud
10276
10315
  @Filters << filterobject_tmp
10277
10316
  end
10278
10317
  end
10318
+ @IsVpnPortal = params['IsVpnPortal']
10279
10319
  end
10280
10320
  end
10281
10321
 
@@ -11256,34 +11296,57 @@ module TencentCloud
11256
11296
  class DownloadVpnGatewaySslClientCertRequest < TencentCloud::Common::AbstractModel
11257
11297
  # @param SslVpnClientId: SSL-VPN-CLIENT 实例ID。
11258
11298
  # @type SslVpnClientId: String
11299
+ # @param SamlToken: SAML-TOKEN
11300
+ # @type SamlToken: String
11301
+ # @param IsVpnPortal: VPN门户网站使用。默认Flase
11302
+ # @type IsVpnPortal: Boolean
11259
11303
 
11260
- attr_accessor :SslVpnClientId
11304
+ attr_accessor :SslVpnClientId, :SamlToken, :IsVpnPortal
11261
11305
 
11262
- def initialize(sslvpnclientid=nil)
11306
+ def initialize(sslvpnclientid=nil, samltoken=nil, isvpnportal=nil)
11263
11307
  @SslVpnClientId = sslvpnclientid
11308
+ @SamlToken = samltoken
11309
+ @IsVpnPortal = isvpnportal
11264
11310
  end
11265
11311
 
11266
11312
  def deserialize(params)
11267
11313
  @SslVpnClientId = params['SslVpnClientId']
11314
+ @SamlToken = params['SamlToken']
11315
+ @IsVpnPortal = params['IsVpnPortal']
11268
11316
  end
11269
11317
  end
11270
11318
 
11271
11319
  # DownloadVpnGatewaySslClientCert返回参数结构体
11272
11320
  class DownloadVpnGatewaySslClientCertResponse < TencentCloud::Common::AbstractModel
11273
- # @param SslClientConfigsSet: SSL-VPN-CLIENT 证书配置
11321
+ # @param SslClientConfigsSet:
11274
11322
  # @type SslClientConfigsSet: String
11323
+ # @param SslClientConfig: SSL-VPN client配置
11324
+ # @type SslClientConfig: Array
11325
+ # @param Authenticated: 是否鉴权成功 只有传入SamlToken 才生效
11326
+ # @type Authenticated: Integer
11275
11327
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
11276
11328
  # @type RequestId: String
11277
11329
 
11278
- attr_accessor :SslClientConfigsSet, :RequestId
11330
+ attr_accessor :SslClientConfigsSet, :SslClientConfig, :Authenticated, :RequestId
11279
11331
 
11280
- def initialize(sslclientconfigsset=nil, requestid=nil)
11332
+ def initialize(sslclientconfigsset=nil, sslclientconfig=nil, authenticated=nil, requestid=nil)
11281
11333
  @SslClientConfigsSet = sslclientconfigsset
11334
+ @SslClientConfig = sslclientconfig
11335
+ @Authenticated = authenticated
11282
11336
  @RequestId = requestid
11283
11337
  end
11284
11338
 
11285
11339
  def deserialize(params)
11286
11340
  @SslClientConfigsSet = params['SslClientConfigsSet']
11341
+ unless params['SslClientConfig'].nil?
11342
+ @SslClientConfig = []
11343
+ params['SslClientConfig'].each do |i|
11344
+ sslclientconfig_tmp = SslClientConfig.new
11345
+ sslclientconfig_tmp.deserialize(i)
11346
+ @SslClientConfig << sslclientconfig_tmp
11347
+ end
11348
+ end
11349
+ @Authenticated = params['Authenticated']
11287
11350
  @RequestId = params['RequestId']
11288
11351
  end
11289
11352
  end
@@ -17305,6 +17368,34 @@ module TencentCloud
17305
17368
  end
17306
17369
  end
17307
17370
 
17371
+ # DownloadVpnGatewaySslClientCert 使用
17372
+ class SslClientConfig < TencentCloud::Common::AbstractModel
17373
+ # @param SslVpnClientConfiguration: 客户端配置
17374
+ # @type SslVpnClientConfiguration: String
17375
+ # @param SslVpnRootCert: 更证书
17376
+ # @type SslVpnRootCert: String
17377
+ # @param SslVpnKey: 客户端密钥
17378
+ # @type SslVpnKey: String
17379
+ # @param SslVpnCert: 客户端证书
17380
+ # @type SslVpnCert: String
17381
+
17382
+ attr_accessor :SslVpnClientConfiguration, :SslVpnRootCert, :SslVpnKey, :SslVpnCert
17383
+
17384
+ def initialize(sslvpnclientconfiguration=nil, sslvpnrootcert=nil, sslvpnkey=nil, sslvpncert=nil)
17385
+ @SslVpnClientConfiguration = sslvpnclientconfiguration
17386
+ @SslVpnRootCert = sslvpnrootcert
17387
+ @SslVpnKey = sslvpnkey
17388
+ @SslVpnCert = sslvpncert
17389
+ end
17390
+
17391
+ def deserialize(params)
17392
+ @SslVpnClientConfiguration = params['SslVpnClientConfiguration']
17393
+ @SslVpnRootCert = params['SslVpnRootCert']
17394
+ @SslVpnKey = params['SslVpnKey']
17395
+ @SslVpnCert = params['SslVpnCert']
17396
+ end
17397
+ end
17398
+
17308
17399
  # SSL-VPN-CLIENT 出参
17309
17400
  class SslVpnClient < TencentCloud::Common::AbstractModel
17310
17401
  # @param VpcId: VPC实例ID
@@ -17403,10 +17494,18 @@ module TencentCloud
17403
17494
  # 6 已连通
17404
17495
  # 7 未知
17405
17496
  # @type State: Integer
17406
-
17407
- attr_accessor :VpcId, :SslVpnServerId, :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :MaxConnection, :WanIp, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :CreateTime, :State
17408
-
17409
- 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)
17497
+ # @param SsoEnabled: 是否开启SSO认证。1:开启 0: 不开启
17498
+ # @type SsoEnabled: Integer
17499
+ # @param EiamApplicationId: EIAM应用ID
17500
+ # @type EiamApplicationId: String
17501
+ # @param AccessPolicyEnabled: 是否开启策略控制。0:不开启 1: 开启
17502
+ # @type AccessPolicyEnabled: Integer
17503
+ # @param AccessPolicy: 策略信息
17504
+ # @type AccessPolicy: Array
17505
+
17506
+ attr_accessor :VpcId, :SslVpnServerId, :VpnGatewayId, :SslVpnServerName, :LocalAddress, :RemoteAddress, :MaxConnection, :WanIp, :SslVpnProtocol, :SslVpnPort, :EncryptAlgorithm, :IntegrityAlgorithm, :Compress, :CreateTime, :State, :SsoEnabled, :EiamApplicationId, :AccessPolicyEnabled, :AccessPolicy
17507
+
17508
+ 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, ssoenabled=nil, eiamapplicationid=nil, accesspolicyenabled=nil, accesspolicy=nil)
17410
17509
  @VpcId = vpcid
17411
17510
  @SslVpnServerId = sslvpnserverid
17412
17511
  @VpnGatewayId = vpngatewayid
@@ -17422,6 +17521,10 @@ module TencentCloud
17422
17521
  @Compress = compress
17423
17522
  @CreateTime = createtime
17424
17523
  @State = state
17524
+ @SsoEnabled = ssoenabled
17525
+ @EiamApplicationId = eiamapplicationid
17526
+ @AccessPolicyEnabled = accesspolicyenabled
17527
+ @AccessPolicy = accesspolicy
17425
17528
  end
17426
17529
 
17427
17530
  def deserialize(params)
@@ -17440,6 +17543,17 @@ module TencentCloud
17440
17543
  @Compress = params['Compress']
17441
17544
  @CreateTime = params['CreateTime']
17442
17545
  @State = params['State']
17546
+ @SsoEnabled = params['SsoEnabled']
17547
+ @EiamApplicationId = params['EiamApplicationId']
17548
+ @AccessPolicyEnabled = params['AccessPolicyEnabled']
17549
+ unless params['AccessPolicy'].nil?
17550
+ @AccessPolicy = []
17551
+ params['AccessPolicy'].each do |i|
17552
+ accesspolicy_tmp = AccessPolicy.new
17553
+ accesspolicy_tmp.deserialize(i)
17554
+ @AccessPolicy << accesspolicy_tmp
17555
+ end
17556
+ end
17443
17557
  end
17444
17558
  end
17445
17559
 
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.339
4
+ version: 1.0.340
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-06-21 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common