tencentcloud-sdk-teo 3.0.439 → 3.0.441

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: 6b175a049d901ae215b8f727d1ae203fcee14851
4
- data.tar.gz: eb5b041dec22cdbe9c756d41ce762c734a4c5fb2
3
+ metadata.gz: e51b738120f3954d6dba230856c1131fb380e7a2
4
+ data.tar.gz: 241eca4a819bd1b502b1a1400d305a3092392c4c
5
5
  SHA512:
6
- metadata.gz: 074f2eddc055e68488f6c74b7afa9fe24289cfb3990b3bc402cb46c456e5d24bec4c696155e70e28cb98c90dccc408303d210f435337dbe591eb45f5bdcab0e2
7
- data.tar.gz: 8bd442a18792981131b8ff52fea25aed255689bbff3487219ff45e4ac65e81acdc3e939125e2d27b1ad4c3b5ddd012747d4d7f6a3c7fda0de25f9e6f4afd0626
6
+ metadata.gz: 17fa648fd2fcd8c8b3db66838ce078fda7ec5f4bf907939e51fe4553edb717e66a072e4a87d292bef820a4b1043df7827423cd4194db2044e87cc2bbf51d4072
7
+ data.tar.gz: 230d9c24e5df172c4a00adde3aa1d23426168643c0aebb863c4eeefc3c5412da758dcc4e11edc12a26f0528d910cb9b500483786b7e609c7574cf19b8b200a38
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.439
1
+ 3.0.441
@@ -53,30 +53,6 @@ module TencentCloud
53
53
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
54
  end
55
55
 
56
- # 创建别称域名。
57
-
58
- # @param request: Request instance for CreateAliasDomain.
59
- # @type request: :class:`Tencentcloud::teo::V20220901::CreateAliasDomainRequest`
60
- # @rtype: :class:`Tencentcloud::teo::V20220901::CreateAliasDomainResponse`
61
- def CreateAliasDomain(request)
62
- body = send_request('CreateAliasDomain', request.serialize)
63
- response = JSON.parse(body)
64
- if response['Response'].key?('Error') == false
65
- model = CreateAliasDomainResponse.new
66
- model.deserialize(response['Response'])
67
- model
68
- else
69
- code = response['Response']['Error']['Code']
70
- message = response['Response']['Error']['Message']
71
- reqid = response['Response']['RequestId']
72
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
- end
74
- rescue TencentCloud::Common::TencentCloudSDKException => e
75
- raise e
76
- rescue StandardError => e
77
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
- end
79
-
80
56
  # 创建应用代理
81
57
 
82
58
  # @param request: Request instance for CreateApplicationProxy.
@@ -509,30 +485,6 @@ module TencentCloud
509
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
486
  end
511
487
 
512
- # 删除别称域名。
513
-
514
- # @param request: Request instance for DeleteAliasDomain.
515
- # @type request: :class:`Tencentcloud::teo::V20220901::DeleteAliasDomainRequest`
516
- # @rtype: :class:`Tencentcloud::teo::V20220901::DeleteAliasDomainResponse`
517
- def DeleteAliasDomain(request)
518
- body = send_request('DeleteAliasDomain', request.serialize)
519
- response = JSON.parse(body)
520
- if response['Response'].key?('Error') == false
521
- model = DeleteAliasDomainResponse.new
522
- model.deserialize(response['Response'])
523
- model
524
- else
525
- code = response['Response']['Error']['Code']
526
- message = response['Response']['Error']['Message']
527
- reqid = response['Response']['RequestId']
528
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
- end
530
- rescue TencentCloud::Common::TencentCloudSDKException => e
531
- raise e
532
- rescue StandardError => e
533
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
- end
535
-
536
488
  # 删除应用代理
537
489
 
538
490
  # @param request: Request instance for DeleteApplicationProxy.
@@ -749,30 +701,6 @@ module TencentCloud
749
701
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
750
702
  end
751
703
 
752
- # 查询别称域名信息列表。
753
-
754
- # @param request: Request instance for DescribeAliasDomains.
755
- # @type request: :class:`Tencentcloud::teo::V20220901::DescribeAliasDomainsRequest`
756
- # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeAliasDomainsResponse`
757
- def DescribeAliasDomains(request)
758
- body = send_request('DescribeAliasDomains', request.serialize)
759
- response = JSON.parse(body)
760
- if response['Response'].key?('Error') == false
761
- model = DescribeAliasDomainsResponse.new
762
- model.deserialize(response['Response'])
763
- model
764
- else
765
- code = response['Response']['Error']['Code']
766
- message = response['Response']['Error']['Message']
767
- reqid = response['Response']['RequestId']
768
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
769
- end
770
- rescue TencentCloud::Common::TencentCloudSDKException => e
771
- raise e
772
- rescue StandardError => e
773
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
774
- end
775
-
776
704
  # 查询应用代理列表。
777
705
 
778
706
  # @param request: Request instance for DescribeApplicationProxies.
@@ -2381,54 +2309,6 @@ module TencentCloud
2381
2309
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2382
2310
  end
2383
2311
 
2384
- # 修改别称域名。
2385
-
2386
- # @param request: Request instance for ModifyAliasDomain.
2387
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyAliasDomainRequest`
2388
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyAliasDomainResponse`
2389
- def ModifyAliasDomain(request)
2390
- body = send_request('ModifyAliasDomain', request.serialize)
2391
- response = JSON.parse(body)
2392
- if response['Response'].key?('Error') == false
2393
- model = ModifyAliasDomainResponse.new
2394
- model.deserialize(response['Response'])
2395
- model
2396
- else
2397
- code = response['Response']['Error']['Code']
2398
- message = response['Response']['Error']['Message']
2399
- reqid = response['Response']['RequestId']
2400
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2401
- end
2402
- rescue TencentCloud::Common::TencentCloudSDKException => e
2403
- raise e
2404
- rescue StandardError => e
2405
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2406
- end
2407
-
2408
- # 修改别称域名状态。
2409
-
2410
- # @param request: Request instance for ModifyAliasDomainStatus.
2411
- # @type request: :class:`Tencentcloud::teo::V20220901::ModifyAliasDomainStatusRequest`
2412
- # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyAliasDomainStatusResponse`
2413
- def ModifyAliasDomainStatus(request)
2414
- body = send_request('ModifyAliasDomainStatus', request.serialize)
2415
- response = JSON.parse(body)
2416
- if response['Response'].key?('Error') == false
2417
- model = ModifyAliasDomainStatusResponse.new
2418
- model.deserialize(response['Response'])
2419
- model
2420
- else
2421
- code = response['Response']['Error']['Code']
2422
- message = response['Response']['Error']['Message']
2423
- reqid = response['Response']['RequestId']
2424
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2425
- end
2426
- rescue TencentCloud::Common::TencentCloudSDKException => e
2427
- raise e
2428
- rescue StandardError => e
2429
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2430
- end
2431
-
2432
2312
  # 修改应用代理
2433
2313
 
2434
2314
  # @param request: Request instance for ModifyApplicationProxy.
@@ -350,62 +350,6 @@ module TencentCloud
350
350
  end
351
351
  end
352
352
 
353
- # 别称域名信息。
354
- class AliasDomain < TencentCloud::Common::AbstractModel
355
- # @param AliasId: 别称域名 ID。
356
- # @type AliasId: String
357
- # @param AliasName: 别称域名名称。
358
- # @type AliasName: String
359
- # @param ZoneId: 站点 ID。
360
- # @type ZoneId: String
361
- # @param TargetName: 目标域名名称。
362
- # @type TargetName: String
363
- # @param Status: 别称域名状态,取值有:
364
- # <li> active:已生效; </li>
365
- # <li> pending:部署中;</li>
366
- # <li> conflict:被找回。 </li>
367
- # <li> stop:已停用;</li>
368
- # <li> deleted:已删除。 </li>
369
- # @type Status: String
370
- # @param ForbidMode: 封禁模式,取值有:
371
- # <li> 0:未封禁; </li>
372
- # <li> 11:合规封禁;</li>
373
- # <li> 14:未备案封禁。</li>
374
- # @type ForbidMode: Integer
375
- # @param TargetForbid: 目标域名是否被封禁。
376
- # @type TargetForbid: Boolean
377
- # @param CreatedOn: 别称域名创建时间。
378
- # @type CreatedOn: String
379
- # @param ModifiedOn: 别称域名修改时间。
380
- # @type ModifiedOn: String
381
-
382
- attr_accessor :AliasId, :AliasName, :ZoneId, :TargetName, :Status, :ForbidMode, :TargetForbid, :CreatedOn, :ModifiedOn
383
-
384
- def initialize(aliasid=nil, aliasname=nil, zoneid=nil, targetname=nil, status=nil, forbidmode=nil, targetforbid=nil, createdon=nil, modifiedon=nil)
385
- @AliasId = aliasid
386
- @AliasName = aliasname
387
- @ZoneId = zoneid
388
- @TargetName = targetname
389
- @Status = status
390
- @ForbidMode = forbidmode
391
- @TargetForbid = targetforbid
392
- @CreatedOn = createdon
393
- @ModifiedOn = modifiedon
394
- end
395
-
396
- def deserialize(params)
397
- @AliasId = params['AliasId']
398
- @AliasName = params['AliasName']
399
- @ZoneId = params['ZoneId']
400
- @TargetName = params['TargetName']
401
- @Status = params['Status']
402
- @ForbidMode = params['ForbidMode']
403
- @TargetForbid = params['TargetForbid']
404
- @CreatedOn = params['CreatedOn']
405
- @ModifiedOn = params['ModifiedOn']
406
- end
407
- end
408
-
409
353
  # 应用代理实例
410
354
  class ApplicationProxy < TencentCloud::Common::AbstractModel
411
355
  # @param ZoneId: 站点ID。
@@ -525,8 +469,8 @@ module TencentCloud
525
469
  # <li>UDP:UDP协议。</li>
526
470
  # @type Proto: String
527
471
  # @param Port: 端口,支持格式:
528
- # 单个端口,如:80
529
- # 端口段,如:81-82。表示81,82两个端口。
472
+ # <li>单个端口,如:80。</li>
473
+ # <li>端口段,如:81-82。表示81,82两个端口。</li>
530
474
  # 注意:一条规则最多可填写20个端口。
531
475
  # @type Port: Array
532
476
  # @param OriginType: 源站类型,取值有:
@@ -534,11 +478,8 @@ module TencentCloud
534
478
  # <li>origins:源站组。</li>
535
479
  # @type OriginType: String
536
480
  # @param OriginValue: 源站信息:
537
- # OriginType=custom时,表示一个或多个源站,如:
538
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
539
- # OriginValue=["test.com:80"];
540
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
541
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
481
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
482
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
542
483
  # @type OriginValue: Array
543
484
  # @param RuleId: 规则ID。
544
485
  # @type RuleId: String
@@ -559,10 +500,14 @@ module TencentCloud
559
500
  # <li>true:开启;</li>
560
501
  # <li>false:关闭。</li>默认值:false。
561
502
  # @type SessionPersist: Boolean
503
+ # @param OriginPort: 源站端口,支持格式:
504
+ # <li>单端口,如:80。</li>
505
+ # <li>端口段:81-82,表示81,82两个端口。</li>
506
+ # @type OriginPort: String
562
507
 
563
- attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist
508
+ attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist, :OriginPort
564
509
 
565
- def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil)
510
+ def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
566
511
  @Proto = proto
567
512
  @Port = port
568
513
  @OriginType = origintype
@@ -571,6 +516,7 @@ module TencentCloud
571
516
  @Status = status
572
517
  @ForwardClientIp = forwardclientip
573
518
  @SessionPersist = sessionpersist
519
+ @OriginPort = originport
574
520
  end
575
521
 
576
522
  def deserialize(params)
@@ -582,6 +528,7 @@ module TencentCloud
582
528
  @Status = params['Status']
583
529
  @ForwardClientIp = params['ForwardClientIp']
584
530
  @SessionPersist = params['SessionPersist']
531
+ @OriginPort = params['OriginPort']
585
532
  end
586
533
  end
587
534
 
@@ -1322,61 +1269,6 @@ module TencentCloud
1322
1269
  end
1323
1270
  end
1324
1271
 
1325
- # CreateAliasDomain请求参数结构体
1326
- class CreateAliasDomainRequest < TencentCloud::Common::AbstractModel
1327
- # @param ZoneId: 站点 ID。
1328
- # @type ZoneId: String
1329
- # @param AliasName: 别称域名名称。
1330
- # @type AliasName: String
1331
- # @param TargetName: 目标域名名称。
1332
- # @type TargetName: String
1333
- # @param CertType: 证书配置,取值有:
1334
- # <li> none:不配置;</li>
1335
- # <li> hosting:SSL托管证书;</li>
1336
- # <li> apply:申请免费证书。</li>
1337
- # @type CertType: String
1338
- # @param CertId: 选择托管证书时需填入相应证书 ID。
1339
- # @type CertId: Array
1340
-
1341
- attr_accessor :ZoneId, :AliasName, :TargetName, :CertType, :CertId
1342
-
1343
- def initialize(zoneid=nil, aliasname=nil, targetname=nil, certtype=nil, certid=nil)
1344
- @ZoneId = zoneid
1345
- @AliasName = aliasname
1346
- @TargetName = targetname
1347
- @CertType = certtype
1348
- @CertId = certid
1349
- end
1350
-
1351
- def deserialize(params)
1352
- @ZoneId = params['ZoneId']
1353
- @AliasName = params['AliasName']
1354
- @TargetName = params['TargetName']
1355
- @CertType = params['CertType']
1356
- @CertId = params['CertId']
1357
- end
1358
- end
1359
-
1360
- # CreateAliasDomain返回参数结构体
1361
- class CreateAliasDomainResponse < TencentCloud::Common::AbstractModel
1362
- # @param AliasId: 别称域名 ID。
1363
- # @type AliasId: String
1364
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1365
- # @type RequestId: String
1366
-
1367
- attr_accessor :AliasId, :RequestId
1368
-
1369
- def initialize(aliasid=nil, requestid=nil)
1370
- @AliasId = aliasid
1371
- @RequestId = requestid
1372
- end
1373
-
1374
- def deserialize(params)
1375
- @AliasId = params['AliasId']
1376
- @RequestId = params['RequestId']
1377
- end
1378
- end
1379
-
1380
1272
  # CreateApplicationProxy请求参数结构体
1381
1273
  class CreateApplicationProxyRequest < TencentCloud::Common::AbstractModel
1382
1274
  # @param ZoneId: 站点ID。
@@ -1477,20 +1369,17 @@ module TencentCloud
1477
1369
  # <li>TCP:TCP协议;</li>
1478
1370
  # <li>UDP:UDP协议。</li>
1479
1371
  # @type Proto: String
1480
- # @param Port: 源站类型,取值有:
1372
+ # @param Port: 端口,支持格式:
1373
+ # <li>80:80端口;</li>
1374
+ # <li>81-90:81至90端口。</li>
1375
+ # @type Port: Array
1376
+ # @param OriginType: 源站类型,取值有:
1481
1377
  # <li>custom:手动添加;</li>
1482
1378
  # <li>origins:源站组。</li>
1483
- # @type Port: Array
1484
- # @param OriginType: 源站类型,取值:
1485
- # custom:手动添加
1486
- # origins:源站组
1487
1379
  # @type OriginType: String
1488
1380
  # @param OriginValue: 源站信息:
1489
- # OriginType=custom时,表示一个或多个源站,如:
1490
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
1491
- # OriginValue=["test.com:80"];
1492
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
1493
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
1381
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
1382
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
1494
1383
  # @type OriginValue: Array
1495
1384
  # @param ForwardClientIp: 传递客户端IP,取值有:
1496
1385
  # <li>TOA:TOA(仅Proto=TCP时可选);</li>
@@ -1502,10 +1391,14 @@ module TencentCloud
1502
1391
  # <li>true:开启;</li>
1503
1392
  # <li>false:关闭。</li>默认值:false。
1504
1393
  # @type SessionPersist: Boolean
1394
+ # @param OriginPort: 源站端口,支持格式:
1395
+ # <li>单端口:80;</li>
1396
+ # <li>端口段:81-90,81至90端口。</li>
1397
+ # @type OriginPort: String
1505
1398
 
1506
- attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist
1399
+ attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
1507
1400
 
1508
- def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil)
1401
+ def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
1509
1402
  @ZoneId = zoneid
1510
1403
  @ProxyId = proxyid
1511
1404
  @Proto = proto
@@ -1514,6 +1407,7 @@ module TencentCloud
1514
1407
  @OriginValue = originvalue
1515
1408
  @ForwardClientIp = forwardclientip
1516
1409
  @SessionPersist = sessionpersist
1410
+ @OriginPort = originport
1517
1411
  end
1518
1412
 
1519
1413
  def deserialize(params)
@@ -1525,6 +1419,7 @@ module TencentCloud
1525
1419
  @OriginValue = params['OriginValue']
1526
1420
  @ForwardClientIp = params['ForwardClientIp']
1527
1421
  @SessionPersist = params['SessionPersist']
1422
+ @OriginPort = params['OriginPort']
1528
1423
  end
1529
1424
  end
1530
1425
 
@@ -3249,50 +3144,6 @@ module TencentCloud
3249
3144
  end
3250
3145
  end
3251
3146
 
3252
- # DeleteAliasDomain请求参数结构体
3253
- class DeleteAliasDomainRequest < TencentCloud::Common::AbstractModel
3254
- # @param ZoneId: 站点 ID。
3255
- # @type ZoneId: String
3256
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
3257
- # <li>target-name<br>   按照【<strong>目标域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否<li>alias-id<br>   按照【<strong>别称域名ID</strong>】进行过滤。<br>   类型:String<br>   必选:否<li>alias-name<br>   按照【<strong>别称域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>
3258
- # @type Filters: Array
3259
-
3260
- attr_accessor :ZoneId, :Filters
3261
-
3262
- def initialize(zoneid=nil, filters=nil)
3263
- @ZoneId = zoneid
3264
- @Filters = filters
3265
- end
3266
-
3267
- def deserialize(params)
3268
- @ZoneId = params['ZoneId']
3269
- unless params['Filters'].nil?
3270
- @Filters = []
3271
- params['Filters'].each do |i|
3272
- filter_tmp = Filter.new
3273
- filter_tmp.deserialize(i)
3274
- @Filters << filter_tmp
3275
- end
3276
- end
3277
- end
3278
- end
3279
-
3280
- # DeleteAliasDomain返回参数结构体
3281
- class DeleteAliasDomainResponse < TencentCloud::Common::AbstractModel
3282
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3283
- # @type RequestId: String
3284
-
3285
- attr_accessor :RequestId
3286
-
3287
- def initialize(requestid=nil)
3288
- @RequestId = requestid
3289
- end
3290
-
3291
- def deserialize(params)
3292
- @RequestId = params['RequestId']
3293
- end
3294
- end
3295
-
3296
3147
  # DeleteApplicationProxy请求参数结构体
3297
3148
  class DeleteApplicationProxyRequest < TencentCloud::Common::AbstractModel
3298
3149
  # @param ZoneId: 站点ID。
@@ -3632,73 +3483,6 @@ module TencentCloud
3632
3483
  end
3633
3484
  end
3634
3485
 
3635
- # DescribeAliasDomains请求参数结构体
3636
- class DescribeAliasDomainsRequest < TencentCloud::Common::AbstractModel
3637
- # @param ZoneId: 站点 ID。不填时返回该AppID下所有别称域名信息列表。
3638
- # @type ZoneId: String
3639
- # @param Offset: 分页查询偏移量。默认值:0。
3640
- # @type Offset: Integer
3641
- # @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
3642
- # @type Limit: Integer
3643
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
3644
- # <li>target-name<br>   按照【<strong>目标域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>alias-id<br>   按照【<strong>别称域名ID</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>alias-name<br>   按照【<strong>别称域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>模糊查询时仅支持过滤字段名为alias-name。
3645
- # @type Filters: Array
3646
-
3647
- attr_accessor :ZoneId, :Offset, :Limit, :Filters
3648
-
3649
- def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
3650
- @ZoneId = zoneid
3651
- @Offset = offset
3652
- @Limit = limit
3653
- @Filters = filters
3654
- end
3655
-
3656
- def deserialize(params)
3657
- @ZoneId = params['ZoneId']
3658
- @Offset = params['Offset']
3659
- @Limit = params['Limit']
3660
- unless params['Filters'].nil?
3661
- @Filters = []
3662
- params['Filters'].each do |i|
3663
- advancedfilter_tmp = AdvancedFilter.new
3664
- advancedfilter_tmp.deserialize(i)
3665
- @Filters << advancedfilter_tmp
3666
- end
3667
- end
3668
- end
3669
- end
3670
-
3671
- # DescribeAliasDomains返回参数结构体
3672
- class DescribeAliasDomainsResponse < TencentCloud::Common::AbstractModel
3673
- # @param TotalCount: 符合条件的别称域名个数。
3674
- # @type TotalCount: Integer
3675
- # @param AliasDomains: 别称域名详细信息列表。
3676
- # @type AliasDomains: Array
3677
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3678
- # @type RequestId: String
3679
-
3680
- attr_accessor :TotalCount, :AliasDomains, :RequestId
3681
-
3682
- def initialize(totalcount=nil, aliasdomains=nil, requestid=nil)
3683
- @TotalCount = totalcount
3684
- @AliasDomains = aliasdomains
3685
- @RequestId = requestid
3686
- end
3687
-
3688
- def deserialize(params)
3689
- @TotalCount = params['TotalCount']
3690
- unless params['AliasDomains'].nil?
3691
- @AliasDomains = []
3692
- params['AliasDomains'].each do |i|
3693
- aliasdomain_tmp = AliasDomain.new
3694
- aliasdomain_tmp.deserialize(i)
3695
- @AliasDomains << aliasdomain_tmp
3696
- end
3697
- end
3698
- @RequestId = params['RequestId']
3699
- end
3700
- end
3701
-
3702
3486
  # DescribeApplicationProxies请求参数结构体
3703
3487
  class DescribeApplicationProxiesRequest < TencentCloud::Common::AbstractModel
3704
3488
  # @param Offset: 分页查询偏移量。默认为0。
@@ -9777,107 +9561,6 @@ module TencentCloud
9777
9561
  end
9778
9562
  end
9779
9563
 
9780
- # ModifyAliasDomain请求参数结构体
9781
- class ModifyAliasDomainRequest < TencentCloud::Common::AbstractModel
9782
- # @param ZoneId: 站点 ID。
9783
- # @type ZoneId: String
9784
- # @param AliasId: 别称域名 ID。
9785
- # @type AliasId: String
9786
- # @param TargetName: 目标域名名称。
9787
- # @type TargetName: String
9788
- # @param CertType: 证书配置,取值有:
9789
- # <li> none:不配置;</li>
9790
- # <li> hosting:SSL托管证书;</li>
9791
- # <li> apply:申请免费证书。</li>
9792
- # @type CertType: String
9793
- # @param CertId: 选择托管证书时填入相应证书 ID。
9794
- # @type CertId: Array
9795
-
9796
- attr_accessor :ZoneId, :AliasId, :TargetName, :CertType, :CertId
9797
-
9798
- def initialize(zoneid=nil, aliasid=nil, targetname=nil, certtype=nil, certid=nil)
9799
- @ZoneId = zoneid
9800
- @AliasId = aliasid
9801
- @TargetName = targetname
9802
- @CertType = certtype
9803
- @CertId = certid
9804
- end
9805
-
9806
- def deserialize(params)
9807
- @ZoneId = params['ZoneId']
9808
- @AliasId = params['AliasId']
9809
- @TargetName = params['TargetName']
9810
- @CertType = params['CertType']
9811
- @CertId = params['CertId']
9812
- end
9813
- end
9814
-
9815
- # ModifyAliasDomain返回参数结构体
9816
- class ModifyAliasDomainResponse < TencentCloud::Common::AbstractModel
9817
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9818
- # @type RequestId: String
9819
-
9820
- attr_accessor :RequestId
9821
-
9822
- def initialize(requestid=nil)
9823
- @RequestId = requestid
9824
- end
9825
-
9826
- def deserialize(params)
9827
- @RequestId = params['RequestId']
9828
- end
9829
- end
9830
-
9831
- # ModifyAliasDomainStatus请求参数结构体
9832
- class ModifyAliasDomainStatusRequest < TencentCloud::Common::AbstractModel
9833
- # @param ZoneId: 站点 ID。
9834
- # @type ZoneId: String
9835
- # @param Paused: 别称域名状态,取值有:
9836
- # <li> false:开启别称域名;</li>
9837
- # <li> true:关闭别称域名。</li>
9838
- # @type Paused: Boolean
9839
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
9840
- # <li>target-name<br>   按照【<strong>目标域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否<li>alias-id<br>   按照【<strong>别称域名ID</strong>】进行过滤。<br>   类型:String<br>   必选:否<li>alias-name<br>   按照【<strong>别称域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>
9841
- # @type Filters: Array
9842
-
9843
- attr_accessor :ZoneId, :Paused, :Filters
9844
-
9845
- def initialize(zoneid=nil, paused=nil, filters=nil)
9846
- @ZoneId = zoneid
9847
- @Paused = paused
9848
- @Filters = filters
9849
- end
9850
-
9851
- def deserialize(params)
9852
- @ZoneId = params['ZoneId']
9853
- @Paused = params['Paused']
9854
- unless params['Filters'].nil?
9855
- @Filters = []
9856
- params['Filters'].each do |i|
9857
- filter_tmp = Filter.new
9858
- filter_tmp.deserialize(i)
9859
- @Filters << filter_tmp
9860
- end
9861
- end
9862
- end
9863
- end
9864
-
9865
- # ModifyAliasDomainStatus返回参数结构体
9866
- class ModifyAliasDomainStatusResponse < TencentCloud::Common::AbstractModel
9867
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9868
- # @type RequestId: String
9869
-
9870
- attr_accessor :RequestId
9871
-
9872
- def initialize(requestid=nil)
9873
- @RequestId = requestid
9874
- end
9875
-
9876
- def deserialize(params)
9877
- @RequestId = params['RequestId']
9878
- end
9879
- end
9880
-
9881
9564
  # ModifyApplicationProxy请求参数结构体
9882
9565
  class ModifyApplicationProxyRequest < TencentCloud::Common::AbstractModel
9883
9566
  # @param ZoneId: 站点ID。
@@ -9950,19 +9633,17 @@ module TencentCloud
9950
9633
  # <li>origins:源站组。</li>不填保持原有值。
9951
9634
  # @type OriginType: String
9952
9635
  # @param Port: 端口,支持格式:
9953
- # 80:80端口
9954
- # 81-90:81至90端口。不填保持原有值。
9636
+ # <li>80:80端口;</li>
9637
+ # <li>81-90:81至90端口。</li>
9955
9638
  # @type Port: Array
9956
9639
  # @param Proto: 协议,取值有:
9957
9640
  # <li>TCP:TCP协议;</li>
9958
9641
  # <li>UDP:UDP协议。</li>不填保持原有值。
9959
9642
  # @type Proto: String
9960
9643
  # @param OriginValue: 源站信息:
9961
- # OriginType=custom时,表示一个或多个源站,如:
9962
- # OriginValue=["8.8.8.8:80","9.9.9.9:80"]
9963
- # OriginValue=["test.com:80"];
9964
- # 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
9965
- # OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
9644
+ # <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
9645
+ # <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
9646
+
9966
9647
  # 不填保持原有值。
9967
9648
  # @type OriginValue: Array
9968
9649
  # @param ForwardClientIp: 传递客户端IP,取值有:
@@ -9973,12 +9654,16 @@ module TencentCloud
9973
9654
  # @type ForwardClientIp: String
9974
9655
  # @param SessionPersist: 是否开启会话保持,取值有:
9975
9656
  # <li>true:开启;</li>
9976
- # <li>false:关闭。</li>不填保持原有值。
9657
+ # <li>false:关闭。</li>不填为false。
9977
9658
  # @type SessionPersist: Boolean
9659
+ # @param OriginPort: 源站端口,支持格式:
9660
+ # <li>单端口:80;</li>
9661
+ # <li>端口段:81-90,81至90端口。</li>
9662
+ # @type OriginPort: String
9978
9663
 
9979
- attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist
9664
+ attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
9980
9665
 
9981
- def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil)
9666
+ def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
9982
9667
  @ZoneId = zoneid
9983
9668
  @ProxyId = proxyid
9984
9669
  @RuleId = ruleid
@@ -9988,6 +9673,7 @@ module TencentCloud
9988
9673
  @OriginValue = originvalue
9989
9674
  @ForwardClientIp = forwardclientip
9990
9675
  @SessionPersist = sessionpersist
9676
+ @OriginPort = originport
9991
9677
  end
9992
9678
 
9993
9679
  def deserialize(params)
@@ -10000,6 +9686,7 @@ module TencentCloud
10000
9686
  @OriginValue = params['OriginValue']
10001
9687
  @ForwardClientIp = params['ForwardClientIp']
10002
9688
  @SessionPersist = params['SessionPersist']
9689
+ @OriginPort = params['OriginPort']
10003
9690
  end
10004
9691
  end
10005
9692
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-teo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.439
4
+ version: 3.0.441
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-10-28 00:00:00.000000000 Z
11
+ date: 2022-11-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common