tencentcloud-sdk-teo 3.0.443 → 3.0.444

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 769738b771dd65668f56a19e24c83de3337c52d4
4
- data.tar.gz: 2218cbd7c5c330156ad411677038f17551c11665
3
+ metadata.gz: 8e2a9165d2aeb4786d06932f1cb28ea702152fa7
4
+ data.tar.gz: be6b5d3ecc58bf84fedd9bef777d52373ac08be7
5
5
  SHA512:
6
- metadata.gz: 1618092fac88154ee426660b71c86ff6278cfd50c529ad5c703413f24064f71358a71f8543f5c7552e37306769937c76ce466f9641eb30db84eec997ded2cad0
7
- data.tar.gz: 64d57cb709b7f64821dafb20f7e9cea4d8d773e012fe16d5ab189a697c7c5ee4cd48fe30bdd7d7ea97b2b6d48568386dea3cef6f4bc321003ba3b8a206ec7182
6
+ metadata.gz: 292555ed10709f742b9ca9cf5b39d0671e8b43e516be295a232f94416491ba0951b1e1e479f046954baf090cd0bb3ebdab6fbab33297c80ffdfdf521dfe30251
7
+ data.tar.gz: 985df0a3db6f3e73de8aca817913b282c20bcea745b9531f3ab6b6086ac15fac8f395e2d941e7da6c526a2a71854cc49649a00083467c486fb26b02821744a08
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.443
1
+ 3.0.444
@@ -53,6 +53,30 @@ 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
+
56
80
  # 创建应用代理
57
81
 
58
82
  # @param request: Request instance for CreateApplicationProxy.
@@ -485,6 +509,30 @@ module TencentCloud
485
509
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
510
  end
487
511
 
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
+
488
536
  # 删除应用代理
489
537
 
490
538
  # @param request: Request instance for DeleteApplicationProxy.
@@ -701,6 +749,30 @@ module TencentCloud
701
749
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
702
750
  end
703
751
 
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
+
704
776
  # 查询应用代理列表。
705
777
 
706
778
  # @param request: Request instance for DescribeApplicationProxies.
@@ -2309,6 +2381,54 @@ module TencentCloud
2309
2381
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2310
2382
  end
2311
2383
 
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
+
2312
2432
  # 修改应用代理
2313
2433
 
2314
2434
  # @param request: Request instance for ModifyApplicationProxy.
@@ -350,6 +350,53 @@ module TencentCloud
350
350
  end
351
351
  end
352
352
 
353
+ # 别称域名信息。
354
+ class AliasDomain < TencentCloud::Common::AbstractModel
355
+ # @param AliasName: 别称域名名称。
356
+ # @type AliasName: String
357
+ # @param ZoneId: 站点 ID。
358
+ # @type ZoneId: String
359
+ # @param TargetName: 目标域名名称。
360
+ # @type TargetName: String
361
+ # @param Status: 别称域名状态,取值有:
362
+ # <li> active:已生效; </li>
363
+ # <li> pending:部署中;</li>
364
+ # <li> conflict:被找回。 </li>
365
+ # <li> stop:已停用;</li>
366
+ # @type Status: String
367
+ # @param ForbidMode: 封禁模式,取值有:
368
+ # <li> 0:未封禁; </li>
369
+ # <li> 11:合规封禁;</li>
370
+ # <li> 14:未备案封禁。</li>
371
+ # @type ForbidMode: Integer
372
+ # @param CreatedOn: 别称域名创建时间。
373
+ # @type CreatedOn: String
374
+ # @param ModifiedOn: 别称域名修改时间。
375
+ # @type ModifiedOn: String
376
+
377
+ attr_accessor :AliasName, :ZoneId, :TargetName, :Status, :ForbidMode, :CreatedOn, :ModifiedOn
378
+
379
+ def initialize(aliasname=nil, zoneid=nil, targetname=nil, status=nil, forbidmode=nil, createdon=nil, modifiedon=nil)
380
+ @AliasName = aliasname
381
+ @ZoneId = zoneid
382
+ @TargetName = targetname
383
+ @Status = status
384
+ @ForbidMode = forbidmode
385
+ @CreatedOn = createdon
386
+ @ModifiedOn = modifiedon
387
+ end
388
+
389
+ def deserialize(params)
390
+ @AliasName = params['AliasName']
391
+ @ZoneId = params['ZoneId']
392
+ @TargetName = params['TargetName']
393
+ @Status = params['Status']
394
+ @ForbidMode = params['ForbidMode']
395
+ @CreatedOn = params['CreatedOn']
396
+ @ModifiedOn = params['ModifiedOn']
397
+ end
398
+ end
399
+
353
400
  # 应用代理实例
354
401
  class ApplicationProxy < TencentCloud::Common::AbstractModel
355
402
  # @param ZoneId: 站点ID。
@@ -1269,6 +1316,57 @@ module TencentCloud
1269
1316
  end
1270
1317
  end
1271
1318
 
1319
+ # CreateAliasDomain请求参数结构体
1320
+ class CreateAliasDomainRequest < TencentCloud::Common::AbstractModel
1321
+ # @param ZoneId: 站点 ID。
1322
+ # @type ZoneId: String
1323
+ # @param AliasName: 别称域名名称。
1324
+ # @type AliasName: String
1325
+ # @param TargetName: 目标域名名称。
1326
+ # @type TargetName: String
1327
+ # @param CertType: 证书配置,取值有:
1328
+ # <li> none:不配置;</li>
1329
+ # <li> hosting:SSL托管证书;</li>
1330
+ # <li> apply:申请免费证书。</li>默认取值为 none。
1331
+ # @type CertType: String
1332
+ # @param CertId: 当 CertType 取值为 hosting 时需填入相应证书 ID。
1333
+ # @type CertId: Array
1334
+
1335
+ attr_accessor :ZoneId, :AliasName, :TargetName, :CertType, :CertId
1336
+
1337
+ def initialize(zoneid=nil, aliasname=nil, targetname=nil, certtype=nil, certid=nil)
1338
+ @ZoneId = zoneid
1339
+ @AliasName = aliasname
1340
+ @TargetName = targetname
1341
+ @CertType = certtype
1342
+ @CertId = certid
1343
+ end
1344
+
1345
+ def deserialize(params)
1346
+ @ZoneId = params['ZoneId']
1347
+ @AliasName = params['AliasName']
1348
+ @TargetName = params['TargetName']
1349
+ @CertType = params['CertType']
1350
+ @CertId = params['CertId']
1351
+ end
1352
+ end
1353
+
1354
+ # CreateAliasDomain返回参数结构体
1355
+ class CreateAliasDomainResponse < TencentCloud::Common::AbstractModel
1356
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1357
+ # @type RequestId: String
1358
+
1359
+ attr_accessor :RequestId
1360
+
1361
+ def initialize(requestid=nil)
1362
+ @RequestId = requestid
1363
+ end
1364
+
1365
+ def deserialize(params)
1366
+ @RequestId = params['RequestId']
1367
+ end
1368
+ end
1369
+
1272
1370
  # CreateApplicationProxy请求参数结构体
1273
1371
  class CreateApplicationProxyRequest < TencentCloud::Common::AbstractModel
1274
1372
  # @param ZoneId: 站点ID。
@@ -3144,6 +3242,42 @@ module TencentCloud
3144
3242
  end
3145
3243
  end
3146
3244
 
3245
+ # DeleteAliasDomain请求参数结构体
3246
+ class DeleteAliasDomainRequest < TencentCloud::Common::AbstractModel
3247
+ # @param ZoneId: 站点 ID。
3248
+ # @type ZoneId: String
3249
+ # @param AliasNames: 待删除别称域名名称。如果为空,则不执行删除操作。
3250
+ # @type AliasNames: Array
3251
+
3252
+ attr_accessor :ZoneId, :AliasNames
3253
+
3254
+ def initialize(zoneid=nil, aliasnames=nil)
3255
+ @ZoneId = zoneid
3256
+ @AliasNames = aliasnames
3257
+ end
3258
+
3259
+ def deserialize(params)
3260
+ @ZoneId = params['ZoneId']
3261
+ @AliasNames = params['AliasNames']
3262
+ end
3263
+ end
3264
+
3265
+ # DeleteAliasDomain返回参数结构体
3266
+ class DeleteAliasDomainResponse < TencentCloud::Common::AbstractModel
3267
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3268
+ # @type RequestId: String
3269
+
3270
+ attr_accessor :RequestId
3271
+
3272
+ def initialize(requestid=nil)
3273
+ @RequestId = requestid
3274
+ end
3275
+
3276
+ def deserialize(params)
3277
+ @RequestId = params['RequestId']
3278
+ end
3279
+ end
3280
+
3147
3281
  # DeleteApplicationProxy请求参数结构体
3148
3282
  class DeleteApplicationProxyRequest < TencentCloud::Common::AbstractModel
3149
3283
  # @param ZoneId: 站点ID。
@@ -3483,6 +3617,73 @@ module TencentCloud
3483
3617
  end
3484
3618
  end
3485
3619
 
3620
+ # DescribeAliasDomains请求参数结构体
3621
+ class DescribeAliasDomainsRequest < TencentCloud::Common::AbstractModel
3622
+ # @param ZoneId: 站点 ID。
3623
+ # @type ZoneId: String
3624
+ # @param Offset: 分页查询偏移量。默认值:0。
3625
+ # @type Offset: Integer
3626
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:1000。
3627
+ # @type Limit: Integer
3628
+ # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
3629
+ # <li>target-name<br>   按照【<strong>目标域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>alias-name<br>   按照【<strong>别称域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>模糊查询时仅支持过滤字段名为alias-name。
3630
+ # @type Filters: Array
3631
+
3632
+ attr_accessor :ZoneId, :Offset, :Limit, :Filters
3633
+
3634
+ def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil)
3635
+ @ZoneId = zoneid
3636
+ @Offset = offset
3637
+ @Limit = limit
3638
+ @Filters = filters
3639
+ end
3640
+
3641
+ def deserialize(params)
3642
+ @ZoneId = params['ZoneId']
3643
+ @Offset = params['Offset']
3644
+ @Limit = params['Limit']
3645
+ unless params['Filters'].nil?
3646
+ @Filters = []
3647
+ params['Filters'].each do |i|
3648
+ advancedfilter_tmp = AdvancedFilter.new
3649
+ advancedfilter_tmp.deserialize(i)
3650
+ @Filters << advancedfilter_tmp
3651
+ end
3652
+ end
3653
+ end
3654
+ end
3655
+
3656
+ # DescribeAliasDomains返回参数结构体
3657
+ class DescribeAliasDomainsResponse < TencentCloud::Common::AbstractModel
3658
+ # @param TotalCount: 符合条件的别称域名个数。
3659
+ # @type TotalCount: Integer
3660
+ # @param AliasDomains: 别称域名详细信息列表。
3661
+ # @type AliasDomains: Array
3662
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3663
+ # @type RequestId: String
3664
+
3665
+ attr_accessor :TotalCount, :AliasDomains, :RequestId
3666
+
3667
+ def initialize(totalcount=nil, aliasdomains=nil, requestid=nil)
3668
+ @TotalCount = totalcount
3669
+ @AliasDomains = aliasdomains
3670
+ @RequestId = requestid
3671
+ end
3672
+
3673
+ def deserialize(params)
3674
+ @TotalCount = params['TotalCount']
3675
+ unless params['AliasDomains'].nil?
3676
+ @AliasDomains = []
3677
+ params['AliasDomains'].each do |i|
3678
+ aliasdomain_tmp = AliasDomain.new
3679
+ aliasdomain_tmp.deserialize(i)
3680
+ @AliasDomains << aliasdomain_tmp
3681
+ end
3682
+ end
3683
+ @RequestId = params['RequestId']
3684
+ end
3685
+ end
3686
+
3486
3687
  # DescribeApplicationProxies请求参数结构体
3487
3688
  class DescribeApplicationProxiesRequest < TencentCloud::Common::AbstractModel
3488
3689
  # @param Offset: 分页查询偏移量。默认为0。
@@ -9561,6 +9762,99 @@ module TencentCloud
9561
9762
  end
9562
9763
  end
9563
9764
 
9765
+ # ModifyAliasDomain请求参数结构体
9766
+ class ModifyAliasDomainRequest < TencentCloud::Common::AbstractModel
9767
+ # @param ZoneId: 站点 ID。
9768
+ # @type ZoneId: String
9769
+ # @param AliasName: 别称域名名称。
9770
+ # @type AliasName: String
9771
+ # @param TargetName: 目标域名名称。
9772
+ # @type TargetName: String
9773
+ # @param CertType: 证书配置,取值有:
9774
+ # <li> none:不配置;</li>
9775
+ # <li> hosting:SSL托管证书;</li>
9776
+ # <li> apply:申请免费证书。</li>不填写保持原有配置。
9777
+ # @type CertType: String
9778
+ # @param CertId: 当 CertType 取值为 hosting 时填入相应证书 ID。
9779
+ # @type CertId: Array
9780
+
9781
+ attr_accessor :ZoneId, :AliasName, :TargetName, :CertType, :CertId
9782
+
9783
+ def initialize(zoneid=nil, aliasname=nil, targetname=nil, certtype=nil, certid=nil)
9784
+ @ZoneId = zoneid
9785
+ @AliasName = aliasname
9786
+ @TargetName = targetname
9787
+ @CertType = certtype
9788
+ @CertId = certid
9789
+ end
9790
+
9791
+ def deserialize(params)
9792
+ @ZoneId = params['ZoneId']
9793
+ @AliasName = params['AliasName']
9794
+ @TargetName = params['TargetName']
9795
+ @CertType = params['CertType']
9796
+ @CertId = params['CertId']
9797
+ end
9798
+ end
9799
+
9800
+ # ModifyAliasDomain返回参数结构体
9801
+ class ModifyAliasDomainResponse < TencentCloud::Common::AbstractModel
9802
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9803
+ # @type RequestId: String
9804
+
9805
+ attr_accessor :RequestId
9806
+
9807
+ def initialize(requestid=nil)
9808
+ @RequestId = requestid
9809
+ end
9810
+
9811
+ def deserialize(params)
9812
+ @RequestId = params['RequestId']
9813
+ end
9814
+ end
9815
+
9816
+ # ModifyAliasDomainStatus请求参数结构体
9817
+ class ModifyAliasDomainStatusRequest < TencentCloud::Common::AbstractModel
9818
+ # @param ZoneId: 站点 ID。
9819
+ # @type ZoneId: String
9820
+ # @param Paused: 别称域名状态,取值有:
9821
+ # <li> false:开启别称域名;</li>
9822
+ # <li> true:关闭别称域名。</li>
9823
+ # @type Paused: Boolean
9824
+ # @param AliasNames: 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。
9825
+ # @type AliasNames: Array
9826
+
9827
+ attr_accessor :ZoneId, :Paused, :AliasNames
9828
+
9829
+ def initialize(zoneid=nil, paused=nil, aliasnames=nil)
9830
+ @ZoneId = zoneid
9831
+ @Paused = paused
9832
+ @AliasNames = aliasnames
9833
+ end
9834
+
9835
+ def deserialize(params)
9836
+ @ZoneId = params['ZoneId']
9837
+ @Paused = params['Paused']
9838
+ @AliasNames = params['AliasNames']
9839
+ end
9840
+ end
9841
+
9842
+ # ModifyAliasDomainStatus返回参数结构体
9843
+ class ModifyAliasDomainStatusResponse < TencentCloud::Common::AbstractModel
9844
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9845
+ # @type RequestId: String
9846
+
9847
+ attr_accessor :RequestId
9848
+
9849
+ def initialize(requestid=nil)
9850
+ @RequestId = requestid
9851
+ end
9852
+
9853
+ def deserialize(params)
9854
+ @RequestId = params['RequestId']
9855
+ end
9856
+ end
9857
+
9564
9858
  # ModifyApplicationProxy请求参数结构体
9565
9859
  class ModifyApplicationProxyRequest < TencentCloud::Common::AbstractModel
9566
9860
  # @param ZoneId: 站点ID。
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.443
4
+ version: 3.0.444
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-11-02 00:00:00.000000000 Z
11
+ date: 2022-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common