tencentcloud-sdk-teo 3.0.720 → 3.0.722

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: 314e9cb3726441064da1d4230d3ad62ce3716b65
4
- data.tar.gz: fe99c6f23bdf9510a735cfbb3201431dc1c69081
3
+ metadata.gz: 2435b0ba43ecbb73449921c76f7a5cdc35c64c54
4
+ data.tar.gz: 72ab608fc472bfb0acd11202be07de544821cb24
5
5
  SHA512:
6
- metadata.gz: e9bf5316cf473e9c3e1509bf684800b3bf257cb21c32873fdd285aa73f62d476b8b99b525a0b6d675bdee60413b6c12b19a4ec962d73e734cc8f898630f37020
7
- data.tar.gz: 9b43e09a68d6c54190f57dd6f794bb279be1026b49c220245c4269b5ee11e8d17d147c2f66ec09b677dd29ece5136d985ad1fb52531c4400117dbda8c7b91c8f
6
+ metadata.gz: 63363db6935aa46f5e74bd61886dc00ba5c9374a93f34eb94e4489f3c857733e9eca493c9310ee85c499ba9daf2187b4777bb78dd6378bab1a81e171b8749b39
7
+ data.tar.gz: cc15f84ffe00caaa7cc8eca40e9e78781bb4f90551360138ec4729415c8e6f8f095bfc46ad5c2e7842225ca408be2022ba7726a185faae273241c3c897f9926e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.720
1
+ 3.0.722
@@ -1019,6 +1019,30 @@ module TencentCloud
1019
1019
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1020
1020
  end
1021
1021
 
1022
+ # 该接口可用于查询 IP 是否为 EdgeOne IP。
1023
+
1024
+ # @param request: Request instance for DescribeIPRegion.
1025
+ # @type request: :class:`Tencentcloud::teo::V20220901::DescribeIPRegionRequest`
1026
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DescribeIPRegionResponse`
1027
+ def DescribeIPRegion(request)
1028
+ body = send_request('DescribeIPRegion', request.serialize)
1029
+ response = JSON.parse(body)
1030
+ if response['Response'].key?('Error') == false
1031
+ model = DescribeIPRegionResponse.new
1032
+ model.deserialize(response['Response'])
1033
+ model
1034
+ else
1035
+ code = response['Response']['Error']['Code']
1036
+ message = response['Response']['Error']['Message']
1037
+ reqid = response['Response']['RequestId']
1038
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1039
+ end
1040
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1041
+ raise e
1042
+ rescue StandardError => e
1043
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1044
+ end
1045
+
1022
1046
  # 查询站点的验证信息。
1023
1047
 
1024
1048
  # @param request: Request instance for DescribeIdentifications.
@@ -1434,8 +1434,8 @@ module TencentCloud
1434
1434
 
1435
1435
  attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
1436
1436
  extend Gem::Deprecate
1437
- deprecate :IgnoreCacheControl, :none, 2023, 11
1438
- deprecate :IgnoreCacheControl=, :none, 2023, 11
1437
+ deprecate :IgnoreCacheControl, :none, 2023, 12
1438
+ deprecate :IgnoreCacheControl=, :none, 2023, 12
1439
1439
 
1440
1440
  def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
1441
1441
  @Switch = switch
@@ -2379,8 +2379,8 @@ module TencentCloud
2379
2379
 
2380
2380
  attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
2381
2381
  extend Gem::Deprecate
2382
- deprecate :EncodeUrl, :none, 2023, 11
2383
- deprecate :EncodeUrl=, :none, 2023, 11
2382
+ deprecate :EncodeUrl, :none, 2023, 12
2383
+ deprecate :EncodeUrl=, :none, 2023, 12
2384
2384
 
2385
2385
  def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
2386
2386
  @ZoneId = zoneid
@@ -2612,10 +2612,10 @@ module TencentCloud
2612
2612
 
2613
2613
  attr_accessor :Type, :ZoneName, :Area, :PlanId, :AliasZoneName, :Tags, :AllowDuplicates, :JumpStart
2614
2614
  extend Gem::Deprecate
2615
- deprecate :AllowDuplicates, :none, 2023, 11
2616
- deprecate :AllowDuplicates=, :none, 2023, 11
2617
- deprecate :JumpStart, :none, 2023, 11
2618
- deprecate :JumpStart=, :none, 2023, 11
2615
+ deprecate :AllowDuplicates, :none, 2023, 12
2616
+ deprecate :AllowDuplicates=, :none, 2023, 12
2617
+ deprecate :JumpStart, :none, 2023, 12
2618
+ deprecate :JumpStart=, :none, 2023, 12
2619
2619
 
2620
2620
  def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
2621
2621
  @Type = type
@@ -3307,6 +3307,9 @@ module TencentCloud
3307
3307
  # <li>backup-origin: 按照备用源站地址进行过滤;</li>
3308
3308
  # <li>domain-cname:按照 CNAME 进行过滤;</li>
3309
3309
  # <li>share-cname:按照共享 CNAME 进行过滤;</li>
3310
+ # <li>vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;</li>
3311
+ # <li>vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;</li>
3312
+ # <li>vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;</li>
3310
3313
  # @type Filters: Array
3311
3314
  # @param Order: 可根据该字段对返回结果进行排序,取值有:
3312
3315
  # <li>created_on:加速域名创建时间;</li>
@@ -4236,6 +4239,49 @@ module TencentCloud
4236
4239
  end
4237
4240
  end
4238
4241
 
4242
+ # DescribeIPRegion请求参数结构体
4243
+ class DescribeIPRegionRequest < TencentCloud::Common::AbstractModel
4244
+ # @param IPs: 待查询的 IP 列表,支持 IPV4 和 IPV6,最大可查询 100 条。
4245
+ # @type IPs: Array
4246
+
4247
+ attr_accessor :IPs
4248
+
4249
+ def initialize(ips=nil)
4250
+ @IPs = ips
4251
+ end
4252
+
4253
+ def deserialize(params)
4254
+ @IPs = params['IPs']
4255
+ end
4256
+ end
4257
+
4258
+ # DescribeIPRegion返回参数结构体
4259
+ class DescribeIPRegionResponse < TencentCloud::Common::AbstractModel
4260
+ # @param IPRegionInfo: IP 归属信息列表。
4261
+ # @type IPRegionInfo: Array
4262
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4263
+ # @type RequestId: String
4264
+
4265
+ attr_accessor :IPRegionInfo, :RequestId
4266
+
4267
+ def initialize(ipregioninfo=nil, requestid=nil)
4268
+ @IPRegionInfo = ipregioninfo
4269
+ @RequestId = requestid
4270
+ end
4271
+
4272
+ def deserialize(params)
4273
+ unless params['IPRegionInfo'].nil?
4274
+ @IPRegionInfo = []
4275
+ params['IPRegionInfo'].each do |i|
4276
+ ipregioninfo_tmp = IPRegionInfo.new
4277
+ ipregioninfo_tmp.deserialize(i)
4278
+ @IPRegionInfo << ipregioninfo_tmp
4279
+ end
4280
+ end
4281
+ @RequestId = params['RequestId']
4282
+ end
4283
+ end
4284
+
4239
4285
  # DescribeIdentifications请求参数结构体
4240
4286
  class DescribeIdentificationsRequest < TencentCloud::Common::AbstractModel
4241
4287
  # @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
@@ -6527,6 +6573,28 @@ module TencentCloud
6527
6573
  end
6528
6574
  end
6529
6575
 
6576
+ # IP 归属信息查询
6577
+ class IPRegionInfo < TencentCloud::Common::AbstractModel
6578
+ # @param IP: IP 地址,IPV4 或 IPV6。
6579
+ # @type IP: String
6580
+ # @param IsEdgeOneIP: IP 是否属于 EdgeOne 节点,取值有:
6581
+ # <li>yes:该 IP 属于 EdgeOne 节点;</li>
6582
+ # <li>no:该 IP 不属于 EdgeOne 节点。</li>
6583
+ # @type IsEdgeOneIP: String
6584
+
6585
+ attr_accessor :IP, :IsEdgeOneIP
6586
+
6587
+ def initialize(ip=nil, isedgeoneip=nil)
6588
+ @IP = ip
6589
+ @IsEdgeOneIP = isedgeoneip
6590
+ end
6591
+
6592
+ def deserialize(params)
6593
+ @IP = params['IP']
6594
+ @IsEdgeOneIP = params['IsEdgeOneIP']
6595
+ end
6596
+ end
6597
+
6530
6598
  # 源站防护IP白名单
6531
6599
  class IPWhitelist < TencentCloud::Common::AbstractModel
6532
6600
  # @param IPv4: IPv4列表。
@@ -7422,8 +7490,8 @@ module TencentCloud
7422
7490
 
7423
7491
  attr_accessor :ZoneId, :Hosts, :Mode, :ServerCertInfo, :ApplyType
7424
7492
  extend Gem::Deprecate
7425
- deprecate :ApplyType, :none, 2023, 11
7426
- deprecate :ApplyType=, :none, 2023, 11
7493
+ deprecate :ApplyType, :none, 2023, 12
7494
+ deprecate :ApplyType=, :none, 2023, 12
7427
7495
 
7428
7496
  def initialize(zoneid=nil, hosts=nil, mode=nil, servercertinfo=nil, applytype=nil)
7429
7497
  @ZoneId = zoneid
@@ -8092,31 +8160,45 @@ module TencentCloud
8092
8160
  # 加速域名源站信息。
8093
8161
  class OriginDetail < TencentCloud::Common::AbstractModel
8094
8162
  # @param OriginType: 源站类型,取值有:
8095
- # <li>IP_DOMAIN:IPV4、IPV6或域名类型源站;</li>
8096
- # <li>COSCOS源。</li>
8097
- # <li>ORIGIN_GROUP:源站组类型源站。</li>
8098
- # <li>AWS_S3:AWS S3对象存储源站。</li>
8163
+ # <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li>
8164
+ # <li>COS:腾讯云 COS 对象存储源站;</li>
8165
+ # <li>AWS_S3:AWS S3 对象存储源站;</li>
8166
+ # <li>ORIGIN_GROUP:源站组类型源站;</li>
8167
+ # <li>VODEO:云点播(混合云版);</li>
8168
+ # <li>SPACE:源站卸载,当前仅白名单开放;</li>
8169
+ # <li>LB:负载均衡,当前仅白名单开放。</li>
8099
8170
  # @type OriginType: String
8100
- # @param Origin: 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。
8171
+ # @param Origin: 源站地址,根据 OriginType 的取值分为以下情况:
8172
+ # <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li>
8173
+ # <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li>
8174
+ # <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
8175
+ # <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
8176
+ # <li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
8101
8177
  # @type Origin: String
8102
- # @param BackupOrigin: 备用源站组ID,该参数在OriginType参数指定为ORIGIN_GROUP时生效,为空表示不使用备用源站。
8178
+ # @param BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
8103
8179
  # @type BackupOrigin: String
8104
- # @param OriginGroupName: 主源源站组名称,当OriginType参数指定为ORIGIN_GROUP时该参数生效。
8180
+ # @param OriginGroupName: 主源源站组名称,当 OriginType = ORIGIN_GROUP 时该参数会返回值。
8105
8181
  # @type OriginGroupName: String
8106
- # @param BackOriginGroupName: 备用源站源站组名称,当OriginType参数指定为ORIGIN_GROUP,且用户指定了被用源站时该参数生效。
8182
+ # @param BackOriginGroupName: 备用源站组名称,该参数仅当 OriginType = ORIGIN_GROUP 且配置了备用源站组时会生效。
8107
8183
  # @type BackOriginGroupName: String
8108
- # @param PrivateAccess: 指定是否允许访问私有对象存储源站。当源站类型OriginType=COS或AWS_S3时有效 取值有:
8184
+ # @param PrivateAccess: 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS AWS_S3 时会生效,取值有:
8109
8185
  # <li>on:使用私有鉴权;</li>
8110
8186
  # <li>off:不使用私有鉴权。</li>
8111
8187
  # 不填写,默认值为off。
8112
8188
  # @type PrivateAccess: String
8113
- # @param PrivateParameters: 私有鉴权使用参数,当源站类型PrivateAccess=on时有效。
8189
+ # @param PrivateParameters: 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。
8114
8190
  # 注意:此字段可能返回 null,表示取不到有效值。
8115
8191
  # @type PrivateParameters: Array
8192
+ # @param VodeoSubAppId: MO 子应用 ID
8193
+ # @type VodeoSubAppId: Integer
8194
+ # @param VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
8195
+ # @type VodeoDistributionRange: String
8196
+ # @param VodeoBucketId: MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
8197
+ # @type VodeoBucketId: String
8116
8198
 
8117
- attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters
8199
+ attr_accessor :OriginType, :Origin, :BackupOrigin, :OriginGroupName, :BackOriginGroupName, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId
8118
8200
 
8119
- def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil)
8201
+ def initialize(origintype=nil, origin=nil, backuporigin=nil, origingroupname=nil, backorigingroupname=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil)
8120
8202
  @OriginType = origintype
8121
8203
  @Origin = origin
8122
8204
  @BackupOrigin = backuporigin
@@ -8124,6 +8206,9 @@ module TencentCloud
8124
8206
  @BackOriginGroupName = backorigingroupname
8125
8207
  @PrivateAccess = privateaccess
8126
8208
  @PrivateParameters = privateparameters
8209
+ @VodeoSubAppId = vodeosubappid
8210
+ @VodeoDistributionRange = vodeodistributionrange
8211
+ @VodeoBucketId = vodeobucketid
8127
8212
  end
8128
8213
 
8129
8214
  def deserialize(params)
@@ -8141,6 +8226,9 @@ module TencentCloud
8141
8226
  @PrivateParameters << privateparameter_tmp
8142
8227
  end
8143
8228
  end
8229
+ @VodeoSubAppId = params['VodeoSubAppId']
8230
+ @VodeoDistributionRange = params['VodeoDistributionRange']
8231
+ @VodeoBucketId = params['VodeoBucketId']
8144
8232
  end
8145
8233
  end
8146
8234
 
@@ -8253,15 +8341,24 @@ module TencentCloud
8253
8341
  # @type PrivateAccess: String
8254
8342
  # @param PrivateParameters: 私有鉴权使用参数,当源站类型 PrivateAccess=on 时有效。
8255
8343
  # @type PrivateParameters: Array
8344
+ # @param VodeoSubAppId: MO 子应用 ID
8345
+ # @type VodeoSubAppId: Integer
8346
+ # @param VodeoDistributionRange: MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li>
8347
+ # @type VodeoDistributionRange: String
8348
+ # @param VodeoBucketId: MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填
8349
+ # @type VodeoBucketId: String
8256
8350
 
8257
- attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters
8351
+ attr_accessor :OriginType, :Origin, :BackupOrigin, :PrivateAccess, :PrivateParameters, :VodeoSubAppId, :VodeoDistributionRange, :VodeoBucketId
8258
8352
 
8259
- def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil)
8353
+ def initialize(origintype=nil, origin=nil, backuporigin=nil, privateaccess=nil, privateparameters=nil, vodeosubappid=nil, vodeodistributionrange=nil, vodeobucketid=nil)
8260
8354
  @OriginType = origintype
8261
8355
  @Origin = origin
8262
8356
  @BackupOrigin = backuporigin
8263
8357
  @PrivateAccess = privateaccess
8264
8358
  @PrivateParameters = privateparameters
8359
+ @VodeoSubAppId = vodeosubappid
8360
+ @VodeoDistributionRange = vodeodistributionrange
8361
+ @VodeoBucketId = vodeobucketid
8265
8362
  end
8266
8363
 
8267
8364
  def deserialize(params)
@@ -8277,6 +8374,9 @@ module TencentCloud
8277
8374
  @PrivateParameters << privateparameter_tmp
8278
8375
  end
8279
8376
  end
8377
+ @VodeoSubAppId = params['VodeoSubAppId']
8378
+ @VodeoDistributionRange = params['VodeoDistributionRange']
8379
+ @VodeoBucketId = params['VodeoBucketId']
8280
8380
  end
8281
8381
  end
8282
8382
 
@@ -8979,10 +9079,13 @@ module TencentCloud
8979
9079
  # @param ZoneNumber: 当前资源绑定的站点数量。
8980
9080
  # 注意:此字段可能返回 null,表示取不到有效值。
8981
9081
  # @type ZoneNumber: Integer
9082
+ # @param Type: 资源标记类型,取值有:
9083
+ # <li>vodeo:vodeo资源。</li>
9084
+ # @type Type: String
8982
9085
 
8983
- attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area, :Group, :ZoneNumber
9086
+ attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area, :Group, :ZoneNumber, :Type
8984
9087
 
8985
- def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil, group=nil, zonenumber=nil)
9088
+ def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil, group=nil, zonenumber=nil, type=nil)
8986
9089
  @Id = id
8987
9090
  @PayMode = paymode
8988
9091
  @CreateTime = createtime
@@ -8995,6 +9098,7 @@ module TencentCloud
8995
9098
  @Area = area
8996
9099
  @Group = group
8997
9100
  @ZoneNumber = zonenumber
9101
+ @Type = type
8998
9102
  end
8999
9103
 
9000
9104
  def deserialize(params)
@@ -9017,6 +9121,7 @@ module TencentCloud
9017
9121
  @Area = params['Area']
9018
9122
  @Group = params['Group']
9019
9123
  @ZoneNumber = params['ZoneNumber']
9124
+ @Type = params['Type']
9020
9125
  end
9021
9126
  end
9022
9127
 
@@ -9228,8 +9333,8 @@ module TencentCloud
9228
9333
 
9229
9334
  attr_accessor :Operator, :Target, :Values, :IgnoreCase, :Name, :IgnoreNameCase
9230
9335
  extend Gem::Deprecate
9231
- deprecate :IgnoreNameCase, :none, 2023, 11
9232
- deprecate :IgnoreNameCase=, :none, 2023, 11
9336
+ deprecate :IgnoreNameCase, :none, 2023, 12
9337
+ deprecate :IgnoreNameCase=, :none, 2023, 12
9233
9338
 
9234
9339
  def initialize(operator=nil, target=nil, values=nil, ignorecase=nil, name=nil, ignorenamecase=nil)
9235
9340
  @Operator = operator
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.720
4
+ version: 3.0.722
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-12-04 00:00:00.000000000 Z
11
+ date: 2023-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common