tencentcloud-sdk-teo 3.0.423 → 3.0.425
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +144 -0
- data/lib/v20220901/models.rb +382 -13
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 636736c472da2da86cb61cb21315f76abcf8b2a2
|
4
|
+
data.tar.gz: 32ea11dfb8b6712ccd486d9e86cf6f3093f8ca5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e70fb648165ae4c1064d8fcad642a2ff20fd1cbd53206e70dde8b01191d0ec35c1d43b7014dd08165db6e41414794f64712bc8a5f1ccdd18de8e9aee8373bdd3
|
7
|
+
data.tar.gz: 7cc42a2b8f07be05fcbb67a11f7ed3c9eb18b0bd86659955f56c9e98387ee86d23aa9a52bacae1d2ab68be4e2316b82ae2209d3e23ef77e19ecc06db3d2ad34d
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.425
|
data/lib/v20220901/client.rb
CHANGED
@@ -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.
|
@@ -2837,6 +2957,30 @@ module TencentCloud
|
|
2837
2957
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2838
2958
|
end
|
2839
2959
|
|
2960
|
+
# 当客户取回站定的同时会取回此站点下关联的别称域名,此时入参为ZoneId;当客户接入站点发现已被别称域名接入时通过验证之后可取回域名,此时入参为ZoneName。
|
2961
|
+
|
2962
|
+
# @param request: Request instance for ReclaimAliasDomain.
|
2963
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ReclaimAliasDomainRequest`
|
2964
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ReclaimAliasDomainResponse`
|
2965
|
+
def ReclaimAliasDomain(request)
|
2966
|
+
body = send_request('ReclaimAliasDomain', request.serialize)
|
2967
|
+
response = JSON.parse(body)
|
2968
|
+
if response['Response'].key?('Error') == false
|
2969
|
+
model = ReclaimAliasDomainResponse.new
|
2970
|
+
model.deserialize(response['Response'])
|
2971
|
+
model
|
2972
|
+
else
|
2973
|
+
code = response['Response']['Error']['Code']
|
2974
|
+
message = response['Response']['Error']['Message']
|
2975
|
+
reqid = response['Response']['RequestId']
|
2976
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2977
|
+
end
|
2978
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2979
|
+
raise e
|
2980
|
+
rescue StandardError => e
|
2981
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2982
|
+
end
|
2983
|
+
|
2840
2984
|
# 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
|
2841
2985
|
|
2842
2986
|
# @param request: Request instance for ReclaimZone.
|
data/lib/v20220901/models.rb
CHANGED
@@ -349,6 +349,52 @@ module TencentCloud
|
|
349
349
|
end
|
350
350
|
end
|
351
351
|
|
352
|
+
# 别称域名信息。
|
353
|
+
class AliasDomain < TencentCloud::Common::AbstractModel
|
354
|
+
# @param AliasId: 别称域名 ID。
|
355
|
+
# @type AliasId: String
|
356
|
+
# @param AliasName: 别称域名名称。
|
357
|
+
# @type AliasName: String
|
358
|
+
# @param ZoneId: 站点 ID。
|
359
|
+
# @type ZoneId: String
|
360
|
+
# @param TargetName: 目标域名名称。
|
361
|
+
# @type TargetName: String
|
362
|
+
# @param Status: 别称域名状态,取值有:
|
363
|
+
# <li> active:已生效; </li>
|
364
|
+
# <li> pending:未生效;</li>
|
365
|
+
# <li> not_filed:未备案;</li>
|
366
|
+
# <li> conflict:被找回。 </li>
|
367
|
+
# <li> stop:已停用;</li>
|
368
|
+
# <li> deleted:已删除。 </li>
|
369
|
+
# @type Status: String
|
370
|
+
# @param CreatedOn: 别称域名创建时间。
|
371
|
+
# @type CreatedOn: String
|
372
|
+
# @param ModifiedOn: 别称域名修改时间。
|
373
|
+
# @type ModifiedOn: String
|
374
|
+
|
375
|
+
attr_accessor :AliasId, :AliasName, :ZoneId, :TargetName, :Status, :CreatedOn, :ModifiedOn
|
376
|
+
|
377
|
+
def initialize(aliasid=nil, aliasname=nil, zoneid=nil, targetname=nil, status=nil, createdon=nil, modifiedon=nil)
|
378
|
+
@AliasId = aliasid
|
379
|
+
@AliasName = aliasname
|
380
|
+
@ZoneId = zoneid
|
381
|
+
@TargetName = targetname
|
382
|
+
@Status = status
|
383
|
+
@CreatedOn = createdon
|
384
|
+
@ModifiedOn = modifiedon
|
385
|
+
end
|
386
|
+
|
387
|
+
def deserialize(params)
|
388
|
+
@AliasId = params['AliasId']
|
389
|
+
@AliasName = params['AliasName']
|
390
|
+
@ZoneId = params['ZoneId']
|
391
|
+
@TargetName = params['TargetName']
|
392
|
+
@Status = params['Status']
|
393
|
+
@CreatedOn = params['CreatedOn']
|
394
|
+
@ModifiedOn = params['ModifiedOn']
|
395
|
+
end
|
396
|
+
end
|
397
|
+
|
352
398
|
# 应用代理实例
|
353
399
|
class ApplicationProxy < TencentCloud::Common::AbstractModel
|
354
400
|
# @param ZoneId: 站点ID。
|
@@ -1265,6 +1311,61 @@ module TencentCloud
|
|
1265
1311
|
end
|
1266
1312
|
end
|
1267
1313
|
|
1314
|
+
# CreateAliasDomain请求参数结构体
|
1315
|
+
class CreateAliasDomainRequest < TencentCloud::Common::AbstractModel
|
1316
|
+
# @param ZoneId: 站点 ID。
|
1317
|
+
# @type ZoneId: String
|
1318
|
+
# @param AliasName: 别称域名名称。
|
1319
|
+
# @type AliasName: String
|
1320
|
+
# @param TargetName: 目标域名名称。
|
1321
|
+
# @type TargetName: String
|
1322
|
+
# @param CertType: 证书配置,取值有:
|
1323
|
+
# <li> none:不配置;</li>
|
1324
|
+
# <li> hosting:SSL托管证书;</li>
|
1325
|
+
# <li> apply:申请免费证书。</li>
|
1326
|
+
# @type CertType: String
|
1327
|
+
# @param CertId: 选择托管证书时需填入相应证书 ID。
|
1328
|
+
# @type CertId: Array
|
1329
|
+
|
1330
|
+
attr_accessor :ZoneId, :AliasName, :TargetName, :CertType, :CertId
|
1331
|
+
|
1332
|
+
def initialize(zoneid=nil, aliasname=nil, targetname=nil, certtype=nil, certid=nil)
|
1333
|
+
@ZoneId = zoneid
|
1334
|
+
@AliasName = aliasname
|
1335
|
+
@TargetName = targetname
|
1336
|
+
@CertType = certtype
|
1337
|
+
@CertId = certid
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
def deserialize(params)
|
1341
|
+
@ZoneId = params['ZoneId']
|
1342
|
+
@AliasName = params['AliasName']
|
1343
|
+
@TargetName = params['TargetName']
|
1344
|
+
@CertType = params['CertType']
|
1345
|
+
@CertId = params['CertId']
|
1346
|
+
end
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
# CreateAliasDomain返回参数结构体
|
1350
|
+
class CreateAliasDomainResponse < TencentCloud::Common::AbstractModel
|
1351
|
+
# @param AliasId: 别称域名 ID。
|
1352
|
+
# @type AliasId: String
|
1353
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1354
|
+
# @type RequestId: String
|
1355
|
+
|
1356
|
+
attr_accessor :AliasId, :RequestId
|
1357
|
+
|
1358
|
+
def initialize(aliasid=nil, requestid=nil)
|
1359
|
+
@AliasId = aliasid
|
1360
|
+
@RequestId = requestid
|
1361
|
+
end
|
1362
|
+
|
1363
|
+
def deserialize(params)
|
1364
|
+
@AliasId = params['AliasId']
|
1365
|
+
@RequestId = params['RequestId']
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1268
1369
|
# CreateApplicationProxy请求参数结构体
|
1269
1370
|
class CreateApplicationProxyRequest < TencentCloud::Common::AbstractModel
|
1270
1371
|
# @param ZoneId: 站点ID。
|
@@ -3133,6 +3234,50 @@ module TencentCloud
|
|
3133
3234
|
end
|
3134
3235
|
end
|
3135
3236
|
|
3237
|
+
# DeleteAliasDomain请求参数结构体
|
3238
|
+
class DeleteAliasDomainRequest < TencentCloud::Common::AbstractModel
|
3239
|
+
# @param ZoneId: 站点 ID。
|
3240
|
+
# @type ZoneId: String
|
3241
|
+
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
3242
|
+
# <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>
|
3243
|
+
# @type Filters: Array
|
3244
|
+
|
3245
|
+
attr_accessor :ZoneId, :Filters
|
3246
|
+
|
3247
|
+
def initialize(zoneid=nil, filters=nil)
|
3248
|
+
@ZoneId = zoneid
|
3249
|
+
@Filters = filters
|
3250
|
+
end
|
3251
|
+
|
3252
|
+
def deserialize(params)
|
3253
|
+
@ZoneId = params['ZoneId']
|
3254
|
+
unless params['Filters'].nil?
|
3255
|
+
@Filters = []
|
3256
|
+
params['Filters'].each do |i|
|
3257
|
+
filter_tmp = Filter.new
|
3258
|
+
filter_tmp.deserialize(i)
|
3259
|
+
@Filters << filter_tmp
|
3260
|
+
end
|
3261
|
+
end
|
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
|
+
|
3136
3281
|
# DeleteApplicationProxy请求参数结构体
|
3137
3282
|
class DeleteApplicationProxyRequest < TencentCloud::Common::AbstractModel
|
3138
3283
|
# @param ZoneId: 站点ID。
|
@@ -3472,6 +3617,73 @@ module TencentCloud
|
|
3472
3617
|
end
|
3473
3618
|
end
|
3474
3619
|
|
3620
|
+
# DescribeAliasDomains请求参数结构体
|
3621
|
+
class DescribeAliasDomainsRequest < TencentCloud::Common::AbstractModel
|
3622
|
+
# @param ZoneId: 站点 ID。不填时返回该AppID下所有别称域名信息列表。
|
3623
|
+
# @type ZoneId: String
|
3624
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
3625
|
+
# @type Offset: Integer
|
3626
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
3627
|
+
# @type Limit: Integer
|
3628
|
+
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
3629
|
+
# <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><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为alias-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
|
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
|
+
|
3475
3687
|
# DescribeApplicationProxies请求参数结构体
|
3476
3688
|
class DescribeApplicationProxiesRequest < TencentCloud::Common::AbstractModel
|
3477
3689
|
# @param Offset: 分页查询偏移量,默认为0。
|
@@ -9533,6 +9745,107 @@ module TencentCloud
|
|
9533
9745
|
end
|
9534
9746
|
end
|
9535
9747
|
|
9748
|
+
# ModifyAliasDomain请求参数结构体
|
9749
|
+
class ModifyAliasDomainRequest < TencentCloud::Common::AbstractModel
|
9750
|
+
# @param ZoneId: 站点 ID。
|
9751
|
+
# @type ZoneId: String
|
9752
|
+
# @param AliasId: 别称域名 ID。
|
9753
|
+
# @type AliasId: String
|
9754
|
+
# @param TargetName: 目标域名名称。
|
9755
|
+
# @type TargetName: String
|
9756
|
+
# @param CertType: 证书配置,取值有:
|
9757
|
+
# <li> none:不配置;</li>
|
9758
|
+
# <li> hosting:SSL托管证书;</li>
|
9759
|
+
# <li> apply:申请免费证书。</li>
|
9760
|
+
# @type CertType: String
|
9761
|
+
# @param CertId: 选择托管证书时填入相应证书 ID。
|
9762
|
+
# @type CertId: Array
|
9763
|
+
|
9764
|
+
attr_accessor :ZoneId, :AliasId, :TargetName, :CertType, :CertId
|
9765
|
+
|
9766
|
+
def initialize(zoneid=nil, aliasid=nil, targetname=nil, certtype=nil, certid=nil)
|
9767
|
+
@ZoneId = zoneid
|
9768
|
+
@AliasId = aliasid
|
9769
|
+
@TargetName = targetname
|
9770
|
+
@CertType = certtype
|
9771
|
+
@CertId = certid
|
9772
|
+
end
|
9773
|
+
|
9774
|
+
def deserialize(params)
|
9775
|
+
@ZoneId = params['ZoneId']
|
9776
|
+
@AliasId = params['AliasId']
|
9777
|
+
@TargetName = params['TargetName']
|
9778
|
+
@CertType = params['CertType']
|
9779
|
+
@CertId = params['CertId']
|
9780
|
+
end
|
9781
|
+
end
|
9782
|
+
|
9783
|
+
# ModifyAliasDomain返回参数结构体
|
9784
|
+
class ModifyAliasDomainResponse < TencentCloud::Common::AbstractModel
|
9785
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9786
|
+
# @type RequestId: String
|
9787
|
+
|
9788
|
+
attr_accessor :RequestId
|
9789
|
+
|
9790
|
+
def initialize(requestid=nil)
|
9791
|
+
@RequestId = requestid
|
9792
|
+
end
|
9793
|
+
|
9794
|
+
def deserialize(params)
|
9795
|
+
@RequestId = params['RequestId']
|
9796
|
+
end
|
9797
|
+
end
|
9798
|
+
|
9799
|
+
# ModifyAliasDomainStatus请求参数结构体
|
9800
|
+
class ModifyAliasDomainStatusRequest < TencentCloud::Common::AbstractModel
|
9801
|
+
# @param ZoneId: 站点 ID。
|
9802
|
+
# @type ZoneId: String
|
9803
|
+
# @param Paused: 别称域名状态,取值有:
|
9804
|
+
# <li> false:开启别称域名;</li>
|
9805
|
+
# <li> true:关闭别称域名。</li>
|
9806
|
+
# @type Paused: Boolean
|
9807
|
+
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
9808
|
+
# <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>
|
9809
|
+
# @type Filters: Array
|
9810
|
+
|
9811
|
+
attr_accessor :ZoneId, :Paused, :Filters
|
9812
|
+
|
9813
|
+
def initialize(zoneid=nil, paused=nil, filters=nil)
|
9814
|
+
@ZoneId = zoneid
|
9815
|
+
@Paused = paused
|
9816
|
+
@Filters = filters
|
9817
|
+
end
|
9818
|
+
|
9819
|
+
def deserialize(params)
|
9820
|
+
@ZoneId = params['ZoneId']
|
9821
|
+
@Paused = params['Paused']
|
9822
|
+
unless params['Filters'].nil?
|
9823
|
+
@Filters = []
|
9824
|
+
params['Filters'].each do |i|
|
9825
|
+
filter_tmp = Filter.new
|
9826
|
+
filter_tmp.deserialize(i)
|
9827
|
+
@Filters << filter_tmp
|
9828
|
+
end
|
9829
|
+
end
|
9830
|
+
end
|
9831
|
+
end
|
9832
|
+
|
9833
|
+
# ModifyAliasDomainStatus返回参数结构体
|
9834
|
+
class ModifyAliasDomainStatusResponse < TencentCloud::Common::AbstractModel
|
9835
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9836
|
+
# @type RequestId: String
|
9837
|
+
|
9838
|
+
attr_accessor :RequestId
|
9839
|
+
|
9840
|
+
def initialize(requestid=nil)
|
9841
|
+
@RequestId = requestid
|
9842
|
+
end
|
9843
|
+
|
9844
|
+
def deserialize(params)
|
9845
|
+
@RequestId = params['RequestId']
|
9846
|
+
end
|
9847
|
+
end
|
9848
|
+
|
9536
9849
|
# ModifyApplicationProxy请求参数结构体
|
9537
9850
|
class ModifyApplicationProxyRequest < TencentCloud::Common::AbstractModel
|
9538
9851
|
# @param ZoneId: 站点ID。
|
@@ -11510,20 +11823,26 @@ module TencentCloud
|
|
11510
11823
|
# <li>emergency:紧急;</li>
|
11511
11824
|
# <li>normal:适中;</li>
|
11512
11825
|
# <li>strict:严格;</li>
|
11513
|
-
# <li>close
|
11826
|
+
# <li>close:关闭,仅精准速率限制生效。</li>
|
11514
11827
|
# @type Mode: String
|
11828
|
+
# @param Action: 模板处置方式,取值有:
|
11829
|
+
# <li>alg:JavaScript挑战;</li>
|
11830
|
+
# <li>monitor:观察。</li>不填写默认取alg。
|
11831
|
+
# @type Action: String
|
11515
11832
|
# @param RateLimitTemplateDetail: 模板值详情。仅出参返回。
|
11516
11833
|
# @type RateLimitTemplateDetail: :class:`Tencentcloud::Teo.v20220901.models.RateLimitTemplateDetail`
|
11517
11834
|
|
11518
|
-
attr_accessor :Mode, :RateLimitTemplateDetail
|
11835
|
+
attr_accessor :Mode, :Action, :RateLimitTemplateDetail
|
11519
11836
|
|
11520
|
-
def initialize(mode=nil, ratelimittemplatedetail=nil)
|
11837
|
+
def initialize(mode=nil, action=nil, ratelimittemplatedetail=nil)
|
11521
11838
|
@Mode = mode
|
11839
|
+
@Action = action
|
11522
11840
|
@RateLimitTemplateDetail = ratelimittemplatedetail
|
11523
11841
|
end
|
11524
11842
|
|
11525
11843
|
def deserialize(params)
|
11526
11844
|
@Mode = params['Mode']
|
11845
|
+
@Action = params['Action']
|
11527
11846
|
unless params['RateLimitTemplateDetail'].nil?
|
11528
11847
|
@RateLimitTemplateDetail = RateLimitTemplateDetail.new
|
11529
11848
|
@RateLimitTemplateDetail.deserialize(params['RateLimitTemplateDetail'])
|
@@ -11533,21 +11852,23 @@ module TencentCloud
|
|
11533
11852
|
|
11534
11853
|
# 模板当前详细配置
|
11535
11854
|
class RateLimitTemplateDetail < TencentCloud::Common::AbstractModel
|
11536
|
-
# @param Mode:
|
11855
|
+
# @param Mode: 模板等级名称,取值有:
|
11537
11856
|
# <li>sup_loose:超级宽松;</li>
|
11538
11857
|
# <li>loose:宽松;</li>
|
11539
11858
|
# <li>emergency:紧急;</li>
|
11540
11859
|
# <li>normal:适中;</li>
|
11541
11860
|
# <li>strict:严格;</li>
|
11542
|
-
# <li>close
|
11861
|
+
# <li>close:关闭,仅精准速率限制生效。</li>
|
11543
11862
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11544
11863
|
# @type Mode: String
|
11545
11864
|
# @param ID: 唯一id。
|
11546
11865
|
# @type ID: Integer
|
11547
|
-
# @param Action:
|
11866
|
+
# @param Action: 模板处置方式,取值有:
|
11867
|
+
# <li>alg:JavaScript挑战;</li>
|
11868
|
+
# <li>monitor:观察。</li>
|
11548
11869
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11549
11870
|
# @type Action: String
|
11550
|
-
# @param PunishTime:
|
11871
|
+
# @param PunishTime: 惩罚时间,取值范围0-2天,单位秒。
|
11551
11872
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11552
11873
|
# @type PunishTime: Integer
|
11553
11874
|
# @param Threshold: 统计阈值,单位是次,取值范围0-4294967294。
|
@@ -11657,6 +11978,42 @@ module TencentCloud
|
|
11657
11978
|
end
|
11658
11979
|
end
|
11659
11980
|
|
11981
|
+
# ReclaimAliasDomain请求参数结构体
|
11982
|
+
class ReclaimAliasDomainRequest < TencentCloud::Common::AbstractModel
|
11983
|
+
# @param ZoneId: 站点 ID。
|
11984
|
+
# @type ZoneId: String
|
11985
|
+
# @param ZoneName: 站点名称。
|
11986
|
+
# @type ZoneName: String
|
11987
|
+
|
11988
|
+
attr_accessor :ZoneId, :ZoneName
|
11989
|
+
|
11990
|
+
def initialize(zoneid=nil, zonename=nil)
|
11991
|
+
@ZoneId = zoneid
|
11992
|
+
@ZoneName = zonename
|
11993
|
+
end
|
11994
|
+
|
11995
|
+
def deserialize(params)
|
11996
|
+
@ZoneId = params['ZoneId']
|
11997
|
+
@ZoneName = params['ZoneName']
|
11998
|
+
end
|
11999
|
+
end
|
12000
|
+
|
12001
|
+
# ReclaimAliasDomain返回参数结构体
|
12002
|
+
class ReclaimAliasDomainResponse < TencentCloud::Common::AbstractModel
|
12003
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12004
|
+
# @type RequestId: String
|
12005
|
+
|
12006
|
+
attr_accessor :RequestId
|
12007
|
+
|
12008
|
+
def initialize(requestid=nil)
|
12009
|
+
@RequestId = requestid
|
12010
|
+
end
|
12011
|
+
|
12012
|
+
def deserialize(params)
|
12013
|
+
@RequestId = params['RequestId']
|
12014
|
+
end
|
12015
|
+
end
|
12016
|
+
|
11660
12017
|
# ReclaimZone请求参数结构体
|
11661
12018
|
class ReclaimZoneRequest < TencentCloud::Common::AbstractModel
|
11662
12019
|
# @param ZoneName: 站点名称。
|
@@ -11925,34 +12282,45 @@ module TencentCloud
|
|
11925
12282
|
class RuleCondition < TencentCloud::Common::AbstractModel
|
11926
12283
|
# @param Operator: 运算符,取值有:
|
11927
12284
|
# <li> equal: 等于; </li>
|
11928
|
-
# <li> notequal:
|
12285
|
+
# <li> notequal: 不等于;</li>
|
12286
|
+
# <li> exist: 存在; </li>
|
12287
|
+
# <li> notexist: 不存在。</li>
|
11929
12288
|
# @type Operator: String
|
11930
12289
|
# @param Target: 匹配类型,取值有:
|
11931
12290
|
# <li> 文件名: filename; </li>
|
11932
12291
|
# <li> 文件后缀: extension; </li>
|
11933
12292
|
# <li> HOST: host; </li>
|
11934
12293
|
# <li> URL Full: full_url,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
|
11935
|
-
# <li> URL Path: url,当前站点下 URL 路径的请求; </li><li>客户端国际/地区:client_country
|
12294
|
+
# <li> URL Path: url,当前站点下 URL 路径的请求; </li><li>客户端国际/地区:client_country;</li>
|
12295
|
+
# <li> 查询字符串: query_string,当前站点下URL请求的查询字符串; </li>
|
12296
|
+
# <li> HTTP 请求头: request_header,HTTP请求头部。 </li>
|
11936
12297
|
# @type Target: String
|
11937
|
-
# @param Values:
|
12298
|
+
# @param Values: 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型的取值有:
|
11938
12299
|
# <li> 文件后缀:jpg、txt等文件后缀;</li>
|
11939
12300
|
# <li> 文件名称:例如 foo.jpg 中的 foo;</li>
|
11940
12301
|
# <li> 全部(站点任意请求): all; </li>
|
11941
12302
|
# <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
|
11942
12303
|
# <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
|
11943
12304
|
# <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example;</li>
|
11944
|
-
# <li> 客户端国际/地区:符合ISO3166
|
12305
|
+
# <li> 客户端国际/地区:符合ISO3166标准的国家/地区标识;</li>
|
12306
|
+
# <li> 查询字符串: 当前站点下URL请求中查询字符串的参数值,例如lang=cn&version=1中的cn和1; </li>
|
12307
|
+
# <li> HTTP 请求头: HTTP请求头部字段值,例如Accept-Language:zh-CN,zh;q=0.9中的zh-CN,zh;q=0.9。 </li>
|
11945
12308
|
# @type Values: Array
|
11946
12309
|
# @param IgnoreCase: 是否忽略参数值的大小写,默认值为 false。
|
11947
12310
|
# @type IgnoreCase: Boolean
|
12311
|
+
# @param Name: 对应匹配类型的参数名称,在 Target 值为以下取值时有效,有效时值不能为空:
|
12312
|
+
# <li> query_string(查询字符串): 当前站点下URL请求中查询字符串的参数名称,例如lang=cn&version=1中的lang和version; </li>
|
12313
|
+
# <li> request_header(HTTP 请求头): HTTP请求头部字段名,例如Accept-Language:zh-CN,zh;q=0.9中的Accept-Language。 </li>
|
12314
|
+
# @type Name: String
|
11948
12315
|
|
11949
|
-
attr_accessor :Operator, :Target, :Values, :IgnoreCase
|
12316
|
+
attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name
|
11950
12317
|
|
11951
|
-
def initialize(operator=nil, target=nil, values=nil, ignorecase=nil)
|
12318
|
+
def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil)
|
11952
12319
|
@Operator = operator
|
11953
12320
|
@Target = target
|
11954
12321
|
@Values = values
|
11955
12322
|
@IgnoreCase = ignorecase
|
12323
|
+
@Name = name
|
11956
12324
|
end
|
11957
12325
|
|
11958
12326
|
def deserialize(params)
|
@@ -11960,6 +12328,7 @@ module TencentCloud
|
|
11960
12328
|
@Target = params['Target']
|
11961
12329
|
@Values = params['Values']
|
11962
12330
|
@IgnoreCase = params['IgnoreCase']
|
12331
|
+
@Name = params['Name']
|
11963
12332
|
end
|
11964
12333
|
end
|
11965
12334
|
|
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.
|
4
|
+
version: 3.0.425
|
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
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|