tencentcloud-sdk-teo 3.0.422 → 3.0.424
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 +397 -22
- 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: f17e02c0ca9b8d8f5490eb8a514b5ec1cda88773
|
4
|
+
data.tar.gz: e1262aaa002d9ac744fef7e8b8aa0e2275fa92b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5cec0c155867552a8242963e0c70993e6190478bc3b2edf9fde3e6c720c4d67cbf9936fc1f916bf66083f27c582c7a62afb4fd861fc716ff26ff7f3acf6e916
|
7
|
+
data.tar.gz: fe21b6a4d6e0214557633cf31b4e371bdcec4d15397cc59a4c345eab5e55bf1c1b1287c084c371f5f9c249ad7ead0fab633f85834fcf9a80b14ca2c5e4145167
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.424
|
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。
|
@@ -2298,14 +2399,19 @@ module TencentCloud
|
|
2298
2399
|
# @type JumpStart: Boolean
|
2299
2400
|
# @param Tags: 资源标签。
|
2300
2401
|
# @type Tags: Array
|
2402
|
+
# @param AllowDuplicates: 是否允许重复接入。
|
2403
|
+
# <li> true:允许重复接入;</li>
|
2404
|
+
# <li> false:不允许重复接入。</li>不填写使用默认值false。
|
2405
|
+
# @type AllowDuplicates: Boolean
|
2301
2406
|
|
2302
|
-
attr_accessor :ZoneName, :Type, :JumpStart, :Tags
|
2407
|
+
attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates
|
2303
2408
|
|
2304
|
-
def initialize(zonename=nil, type=nil, jumpstart=nil, tags=nil)
|
2409
|
+
def initialize(zonename=nil, type=nil, jumpstart=nil, tags=nil, allowduplicates=nil)
|
2305
2410
|
@ZoneName = zonename
|
2306
2411
|
@Type = type
|
2307
2412
|
@JumpStart = jumpstart
|
2308
2413
|
@Tags = tags
|
2414
|
+
@AllowDuplicates = allowduplicates
|
2309
2415
|
end
|
2310
2416
|
|
2311
2417
|
def deserialize(params)
|
@@ -2320,6 +2426,7 @@ module TencentCloud
|
|
2320
2426
|
@Tags << tag_tmp
|
2321
2427
|
end
|
2322
2428
|
end
|
2429
|
+
@AllowDuplicates = params['AllowDuplicates']
|
2323
2430
|
end
|
2324
2431
|
end
|
2325
2432
|
|
@@ -3127,6 +3234,50 @@ module TencentCloud
|
|
3127
3234
|
end
|
3128
3235
|
end
|
3129
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
|
+
|
3130
3281
|
# DeleteApplicationProxy请求参数结构体
|
3131
3282
|
class DeleteApplicationProxyRequest < TencentCloud::Common::AbstractModel
|
3132
3283
|
# @param ZoneId: 站点ID。
|
@@ -3466,6 +3617,73 @@ module TencentCloud
|
|
3466
3617
|
end
|
3467
3618
|
end
|
3468
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
|
+
|
3469
3687
|
# DescribeApplicationProxies请求参数结构体
|
3470
3688
|
class DescribeApplicationProxiesRequest < TencentCloud::Common::AbstractModel
|
3471
3689
|
# @param Offset: 分页查询偏移量,默认为0。
|
@@ -4948,7 +5166,7 @@ module TencentCloud
|
|
4948
5166
|
# DescribeDefaultCertificates请求参数结构体
|
4949
5167
|
class DescribeDefaultCertificatesRequest < TencentCloud::Common::AbstractModel
|
4950
5168
|
# @param Filters: 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
|
4951
|
-
# <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是
|
5169
|
+
# <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是 </li>
|
4952
5170
|
# @type Filters: Array
|
4953
5171
|
# @param Offset: 分页查询偏移量。默认值:0。
|
4954
5172
|
# @type Offset: Integer
|
@@ -5360,8 +5578,8 @@ module TencentCloud
|
|
5360
5578
|
# @type Limit: Integer
|
5361
5579
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
5362
5580
|
# <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-1a8df68z<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
|
5363
|
-
#
|
5364
|
-
#
|
5581
|
+
# </li><li>load-balancing-id<br> 按照【<strong>负载均衡ID</strong>】进行过滤。负载均衡ID形如:lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
|
5582
|
+
# </li><li>host<br> 按照【<strong>负载均衡host</strong>】进行过滤。host形如:lb.tencent.com<br> 类型:String<br> 必选:否<br> 模糊查询:支持,模糊查询时仅支持一个host</li>
|
5365
5583
|
# @type Filters: Array
|
5366
5584
|
|
5367
5585
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -9527,6 +9745,107 @@ module TencentCloud
|
|
9527
9745
|
end
|
9528
9746
|
end
|
9529
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
|
+
|
9530
9849
|
# ModifyApplicationProxy请求参数结构体
|
9531
9850
|
class ModifyApplicationProxyRequest < TencentCloud::Common::AbstractModel
|
9532
9851
|
# @param ZoneId: 站点ID。
|
@@ -10009,13 +10328,18 @@ module TencentCloud
|
|
10009
10328
|
# @type Hosts: Array
|
10010
10329
|
# @param ServerCertInfo: 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。
|
10011
10330
|
# @type ServerCertInfo: Array
|
10331
|
+
# @param ApplyType: 托管类型,取值有:
|
10332
|
+
# <li>apply:托管EO;</li>
|
10333
|
+
# <li>none:不托管EO;</li>不填,默认取值为apply。
|
10334
|
+
# @type ApplyType: String
|
10012
10335
|
|
10013
|
-
attr_accessor :ZoneId, :Hosts, :ServerCertInfo
|
10336
|
+
attr_accessor :ZoneId, :Hosts, :ServerCertInfo, :ApplyType
|
10014
10337
|
|
10015
|
-
def initialize(zoneid=nil, hosts=nil, servercertinfo=nil)
|
10338
|
+
def initialize(zoneid=nil, hosts=nil, servercertinfo=nil, applytype=nil)
|
10016
10339
|
@ZoneId = zoneid
|
10017
10340
|
@Hosts = hosts
|
10018
10341
|
@ServerCertInfo = servercertinfo
|
10342
|
+
@ApplyType = applytype
|
10019
10343
|
end
|
10020
10344
|
|
10021
10345
|
def deserialize(params)
|
@@ -10029,6 +10353,7 @@ module TencentCloud
|
|
10029
10353
|
@ServerCertInfo << servercertinfo_tmp
|
10030
10354
|
end
|
10031
10355
|
end
|
10356
|
+
@ApplyType = params['ApplyType']
|
10032
10357
|
end
|
10033
10358
|
end
|
10034
10359
|
|
@@ -10927,10 +11252,12 @@ module TencentCloud
|
|
10927
11252
|
# @param OriginPullProtocol: 回源协议配置,取值有:
|
10928
11253
|
# <li>http:强制 http 回源;</li>
|
10929
11254
|
# <li>follow:协议跟随回源;</li>
|
10930
|
-
# <li>https:强制 https
|
11255
|
+
# <li>https:强制 https 回源。</li>
|
10931
11256
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10932
11257
|
# @type OriginPullProtocol: String
|
10933
|
-
# @param CosPrivateAccess:
|
11258
|
+
# @param CosPrivateAccess: 源站为腾讯云COS时,是否为私有访问bucket,取值有:
|
11259
|
+
# <li>on:私有访问;</li>
|
11260
|
+
# <li>off:公共访问。</li>
|
10934
11261
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10935
11262
|
# @type CosPrivateAccess: String
|
10936
11263
|
|
@@ -11496,20 +11823,26 @@ module TencentCloud
|
|
11496
11823
|
# <li>emergency:紧急;</li>
|
11497
11824
|
# <li>normal:适中;</li>
|
11498
11825
|
# <li>strict:严格;</li>
|
11499
|
-
# <li>close
|
11826
|
+
# <li>close:关闭,仅精准速率限制生效。</li>
|
11500
11827
|
# @type Mode: String
|
11828
|
+
# @param Action: 模板处置方式,取值有:
|
11829
|
+
# <li>alg:JavaScript挑战;</li>
|
11830
|
+
# <li>monitor:观察。</li>不填写默认取alg。
|
11831
|
+
# @type Action: String
|
11501
11832
|
# @param RateLimitTemplateDetail: 模板值详情。仅出参返回。
|
11502
11833
|
# @type RateLimitTemplateDetail: :class:`Tencentcloud::Teo.v20220901.models.RateLimitTemplateDetail`
|
11503
11834
|
|
11504
|
-
attr_accessor :Mode, :RateLimitTemplateDetail
|
11835
|
+
attr_accessor :Mode, :Action, :RateLimitTemplateDetail
|
11505
11836
|
|
11506
|
-
def initialize(mode=nil, ratelimittemplatedetail=nil)
|
11837
|
+
def initialize(mode=nil, action=nil, ratelimittemplatedetail=nil)
|
11507
11838
|
@Mode = mode
|
11839
|
+
@Action = action
|
11508
11840
|
@RateLimitTemplateDetail = ratelimittemplatedetail
|
11509
11841
|
end
|
11510
11842
|
|
11511
11843
|
def deserialize(params)
|
11512
11844
|
@Mode = params['Mode']
|
11845
|
+
@Action = params['Action']
|
11513
11846
|
unless params['RateLimitTemplateDetail'].nil?
|
11514
11847
|
@RateLimitTemplateDetail = RateLimitTemplateDetail.new
|
11515
11848
|
@RateLimitTemplateDetail.deserialize(params['RateLimitTemplateDetail'])
|
@@ -11519,21 +11852,23 @@ module TencentCloud
|
|
11519
11852
|
|
11520
11853
|
# 模板当前详细配置
|
11521
11854
|
class RateLimitTemplateDetail < TencentCloud::Common::AbstractModel
|
11522
|
-
# @param Mode:
|
11855
|
+
# @param Mode: 模板等级名称,取值有:
|
11523
11856
|
# <li>sup_loose:超级宽松;</li>
|
11524
11857
|
# <li>loose:宽松;</li>
|
11525
11858
|
# <li>emergency:紧急;</li>
|
11526
11859
|
# <li>normal:适中;</li>
|
11527
11860
|
# <li>strict:严格;</li>
|
11528
|
-
# <li>close
|
11861
|
+
# <li>close:关闭,仅精准速率限制生效。</li>
|
11529
11862
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11530
11863
|
# @type Mode: String
|
11531
11864
|
# @param ID: 唯一id。
|
11532
11865
|
# @type ID: Integer
|
11533
|
-
# @param Action:
|
11866
|
+
# @param Action: 模板处置方式,取值有:
|
11867
|
+
# <li>alg:JavaScript挑战;</li>
|
11868
|
+
# <li>monitor:观察。</li>
|
11534
11869
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11535
11870
|
# @type Action: String
|
11536
|
-
# @param PunishTime:
|
11871
|
+
# @param PunishTime: 惩罚时间,取值范围0-2天,单位秒。
|
11537
11872
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11538
11873
|
# @type PunishTime: Integer
|
11539
11874
|
# @param Threshold: 统计阈值,单位是次,取值范围0-4294967294。
|
@@ -11643,6 +11978,42 @@ module TencentCloud
|
|
11643
11978
|
end
|
11644
11979
|
end
|
11645
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
|
+
|
11646
12017
|
# ReclaimZone请求参数结构体
|
11647
12018
|
class ReclaimZoneRequest < TencentCloud::Common::AbstractModel
|
11648
12019
|
# @param ZoneName: 站点名称。
|
@@ -11914,12 +12285,11 @@ module TencentCloud
|
|
11914
12285
|
# <li> notequal: 不等于。</li>
|
11915
12286
|
# @type Operator: String
|
11916
12287
|
# @param Target: 匹配类型,取值有:
|
11917
|
-
# <li> 全部(站点任意请求): host。 </li>
|
11918
12288
|
# <li> 文件名: filename; </li>
|
11919
12289
|
# <li> 文件后缀: extension; </li>
|
11920
12290
|
# <li> HOST: host; </li>
|
11921
12291
|
# <li> URL Full: full_url,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
|
11922
|
-
# <li> URL Path: url,当前站点下 URL
|
12292
|
+
# <li> URL Path: url,当前站点下 URL 路径的请求; </li><li>客户端国际/地区:client_country。</li>
|
11923
12293
|
# @type Target: String
|
11924
12294
|
# @param Values: 对应匹配类型的参数值,对应匹配类型的取值有:
|
11925
12295
|
# <li> 文件后缀:jpg、txt等文件后缀;</li>
|
@@ -11927,21 +12297,26 @@ module TencentCloud
|
|
11927
12297
|
# <li> 全部(站点任意请求): all; </li>
|
11928
12298
|
# <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
|
11929
12299
|
# <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
|
11930
|
-
# <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example
|
12300
|
+
# <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example;</li>
|
12301
|
+
# <li> 客户端国际/地区:符合ISO3166标准的国家/地区标识。</li>
|
11931
12302
|
# @type Values: Array
|
12303
|
+
# @param IgnoreCase: 是否忽略参数值的大小写,默认值为 false。
|
12304
|
+
# @type IgnoreCase: Boolean
|
11932
12305
|
|
11933
|
-
attr_accessor :Operator, :Target, :Values
|
12306
|
+
attr_accessor :Operator, :Target, :Values, :IgnoreCase
|
11934
12307
|
|
11935
|
-
def initialize(operator=nil, target=nil, values=nil)
|
12308
|
+
def initialize(operator=nil, target=nil, values=nil, ignorecase=nil)
|
11936
12309
|
@Operator = operator
|
11937
12310
|
@Target = target
|
11938
12311
|
@Values = values
|
12312
|
+
@IgnoreCase = ignorecase
|
11939
12313
|
end
|
11940
12314
|
|
11941
12315
|
def deserialize(params)
|
11942
12316
|
@Operator = params['Operator']
|
11943
12317
|
@Target = params['Target']
|
11944
12318
|
@Values = params['Values']
|
12319
|
+
@IgnoreCase = params['IgnoreCase']
|
11945
12320
|
end
|
11946
12321
|
end
|
11947
12322
|
|
@@ -12499,7 +12874,7 @@ module TencentCloud
|
|
12499
12874
|
# @param Type: 证书类型,取值有:
|
12500
12875
|
# <li>default:默认证书;</lil>
|
12501
12876
|
# <li>upload:用户上传;</li>
|
12502
|
-
# <li>managed
|
12877
|
+
# <li>managed:腾讯云托管。</li>
|
12503
12878
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
12504
12879
|
# @type Type: String
|
12505
12880
|
# @param ExpireTime: 证书过期时间。
|
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.424
|
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-09
|
11
|
+
date: 2022-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|