tencentcloud-sdk-teo 3.0.666 → 3.0.667

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 525699b188d59a3c6d28d81f5fc6864ee421564b
4
- data.tar.gz: 3e2a5721284899c74119ae52d3d6a463ab3a93e1
3
+ metadata.gz: 80ed82c316d3a6e76130ede1191b8ac8c8fba4b3
4
+ data.tar.gz: 325401628e072ea9cc8f300e0b784ecb5bb54c69
5
5
  SHA512:
6
- metadata.gz: 10d05f16f423a286d0381901c0638cdd1c3df9b3b024c1d225abc640bdab435731f3f363e5ddf25efb80a18ec57dc80a00c72f007236cf6bfd04b14a14551ed6
7
- data.tar.gz: 5ea4aba7baab1f0fadc54e20fc9c6cf6b114fa626d0c2bb75bebfb605927298812cfd8d6c61ddd186711217d68fbb9eb2d3e842e4c25cc95f38f0a12a750cc42
6
+ metadata.gz: f851058056e38e119377a22953d46c76bb958c2e0aa06cc768f8e9b28161168be66ce82458ef52a834977c58756df5fb310b4fd8946d4cd81da05f17160a123f
7
+ data.tar.gz: c3abae08b64214fcbaceff92be547c4165918c06b655fe1a68d9b21480904edcb4b1d01cfc25a365956af2bc8ad64c941e1dd32510ec8f11ee611dd434998cb9
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.666
1
+ 3.0.667
@@ -77,7 +77,9 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 创建加速域名
80
+ # 在创建完站点之后,您可以通过本接口创建加速域名。
81
+
82
+ # CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
81
83
 
82
84
  # @param request: Request instance for CreateAccelerationDomain.
83
85
  # @type request: :class:`Tencentcloud::teo::V20220901::CreateAccelerationDomainRequest`
@@ -343,7 +345,9 @@ module TencentCloud
343
345
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
344
346
  end
345
347
 
346
- # 用于用户接入新的站点。
348
+ # EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
349
+
350
+ # > 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
347
351
 
348
352
  # @param request: Request instance for CreateZone.
349
353
  # @type request: :class:`Tencentcloud::teo::V20220901::CreateZoneRequest`
@@ -559,7 +563,7 @@ module TencentCloud
559
563
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
560
564
  end
561
565
 
562
- # 查询加速域名列表,支持搜索、分页、排序、过滤。
566
+ # 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
563
567
 
564
568
  # @param request: Request instance for DescribeAccelerationDomains.
565
569
  # @type request: :class:`Tencentcloud::teo::V20220901::DescribeAccelerationDomainsRequest`
@@ -1135,7 +1139,7 @@ module TencentCloud
1135
1139
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1136
1140
  end
1137
1141
 
1138
- # 用户查询用户站点信息列表,支持分页。
1142
+ # 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
1139
1143
 
1140
1144
  # @param request: Request instance for DescribeZones.
1141
1145
  # @type request: :class:`Tencentcloud::teo::V20220901::DescribeZonesRequest`
@@ -1423,7 +1427,9 @@ module TencentCloud
1423
1427
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1424
1428
  end
1425
1429
 
1426
- # 用于修改域名证书
1430
+ # 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
1431
+ # 如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
1432
+ # ](https://cloud.tencent.com/document/product/1552/88874)。
1427
1433
 
1428
1434
  # @param request: Request instance for ModifyHostsCertificate.
1429
1435
  # @type request: :class:`Tencentcloud::teo::V20220901::ModifyHostsCertificateRequest`
@@ -55,17 +55,10 @@ module TencentCloud
55
55
 
56
56
  # 加速域名
57
57
  class AccelerationDomain < TencentCloud::Common::AbstractModel
58
- # @param OriginDetail: 源站信息。
59
- # 注意:此字段可能返回 null,表示取不到有效值。
60
- # @type OriginDetail: :class:`Tencentcloud::Teo.v20220901.models.OriginDetail`
61
- # @param CreatedOn: 创建时间。
62
- # @type CreatedOn: String
63
- # @param DomainName: 加速域名名称。
64
- # @type DomainName: String
65
- # @param ModifiedOn: 修改时间。
66
- # @type ModifiedOn: String
67
58
  # @param ZoneId: 站点 ID。
68
59
  # @type ZoneId: String
60
+ # @param DomainName: 加速域名名称。
61
+ # @type DomainName: String
69
62
  # @param DomainStatus: 加速域名状态,取值有:
70
63
  # <li>online:已生效;</li>
71
64
  # <li>process:部署中;</li>
@@ -73,37 +66,52 @@ module TencentCloud
73
66
  # <li>forbidden:已封禁;</li>
74
67
  # <li>init:未生效,待激活站点;</li>
75
68
  # @type DomainStatus: String
69
+ # @param OriginDetail: 源站信息。
70
+ # 注意:此字段可能返回 null,表示取不到有效值。
71
+ # @type OriginDetail: :class:`Tencentcloud::Teo.v20220901.models.OriginDetail`
76
72
  # @param Cname: CNAME 地址。
77
73
  # @type Cname: String
78
74
  # @param IdentificationStatus: 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li>
79
75
  # 注意:此字段可能返回 null,表示取不到有效值。
80
76
  # @type IdentificationStatus: String
77
+ # @param CreatedOn: 创建时间。
78
+ # @type CreatedOn: String
79
+ # @param ModifiedOn: 修改时间。
80
+ # @type ModifiedOn: String
81
+ # @param OwnershipVerification: 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。
82
+ # 注意:此字段可能返回 null,表示取不到有效值。
83
+ # @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
81
84
 
82
- attr_accessor :OriginDetail, :CreatedOn, :DomainName, :ModifiedOn, :ZoneId, :DomainStatus, :Cname, :IdentificationStatus
85
+ attr_accessor :ZoneId, :DomainName, :DomainStatus, :OriginDetail, :Cname, :IdentificationStatus, :CreatedOn, :ModifiedOn, :OwnershipVerification
83
86
 
84
- def initialize(origindetail=nil, createdon=nil, domainname=nil, modifiedon=nil, zoneid=nil, domainstatus=nil, cname=nil, identificationstatus=nil)
85
- @OriginDetail = origindetail
86
- @CreatedOn = createdon
87
- @DomainName = domainname
88
- @ModifiedOn = modifiedon
87
+ def initialize(zoneid=nil, domainname=nil, domainstatus=nil, origindetail=nil, cname=nil, identificationstatus=nil, createdon=nil, modifiedon=nil, ownershipverification=nil)
89
88
  @ZoneId = zoneid
89
+ @DomainName = domainname
90
90
  @DomainStatus = domainstatus
91
+ @OriginDetail = origindetail
91
92
  @Cname = cname
92
93
  @IdentificationStatus = identificationstatus
94
+ @CreatedOn = createdon
95
+ @ModifiedOn = modifiedon
96
+ @OwnershipVerification = ownershipverification
93
97
  end
94
98
 
95
99
  def deserialize(params)
100
+ @ZoneId = params['ZoneId']
101
+ @DomainName = params['DomainName']
102
+ @DomainStatus = params['DomainStatus']
96
103
  unless params['OriginDetail'].nil?
97
104
  @OriginDetail = OriginDetail.new
98
105
  @OriginDetail.deserialize(params['OriginDetail'])
99
106
  end
100
- @CreatedOn = params['CreatedOn']
101
- @DomainName = params['DomainName']
102
- @ModifiedOn = params['ModifiedOn']
103
- @ZoneId = params['ZoneId']
104
- @DomainStatus = params['DomainStatus']
105
107
  @Cname = params['Cname']
106
108
  @IdentificationStatus = params['IdentificationStatus']
109
+ @CreatedOn = params['CreatedOn']
110
+ @ModifiedOn = params['ModifiedOn']
111
+ unless params['OwnershipVerification'].nil?
112
+ @OwnershipVerification = OwnershipVerification.new
113
+ @OwnershipVerification.deserialize(params['OwnershipVerification'])
114
+ end
107
115
  end
108
116
  end
109
117
 
@@ -1515,9 +1523,9 @@ module TencentCloud
1515
1523
 
1516
1524
  # CreateAccelerationDomain请求参数结构体
1517
1525
  class CreateAccelerationDomainRequest < TencentCloud::Common::AbstractModel
1518
- # @param ZoneId: 加速域名所属站点ID。
1526
+ # @param ZoneId: 加速域名所属站点 ID。
1519
1527
  # @type ZoneId: String
1520
- # @param DomainName: 加速域名名称。
1528
+ # @param DomainName: 加速域名。
1521
1529
  # @type DomainName: String
1522
1530
  # @param OriginInfo: 源站信息。
1523
1531
  # @type OriginInfo: :class:`Tencentcloud::Teo.v20220901.models.OriginInfo`
@@ -1542,16 +1550,24 @@ module TencentCloud
1542
1550
 
1543
1551
  # CreateAccelerationDomain返回参数结构体
1544
1552
  class CreateAccelerationDomainResponse < TencentCloud::Common::AbstractModel
1553
+ # @param OwnershipVerification: 当您的站点未进行归属权验证时,您可通过该参数返回的信息单独对域名进行归属权校验。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
1554
+ # 注意:此字段可能返回 null,表示取不到有效值。
1555
+ # @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
1545
1556
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1546
1557
  # @type RequestId: String
1547
1558
 
1548
- attr_accessor :RequestId
1559
+ attr_accessor :OwnershipVerification, :RequestId
1549
1560
 
1550
- def initialize(requestid=nil)
1561
+ def initialize(ownershipverification=nil, requestid=nil)
1562
+ @OwnershipVerification = ownershipverification
1551
1563
  @RequestId = requestid
1552
1564
  end
1553
1565
 
1554
1566
  def deserialize(params)
1567
+ unless params['OwnershipVerification'].nil?
1568
+ @OwnershipVerification = OwnershipVerification.new
1569
+ @OwnershipVerification.deserialize(params['OwnershipVerification'])
1570
+ end
1555
1571
  @RequestId = params['RequestId']
1556
1572
  end
1557
1573
  end
@@ -2214,39 +2230,55 @@ module TencentCloud
2214
2230
 
2215
2231
  # CreateZone请求参数结构体
2216
2232
  class CreateZoneRequest < TencentCloud::Common::AbstractModel
2217
- # @param ZoneName: 站点名称。
2218
- # @type ZoneName: String
2219
- # @param Type: 接入方式,取值有:
2220
- # <li> full:NS接入;</li>
2221
- # <li> partial:CNAME接入,请先调用认证站点API(IdentifyZone)进行站点归属权校验,校验通过后继续调用本接口创建站点;<li>noDomainAccess:无域名接入,取此值时仅Tags字段有效。</li>
2222
- # </li>不填写使用默认值full。
2233
+ # @param Type: 站点接入类型。该参数取值如下,不填写时默认为 partial:
2234
+ # <li>partial:CNAME 接入;</li>
2235
+ # <li> full:NS 接入;</li>
2236
+ # <li>noDomainAccess:无域名接入。</li>
2223
2237
  # @type Type: String
2224
- # @param JumpStart: 是否跳过站点现有的DNS记录扫描。默认值:false。
2225
- # @type JumpStart: Boolean
2226
- # @param Tags: 资源标签。
2238
+ # @param ZoneName: 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。
2239
+ # @type ZoneName: String
2240
+ # @param Area: Type 取值为 partial/full 时,七层域名的加速区域。以下为该参数取值,不填写时该值默认为 overseas。Type 取值为 noDomainAccess 时该值请保留为空:
2241
+ # <li> global: 全球可用区;</li>
2242
+ # <li> mainland: 中国大陆可用区;</li>
2243
+ # <li> overseas: 全球可用区(不含中国大陆)。</li>
2244
+ # @type Area: String
2245
+ # @param PlanId: 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
2246
+ # @type PlanId: String
2247
+ # @param AliasZoneName: 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](),无此使用场景时,该字段保留为空即可。
2248
+ # @type AliasZoneName: String
2249
+ # @param Tags: 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。
2227
2250
  # @type Tags: Array
2228
2251
  # @param AllowDuplicates: 是否允许重复接入。
2229
2252
  # <li> true:允许重复接入;</li>
2230
2253
  # <li> false:不允许重复接入。</li>不填写使用默认值false。
2231
2254
  # @type AllowDuplicates: Boolean
2232
- # @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
2233
- # @type AliasZoneName: String
2255
+ # @param JumpStart: 是否跳过站点现有的DNS记录扫描。默认值:false。
2256
+ # @type JumpStart: Boolean
2234
2257
 
2235
- attr_accessor :ZoneName, :Type, :JumpStart, :Tags, :AllowDuplicates, :AliasZoneName
2258
+ attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
2259
+ extend Gem::Deprecate
2260
+ deprecate :AllowDuplicates, :none, 2023, 9
2261
+ deprecate :AllowDuplicates=, :none, 2023, 9
2262
+ deprecate :JumpStart, :none, 2023, 9
2263
+ deprecate :JumpStart=, :none, 2023, 9
2236
2264
 
2237
- def initialize(zonename=nil, type=nil, jumpstart=nil, tags=nil, allowduplicates=nil, aliaszonename=nil)
2238
- @ZoneName = zonename
2265
+ def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
2239
2266
  @Type = type
2240
- @JumpStart = jumpstart
2267
+ @ZoneName = zonename
2268
+ @Area = area
2269
+ @PlanId = planid
2270
+ @AliasZoneName = aliaszonename
2241
2271
  @Tags = tags
2242
2272
  @AllowDuplicates = allowduplicates
2243
- @AliasZoneName = aliaszonename
2273
+ @JumpStart = jumpstart
2244
2274
  end
2245
2275
 
2246
2276
  def deserialize(params)
2247
- @ZoneName = params['ZoneName']
2248
2277
  @Type = params['Type']
2249
- @JumpStart = params['JumpStart']
2278
+ @ZoneName = params['ZoneName']
2279
+ @Area = params['Area']
2280
+ @PlanId = params['PlanId']
2281
+ @AliasZoneName = params['AliasZoneName']
2250
2282
  unless params['Tags'].nil?
2251
2283
  @Tags = []
2252
2284
  params['Tags'].each do |i|
@@ -2256,26 +2288,40 @@ module TencentCloud
2256
2288
  end
2257
2289
  end
2258
2290
  @AllowDuplicates = params['AllowDuplicates']
2259
- @AliasZoneName = params['AliasZoneName']
2291
+ @JumpStart = params['JumpStart']
2260
2292
  end
2261
2293
  end
2262
2294
 
2263
2295
  # CreateZone返回参数结构体
2264
2296
  class CreateZoneResponse < TencentCloud::Common::AbstractModel
2265
- # @param ZoneId: 站点ID。
2297
+ # @param ZoneId: 站点 ID。
2266
2298
  # @type ZoneId: String
2299
+ # @param OwnershipVerification: 站点归属权验证信息。站点完成创建后,您还需要完成归属权校验,站点才能正常服务。
2300
+
2301
+ # Type = partial 时,您需要参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 前往您的域名解析服务商添加 TXT 记录或者前往根域名服务器添加文件,再调用接口 [VerifyOwnership]() 完成验证;
2302
+
2303
+ # Type = full 时,您需要参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452) 切换 DNS 服务器即可,可通过接口 [VerifyOwnership]() 查询 DNS 是否切换成功;
2304
+
2305
+ # Type = noDomainAccess 时,该值为空,不需要进行任何操作。
2306
+ # 注意:此字段可能返回 null,表示取不到有效值。
2307
+ # @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
2267
2308
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2268
2309
  # @type RequestId: String
2269
2310
 
2270
- attr_accessor :ZoneId, :RequestId
2311
+ attr_accessor :ZoneId, :OwnershipVerification, :RequestId
2271
2312
 
2272
- def initialize(zoneid=nil, requestid=nil)
2313
+ def initialize(zoneid=nil, ownershipverification=nil, requestid=nil)
2273
2314
  @ZoneId = zoneid
2315
+ @OwnershipVerification = ownershipverification
2274
2316
  @RequestId = requestid
2275
2317
  end
2276
2318
 
2277
2319
  def deserialize(params)
2278
2320
  @ZoneId = params['ZoneId']
2321
+ unless params['OwnershipVerification'].nil?
2322
+ @OwnershipVerification = OwnershipVerification.new
2323
+ @OwnershipVerification.deserialize(params['OwnershipVerification'])
2324
+ end
2279
2325
  @RequestId = params['RequestId']
2280
2326
  end
2281
2327
  end
@@ -2755,48 +2801,49 @@ module TencentCloud
2755
2801
 
2756
2802
  # DescribeAccelerationDomains请求参数结构体
2757
2803
  class DescribeAccelerationDomainsRequest < TencentCloud::Common::AbstractModel
2758
- # @param ZoneId: 加速域名所属站点ID。
2804
+ # @param ZoneId: 加速域名所属站点 ID。
2759
2805
  # @type ZoneId: String
2760
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
2761
- # <li>domain-name<br>   按照【<strong>加速域名名称</strong>】进行过滤。<br>   类型:String<br>   必选:否
2762
- # <li>origin-type<br>   按照【<strong>源站类型</strong>】进行过滤。<br>   类型:String<br>   必选:否
2763
- # <li>origin<br>   按照【<strong>主源站地址</strong>】进行过滤。<br>   类型:String<br>   必选:否
2764
- # <li>backup-origin<br>   按照【<strong>备用源站地址</strong>】进行过滤。<br>   类型:String<br>   必选:否
2765
- # <li>domain-cname<br>   按照【<strong>加速CNAME名</strong>】进行过滤。<br>   类型:String<br>   必选:否
2766
- # <li>share-cname<br>   按照【<strong>共享CNAME名</strong>】进行过滤。<br>   类型:String<br>   必选:否
2806
+ # @param Offset: 分页查询偏移量,默认为 0。
2807
+ # @type Offset: Integer
2808
+ # @param Limit: 分页查询限制数目,默认值:20,上限:200。
2809
+ # @type Limit: Integer
2810
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有域名信息。详细的过滤条件如下:
2811
+ # <li>domain-name:按照加速域名进行过滤;</li>
2812
+ # <li>origin-type:按照源站类型进行过滤;</li>
2813
+ # <li>origin:按照主源站地址进行过滤;</li>
2814
+ # <li>backup-origin: 按照备用源站地址进行过滤;</li>
2815
+ # <li>domain-cname:按照 CNAME 进行过滤;</li>
2816
+ # <li>share-cname:按照共享 CNAME 进行过滤;</li>
2767
2817
  # @type Filters: Array
2768
- # @param Direction: 列表排序方式,取值有:
2818
+ # @param Order: 可根据该字段对返回结果进行排序,取值有:
2819
+ # <li>created_on:加速域名创建时间;</li>
2820
+ # <li>domain-name:加速域名。</li>不填写时,默认对返回结果按照 domain-name 排序。
2821
+ # @type Order: String
2822
+ # @param Direction: 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有:
2769
2823
  # <li>asc:升序排列;</li>
2770
- # <li>desc:降序排列。</li>默认值为asc。
2824
+ # <li>desc:降序排列。</li>不填写使用默认值 asc。
2771
2825
  # @type Direction: String
2772
2826
  # @param Match: 匹配方式,取值有:
2773
2827
  # <li>all:返回匹配所有查询条件的加速域名;</li>
2774
- # <li>any:返回匹配任意一个查询条件的加速域名。</li>默认值为all。
2828
+ # <li>any:返回匹配任意一个查询条件的加速域名。</li>不填写时默认值为 all。
2775
2829
  # @type Match: String
2776
- # @param Limit: 分页查询限制数目,默认值:20,上限:200。
2777
- # @type Limit: Integer
2778
- # @param Offset: 分页查询偏移量,默认为 0。
2779
- # @type Offset: Integer
2780
- # @param Order: 排序依据,取值有:
2781
- # <li>created_on:加速域名创建时间;</li>
2782
- # <li>domain-name:加速域名名称;</li>
2783
- # </li>默认根据domain-name属性排序。
2784
- # @type Order: String
2785
2830
 
2786
- attr_accessor :ZoneId, :Filters, :Direction, :Match, :Limit, :Offset, :Order
2831
+ attr_accessor :ZoneId, :Offset, :Limit, :Filters, :Order, :Direction, :Match
2787
2832
 
2788
- def initialize(zoneid=nil, filters=nil, direction=nil, match=nil, limit=nil, offset=nil, order=nil)
2833
+ def initialize(zoneid=nil, offset=nil, limit=nil, filters=nil, order=nil, direction=nil, match=nil)
2789
2834
  @ZoneId = zoneid
2835
+ @Offset = offset
2836
+ @Limit = limit
2790
2837
  @Filters = filters
2838
+ @Order = order
2791
2839
  @Direction = direction
2792
2840
  @Match = match
2793
- @Limit = limit
2794
- @Offset = offset
2795
- @Order = order
2796
2841
  end
2797
2842
 
2798
2843
  def deserialize(params)
2799
2844
  @ZoneId = params['ZoneId']
2845
+ @Offset = params['Offset']
2846
+ @Limit = params['Limit']
2800
2847
  unless params['Filters'].nil?
2801
2848
  @Filters = []
2802
2849
  params['Filters'].each do |i|
@@ -2805,19 +2852,17 @@ module TencentCloud
2805
2852
  @Filters << advancedfilter_tmp
2806
2853
  end
2807
2854
  end
2855
+ @Order = params['Order']
2808
2856
  @Direction = params['Direction']
2809
2857
  @Match = params['Match']
2810
- @Limit = params['Limit']
2811
- @Offset = params['Offset']
2812
- @Order = params['Order']
2813
2858
  end
2814
2859
  end
2815
2860
 
2816
2861
  # DescribeAccelerationDomains返回参数结构体
2817
2862
  class DescribeAccelerationDomainsResponse < TencentCloud::Common::AbstractModel
2818
- # @param TotalCount: 加速域名总数。
2863
+ # @param TotalCount: 符合查询条件的加速域名个数。
2819
2864
  # @type TotalCount: Integer
2820
- # @param AccelerationDomains: 加速域名列表。
2865
+ # @param AccelerationDomains: 符合查询条件的所有加速域名的信息。
2821
2866
  # @type AccelerationDomains: Array
2822
2867
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2823
2868
  # @type RequestId: String
@@ -4591,22 +4636,22 @@ module TencentCloud
4591
4636
  class DescribeZonesRequest < TencentCloud::Common::AbstractModel
4592
4637
  # @param Offset: 分页查询偏移量。默认值:0。
4593
4638
  # @type Offset: Integer
4594
- # @param Limit: 分页查询限制数目。默认值:20,最大值:1000
4639
+ # @param Limit: 分页查询限制数目。默认值:20,最大值:100
4595
4640
  # @type Limit: Integer
4596
- # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
4597
- # <li>zone-name<br>   按照【<strong>站点名称</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>zone-id<br>   按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br>   类型:String<br>   必选:否</li><li>status<br>   按照【<strong>站点状态</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>tag-key<br>   按照【<strong>标签键</strong>】进行过滤。<br>   类型:String<br>   必选:否</li><li>tag-value<br>   按照【<strong>标签值</strong>】进行过滤。<br>   类型:String<br>   必选:否</li>模糊查询时仅支持过滤字段名为zone-name。
4641
+ # @param Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下:
4642
+ # <li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID进行过滤。站点 ID 形如:zone-2noz78a8ev6k;</li><li>status:按照站点状态进行过滤;</li><li>tag-key:按照标签键进行过滤;</li><li>tag-value: 按照标签值进行过滤。</li>模糊查询时仅支持过滤字段名为 zone-name。
4598
4643
  # @type Filters: Array
4599
- # @param Order: 排序字段,取值有:
4644
+ # @param Order: 可根据该字段对返回结果进行排序,取值有:
4600
4645
  # <li> type:接入类型;</li>
4601
4646
  # <li> area:加速区域;</li>
4602
4647
  # <li> create-time:创建时间;</li>
4603
4648
  # <li> zone-name:站点名称;</li>
4604
4649
  # <li> use-time:最近使用时间;</li>
4605
- # <li> active-status:生效状态。</li>不填写使用默认值create-time
4650
+ # <li> active-status:生效状态。</li>不填写时对返回结果默认按照 create-time 排序。
4606
4651
  # @type Order: String
4607
- # @param Direction: 排序方向,取值有:
4652
+ # @param Direction: 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有:
4608
4653
  # <li> asc:从小到大排序;</li>
4609
- # <li> desc:从大到小排序。</li>不填写使用默认值desc。
4654
+ # <li> desc:从大到小排序。</li>不填写使用默认值 desc。
4610
4655
  # @type Direction: String
4611
4656
 
4612
4657
  attr_accessor :Offset, :Limit, :Filters, :Order, :Direction
@@ -4639,7 +4684,7 @@ module TencentCloud
4639
4684
  class DescribeZonesResponse < TencentCloud::Common::AbstractModel
4640
4685
  # @param TotalCount: 符合条件的站点个数。
4641
4686
  # @type TotalCount: Integer
4642
- # @param Zones: 站点详细信息列表。
4687
+ # @param Zones: 站点详细信息。
4643
4688
  # @type Zones: Array
4644
4689
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4645
4690
  # @type RequestId: String
@@ -4868,6 +4913,30 @@ module TencentCloud
4868
4913
  end
4869
4914
  end
4870
4915
 
4916
+ # CNAME 接入,使用 DNS 解析验证时所需的信息。
4917
+ class DnsVerification < TencentCloud::Common::AbstractModel
4918
+ # @param Subdomain: 主机记录。
4919
+ # @type Subdomain: String
4920
+ # @param RecordType: 记录类型。
4921
+ # @type RecordType: String
4922
+ # @param RecordValue: 记录值。
4923
+ # @type RecordValue: String
4924
+
4925
+ attr_accessor :Subdomain, :RecordType, :RecordValue
4926
+
4927
+ def initialize(subdomain=nil, recordtype=nil, recordvalue=nil)
4928
+ @Subdomain = subdomain
4929
+ @RecordType = recordtype
4930
+ @RecordValue = recordvalue
4931
+ end
4932
+
4933
+ def deserialize(params)
4934
+ @Subdomain = params['Subdomain']
4935
+ @RecordType = params['RecordType']
4936
+ @RecordValue = params['RecordValue']
4937
+ end
4938
+ end
4939
+
4871
4940
  # DownloadL4Logs请求参数结构体
4872
4941
  class DownloadL4LogsRequest < TencentCloud::Common::AbstractModel
4873
4942
  # @param StartTime: 开始时间。
@@ -5303,6 +5372,26 @@ module TencentCloud
5303
5372
  end
5304
5373
  end
5305
5374
 
5375
+ # CNAME 接入,使用文件验证时所需的信息。
5376
+ class FileVerification < TencentCloud::Common::AbstractModel
5377
+ # @param Path: EdgeOne 后台服务器将通过 Scheme + Host + URL Path 的格式(例如 https://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。该字段为您需要创建的 URL Path 部分。
5378
+ # @type Path: String
5379
+ # @param Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
5380
+ # @type Content: String
5381
+
5382
+ attr_accessor :Path, :Content
5383
+
5384
+ def initialize(path=nil, content=nil)
5385
+ @Path = path
5386
+ @Content = content
5387
+ end
5388
+
5389
+ def deserialize(params)
5390
+ @Path = params['Path']
5391
+ @Content = params['Content']
5392
+ end
5393
+ end
5394
+
5306
5395
  # 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等。
5307
5396
  # 若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
5308
5397
  # 若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
@@ -6431,20 +6520,30 @@ module TencentCloud
6431
6520
  class ModifyHostsCertificateRequest < TencentCloud::Common::AbstractModel
6432
6521
  # @param ZoneId: 站点 ID。
6433
6522
  # @type ZoneId: String
6434
- # @param Hosts: 本次变更的域名列表。
6523
+ # @param Hosts: 需要修改证书配置的加速域名。
6435
6524
  # @type Hosts: Array
6436
- # @param ServerCertInfo: 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。
6525
+ # @param Mode: 配置证书的模式,取值有:
6526
+ # <li>disable:不配置证书;</li>
6527
+ # <li>eofreecert:配置 EdgeOne 免费证书;</li>
6528
+ # <li>sslcert:配置 SSL 证书。</li>不填时默认取值为 disable。
6529
+ # @type Mode: String
6530
+ # @param ServerCertInfo: SSL 证书配置,本参数仅在 mode = sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/certoverview) 查看 CertId。
6437
6531
  # @type ServerCertInfo: Array
6438
6532
  # @param ApplyType: 托管类型,取值有:
6439
- # <li>apply:托管EO;</li>
6440
- # <li>none:不托管EO;</li>不填,默认取值为none。
6533
+ # <li>none:不托管EO;</li>
6534
+ # <li>apply:托管EO</li>
6535
+ # 不填,默认取值为none。
6441
6536
  # @type ApplyType: String
6442
6537
 
6443
- attr_accessor :ZoneId, :Hosts, :ServerCertInfo, :ApplyType
6538
+ attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
6539
+ extend Gem::Deprecate
6540
+ deprecate :ApplyType, :none, 2023, 9
6541
+ deprecate :ApplyType=, :none, 2023, 9
6444
6542
 
6445
- def initialize(zoneid=nil, hosts=nil, servercertinfo=nil, applytype=nil)
6543
+ def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
6446
6544
  @ZoneId = zoneid
6447
6545
  @Hosts = hosts
6546
+ @Mode = mode
6448
6547
  @ServerCertInfo = servercertinfo
6449
6548
  @ApplyType = applytype
6450
6549
  end
@@ -6452,6 +6551,7 @@ module TencentCloud
6452
6551
  def deserialize(params)
6453
6552
  @ZoneId = params['ZoneId']
6454
6553
  @Hosts = params['Hosts']
6554
+ @Mode = params['Mode']
6455
6555
  unless params['ServerCertInfo'].nil?
6456
6556
  @ServerCertInfo = []
6457
6557
  params['ServerCertInfo'].each do |i|
@@ -7042,6 +7142,22 @@ module TencentCloud
7042
7142
  end
7043
7143
  end
7044
7144
 
7145
+ # NS 接入,切换 DNS 服务器所需的信息。
7146
+ class NsVerification < TencentCloud::Common::AbstractModel
7147
+ # @param NameServers: NS 接入时,分配给用户的 DNS 服务器地址,需要将域名的 NameServer 切换至该地址。
7148
+ # @type NameServers: Array
7149
+
7150
+ attr_accessor :NameServers
7151
+
7152
+ def initialize(nameservers=nil)
7153
+ @NameServers = nameservers
7154
+ end
7155
+
7156
+ def deserialize(params)
7157
+ @NameServers = params['NameServers']
7158
+ end
7159
+ end
7160
+
7045
7161
  # 离线缓存是否开启
7046
7162
  class OfflineCache < TencentCloud::Common::AbstractModel
7047
7163
  # @param Switch: 离线缓存是否开启,取值有:
@@ -7386,6 +7502,44 @@ module TencentCloud
7386
7502
  end
7387
7503
  end
7388
7504
 
7505
+ # 该结构体表示各种场景、模式下,用于验证用户对站点域名的归属权内容。
7506
+ class OwnershipVerification < TencentCloud::Common::AbstractModel
7507
+ # @param DnsVerification: CNAME 接入,使用 DNS 解析验证时所需的信息。详情参考 [站点/域名归属权验证
7508
+ # ](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
7509
+ # 注意:此字段可能返回 null,表示取不到有效值。
7510
+ # @type DnsVerification: :class:`Tencentcloud::Teo.v20220901.models.DnsVerification`
7511
+ # @param FileVerification: CNAME 接入,使用文件验证时所需的信息。详情参考 [站点/域名归属权验证
7512
+ # ](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。
7513
+ # 注意:此字段可能返回 null,表示取不到有效值。
7514
+ # @type FileVerification: :class:`Tencentcloud::Teo.v20220901.models.FileVerification`
7515
+ # @param NsVerification: NS 接入,切换 DNS 服务器所需的信息。详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
7516
+ # 注意:此字段可能返回 null,表示取不到有效值。
7517
+ # @type NsVerification: :class:`Tencentcloud::Teo.v20220901.models.NsVerification`
7518
+
7519
+ attr_accessor :DnsVerification, :FileVerification, :NsVerification
7520
+
7521
+ def initialize(dnsverification=nil, fileverification=nil, nsverification=nil)
7522
+ @DnsVerification = dnsverification
7523
+ @FileVerification = fileverification
7524
+ @NsVerification = nsverification
7525
+ end
7526
+
7527
+ def deserialize(params)
7528
+ unless params['DnsVerification'].nil?
7529
+ @DnsVerification = DnsVerification.new
7530
+ @DnsVerification.deserialize(params['DnsVerification'])
7531
+ end
7532
+ unless params['FileVerification'].nil?
7533
+ @FileVerification = FileVerification.new
7534
+ @FileVerification.deserialize(params['FileVerification'])
7535
+ end
7536
+ unless params['NsVerification'].nil?
7537
+ @NsVerification = NsVerification.new
7538
+ @NsVerification.deserialize(params['NsVerification'])
7539
+ end
7540
+ end
7541
+ end
7542
+
7389
7543
  # 例外规则的详细模块配置。
7390
7544
  class PartialModule < TencentCloud::Common::AbstractModel
7391
7545
  # @param Module: 模块名称,取值为:
@@ -9397,7 +9551,7 @@ module TencentCloud
9397
9551
 
9398
9552
  # 站点信息
9399
9553
  class Zone < TencentCloud::Common::AbstractModel
9400
- # @param ZoneId: 站点ID。
9554
+ # @param ZoneId: 站点 ID。
9401
9555
  # @type ZoneId: String
9402
9556
  # @param ZoneName: 站点名称。
9403
9557
  # @type ZoneName: String
@@ -9410,11 +9564,13 @@ module TencentCloud
9410
9564
  # <li> pending:NS 未切换;</li>
9411
9565
  # <li> moved:NS 已切走;</li>
9412
9566
  # <li> deactivated:被封禁。 </li>
9567
+ # <li> initializing:待绑定套餐。 </li>
9413
9568
  # @type Status: String
9414
- # @param Type: 站点接入方式,取值有
9415
- # <li> full:NS 接入; </li>
9569
+ # @param Type: 站点接入方式,取值有:
9570
+ # <li> full:NS 接入;</li>
9416
9571
  # <li> partial:CNAME 接入;</li>
9417
- # <li> noDomainAccess:无域名接入。</li>
9572
+ # <li> noDomainAccess:无域名接入;</li>
9573
+ # <li> vodeo:vodeo默认站点。</li>
9418
9574
  # @type Type: String
9419
9575
  # @param Paused: 站点是否关闭。
9420
9576
  # @type Paused: Boolean
@@ -9457,12 +9613,15 @@ module TencentCloud
9457
9613
  # <li> 0:非伪站点;</li>
9458
9614
  # <li> 1:伪站点。</li>
9459
9615
  # @type IsFake: Integer
9460
- # @param LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作。</li>
9616
+ # @param LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作;</li><li> plan_migrate:套餐迁移中,不允许进行修改操作。</li>
9461
9617
  # @type LockStatus: String
9618
+ # @param OwnershipVerification: 归属权验证信息。
9619
+ # 注意:此字段可能返回 null,表示取不到有效值。
9620
+ # @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
9462
9621
 
9463
- attr_accessor :ZoneId, :ZoneName, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area, :VanityNameServers, :VanityNameServersIps, :ActiveStatus, :AliasZoneName, :IsFake, :LockStatus
9622
+ attr_accessor :ZoneId, :ZoneName, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area, :VanityNameServers, :VanityNameServersIps, :ActiveStatus, :AliasZoneName, :IsFake, :LockStatus, :OwnershipVerification
9464
9623
 
9465
- def initialize(zoneid=nil, zonename=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, createdon=nil, modifiedon=nil, area=nil, vanitynameservers=nil, vanitynameserversips=nil, activestatus=nil, aliaszonename=nil, isfake=nil, lockstatus=nil)
9624
+ def initialize(zoneid=nil, zonename=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, createdon=nil, modifiedon=nil, area=nil, vanitynameservers=nil, vanitynameserversips=nil, activestatus=nil, aliaszonename=nil, isfake=nil, lockstatus=nil, ownershipverification=nil)
9466
9625
  @ZoneId = zoneid
9467
9626
  @ZoneName = zonename
9468
9627
  @OriginalNameServers = originalnameservers
@@ -9483,6 +9642,7 @@ module TencentCloud
9483
9642
  @AliasZoneName = aliaszonename
9484
9643
  @IsFake = isfake
9485
9644
  @LockStatus = lockstatus
9645
+ @OwnershipVerification = ownershipverification
9486
9646
  end
9487
9647
 
9488
9648
  def deserialize(params)
@@ -9530,6 +9690,10 @@ module TencentCloud
9530
9690
  @AliasZoneName = params['AliasZoneName']
9531
9691
  @IsFake = params['IsFake']
9532
9692
  @LockStatus = params['LockStatus']
9693
+ unless params['OwnershipVerification'].nil?
9694
+ @OwnershipVerification = OwnershipVerification.new
9695
+ @OwnershipVerification.deserialize(params['OwnershipVerification'])
9696
+ end
9533
9697
  end
9534
9698
  end
9535
9699
 
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.666
4
+ version: 3.0.667
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-25 00:00:00.000000000 Z
11
+ date: 2023-09-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common