tencentcloud-sdk-teo 3.0.965 → 3.0.966
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +216 -0
- data/lib/v20220901/models.rb +572 -0
- 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: 6c0479c99e0b6c3f8b1670340dbec8eeb40a7152
|
4
|
+
data.tar.gz: fea411228ad596843e70c3aacc4bc83f2b3937fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf988e559346cd47996b2f0cfc152d7449ac586540f2a88fc4e28bbde037154dd4c95c08b325edaf4fbbdaed94ea9a5fa9cd0fe1b96e4ef2fa11d411a4cfdd15
|
7
|
+
data.tar.gz: 84beed87232932db723c4b9deed79853dea73f27c82dc1e194295cf582534b0568caf9849f05b4b4bf553bd72b025d99995064626bfb9f7dc3c2bf2b42cf4cc0
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.966
|
data/lib/v20220901/client.rb
CHANGED
@@ -272,6 +272,30 @@ module TencentCloud
|
|
272
272
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
273
273
|
end
|
274
274
|
|
275
|
+
# 创建内容标识符,可以设置描述、标签等信息,同时需要绑定企业版套餐用于统计计费数据;一个内容标识符只能绑定一个计费套餐,一个计费套餐可以绑定多个内容标识符。该功能仅限白名单开放。
|
276
|
+
|
277
|
+
# @param request: Request instance for CreateContentIdentifier.
|
278
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateContentIdentifierRequest`
|
279
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateContentIdentifierResponse`
|
280
|
+
def CreateContentIdentifier(request)
|
281
|
+
body = send_request('CreateContentIdentifier', request.serialize)
|
282
|
+
response = JSON.parse(body)
|
283
|
+
if response['Response'].key?('Error') == false
|
284
|
+
model = CreateContentIdentifierResponse.new
|
285
|
+
model.deserialize(response['Response'])
|
286
|
+
model
|
287
|
+
else
|
288
|
+
code = response['Response']['Error']['Code']
|
289
|
+
message = response['Response']['Error']['Message']
|
290
|
+
reqid = response['Response']['RequestId']
|
291
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
292
|
+
end
|
293
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
294
|
+
raise e
|
295
|
+
rescue StandardError => e
|
296
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
|
+
end
|
298
|
+
|
275
299
|
# 创建自定义错误页面。
|
276
300
|
|
277
301
|
# @param request: Request instance for CreateCustomizeErrorPage.
|
@@ -296,6 +320,30 @@ module TencentCloud
|
|
296
320
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
297
321
|
end
|
298
322
|
|
323
|
+
# 在创建完站点后,并且站点为 NS 模式接入时,您可以通过本接口创建 DNS 记录。
|
324
|
+
|
325
|
+
# @param request: Request instance for CreateDnsRecord.
|
326
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::CreateDnsRecordRequest`
|
327
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::CreateDnsRecordResponse`
|
328
|
+
def CreateDnsRecord(request)
|
329
|
+
body = send_request('CreateDnsRecord', request.serialize)
|
330
|
+
response = JSON.parse(body)
|
331
|
+
if response['Response'].key?('Error') == false
|
332
|
+
model = CreateDnsRecordResponse.new
|
333
|
+
model.deserialize(response['Response'])
|
334
|
+
model
|
335
|
+
else
|
336
|
+
code = response['Response']['Error']['Code']
|
337
|
+
message = response['Response']['Error']['Message']
|
338
|
+
reqid = response['Response']['RequestId']
|
339
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
340
|
+
end
|
341
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
342
|
+
raise e
|
343
|
+
rescue StandardError => e
|
344
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
345
|
+
end
|
346
|
+
|
299
347
|
# 创建并部署边缘函数至 EdgeOne 的边缘节点。
|
300
348
|
|
301
349
|
# @param request: Request instance for CreateFunction.
|
@@ -759,6 +807,30 @@ module TencentCloud
|
|
759
807
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
760
808
|
end
|
761
809
|
|
810
|
+
# 删除指定的内容标识符。该功能仅白名单开放。
|
811
|
+
|
812
|
+
# @param request: Request instance for DeleteContentIdentifier.
|
813
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteContentIdentifierRequest`
|
814
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteContentIdentifierResponse`
|
815
|
+
def DeleteContentIdentifier(request)
|
816
|
+
body = send_request('DeleteContentIdentifier', request.serialize)
|
817
|
+
response = JSON.parse(body)
|
818
|
+
if response['Response'].key?('Error') == false
|
819
|
+
model = DeleteContentIdentifierResponse.new
|
820
|
+
model.deserialize(response['Response'])
|
821
|
+
model
|
822
|
+
else
|
823
|
+
code = response['Response']['Error']['Code']
|
824
|
+
message = response['Response']['Error']['Message']
|
825
|
+
reqid = response['Response']['RequestId']
|
826
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
827
|
+
end
|
828
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
829
|
+
raise e
|
830
|
+
rescue StandardError => e
|
831
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
832
|
+
end
|
833
|
+
|
762
834
|
# 删除自定义错误页面。
|
763
835
|
|
764
836
|
# @param request: Request instance for DeleteCustomErrorPage.
|
@@ -783,6 +855,30 @@ module TencentCloud
|
|
783
855
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
784
856
|
end
|
785
857
|
|
858
|
+
# 您可以用本接口批量删除 DNS 记录。
|
859
|
+
|
860
|
+
# @param request: Request instance for DeleteDnsRecords.
|
861
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DeleteDnsRecordsRequest`
|
862
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DeleteDnsRecordsResponse`
|
863
|
+
def DeleteDnsRecords(request)
|
864
|
+
body = send_request('DeleteDnsRecords', request.serialize)
|
865
|
+
response = JSON.parse(body)
|
866
|
+
if response['Response'].key?('Error') == false
|
867
|
+
model = DeleteDnsRecordsResponse.new
|
868
|
+
model.deserialize(response['Response'])
|
869
|
+
model
|
870
|
+
else
|
871
|
+
code = response['Response']['Error']['Code']
|
872
|
+
message = response['Response']['Error']['Message']
|
873
|
+
reqid = response['Response']['RequestId']
|
874
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
875
|
+
end
|
876
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
877
|
+
raise e
|
878
|
+
rescue StandardError => e
|
879
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
880
|
+
end
|
881
|
+
|
786
882
|
# 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
|
787
883
|
|
788
884
|
# @param request: Request instance for DeleteFunction.
|
@@ -1239,6 +1335,30 @@ module TencentCloud
|
|
1239
1335
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1240
1336
|
end
|
1241
1337
|
|
1338
|
+
# 批量查询内容标识符,可以根据 ID、描述、状态或者标签过滤。按照状态查询被删除的内容标识符仅保留三个月。该功能仅白名单开放。
|
1339
|
+
|
1340
|
+
# @param request: Request instance for DescribeContentIdentifiers.
|
1341
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeContentIdentifiersRequest`
|
1342
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeContentIdentifiersResponse`
|
1343
|
+
def DescribeContentIdentifiers(request)
|
1344
|
+
body = send_request('DescribeContentIdentifiers', request.serialize)
|
1345
|
+
response = JSON.parse(body)
|
1346
|
+
if response['Response'].key?('Error') == false
|
1347
|
+
model = DescribeContentIdentifiersResponse.new
|
1348
|
+
model.deserialize(response['Response'])
|
1349
|
+
model
|
1350
|
+
else
|
1351
|
+
code = response['Response']['Error']['Code']
|
1352
|
+
message = response['Response']['Error']['Message']
|
1353
|
+
reqid = response['Response']['RequestId']
|
1354
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1355
|
+
end
|
1356
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1357
|
+
raise e
|
1358
|
+
rescue StandardError => e
|
1359
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1360
|
+
end
|
1361
|
+
|
1242
1362
|
# 查询内容管理接口配额
|
1243
1363
|
|
1244
1364
|
# @param request: Request instance for DescribeContentQuota.
|
@@ -1407,6 +1527,30 @@ module TencentCloud
|
|
1407
1527
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1408
1528
|
end
|
1409
1529
|
|
1530
|
+
# 您可以用过本接口查看站点下的 DNS 记录信息,包括 DNS 记录名、记录类型以及记录内容等信息。您可以查看站点下全部 DNS 记录的信息,也可以指定过滤条件查询对应的 DNS 记录信息。
|
1531
|
+
|
1532
|
+
# @param request: Request instance for DescribeDnsRecords.
|
1533
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::DescribeDnsRecordsRequest`
|
1534
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::DescribeDnsRecordsResponse`
|
1535
|
+
def DescribeDnsRecords(request)
|
1536
|
+
body = send_request('DescribeDnsRecords', request.serialize)
|
1537
|
+
response = JSON.parse(body)
|
1538
|
+
if response['Response'].key?('Error') == false
|
1539
|
+
model = DescribeDnsRecordsResponse.new
|
1540
|
+
model.deserialize(response['Response'])
|
1541
|
+
model
|
1542
|
+
else
|
1543
|
+
code = response['Response']['Error']['Code']
|
1544
|
+
message = response['Response']['Error']['Message']
|
1545
|
+
reqid = response['Response']['RequestId']
|
1546
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1547
|
+
end
|
1548
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1549
|
+
raise e
|
1550
|
+
rescue StandardError => e
|
1551
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1552
|
+
end
|
1553
|
+
|
1410
1554
|
# 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
|
1411
1555
|
|
1412
1556
|
# @param request: Request instance for DescribeEnvironments.
|
@@ -2526,6 +2670,30 @@ module TencentCloud
|
|
2526
2670
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2527
2671
|
end
|
2528
2672
|
|
2673
|
+
# 修改内容标识符,仅支持修改描述。该功能仅白名单开放。
|
2674
|
+
|
2675
|
+
# @param request: Request instance for ModifyContentIdentifier.
|
2676
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyContentIdentifierRequest`
|
2677
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyContentIdentifierResponse`
|
2678
|
+
def ModifyContentIdentifier(request)
|
2679
|
+
body = send_request('ModifyContentIdentifier', request.serialize)
|
2680
|
+
response = JSON.parse(body)
|
2681
|
+
if response['Response'].key?('Error') == false
|
2682
|
+
model = ModifyContentIdentifierResponse.new
|
2683
|
+
model.deserialize(response['Response'])
|
2684
|
+
model
|
2685
|
+
else
|
2686
|
+
code = response['Response']['Error']['Code']
|
2687
|
+
message = response['Response']['Error']['Message']
|
2688
|
+
reqid = response['Response']['RequestId']
|
2689
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2690
|
+
end
|
2691
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2692
|
+
raise e
|
2693
|
+
rescue StandardError => e
|
2694
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2695
|
+
end
|
2696
|
+
|
2529
2697
|
# 修改自定义错误页面。
|
2530
2698
|
|
2531
2699
|
# @param request: Request instance for ModifyCustomErrorPage.
|
@@ -2550,6 +2718,54 @@ module TencentCloud
|
|
2550
2718
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2551
2719
|
end
|
2552
2720
|
|
2721
|
+
# 您可以通过本接口批量修改 DNS 记录。
|
2722
|
+
|
2723
|
+
# @param request: Request instance for ModifyDnsRecords.
|
2724
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordsRequest`
|
2725
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordsResponse`
|
2726
|
+
def ModifyDnsRecords(request)
|
2727
|
+
body = send_request('ModifyDnsRecords', request.serialize)
|
2728
|
+
response = JSON.parse(body)
|
2729
|
+
if response['Response'].key?('Error') == false
|
2730
|
+
model = ModifyDnsRecordsResponse.new
|
2731
|
+
model.deserialize(response['Response'])
|
2732
|
+
model
|
2733
|
+
else
|
2734
|
+
code = response['Response']['Error']['Code']
|
2735
|
+
message = response['Response']['Error']['Message']
|
2736
|
+
reqid = response['Response']['RequestId']
|
2737
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2738
|
+
end
|
2739
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2740
|
+
raise e
|
2741
|
+
rescue StandardError => e
|
2742
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2743
|
+
end
|
2744
|
+
|
2745
|
+
# 您可以通过本接口批量修改 DNS 记录的状态,批量对记录进行开启和停用。
|
2746
|
+
|
2747
|
+
# @param request: Request instance for ModifyDnsRecordsStatus.
|
2748
|
+
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordsStatusRequest`
|
2749
|
+
# @rtype: :class:`Tencentcloud::teo::V20220901::ModifyDnsRecordsStatusResponse`
|
2750
|
+
def ModifyDnsRecordsStatus(request)
|
2751
|
+
body = send_request('ModifyDnsRecordsStatus', request.serialize)
|
2752
|
+
response = JSON.parse(body)
|
2753
|
+
if response['Response'].key?('Error') == false
|
2754
|
+
model = ModifyDnsRecordsStatusResponse.new
|
2755
|
+
model.deserialize(response['Response'])
|
2756
|
+
model
|
2757
|
+
else
|
2758
|
+
code = response['Response']['Error']['Code']
|
2759
|
+
message = response['Response']['Error']['Message']
|
2760
|
+
reqid = response['Response']['RequestId']
|
2761
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
2762
|
+
end
|
2763
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
2764
|
+
raise e
|
2765
|
+
rescue StandardError => e
|
2766
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
2767
|
+
end
|
2768
|
+
|
2553
2769
|
# 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
|
2554
2770
|
|
2555
2771
|
# @param request: Request instance for ModifyFunction.
|
data/lib/v20220901/models.rb
CHANGED
@@ -1945,6 +1945,64 @@ module TencentCloud
|
|
1945
1945
|
end
|
1946
1946
|
end
|
1947
1947
|
|
1948
|
+
# 内容标识符。该功能仅白名单开放。
|
1949
|
+
class ContentIdentifier < TencentCloud::Common::AbstractModel
|
1950
|
+
# @param ContentId: 内容标识符 ID。
|
1951
|
+
# @type ContentId: String
|
1952
|
+
# @param Description: 内容标识符描述。
|
1953
|
+
# @type Description: String
|
1954
|
+
# @param ReferenceCount: 被规则引擎引用的次数。
|
1955
|
+
# @type ReferenceCount: Integer
|
1956
|
+
# @param PlanId: 绑定的套餐 ID。
|
1957
|
+
# @type PlanId: String
|
1958
|
+
# @param Tags: 绑定的标签。
|
1959
|
+
# @type Tags: Array
|
1960
|
+
# @param Status: 内容标识符状态,取值有:
|
1961
|
+
# <li> active:已生效; </li>
|
1962
|
+
# <li> deleted:已删除。</li>
|
1963
|
+
# @type Status: String
|
1964
|
+
# @param CreatedOn: 创建时间,时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
|
1965
|
+
# @type CreatedOn: String
|
1966
|
+
# @param ModifiedOn: 最新一次更新时间,时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
|
1967
|
+
# @type ModifiedOn: String
|
1968
|
+
# @param DeletedOn: 删除时间,状态非 deleted 时候为空;时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
|
1969
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1970
|
+
# @type DeletedOn: String
|
1971
|
+
|
1972
|
+
attr_accessor :ContentId, :Description, :ReferenceCount, :PlanId, :Tags, :Status, :CreatedOn, :ModifiedOn, :DeletedOn
|
1973
|
+
|
1974
|
+
def initialize(contentid=nil, description=nil, referencecount=nil, planid=nil, tags=nil, status=nil, createdon=nil, modifiedon=nil, deletedon=nil)
|
1975
|
+
@ContentId = contentid
|
1976
|
+
@Description = description
|
1977
|
+
@ReferenceCount = referencecount
|
1978
|
+
@PlanId = planid
|
1979
|
+
@Tags = tags
|
1980
|
+
@Status = status
|
1981
|
+
@CreatedOn = createdon
|
1982
|
+
@ModifiedOn = modifiedon
|
1983
|
+
@DeletedOn = deletedon
|
1984
|
+
end
|
1985
|
+
|
1986
|
+
def deserialize(params)
|
1987
|
+
@ContentId = params['ContentId']
|
1988
|
+
@Description = params['Description']
|
1989
|
+
@ReferenceCount = params['ReferenceCount']
|
1990
|
+
@PlanId = params['PlanId']
|
1991
|
+
unless params['Tags'].nil?
|
1992
|
+
@Tags = []
|
1993
|
+
params['Tags'].each do |i|
|
1994
|
+
tag_tmp = Tag.new
|
1995
|
+
tag_tmp.deserialize(i)
|
1996
|
+
@Tags << tag_tmp
|
1997
|
+
end
|
1998
|
+
end
|
1999
|
+
@Status = params['Status']
|
2000
|
+
@CreatedOn = params['CreatedOn']
|
2001
|
+
@ModifiedOn = params['ModifiedOn']
|
2002
|
+
@DeletedOn = params['DeletedOn']
|
2003
|
+
end
|
2004
|
+
end
|
2005
|
+
|
1948
2006
|
# CreateAccelerationDomain请求参数结构体
|
1949
2007
|
class CreateAccelerationDomainRequest < TencentCloud::Common::AbstractModel
|
1950
2008
|
# @param ZoneId: 加速域名所属站点 ID。
|
@@ -2343,6 +2401,57 @@ module TencentCloud
|
|
2343
2401
|
end
|
2344
2402
|
end
|
2345
2403
|
|
2404
|
+
# CreateContentIdentifier请求参数结构体
|
2405
|
+
class CreateContentIdentifierRequest < TencentCloud::Common::AbstractModel
|
2406
|
+
# @param Description: 内容标识符的描述,长度限制不超过 20 个字符。
|
2407
|
+
# @type Description: String
|
2408
|
+
# @param PlanId: 待绑定的目标套餐 ID,仅限企业版可用。<li>当您账号下已存在套餐时,需要先前往 [套餐管理](https://console.cloud.tencent.com/edgeone/package) 获取套餐 ID,直接将内容标识符绑定至该套餐;</li><li>若您当前没有可绑定的套餐时,请先购买企业版套餐。</li>
|
2409
|
+
# @type PlanId: String
|
2410
|
+
# @param Tags: 标签。该参数用于对内容标识符进行分权限管控。您需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建标签才可以在此处传入对应的标签键和标签值。
|
2411
|
+
# @type Tags: Array
|
2412
|
+
|
2413
|
+
attr_accessor :Description, :PlanId, :Tags
|
2414
|
+
|
2415
|
+
def initialize(description=nil, planid=nil, tags=nil)
|
2416
|
+
@Description = description
|
2417
|
+
@PlanId = planid
|
2418
|
+
@Tags = tags
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
def deserialize(params)
|
2422
|
+
@Description = params['Description']
|
2423
|
+
@PlanId = params['PlanId']
|
2424
|
+
unless params['Tags'].nil?
|
2425
|
+
@Tags = []
|
2426
|
+
params['Tags'].each do |i|
|
2427
|
+
tag_tmp = Tag.new
|
2428
|
+
tag_tmp.deserialize(i)
|
2429
|
+
@Tags << tag_tmp
|
2430
|
+
end
|
2431
|
+
end
|
2432
|
+
end
|
2433
|
+
end
|
2434
|
+
|
2435
|
+
# CreateContentIdentifier返回参数结构体
|
2436
|
+
class CreateContentIdentifierResponse < TencentCloud::Common::AbstractModel
|
2437
|
+
# @param ContentId: 生成的内容标识符 ID。创建完成之后您可以前往规则引擎在一定匹配条件下「设置内容标识符」。
|
2438
|
+
# @type ContentId: String
|
2439
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2440
|
+
# @type RequestId: String
|
2441
|
+
|
2442
|
+
attr_accessor :ContentId, :RequestId
|
2443
|
+
|
2444
|
+
def initialize(contentid=nil, requestid=nil)
|
2445
|
+
@ContentId = contentid
|
2446
|
+
@RequestId = requestid
|
2447
|
+
end
|
2448
|
+
|
2449
|
+
def deserialize(params)
|
2450
|
+
@ContentId = params['ContentId']
|
2451
|
+
@RequestId = params['RequestId']
|
2452
|
+
end
|
2453
|
+
end
|
2454
|
+
|
2346
2455
|
# CreateCustomizeErrorPage请求参数结构体
|
2347
2456
|
class CreateCustomizeErrorPageRequest < TencentCloud::Common::AbstractModel
|
2348
2457
|
# @param ZoneId: 站点 ID。
|
@@ -2395,6 +2504,74 @@ module TencentCloud
|
|
2395
2504
|
end
|
2396
2505
|
end
|
2397
2506
|
|
2507
|
+
# CreateDnsRecord请求参数结构体
|
2508
|
+
class CreateDnsRecordRequest < TencentCloud::Common::AbstractModel
|
2509
|
+
# @param ZoneId: 站点 ID。
|
2510
|
+
# @type ZoneId: String
|
2511
|
+
# @param Name: DNS 记录名,如果是中文、韩文、日文域名,需要转换为 punycode 后输入。
|
2512
|
+
# @type Name: String
|
2513
|
+
# @param Type: DNS 记录类型,取值有:<li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li><li>AAAA:将域名指向一个外网 IPv6 地址;</li><li>MX:用于邮箱服务器。存在多条 MX 记录时,优先级越低越优先;</li><li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li><li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li><li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li><li>CAA:指定可为本站点颁发证书的 CA;</li><li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
|
2514
|
+
# 不同的记录类型呢例如 SRV、CAA 记录对主机记录名称、记录值格式有不同的要求,各记录类型的详细说明介绍和格式示例请参考:[解析记录类型介绍](https://cloud.tencent.com/document/product/1552/90453#2f681022-91ab-4a9e-ac3d-0a6c454d954e)。
|
2515
|
+
# @type Type: String
|
2516
|
+
# @param Content: DNS 记录内容,根据 Type 值填入与之相对应的内容,如果是中文、韩文、日文域名,需要转换为 punycode 后输入。
|
2517
|
+
# @type Content: String
|
2518
|
+
# @param Location: DNS 记录解析线路,不指定默认为 Default,表示默认解析线路,代表全部地域生效。
|
2519
|
+
|
2520
|
+
# - 解析线路配置仅适用于当 Type(DNS 记录类型)为 A、AAAA、CNAME 时。
|
2521
|
+
# - 解析线路配置仅适用于标准版、企业版套餐使用,取值请参考:[解析线路及对应代码枚举](https://cloud.tencent.com/document/product/1552/112542)。
|
2522
|
+
# @type Location: String
|
2523
|
+
# @param TTL: 缓存时间,用户可指定值范围 60~86400,数值越小,修改记录各地生效时间越快,默认为 300,单位:秒。
|
2524
|
+
# @type TTL: Integer
|
2525
|
+
# @param Weight: DNS 记录权重,用户可指定值范围 -1~100,设置为 0 时表示不解析,不指定默认为 -1,表示不设置权重。权重配置仅适用于当 Type(DNS 记录类型)为 A、AAAA、CNAME 时。<br>注意:同一个子域名下,相同解析线路的不同 DNS 记录,应保持同时设置权重或者同时都不设置权重。
|
2526
|
+
# @type Weight: Integer
|
2527
|
+
# @param Priority: MX 记录优先级,该参数仅在当 Type(DNS 记录类型)为 MX 时生效,值越小优先级越高,用户可指定值范围0~50,不指定默认为0。
|
2528
|
+
# @type Priority: Integer
|
2529
|
+
|
2530
|
+
attr_accessor :ZoneId, :Name, :Type, :Content, :Location, :TTL, :Weight, :Priority
|
2531
|
+
|
2532
|
+
def initialize(zoneid=nil, name=nil, type=nil, content=nil, location=nil, ttl=nil, weight=nil, priority=nil)
|
2533
|
+
@ZoneId = zoneid
|
2534
|
+
@Name = name
|
2535
|
+
@Type = type
|
2536
|
+
@Content = content
|
2537
|
+
@Location = location
|
2538
|
+
@TTL = ttl
|
2539
|
+
@Weight = weight
|
2540
|
+
@Priority = priority
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
def deserialize(params)
|
2544
|
+
@ZoneId = params['ZoneId']
|
2545
|
+
@Name = params['Name']
|
2546
|
+
@Type = params['Type']
|
2547
|
+
@Content = params['Content']
|
2548
|
+
@Location = params['Location']
|
2549
|
+
@TTL = params['TTL']
|
2550
|
+
@Weight = params['Weight']
|
2551
|
+
@Priority = params['Priority']
|
2552
|
+
end
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# CreateDnsRecord返回参数结构体
|
2556
|
+
class CreateDnsRecordResponse < TencentCloud::Common::AbstractModel
|
2557
|
+
# @param RecordId: DNS 记录 ID。
|
2558
|
+
# @type RecordId: String
|
2559
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2560
|
+
# @type RequestId: String
|
2561
|
+
|
2562
|
+
attr_accessor :RecordId, :RequestId
|
2563
|
+
|
2564
|
+
def initialize(recordid=nil, requestid=nil)
|
2565
|
+
@RecordId = recordid
|
2566
|
+
@RequestId = requestid
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
def deserialize(params)
|
2570
|
+
@RecordId = params['RecordId']
|
2571
|
+
@RequestId = params['RequestId']
|
2572
|
+
end
|
2573
|
+
end
|
2574
|
+
|
2398
2575
|
# CreateFunction请求参数结构体
|
2399
2576
|
class CreateFunctionRequest < TencentCloud::Common::AbstractModel
|
2400
2577
|
# @param ZoneId: 站点 ID。
|
@@ -3913,6 +4090,38 @@ module TencentCloud
|
|
3913
4090
|
end
|
3914
4091
|
end
|
3915
4092
|
|
4093
|
+
# DeleteContentIdentifier请求参数结构体
|
4094
|
+
class DeleteContentIdentifierRequest < TencentCloud::Common::AbstractModel
|
4095
|
+
# @param ContentId: 内容标识符 ID。
|
4096
|
+
# @type ContentId: String
|
4097
|
+
|
4098
|
+
attr_accessor :ContentId
|
4099
|
+
|
4100
|
+
def initialize(contentid=nil)
|
4101
|
+
@ContentId = contentid
|
4102
|
+
end
|
4103
|
+
|
4104
|
+
def deserialize(params)
|
4105
|
+
@ContentId = params['ContentId']
|
4106
|
+
end
|
4107
|
+
end
|
4108
|
+
|
4109
|
+
# DeleteContentIdentifier返回参数结构体
|
4110
|
+
class DeleteContentIdentifierResponse < TencentCloud::Common::AbstractModel
|
4111
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4112
|
+
# @type RequestId: String
|
4113
|
+
|
4114
|
+
attr_accessor :RequestId
|
4115
|
+
|
4116
|
+
def initialize(requestid=nil)
|
4117
|
+
@RequestId = requestid
|
4118
|
+
end
|
4119
|
+
|
4120
|
+
def deserialize(params)
|
4121
|
+
@RequestId = params['RequestId']
|
4122
|
+
end
|
4123
|
+
end
|
4124
|
+
|
3916
4125
|
# DeleteCustomErrorPage请求参数结构体
|
3917
4126
|
class DeleteCustomErrorPageRequest < TencentCloud::Common::AbstractModel
|
3918
4127
|
# @param ZoneId: 站点 ID。
|
@@ -3949,6 +4158,42 @@ module TencentCloud
|
|
3949
4158
|
end
|
3950
4159
|
end
|
3951
4160
|
|
4161
|
+
# DeleteDnsRecords请求参数结构体
|
4162
|
+
class DeleteDnsRecordsRequest < TencentCloud::Common::AbstractModel
|
4163
|
+
# @param ZoneId: 站点 ID。
|
4164
|
+
# @type ZoneId: String
|
4165
|
+
# @param RecordIds: 待删除的 DNS 记录 ID 列表,上限:1000。
|
4166
|
+
# @type RecordIds: Array
|
4167
|
+
|
4168
|
+
attr_accessor :ZoneId, :RecordIds
|
4169
|
+
|
4170
|
+
def initialize(zoneid=nil, recordids=nil)
|
4171
|
+
@ZoneId = zoneid
|
4172
|
+
@RecordIds = recordids
|
4173
|
+
end
|
4174
|
+
|
4175
|
+
def deserialize(params)
|
4176
|
+
@ZoneId = params['ZoneId']
|
4177
|
+
@RecordIds = params['RecordIds']
|
4178
|
+
end
|
4179
|
+
end
|
4180
|
+
|
4181
|
+
# DeleteDnsRecords返回参数结构体
|
4182
|
+
class DeleteDnsRecordsResponse < TencentCloud::Common::AbstractModel
|
4183
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4184
|
+
# @type RequestId: String
|
4185
|
+
|
4186
|
+
attr_accessor :RequestId
|
4187
|
+
|
4188
|
+
def initialize(requestid=nil)
|
4189
|
+
@RequestId = requestid
|
4190
|
+
end
|
4191
|
+
|
4192
|
+
def deserialize(params)
|
4193
|
+
@RequestId = params['RequestId']
|
4194
|
+
end
|
4195
|
+
end
|
4196
|
+
|
3952
4197
|
# DeleteFunction请求参数结构体
|
3953
4198
|
class DeleteFunctionRequest < TencentCloud::Common::AbstractModel
|
3954
4199
|
# @param ZoneId: 站点 ID。
|
@@ -4948,6 +5193,68 @@ module TencentCloud
|
|
4948
5193
|
end
|
4949
5194
|
end
|
4950
5195
|
|
5196
|
+
# DescribeContentIdentifiers请求参数结构体
|
5197
|
+
class DescribeContentIdentifiersRequest < TencentCloud::Common::AbstractModel
|
5198
|
+
# @param Offset: 分页查询偏移量。默认值:0。
|
5199
|
+
# @type Offset: Integer
|
5200
|
+
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
5201
|
+
# @type Limit: Integer
|
5202
|
+
# @param Filters: 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 AppId 下有权限的内容标识符。详细的过滤条件如下:<li>description:按照内容标识符描述批量进行过滤;例如:test;</li><li>content-id:按照内容标识符 ID 批量进行过滤;例如:eocontent-2noz78a8ev6k;</li><li>tag-key:按照标签键进行过滤;</li> <li>tag-value: 按照标签值进行过滤;</li><li>status:按照内容标识符状态进行过滤,取值有:active:生效中;deleted:已删除。</li>仅支持按照 description 模糊查询,其余字段需要精准查询。
|
5203
|
+
# @type Filters: Array
|
5204
|
+
|
5205
|
+
attr_accessor :Offset, :Limit, :Filters
|
5206
|
+
|
5207
|
+
def initialize(offset=nil, limit=nil, filters=nil)
|
5208
|
+
@Offset = offset
|
5209
|
+
@Limit = limit
|
5210
|
+
@Filters = filters
|
5211
|
+
end
|
5212
|
+
|
5213
|
+
def deserialize(params)
|
5214
|
+
@Offset = params['Offset']
|
5215
|
+
@Limit = params['Limit']
|
5216
|
+
unless params['Filters'].nil?
|
5217
|
+
@Filters = []
|
5218
|
+
params['Filters'].each do |i|
|
5219
|
+
advancedfilter_tmp = AdvancedFilter.new
|
5220
|
+
advancedfilter_tmp.deserialize(i)
|
5221
|
+
@Filters << advancedfilter_tmp
|
5222
|
+
end
|
5223
|
+
end
|
5224
|
+
end
|
5225
|
+
end
|
5226
|
+
|
5227
|
+
# DescribeContentIdentifiers返回参数结构体
|
5228
|
+
class DescribeContentIdentifiersResponse < TencentCloud::Common::AbstractModel
|
5229
|
+
# @param TotalCount: 符合过滤条件的内容标识符总数。
|
5230
|
+
# @type TotalCount: Integer
|
5231
|
+
# @param ContentIdentifiers: 内容标识符详细内容列表。
|
5232
|
+
# @type ContentIdentifiers: Array
|
5233
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5234
|
+
# @type RequestId: String
|
5235
|
+
|
5236
|
+
attr_accessor :TotalCount, :ContentIdentifiers, :RequestId
|
5237
|
+
|
5238
|
+
def initialize(totalcount=nil, contentidentifiers=nil, requestid=nil)
|
5239
|
+
@TotalCount = totalcount
|
5240
|
+
@ContentIdentifiers = contentidentifiers
|
5241
|
+
@RequestId = requestid
|
5242
|
+
end
|
5243
|
+
|
5244
|
+
def deserialize(params)
|
5245
|
+
@TotalCount = params['TotalCount']
|
5246
|
+
unless params['ContentIdentifiers'].nil?
|
5247
|
+
@ContentIdentifiers = []
|
5248
|
+
params['ContentIdentifiers'].each do |i|
|
5249
|
+
contentidentifier_tmp = ContentIdentifier.new
|
5250
|
+
contentidentifier_tmp.deserialize(i)
|
5251
|
+
@ContentIdentifiers << contentidentifier_tmp
|
5252
|
+
end
|
5253
|
+
end
|
5254
|
+
@RequestId = params['RequestId']
|
5255
|
+
end
|
5256
|
+
end
|
5257
|
+
|
4951
5258
|
# DescribeContentQuota请求参数结构体
|
4952
5259
|
class DescribeContentQuotaRequest < TencentCloud::Common::AbstractModel
|
4953
5260
|
# @param ZoneId: 站点 ID。
|
@@ -5476,6 +5783,84 @@ module TencentCloud
|
|
5476
5783
|
end
|
5477
5784
|
end
|
5478
5785
|
|
5786
|
+
# DescribeDnsRecords请求参数结构体
|
5787
|
+
class DescribeDnsRecordsRequest < TencentCloud::Common::AbstractModel
|
5788
|
+
# @param ZoneId: 站点 ID。
|
5789
|
+
# @type ZoneId: String
|
5790
|
+
# @param Offset: 分页查询偏移量,默认为 0。
|
5791
|
+
# @type Offset: Integer
|
5792
|
+
# @param Limit: 分页查询限制数目,默认值:20,上限:1000。
|
5793
|
+
# @type Limit: Integer
|
5794
|
+
# @param Filters: 过滤条件,Filters.Values 的上限为20。详细的过滤条件如下:<li>id: 按照 DNS 记录 ID 进行过滤,支持模糊查询;</li><li>name:按照 DNS 记录名称进行过滤,支持模糊查询;</li><li>content:按照 DNS 记录内容进行过滤,支持模糊查询;</li><li>type:按照 DNS 记录类型进行过滤,不支持模糊查询。可选项:<br> A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;<br> AAAA:将域名指向一个外网 IPv6 地址;<br> CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;<br> TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);<br> NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;<br> CAA:指定可为本站点颁发证书的 CA;<br> SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理;<br> MX:指定收件人邮件服务器。</li><li>ttl:按照解析生效时间进行过滤,不支持模糊查询。</li>
|
5795
|
+
# @type Filters: Array
|
5796
|
+
# @param SortBy: 排序依据,取值有:<li>content:DNS 记录内容;</li><li>created-on:DNS 记录创建时间;</li><li>name:DNS 记录名称;</li><li>ttl:缓存时间;</li><li>type:DNS 记录类型。</li>默认根据 type, name 属性组合排序。
|
5797
|
+
# @type SortBy: String
|
5798
|
+
# @param SortOrder: 列表排序方式,取值有:<li>asc:升序排列;</li><li>desc:降序排列。</li>默认值为 asc。
|
5799
|
+
# @type SortOrder: String
|
5800
|
+
# @param Match: 匹配方式,取值有:<li>all:返回匹配所有查询条件的记录;</li><li>any:返回匹配任意一个查询条件的记录。</li>默认值为 all。
|
5801
|
+
# @type Match: String
|
5802
|
+
|
5803
|
+
attr_accessor :ZoneId, :Offset, :Limit, :Filters, :SortBy, :SortOrder, :Match
|
5804
|
+
|
5805
|
+
def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil, sortby=nil, sortorder=nil, match=nil)
|
5806
|
+
@ZoneId = zoneid
|
5807
|
+
@Offset = offset
|
5808
|
+
@Limit = limit
|
5809
|
+
@Filters = filters
|
5810
|
+
@SortBy = sortby
|
5811
|
+
@SortOrder = sortorder
|
5812
|
+
@Match = match
|
5813
|
+
end
|
5814
|
+
|
5815
|
+
def deserialize(params)
|
5816
|
+
@ZoneId = params['ZoneId']
|
5817
|
+
@Offset = params['Offset']
|
5818
|
+
@Limit = params['Limit']
|
5819
|
+
unless params['Filters'].nil?
|
5820
|
+
@Filters = []
|
5821
|
+
params['Filters'].each do |i|
|
5822
|
+
advancedfilter_tmp = AdvancedFilter.new
|
5823
|
+
advancedfilter_tmp.deserialize(i)
|
5824
|
+
@Filters << advancedfilter_tmp
|
5825
|
+
end
|
5826
|
+
end
|
5827
|
+
@SortBy = params['SortBy']
|
5828
|
+
@SortOrder = params['SortOrder']
|
5829
|
+
@Match = params['Match']
|
5830
|
+
end
|
5831
|
+
end
|
5832
|
+
|
5833
|
+
# DescribeDnsRecords返回参数结构体
|
5834
|
+
class DescribeDnsRecordsResponse < TencentCloud::Common::AbstractModel
|
5835
|
+
# @param TotalCount: DNS 记录总数。
|
5836
|
+
# @type TotalCount: Integer
|
5837
|
+
# @param DnsRecords: DNS 记录列表。
|
5838
|
+
# @type DnsRecords: Array
|
5839
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5840
|
+
# @type RequestId: String
|
5841
|
+
|
5842
|
+
attr_accessor :TotalCount, :DnsRecords, :RequestId
|
5843
|
+
|
5844
|
+
def initialize(totalcount=nil, dnsrecords=nil, requestid=nil)
|
5845
|
+
@TotalCount = totalcount
|
5846
|
+
@DnsRecords = dnsrecords
|
5847
|
+
@RequestId = requestid
|
5848
|
+
end
|
5849
|
+
|
5850
|
+
def deserialize(params)
|
5851
|
+
@TotalCount = params['TotalCount']
|
5852
|
+
unless params['DnsRecords'].nil?
|
5853
|
+
@DnsRecords = []
|
5854
|
+
params['DnsRecords'].each do |i|
|
5855
|
+
dnsrecord_tmp = DnsRecord.new
|
5856
|
+
dnsrecord_tmp.deserialize(i)
|
5857
|
+
@DnsRecords << dnsrecord_tmp
|
5858
|
+
end
|
5859
|
+
end
|
5860
|
+
@RequestId = params['RequestId']
|
5861
|
+
end
|
5862
|
+
end
|
5863
|
+
|
5479
5864
|
# DescribeEnvironments请求参数结构体
|
5480
5865
|
class DescribeEnvironmentsRequest < TencentCloud::Common::AbstractModel
|
5481
5866
|
# @param ZoneId: 站点 ID。
|
@@ -7791,6 +8176,74 @@ module TencentCloud
|
|
7791
8176
|
end
|
7792
8177
|
end
|
7793
8178
|
|
8179
|
+
# DNS 记录
|
8180
|
+
class DnsRecord < TencentCloud::Common::AbstractModel
|
8181
|
+
# @param ZoneId: 站点 ID。<br>注意:ZoneId 仅做出参使用,在 ModifyDnsRecords 不可作为入参使用,如有传此参数,会忽略。
|
8182
|
+
# @type ZoneId: String
|
8183
|
+
# @param RecordId: DNS 记录 ID。
|
8184
|
+
# @type RecordId: String
|
8185
|
+
# @param Name: DNS 记录名。
|
8186
|
+
# @type Name: String
|
8187
|
+
# @param Type: DNS 记录类型,取值有:
|
8188
|
+
# <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
|
8189
|
+
# <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
|
8190
|
+
# <li>MX:用于邮箱服务器。存在多条 MX 记录时,优先级越低越优先;</li>
|
8191
|
+
# <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
|
8192
|
+
# <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
|
8193
|
+
# <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
|
8194
|
+
# <li>CAA:指定可为本站点颁发证书的 CA;</li>
|
8195
|
+
# <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
|
8196
|
+
# @type Type: String
|
8197
|
+
# @param Location: DNS 记录解析线路,不指定默认为 Default,表示默认解析线路,代表全部地域生效。<br>解析线路配置仅适用于当 Type(DNS 记录类型)为 A、AAAA、CNAME 时。<br>取值请参考:[解析线路及对应代码枚举](https://cloud.tencent.com/document/product/1552/112542)。
|
8198
|
+
# @type Location: String
|
8199
|
+
# @param Content: DNS 记录内容。根据 Type 值填入与之相对应的内容。
|
8200
|
+
# @type Content: String
|
8201
|
+
# @param TTL: 缓存时间,取值范围 60~86400,数值越小,修改记录各地生效时间越快,单位:秒。
|
8202
|
+
# @type TTL: Integer
|
8203
|
+
# @param Weight: DNS 记录权重,取值范围 -1~100,为 -1 时表示不分配权重,为 0 时表示不解析。权重配置仅适用于当 Type(DNS 记录类型)为 A、AAAA、CNAME 时。
|
8204
|
+
# @type Weight: Integer
|
8205
|
+
# @param Priority: MX 记录优先级,取值范围 0~50,数值越小越优先。
|
8206
|
+
# @type Priority: Integer
|
8207
|
+
# @param Status: DNS 记录解析状态,取值有:<li>enable:已生效;</li><li>disable:已停用。</li>注意:Status 仅做出参使用,在 ModifyDnsRecords 不可作为入参使用,如有传此参数,会忽略。
|
8208
|
+
# @type Status: String
|
8209
|
+
# @param CreatedOn: 创建时间。<br>注意:CreatedOn 仅做出参使用,在 ModifyDnsRecords 不可作为入参使用,如有传此参数,会忽略。
|
8210
|
+
# @type CreatedOn: String
|
8211
|
+
# @param ModifiedOn: 修改时间。<br>注意:ModifiedOn 仅做出参使用,在 ModifyDnsRecords 不可作为入参使用,如有传此参数,会忽略。
|
8212
|
+
# @type ModifiedOn: String
|
8213
|
+
|
8214
|
+
attr_accessor :ZoneId, :RecordId, :Name, :Type, :Location, :Content, :TTL, :Weight, :Priority, :Status, :CreatedOn, :ModifiedOn
|
8215
|
+
|
8216
|
+
def initialize(zoneid=nil, recordid=nil, name=nil, type=nil, location=nil, content=nil, ttl=nil, weight=nil, priority=nil, status=nil, createdon=nil, modifiedon=nil)
|
8217
|
+
@ZoneId = zoneid
|
8218
|
+
@RecordId = recordid
|
8219
|
+
@Name = name
|
8220
|
+
@Type = type
|
8221
|
+
@Location = location
|
8222
|
+
@Content = content
|
8223
|
+
@TTL = ttl
|
8224
|
+
@Weight = weight
|
8225
|
+
@Priority = priority
|
8226
|
+
@Status = status
|
8227
|
+
@CreatedOn = createdon
|
8228
|
+
@ModifiedOn = modifiedon
|
8229
|
+
end
|
8230
|
+
|
8231
|
+
def deserialize(params)
|
8232
|
+
@ZoneId = params['ZoneId']
|
8233
|
+
@RecordId = params['RecordId']
|
8234
|
+
@Name = params['Name']
|
8235
|
+
@Type = params['Type']
|
8236
|
+
@Location = params['Location']
|
8237
|
+
@Content = params['Content']
|
8238
|
+
@TTL = params['TTL']
|
8239
|
+
@Weight = params['Weight']
|
8240
|
+
@Priority = params['Priority']
|
8241
|
+
@Status = params['Status']
|
8242
|
+
@CreatedOn = params['CreatedOn']
|
8243
|
+
@ModifiedOn = params['ModifiedOn']
|
8244
|
+
end
|
8245
|
+
end
|
8246
|
+
|
7794
8247
|
# CNAME 接入,使用 DNS 解析验证时所需的信息。
|
7795
8248
|
class DnsVerification < TencentCloud::Common::AbstractModel
|
7796
8249
|
# @param Subdomain: 主机记录。
|
@@ -10306,6 +10759,42 @@ module TencentCloud
|
|
10306
10759
|
end
|
10307
10760
|
end
|
10308
10761
|
|
10762
|
+
# ModifyContentIdentifier请求参数结构体
|
10763
|
+
class ModifyContentIdentifierRequest < TencentCloud::Common::AbstractModel
|
10764
|
+
# @param ContentId: 内容标识符 ID。
|
10765
|
+
# @type ContentId: String
|
10766
|
+
# @param Description: 内容标识符描述,长度限制不超过 20 个字符。
|
10767
|
+
# @type Description: String
|
10768
|
+
|
10769
|
+
attr_accessor :ContentId, :Description
|
10770
|
+
|
10771
|
+
def initialize(contentid=nil, description=nil)
|
10772
|
+
@ContentId = contentid
|
10773
|
+
@Description = description
|
10774
|
+
end
|
10775
|
+
|
10776
|
+
def deserialize(params)
|
10777
|
+
@ContentId = params['ContentId']
|
10778
|
+
@Description = params['Description']
|
10779
|
+
end
|
10780
|
+
end
|
10781
|
+
|
10782
|
+
# ModifyContentIdentifier返回参数结构体
|
10783
|
+
class ModifyContentIdentifierResponse < TencentCloud::Common::AbstractModel
|
10784
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10785
|
+
# @type RequestId: String
|
10786
|
+
|
10787
|
+
attr_accessor :RequestId
|
10788
|
+
|
10789
|
+
def initialize(requestid=nil)
|
10790
|
+
@RequestId = requestid
|
10791
|
+
end
|
10792
|
+
|
10793
|
+
def deserialize(params)
|
10794
|
+
@RequestId = params['RequestId']
|
10795
|
+
end
|
10796
|
+
end
|
10797
|
+
|
10309
10798
|
# ModifyCustomErrorPage请求参数结构体
|
10310
10799
|
class ModifyCustomErrorPageRequest < TencentCloud::Common::AbstractModel
|
10311
10800
|
# @param PageId: 自定义错误页面 ID。
|
@@ -10358,6 +10847,89 @@ module TencentCloud
|
|
10358
10847
|
end
|
10359
10848
|
end
|
10360
10849
|
|
10850
|
+
# ModifyDnsRecords请求参数结构体
|
10851
|
+
class ModifyDnsRecordsRequest < TencentCloud::Common::AbstractModel
|
10852
|
+
# @param ZoneId: 站点 ID 。
|
10853
|
+
# @type ZoneId: String
|
10854
|
+
# @param DnsRecords: DNS 记录修改数据列表,一次最多修改100条。
|
10855
|
+
# @type DnsRecords: Array
|
10856
|
+
|
10857
|
+
attr_accessor :ZoneId, :DnsRecords
|
10858
|
+
|
10859
|
+
def initialize(zoneid=nil, dnsrecords=nil)
|
10860
|
+
@ZoneId = zoneid
|
10861
|
+
@DnsRecords = dnsrecords
|
10862
|
+
end
|
10863
|
+
|
10864
|
+
def deserialize(params)
|
10865
|
+
@ZoneId = params['ZoneId']
|
10866
|
+
unless params['DnsRecords'].nil?
|
10867
|
+
@DnsRecords = []
|
10868
|
+
params['DnsRecords'].each do |i|
|
10869
|
+
dnsrecord_tmp = DnsRecord.new
|
10870
|
+
dnsrecord_tmp.deserialize(i)
|
10871
|
+
@DnsRecords << dnsrecord_tmp
|
10872
|
+
end
|
10873
|
+
end
|
10874
|
+
end
|
10875
|
+
end
|
10876
|
+
|
10877
|
+
# ModifyDnsRecords返回参数结构体
|
10878
|
+
class ModifyDnsRecordsResponse < TencentCloud::Common::AbstractModel
|
10879
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10880
|
+
# @type RequestId: String
|
10881
|
+
|
10882
|
+
attr_accessor :RequestId
|
10883
|
+
|
10884
|
+
def initialize(requestid=nil)
|
10885
|
+
@RequestId = requestid
|
10886
|
+
end
|
10887
|
+
|
10888
|
+
def deserialize(params)
|
10889
|
+
@RequestId = params['RequestId']
|
10890
|
+
end
|
10891
|
+
end
|
10892
|
+
|
10893
|
+
# ModifyDnsRecordsStatus请求参数结构体
|
10894
|
+
class ModifyDnsRecordsStatusRequest < TencentCloud::Common::AbstractModel
|
10895
|
+
# @param ZoneId: 站点 ID。
|
10896
|
+
# @type ZoneId: String
|
10897
|
+
# @param RecordsToEnable: 待启用的 DNS 记录 ID 列表,上限:200。<br>注意:同个 DNS 记录 ID 不能同时存在于 RecordsToEnable 和 RecordsToDisable。
|
10898
|
+
# @type RecordsToEnable: Array
|
10899
|
+
# @param RecordsToDisable: 待停用的 DNS 记录 ID 列表,上限:200。<br>注意:同个 DNS 记录 ID 不能同时存在于 RecordsToEnable 和 RecordsToDisable。
|
10900
|
+
# @type RecordsToDisable: Array
|
10901
|
+
|
10902
|
+
attr_accessor :ZoneId, :RecordsToEnable, :RecordsToDisable
|
10903
|
+
|
10904
|
+
def initialize(zoneid=nil, recordstoenable=nil, recordstodisable=nil)
|
10905
|
+
@ZoneId = zoneid
|
10906
|
+
@RecordsToEnable = recordstoenable
|
10907
|
+
@RecordsToDisable = recordstodisable
|
10908
|
+
end
|
10909
|
+
|
10910
|
+
def deserialize(params)
|
10911
|
+
@ZoneId = params['ZoneId']
|
10912
|
+
@RecordsToEnable = params['RecordsToEnable']
|
10913
|
+
@RecordsToDisable = params['RecordsToDisable']
|
10914
|
+
end
|
10915
|
+
end
|
10916
|
+
|
10917
|
+
# ModifyDnsRecordsStatus返回参数结构体
|
10918
|
+
class ModifyDnsRecordsStatusResponse < TencentCloud::Common::AbstractModel
|
10919
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
10920
|
+
# @type RequestId: String
|
10921
|
+
|
10922
|
+
attr_accessor :RequestId
|
10923
|
+
|
10924
|
+
def initialize(requestid=nil)
|
10925
|
+
@RequestId = requestid
|
10926
|
+
end
|
10927
|
+
|
10928
|
+
def deserialize(params)
|
10929
|
+
@RequestId = params['RequestId']
|
10930
|
+
end
|
10931
|
+
end
|
10932
|
+
|
10361
10933
|
# ModifyFunction请求参数结构体
|
10362
10934
|
class ModifyFunctionRequest < TencentCloud::Common::AbstractModel
|
10363
10935
|
# @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.
|
4
|
+
version: 3.0.966
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|