tencentcloud-sdk-teo 3.0.812 → 3.0.813

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a8306d87b0f6785ee8560a289b806313e104c15
4
- data.tar.gz: feabb27eb2169cf458fe204cc65f1fafaaf974a4
3
+ metadata.gz: 597975642668c6f6ec2a103cd1ad27875d95f7d0
4
+ data.tar.gz: 443f93fcf2a8964f659d8763ec0dab57c2e9166e
5
5
  SHA512:
6
- metadata.gz: c5091449a6c86add4bec67ea983d72ae88b0c660d7d1855a2fd9d862821b11608cfa1ebe79ce57cb642249d56a7ebfe96efd8e65057998d249c696e77a393c55
7
- data.tar.gz: 4a4a801fa6d450a3266888fa8caa2498f4211d5d1419bee22b81e66ec9f309c7028f5e056f5a42b9b0fbab3cc14bf4a0b33738b450532e15d9b8507c58f96608
6
+ metadata.gz: 597380eb4f6439dc37dc53d359c91467e90f7abc6fb90f0c341cc149e6bfdc27fa4554949dda3c728ac650ecaceb8ec5155129b05e9179432bf2b749d9ed9bb7
7
+ data.tar.gz: 62a13dd040ea0bd37f0b14325fe273e2be4f38f6b2d294078b87d1c30b6e755d02048fafaff4700f3f5cf6d9940f9739a3a4a4f080df285db7536acad872aee6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.812
1
+ 3.0.813
@@ -344,6 +344,31 @@ module TencentCloud
344
344
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
345
345
  end
346
346
 
347
+ # 若您需要使用 Edgeone 产品,您需要通过此接口创建计费套餐。
348
+ # > 创建套餐后,您需要通过 [CreateZone](https://cloud.tencent.com/document/product/1552/80719) 完成创建站点,绑定套餐的流程,Edgeone 才能正常提供服务。
349
+
350
+ # @param request: Request instance for CreatePlan.
351
+ # @type request: :class:`Tencentcloud::teo::V20220901::CreatePlanRequest`
352
+ # @rtype: :class:`Tencentcloud::teo::V20220901::CreatePlanResponse`
353
+ def CreatePlan(request)
354
+ body = send_request('CreatePlan', request.serialize)
355
+ response = JSON.parse(body)
356
+ if response['Response'].key?('Error') == false
357
+ model = CreatePlanResponse.new
358
+ model.deserialize(response['Response'])
359
+ model
360
+ else
361
+ code = response['Response']['Error']['Code']
362
+ message = response['Response']['Error']['Message']
363
+ reqid = response['Response']['RequestId']
364
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
365
+ end
366
+ rescue TencentCloud::Common::TencentCloudSDKException => e
367
+ raise e
368
+ rescue StandardError => e
369
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
370
+ end
371
+
347
372
  # 为未购买套餐的站点购买套餐
348
373
 
349
374
  # @param request: Request instance for CreatePlanForZone.
@@ -1718,6 +1743,37 @@ module TencentCloud
1718
1743
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1719
1744
  end
1720
1745
 
1746
+ # 当您需要停止 Edgeone 套餐的计费,可以通过该接口销毁计费套餐。
1747
+ # > 销毁计费套餐需要满足以下条件:
1748
+ # 1.套餐已过期(企业版套餐除外);
1749
+ # 2.套餐下所有站点均已关闭或删除。
1750
+
1751
+ # > 站点状态可以通过 [查询站点列表](https://cloud.tencent.com/document/product/1552/80713) 接口进行查询
1752
+ # 停用站点可以通过 [切换站点状态](https://cloud.tencent.com/document/product/1552/80707) 接口将站点切换至关闭状态
1753
+ # 删除站点可以通过 [删除站点](https://cloud.tencent.com/document/product/1552/80717) 接口将站点删除
1754
+
1755
+ # @param request: Request instance for DestroyPlan.
1756
+ # @type request: :class:`Tencentcloud::teo::V20220901::DestroyPlanRequest`
1757
+ # @rtype: :class:`Tencentcloud::teo::V20220901::DestroyPlanResponse`
1758
+ def DestroyPlan(request)
1759
+ body = send_request('DestroyPlan', request.serialize)
1760
+ response = JSON.parse(body)
1761
+ if response['Response'].key?('Error') == false
1762
+ model = DestroyPlanResponse.new
1763
+ model.deserialize(response['Response'])
1764
+ model
1765
+ else
1766
+ code = response['Response']['Error']['Code']
1767
+ message = response['Response']['Error']['Message']
1768
+ reqid = response['Response']['RequestId']
1769
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1770
+ end
1771
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1772
+ raise e
1773
+ rescue StandardError => e
1774
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1775
+ end
1776
+
1721
1777
  # 本接口(DownloadL4Logs)用于下载四层离线日志。
1722
1778
 
1723
1779
  # @param request: Request instance for DownloadL4Logs.
@@ -1790,6 +1846,31 @@ module TencentCloud
1790
1846
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1791
1847
  end
1792
1848
 
1849
+ # 当您的套餐绑定的站点数,或配置的 Web 防护 - 自定义规则 - 精准匹配策略的规则数,或 Web 防护 - 速率限制 - 精准速率限制模块的规则数达到套餐允许的配额上限,可以通过该接口增购对应配额。
1850
+ # > 该接口该仅支持企业版套餐。
1851
+
1852
+ # @param request: Request instance for IncreasePlanQuota.
1853
+ # @type request: :class:`Tencentcloud::teo::V20220901::IncreasePlanQuotaRequest`
1854
+ # @rtype: :class:`Tencentcloud::teo::V20220901::IncreasePlanQuotaResponse`
1855
+ def IncreasePlanQuota(request)
1856
+ body = send_request('IncreasePlanQuota', request.serialize)
1857
+ response = JSON.parse(body)
1858
+ if response['Response'].key?('Error') == false
1859
+ model = IncreasePlanQuotaResponse.new
1860
+ model.deserialize(response['Response'])
1861
+ model
1862
+ else
1863
+ code = response['Response']['Error']['Code']
1864
+ message = response['Response']['Error']['Message']
1865
+ reqid = response['Response']['RequestId']
1866
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1867
+ end
1868
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1869
+ raise e
1870
+ rescue StandardError => e
1871
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1872
+ end
1873
+
1793
1874
  # 修改加速域名信息
1794
1875
 
1795
1876
  # @param request: Request instance for ModifyAccelerationDomain.
@@ -2131,6 +2212,30 @@ module TencentCloud
2131
2212
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2132
2213
  end
2133
2214
 
2215
+ # 修改套餐配置。目前仅支持修改预付费套餐的自动续费开关。
2216
+
2217
+ # @param request: Request instance for ModifyPlan.
2218
+ # @type request: :class:`Tencentcloud::teo::V20220901::ModifyPlanRequest`
2219
+ # @rtype: :class:`Tencentcloud::teo::V20220901::ModifyPlanResponse`
2220
+ def ModifyPlan(request)
2221
+ body = send_request('ModifyPlan', request.serialize)
2222
+ response = JSON.parse(body)
2223
+ if response['Response'].key?('Error') == false
2224
+ model = ModifyPlanResponse.new
2225
+ model.deserialize(response['Response'])
2226
+ model
2227
+ else
2228
+ code = response['Response']['Error']['Code']
2229
+ message = response['Response']['Error']['Message']
2230
+ reqid = response['Response']['RequestId']
2231
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2232
+ end
2233
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2234
+ raise e
2235
+ rescue StandardError => e
2236
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2237
+ end
2238
+
2134
2239
  # 通过本接口修改实时日志投递任务配置。本接口有如下限制:<li>不支持修改实时日志投递任务目的地类型(TaskType);</li><li>不支持修改数据投递类型(LogType)</li><li>不支持修改数据投递区域(Area)</li><li>当原实时日志投递任务的目的地为腾讯云 CLS 时,不支持修改目的地详细配置,如日志集、日志主题。</li>
2135
2240
 
2136
2241
  # @param request: Request instance for ModifyRealtimeLogDeliveryTask.
@@ -2299,6 +2404,58 @@ module TencentCloud
2299
2404
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2300
2405
  end
2301
2406
 
2407
+ # 当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
2408
+ # > 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
2409
+
2410
+ # @param request: Request instance for RenewPlan.
2411
+ # @type request: :class:`Tencentcloud::teo::V20220901::RenewPlanRequest`
2412
+ # @rtype: :class:`Tencentcloud::teo::V20220901::RenewPlanResponse`
2413
+ def RenewPlan(request)
2414
+ body = send_request('RenewPlan', request.serialize)
2415
+ response = JSON.parse(body)
2416
+ if response['Response'].key?('Error') == false
2417
+ model = RenewPlanResponse.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
+
2432
+ # 当您需要使用高等级套餐才拥有的功能,可以通过本接口升级套餐,仅支持个人版,基础版套餐进行升级。
2433
+ # > 不同类型 Edgeone 计费套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
2434
+ # 计费套餐升级规则以及资费详情参考 [Edgeone计费套餐升配说明](https://cloud.tencent.com/document/product/1552/95291)
2435
+ # 如果需要将套餐升级至企业版,请 [联系我们](https://cloud.tencent.com/online-service)
2436
+
2437
+ # @param request: Request instance for UpgradePlan.
2438
+ # @type request: :class:`Tencentcloud::teo::V20220901::UpgradePlanRequest`
2439
+ # @rtype: :class:`Tencentcloud::teo::V20220901::UpgradePlanResponse`
2440
+ def UpgradePlan(request)
2441
+ body = send_request('UpgradePlan', request.serialize)
2442
+ response = JSON.parse(body)
2443
+ if response['Response'].key?('Error') == false
2444
+ model = UpgradePlanResponse.new
2445
+ model.deserialize(response['Response'])
2446
+ model
2447
+ else
2448
+ code = response['Response']['Error']['Code']
2449
+ message = response['Response']['Error']['Message']
2450
+ reqid = response['Response']['RequestId']
2451
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2452
+ end
2453
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2454
+ raise e
2455
+ rescue StandardError => e
2456
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2457
+ end
2458
+
2302
2459
  # 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
2303
2460
 
2304
2461
  # 在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
@@ -2522,6 +2522,61 @@ module TencentCloud
2522
2522
  end
2523
2523
  end
2524
2524
 
2525
+ # CreatePlan请求参数结构体
2526
+ class CreatePlanRequest < TencentCloud::Common::AbstractModel
2527
+ # @param PlanType: 订阅的套餐类型,取值有:<li> personal:个人版套餐,预付费套餐;</li><li> basic:基础版套餐,预付费套餐;</li><li> standard:标准版套餐,预付费套餐;</li><li> enterprise:企业版套餐,后付费套餐。</li>订阅预付费套餐时,请确保账号内有足够余额,余额不足会产生一个待支付的订单。
2528
+ # 计费概述参考 [Edgeone计费概述](https://cloud.tencent.com/document/product/1552/94156)
2529
+ # 不同套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
2530
+ # @type PlanType: String
2531
+ # @param AutoUseVoucher: 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>该参数仅在 PlanType 为 personal, basic, standard 时有效。
2532
+ # 不填写使用默认值 false。
2533
+ # @type AutoUseVoucher: String
2534
+ # @param PrepaidPlanParam: 订阅预付费套餐参数,PlanType 为 personal, basic, standard 时,可以选填该参数,用于传入套餐的订阅时长和是否开启自动续费。
2535
+ # 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。
2536
+ # @type PrepaidPlanParam: :class:`Tencentcloud::Teo.v20220901.models.PrepaidPlanParam`
2537
+
2538
+ attr_accessor :PlanType, :AutoUseVoucher, :PrepaidPlanParam
2539
+
2540
+ def initialize(plantype=nil, autousevoucher=nil, prepaidplanparam=nil)
2541
+ @PlanType = plantype
2542
+ @AutoUseVoucher = autousevoucher
2543
+ @PrepaidPlanParam = prepaidplanparam
2544
+ end
2545
+
2546
+ def deserialize(params)
2547
+ @PlanType = params['PlanType']
2548
+ @AutoUseVoucher = params['AutoUseVoucher']
2549
+ unless params['PrepaidPlanParam'].nil?
2550
+ @PrepaidPlanParam = PrepaidPlanParam.new
2551
+ @PrepaidPlanParam.deserialize(params['PrepaidPlanParam'])
2552
+ end
2553
+ end
2554
+ end
2555
+
2556
+ # CreatePlan返回参数结构体
2557
+ class CreatePlanResponse < TencentCloud::Common::AbstractModel
2558
+ # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
2559
+ # @type PlanId: String
2560
+ # @param DealName: 订单号。
2561
+ # @type DealName: String
2562
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2563
+ # @type RequestId: String
2564
+
2565
+ attr_accessor :PlanId, :DealName, :RequestId
2566
+
2567
+ def initialize(planid=nil, dealname=nil, requestid=nil)
2568
+ @PlanId = planid
2569
+ @DealName = dealname
2570
+ @RequestId = requestid
2571
+ end
2572
+
2573
+ def deserialize(params)
2574
+ @PlanId = params['PlanId']
2575
+ @DealName = params['DealName']
2576
+ @RequestId = params['RequestId']
2577
+ end
2578
+ end
2579
+
2525
2580
  # CreatePrefetchTask请求参数结构体
2526
2581
  class CreatePrefetchTaskRequest < TencentCloud::Common::AbstractModel
2527
2582
  # @param ZoneId: 站点 ID。
@@ -3779,6 +3834,7 @@ module TencentCloud
3779
3834
  # <li>EdgeResponseStatusCode:按照 EdgeOne 节点响应返回给客户端的状态码进行过滤。<br>   支持运算符:equal、great、less、great_equal、less_equal<br>   取值范围:任意大于等于 0 的整数</li>
3780
3835
  # <li>OriginResponseStatusCode:按照源站响应状态码进行过滤。<br>   支持运算符:equal、great、less、great_equal、less_equal<br>   取值范围:任意大于等于 -1 的整数</li>
3781
3836
  # <li>SecurityAction:按照请求命中安全规则后的最终处置动作进行过滤。<br>   支持运算符:equal<br>   可选项如下:<br>   -:未知/未命中<br>   Monitor:观察<br>   JSChallenge:JavaScript 挑战<br>   Deny:拦截<br>   Allow:放行<br>   BlockIP:IP 封禁<br>   Redirect:重定向<br>   ReturnCustomPage:返回自定义页面<br>   ManagedChallenge:托管挑战<br>   Silence:静默<br>   LongDelay:长时间等待后响应<br>   ShortDelay:短时间等待后响应</li>
3837
+ # <li>SecurityModule:按照最终处置请求的安全模块名称进行过滤。<br>   支持运算符:equal<br>   可选项如下:<br>   -:未知/未命中<br>   CustomRule:Web防护 - 自定义规则<br>   RateLimitingCustomRule:Web防护 - 速率限制规则<br>   ManagedRule:Web防护 - 托管规则<br>   L7DDoS:Web防护 - CC攻击防护<br>   BotManagement:Bot管理 - Bot基础管理<br>   BotClientReputation:Bot管理 - 客户端画像分析<br>   BotBehaviorAnalysis:Bot管理 - Bot智能分析<br>   BotCustomRule:Bot管理 - 自定义Bot规则<br>   BotActiveDetection:Bot管理 - 主动特征识别</li>
3782
3838
  # @type Conditions: Array
3783
3839
 
3784
3840
  attr_accessor :Conditions
@@ -6512,6 +6568,38 @@ module TencentCloud
6512
6568
  end
6513
6569
  end
6514
6570
 
6571
+ # DestroyPlan请求参数结构体
6572
+ class DestroyPlanRequest < TencentCloud::Common::AbstractModel
6573
+ # @param PlanId: 套餐 ID,形如 edgeone-2wdo315m2y4c。
6574
+ # @type PlanId: String
6575
+
6576
+ attr_accessor :PlanId
6577
+
6578
+ def initialize(planid=nil)
6579
+ @PlanId = planid
6580
+ end
6581
+
6582
+ def deserialize(params)
6583
+ @PlanId = params['PlanId']
6584
+ end
6585
+ end
6586
+
6587
+ # DestroyPlan返回参数结构体
6588
+ class DestroyPlanResponse < TencentCloud::Common::AbstractModel
6589
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6590
+ # @type RequestId: String
6591
+
6592
+ attr_accessor :RequestId
6593
+
6594
+ def initialize(requestid=nil)
6595
+ @RequestId = requestid
6596
+ end
6597
+
6598
+ def deserialize(params)
6599
+ @RequestId = params['RequestId']
6600
+ end
6601
+ end
6602
+
6515
6603
  # 域名配置信息
6516
6604
  class DetailHost < TencentCloud::Common::AbstractModel
6517
6605
  # @param ZoneId: 站点ID。
@@ -7705,6 +7793,50 @@ module TencentCloud
7705
7793
  end
7706
7794
  end
7707
7795
 
7796
+ # IncreasePlanQuota请求参数结构体
7797
+ class IncreasePlanQuotaRequest < TencentCloud::Common::AbstractModel
7798
+ # @param PlanId: 套餐 ID, 形如 edgeone-2unuvzjmmn2q。
7799
+ # @type PlanId: String
7800
+ # @param QuotaType: 新增的套餐配额类型,取值有:<li> site:站点数;</li><li> precise_access_control_rule:Web 防护 - 自定义规则 - 精准匹配策略的规则配额;</li><li> rate_limiting_rule:Web 防护 - 速率限制 - 精准速率限制模块的规则配额。</li>
7801
+ # @type QuotaType: String
7802
+ # @param QuotaNumber: 新增的配额个数。单次新增的配额个数上限为 100。
7803
+ # @type QuotaNumber: Integer
7804
+
7805
+ attr_accessor :PlanId, :QuotaType, :QuotaNumber
7806
+
7807
+ def initialize(planid=nil, quotatype=nil, quotanumber=nil)
7808
+ @PlanId = planid
7809
+ @QuotaType = quotatype
7810
+ @QuotaNumber = quotanumber
7811
+ end
7812
+
7813
+ def deserialize(params)
7814
+ @PlanId = params['PlanId']
7815
+ @QuotaType = params['QuotaType']
7816
+ @QuotaNumber = params['QuotaNumber']
7817
+ end
7818
+ end
7819
+
7820
+ # IncreasePlanQuota返回参数结构体
7821
+ class IncreasePlanQuotaResponse < TencentCloud::Common::AbstractModel
7822
+ # @param DealName: 订单号。
7823
+ # @type DealName: String
7824
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7825
+ # @type RequestId: String
7826
+
7827
+ attr_accessor :DealName, :RequestId
7828
+
7829
+ def initialize(dealname=nil, requestid=nil)
7830
+ @DealName = dealname
7831
+ @RequestId = requestid
7832
+ end
7833
+
7834
+ def deserialize(params)
7835
+ @DealName = params['DealName']
7836
+ @RequestId = params['RequestId']
7837
+ end
7838
+ end
7839
+
7708
7840
  # 智能分析规则
7709
7841
  class IntelligenceRule < TencentCloud::Common::AbstractModel
7710
7842
  # @param Switch: 开关,取值有:
@@ -8978,6 +9110,45 @@ module TencentCloud
8978
9110
  end
8979
9111
  end
8980
9112
 
9113
+ # ModifyPlan请求参数结构体
9114
+ class ModifyPlanRequest < TencentCloud::Common::AbstractModel
9115
+ # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
9116
+ # @type PlanId: String
9117
+ # @param RenewFlag: 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。
9118
+ # @type RenewFlag: :class:`Tencentcloud::Teo.v20220901.models.RenewFlag`
9119
+
9120
+ attr_accessor :PlanId, :RenewFlag
9121
+
9122
+ def initialize(planid=nil, renewflag=nil)
9123
+ @PlanId = planid
9124
+ @RenewFlag = renewflag
9125
+ end
9126
+
9127
+ def deserialize(params)
9128
+ @PlanId = params['PlanId']
9129
+ unless params['RenewFlag'].nil?
9130
+ @RenewFlag = RenewFlag.new
9131
+ @RenewFlag.deserialize(params['RenewFlag'])
9132
+ end
9133
+ end
9134
+ end
9135
+
9136
+ # ModifyPlan返回参数结构体
9137
+ class ModifyPlanResponse < TencentCloud::Common::AbstractModel
9138
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9139
+ # @type RequestId: String
9140
+
9141
+ attr_accessor :RequestId
9142
+
9143
+ def initialize(requestid=nil)
9144
+ @RequestId = requestid
9145
+ end
9146
+
9147
+ def deserialize(params)
9148
+ @RequestId = params['RequestId']
9149
+ end
9150
+ end
9151
+
8981
9152
  # ModifyRealtimeLogDeliveryTask请求参数结构体
8982
9153
  class ModifyRealtimeLogDeliveryTaskRequest < TencentCloud::Common::AbstractModel
8983
9154
  # @param ZoneId: 站点 ID。
@@ -10141,6 +10312,31 @@ module TencentCloud
10141
10312
  end
10142
10313
  end
10143
10314
 
10315
+ # 预付费套餐计费参数
10316
+ class PrepaidPlanParam < TencentCloud::Common::AbstractModel
10317
+ # @param Period: 订阅预付费套餐的周期,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
10318
+
10319
+ # 不填写使用默认值 1。
10320
+ # @type Period: Integer
10321
+ # @param RenewFlag: 预付费套餐的自动续费标志,取值有:
10322
+ # <li> on:开启自动续费;</li>
10323
+ # <li> off:不开启自动续费。</li>
10324
+ # 不填写使用默认值 off,自动续费时,默认续费1个月。
10325
+ # @type RenewFlag: String
10326
+
10327
+ attr_accessor :Period, :RenewFlag
10328
+
10329
+ def initialize(period=nil, renewflag=nil)
10330
+ @Period = period
10331
+ @RenewFlag = renewflag
10332
+ end
10333
+
10334
+ def deserialize(params)
10335
+ @Period = params['Period']
10336
+ @RenewFlag = params['RenewFlag']
10337
+ end
10338
+ end
10339
+
10144
10340
  # 对象存储源站私有鉴权参数
10145
10341
  class PrivateParameter < TencentCloud::Common::AbstractModel
10146
10342
  # @param Name: 私有鉴权参数名称,取值有:
@@ -10654,6 +10850,68 @@ module TencentCloud
10654
10850
  end
10655
10851
  end
10656
10852
 
10853
+ # 预付费套餐自动续费配置项。
10854
+ class RenewFlag < TencentCloud::Common::AbstractModel
10855
+ # @param Switch: 预付费套餐的自动续费标志,取值有:
10856
+ # <li> on:开启自动续费;</li>
10857
+ # <li> off:不开启自动续费。</li>
10858
+ # @type Switch: String
10859
+
10860
+ attr_accessor :Switch
10861
+
10862
+ def initialize(switch=nil)
10863
+ @Switch = switch
10864
+ end
10865
+
10866
+ def deserialize(params)
10867
+ @Switch = params['Switch']
10868
+ end
10869
+ end
10870
+
10871
+ # RenewPlan请求参数结构体
10872
+ class RenewPlanRequest < TencentCloud::Common::AbstractModel
10873
+ # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
10874
+ # @type PlanId: String
10875
+ # @param Period: 续费套餐的时长,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。
10876
+ # @type Period: Integer
10877
+ # @param AutoUseVoucher: 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。
10878
+ # @type AutoUseVoucher: String
10879
+
10880
+ attr_accessor :PlanId, :Period, :AutoUseVoucher
10881
+
10882
+ def initialize(planid=nil, period=nil, autousevoucher=nil)
10883
+ @PlanId = planid
10884
+ @Period = period
10885
+ @AutoUseVoucher = autousevoucher
10886
+ end
10887
+
10888
+ def deserialize(params)
10889
+ @PlanId = params['PlanId']
10890
+ @Period = params['Period']
10891
+ @AutoUseVoucher = params['AutoUseVoucher']
10892
+ end
10893
+ end
10894
+
10895
+ # RenewPlan返回参数结构体
10896
+ class RenewPlanResponse < TencentCloud::Common::AbstractModel
10897
+ # @param DealName: 订单号。
10898
+ # @type DealName: String
10899
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
10900
+ # @type RequestId: String
10901
+
10902
+ attr_accessor :DealName, :RequestId
10903
+
10904
+ def initialize(dealname=nil, requestid=nil)
10905
+ @DealName = dealname
10906
+ @RequestId = requestid
10907
+ end
10908
+
10909
+ def deserialize(params)
10910
+ @DealName = params['DealName']
10911
+ @RequestId = params['RequestId']
10912
+ end
10913
+ end
10914
+
10657
10915
  # 计费资源
10658
10916
  class Resource < TencentCloud::Common::AbstractModel
10659
10917
  # @param Id: 资源 ID。
@@ -12088,6 +12346,50 @@ module TencentCloud
12088
12346
  end
12089
12347
  end
12090
12348
 
12349
+ # UpgradePlan请求参数结构体
12350
+ class UpgradePlanRequest < TencentCloud::Common::AbstractModel
12351
+ # @param PlanId: 套餐 ID,形如 edgeone-2unuvzjmmn2q。
12352
+ # @type PlanId: String
12353
+ # @param PlanType: 需要升级到的目标套餐版本,取值有:<li> basic:基础版套餐;</li><li> standard:标准版套餐。</li>
12354
+ # @type PlanType: String
12355
+ # @param AutoUseVoucher: 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。
12356
+ # @type AutoUseVoucher: String
12357
+
12358
+ attr_accessor :PlanId, :PlanType, :AutoUseVoucher
12359
+
12360
+ def initialize(planid=nil, plantype=nil, autousevoucher=nil)
12361
+ @PlanId = planid
12362
+ @PlanType = plantype
12363
+ @AutoUseVoucher = autousevoucher
12364
+ end
12365
+
12366
+ def deserialize(params)
12367
+ @PlanId = params['PlanId']
12368
+ @PlanType = params['PlanType']
12369
+ @AutoUseVoucher = params['AutoUseVoucher']
12370
+ end
12371
+ end
12372
+
12373
+ # UpgradePlan返回参数结构体
12374
+ class UpgradePlanResponse < TencentCloud::Common::AbstractModel
12375
+ # @param DealName: 订单号。
12376
+ # @type DealName: String
12377
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
12378
+ # @type RequestId: String
12379
+
12380
+ attr_accessor :DealName, :RequestId
12381
+
12382
+ def initialize(dealname=nil, requestid=nil)
12383
+ @DealName = dealname
12384
+ @RequestId = requestid
12385
+ end
12386
+
12387
+ def deserialize(params)
12388
+ @DealName = params['DealName']
12389
+ @RequestId = params['RequestId']
12390
+ end
12391
+ end
12392
+
12091
12393
  # Http2回源配置
12092
12394
  class UpstreamHttp2 < TencentCloud::Common::AbstractModel
12093
12395
  # @param Switch: http2 回源配置开关,取值有:
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.812
4
+ version: 3.0.813
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-04-28 00:00:00.000000000 Z
11
+ date: 2024-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common