tencentcloud-sdk-waf 3.0.660 → 3.0.661

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: 5971d114ed244cfa20408d135f13c70d4fec6fc2
4
- data.tar.gz: 24216ff74632fa8b5bc89e23aece64e64998cb0f
3
+ metadata.gz: 6d0de4e59ba0ac9e16a5b43eeb6eae689916016d
4
+ data.tar.gz: d811aabdf20f4f50093a3f9d069ed7d64032dd2a
5
5
  SHA512:
6
- metadata.gz: 64cd3ad9d83fc6b707f05295395eaa7c037d8cbd0cd48631298d9e2ceaa1429acd07b420d958022374dade07b90b93472de0b089b3146466a2c4d46070903faa
7
- data.tar.gz: d450e84f43d0c43605fecc892e786f7137f8f0448bfb856582fc59d0d57dd84fcf7fd9d943c82c04cd9c54dd8463b438b50d5134c1aac13aa55540b6f6e66c19
6
+ metadata.gz: 0f36aa4d68ac09c0b6f013ee5d32c1cef616ab174050776a0b1b62bf3c3e5cb05d81cde2fdcaaf935a97244c5db9674deee902629f96e464ef8dbc72ee868d71
7
+ data.tar.gz: 68883417e1a0c4f631284902862c07232a9be437d9ff1e082a76adb365d03071278cde79666f6feb1efd7c7fe33d604e0f22a6cfdbd24c3481e745903f430e20
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.660
1
+ 3.0.661
@@ -510,7 +510,7 @@ module TencentCloud
510
510
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
511
511
  end
512
512
 
513
- # waf斯巴达-删除防护域名
513
+ # SAASWAF删除防护域名
514
514
 
515
515
  # @param request: Request instance for DeleteSpartaProtection.
516
516
  # @type request: :class:`Tencentcloud::waf::V20180125::DeleteSpartaProtectionRequest`
@@ -2221,6 +2221,102 @@ module TencentCloud
2221
2221
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2222
2222
  end
2223
2223
 
2224
+ # 修改实例的QPS弹性计费开关
2225
+
2226
+ # @param request: Request instance for ModifyInstanceElasticMode.
2227
+ # @type request: :class:`Tencentcloud::waf::V20180125::ModifyInstanceElasticModeRequest`
2228
+ # @rtype: :class:`Tencentcloud::waf::V20180125::ModifyInstanceElasticModeResponse`
2229
+ def ModifyInstanceElasticMode(request)
2230
+ body = send_request('ModifyInstanceElasticMode', request.serialize)
2231
+ response = JSON.parse(body)
2232
+ if response['Response'].key?('Error') == false
2233
+ model = ModifyInstanceElasticModeResponse.new
2234
+ model.deserialize(response['Response'])
2235
+ model
2236
+ else
2237
+ code = response['Response']['Error']['Code']
2238
+ message = response['Response']['Error']['Message']
2239
+ reqid = response['Response']['RequestId']
2240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2241
+ end
2242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2243
+ raise e
2244
+ rescue StandardError => e
2245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2246
+ end
2247
+
2248
+ # 修改实例的名称
2249
+
2250
+ # @param request: Request instance for ModifyInstanceName.
2251
+ # @type request: :class:`Tencentcloud::waf::V20180125::ModifyInstanceNameRequest`
2252
+ # @rtype: :class:`Tencentcloud::waf::V20180125::ModifyInstanceNameResponse`
2253
+ def ModifyInstanceName(request)
2254
+ body = send_request('ModifyInstanceName', request.serialize)
2255
+ response = JSON.parse(body)
2256
+ if response['Response'].key?('Error') == false
2257
+ model = ModifyInstanceNameResponse.new
2258
+ model.deserialize(response['Response'])
2259
+ model
2260
+ else
2261
+ code = response['Response']['Error']['Code']
2262
+ message = response['Response']['Error']['Message']
2263
+ reqid = response['Response']['RequestId']
2264
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2265
+ end
2266
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2267
+ raise e
2268
+ rescue StandardError => e
2269
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2270
+ end
2271
+
2272
+ # 设置套餐实例的弹性qps上限
2273
+
2274
+ # @param request: Request instance for ModifyInstanceQpsLimit.
2275
+ # @type request: :class:`Tencentcloud::waf::V20180125::ModifyInstanceQpsLimitRequest`
2276
+ # @rtype: :class:`Tencentcloud::waf::V20180125::ModifyInstanceQpsLimitResponse`
2277
+ def ModifyInstanceQpsLimit(request)
2278
+ body = send_request('ModifyInstanceQpsLimit', request.serialize)
2279
+ response = JSON.parse(body)
2280
+ if response['Response'].key?('Error') == false
2281
+ model = ModifyInstanceQpsLimitResponse.new
2282
+ model.deserialize(response['Response'])
2283
+ model
2284
+ else
2285
+ code = response['Response']['Error']['Code']
2286
+ message = response['Response']['Error']['Message']
2287
+ reqid = response['Response']['RequestId']
2288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2289
+ end
2290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2291
+ raise e
2292
+ rescue StandardError => e
2293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2294
+ end
2295
+
2296
+ # 修改实例的自动续费开关
2297
+
2298
+ # @param request: Request instance for ModifyInstanceRenewFlag.
2299
+ # @type request: :class:`Tencentcloud::waf::V20180125::ModifyInstanceRenewFlagRequest`
2300
+ # @rtype: :class:`Tencentcloud::waf::V20180125::ModifyInstanceRenewFlagResponse`
2301
+ def ModifyInstanceRenewFlag(request)
2302
+ body = send_request('ModifyInstanceRenewFlag', request.serialize)
2303
+ response = JSON.parse(body)
2304
+ if response['Response'].key?('Error') == false
2305
+ model = ModifyInstanceRenewFlagResponse.new
2306
+ model.deserialize(response['Response'])
2307
+ model
2308
+ else
2309
+ code = response['Response']['Error']['Code']
2310
+ message = response['Response']['Error']['Message']
2311
+ reqid = response['Response']['RequestId']
2312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2313
+ end
2314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2315
+ raise e
2316
+ rescue StandardError => e
2317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2318
+ end
2319
+
2224
2320
  # waf斯巴达-waf开关
2225
2321
 
2226
2322
  # @param request: Request instance for ModifyProtectionStatus.
@@ -5599,15 +5599,20 @@ module TencentCloud
5599
5599
  # 高级版: 102375(新购),102376(续费),102377(变配)
5600
5600
  # 企业版 : 102378(新购),102379(续费),102380(变配)
5601
5601
  # 旗舰版 : 102369(新购),102370(续费),102371(变配)
5602
+ # 域名包 : 102372(新购),102373(续费),102374(变配)
5603
+ # 业务扩展包 : 101040(新购),101041(续费),101042(变配)
5604
+
5602
5605
  # 高级版-CLB: 新购 101198 续费 101199 变配 101200
5603
5606
  # 企业版-CLB 101204(新购),101205(续费),101206(变配)
5604
5607
  # 旗舰版-CLB : 101201(新购),101202(续费),101203(变配)
5608
+ # 域名包-CLB: 101207(新购),101208(续费),101209(变配)
5609
+ # 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配)
5605
5610
 
5606
5611
  # 注意:此字段可能返回 null,表示取不到有效值。
5607
5612
  # @type GoodsCategoryId: Integer
5608
5613
  # @param RegionId: 购买waf实例区域ID
5609
- # 1 表示购买大陆资源
5610
- # 2表示购买非中国大陆资源
5614
+ # 1 表示购买大陆资源;
5615
+ # 9表示购买非中国大陆资源
5611
5616
  # 注意:此字段可能返回 null,表示取不到有效值。
5612
5617
  # @type RegionId: Integer
5613
5618
 
@@ -5636,16 +5641,22 @@ module TencentCloud
5636
5641
  # @param TimeSpan: 时间间隔
5637
5642
  # 注意:此字段可能返回 null,表示取不到有效值。
5638
5643
  # @type TimeSpan: Integer
5639
- # @param TimeUnit: 单位,支持m、y、d
5644
+ # @param TimeUnit: 单位,支持购买d、m、y 即(日、月、年)
5640
5645
  # 注意:此字段可能返回 null,表示取不到有效值。
5641
5646
  # @type TimeUnit: String
5642
5647
  # @param SubProductCode: 子产品标签,。新购,续费必传,变配时放在oldConfig newConfig里面
5643
- # 高级版 :sp_wsm_waf_premium
5644
- # 企业版sp_wsm_waf_enterprise
5645
- # 旗舰版sp_wsm_waf_ultimate
5648
+
5649
+ # Saas 高级版 sp_wsm_waf_premium
5650
+ # Saas企业版sp_wsm_waf_enterprise
5651
+ # Saas旗舰版 :sp_wsm_waf_ultimate
5652
+ # Saas 业务扩展包:sp_wsm_waf_qpsep
5653
+ # Saas 域名扩展包:sp_wsm_waf_domain
5654
+
5646
5655
  # 高级版-CLB:sp_wsm_waf_premium_clb
5647
5656
  # 企业版-CLB : sp_wsm_waf_enterprise_clb
5648
5657
  # 旗舰版-CLB:sp_wsm_waf_ultimate_clb
5658
+ # 业务扩展包-CLB:sp_wsm_waf_qpsep_clb
5659
+ # 域名扩展包-CLB:sp_wsm_waf_domain_clb
5649
5660
 
5650
5661
  # 注意:此字段可能返回 null,表示取不到有效值。
5651
5662
  # @type SubProductCode: String
@@ -5653,9 +5664,13 @@ module TencentCloud
5653
5664
  # 高级版 :1000827
5654
5665
  # 企业版 :1000830
5655
5666
  # 旗舰版 :1000832
5667
+ # 域名包 : 1000834
5668
+ # 业务扩展包 : 1000481
5656
5669
  # 高级版-CLB:1001150
5657
5670
  # 企业版-CLB : 1001152
5658
5671
  # 旗舰版-CLB:1001154
5672
+ # 域名包-CLB: 1001156
5673
+ # 业务扩展包-CLB : 1001160
5659
5674
 
5660
5675
  # 注意:此字段可能返回 null,表示取不到有效值。
5661
5676
  # @type Pid: Integer
@@ -5669,6 +5684,24 @@ module TencentCloud
5669
5684
  # 注意:此字段可能返回 null,表示取不到有效值。
5670
5685
  # @type RealRegion: Integer
5671
5686
  # @param LabelTypes: 计费细项标签数组
5687
+ # Saas 高级版 sv_wsm_waf_package_premium
5688
+ # Saas 企业版 sv_wsm_waf_package_enterprise
5689
+ # Saas 旗舰版 sv_wsm_waf_package_ultimate
5690
+ # Saas 非中国大陆高级版 sv_wsm_waf_package_premium_intl
5691
+ # Saas 非中国大陆企业版 sv_wsm_waf_package_enterprise_intl
5692
+ # Saas 非中国大陆旗舰版 sv_wsm_waf_package_ultimate _intl
5693
+ # Saas 业务扩展包 sv_wsm_waf_qps_ep
5694
+ # Saas 域名扩展包 sv_wsm_waf_domain
5695
+
5696
+ # 高级版CLB sv_wsm_waf_package_premium_clb
5697
+ # 企业版CLB sv_wsm_waf_package_enterprise_clb
5698
+ # 旗舰版CLB sv_wsm_waf_package_ultimate_clb
5699
+ # 非中国大陆高级版 CLB sv_wsm_waf_package_premium_clb_intl
5700
+ # 非中国大陆企业版CLB sv_wsm_waf_package_premium_clb_intl
5701
+ # 非中国大陆旗舰版CLB sv_wsm_waf_package_ultimate_clb _intl
5702
+ # 业务扩展包CLB sv_wsm_waf_qps_ep_clb
5703
+ # 域名扩展包CLB sv_wsm_waf_domain_clb
5704
+
5672
5705
  # 注意:此字段可能返回 null,表示取不到有效值。
5673
5706
  # @type LabelTypes: Array
5674
5707
  # @param LabelCounts: 计费细项标签数量,一般和SvLabelType一一对应
@@ -7264,6 +7297,154 @@ module TencentCloud
7264
7297
  end
7265
7298
  end
7266
7299
 
7300
+ # ModifyInstanceElasticMode请求参数结构体
7301
+ class ModifyInstanceElasticModeRequest < TencentCloud::Common::AbstractModel
7302
+ # @param InstanceId: 实例ID
7303
+ # @type InstanceId: String
7304
+ # @param Mode: 弹性计费开关
7305
+ # @type Mode: Integer
7306
+
7307
+ attr_accessor :InstanceId, :Mode
7308
+
7309
+ def initialize(instanceid=nil, mode=nil)
7310
+ @InstanceId = instanceid
7311
+ @Mode = mode
7312
+ end
7313
+
7314
+ def deserialize(params)
7315
+ @InstanceId = params['InstanceId']
7316
+ @Mode = params['Mode']
7317
+ end
7318
+ end
7319
+
7320
+ # ModifyInstanceElasticMode返回参数结构体
7321
+ class ModifyInstanceElasticModeResponse < TencentCloud::Common::AbstractModel
7322
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7323
+ # @type RequestId: String
7324
+
7325
+ attr_accessor :RequestId
7326
+
7327
+ def initialize(requestid=nil)
7328
+ @RequestId = requestid
7329
+ end
7330
+
7331
+ def deserialize(params)
7332
+ @RequestId = params['RequestId']
7333
+ end
7334
+ end
7335
+
7336
+ # ModifyInstanceName请求参数结构体
7337
+ class ModifyInstanceNameRequest < TencentCloud::Common::AbstractModel
7338
+ # @param InstanceID: 实例id
7339
+ # @type InstanceID: String
7340
+ # @param Edition: 版本
7341
+ # @type Edition: String
7342
+
7343
+ attr_accessor :InstanceID, :Edition
7344
+
7345
+ def initialize(instanceid=nil, edition=nil)
7346
+ @InstanceID = instanceid
7347
+ @Edition = edition
7348
+ end
7349
+
7350
+ def deserialize(params)
7351
+ @InstanceID = params['InstanceID']
7352
+ @Edition = params['Edition']
7353
+ end
7354
+ end
7355
+
7356
+ # ModifyInstanceName返回参数结构体
7357
+ class ModifyInstanceNameResponse < TencentCloud::Common::AbstractModel
7358
+ # @param ModifyCode: 修改状态:0为成功
7359
+ # @type ModifyCode: Integer
7360
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7361
+ # @type RequestId: String
7362
+
7363
+ attr_accessor :ModifyCode, :RequestId
7364
+
7365
+ def initialize(modifycode=nil, requestid=nil)
7366
+ @ModifyCode = modifycode
7367
+ @RequestId = requestid
7368
+ end
7369
+
7370
+ def deserialize(params)
7371
+ @ModifyCode = params['ModifyCode']
7372
+ @RequestId = params['RequestId']
7373
+ end
7374
+ end
7375
+
7376
+ # ModifyInstanceQpsLimit请求参数结构体
7377
+ class ModifyInstanceQpsLimitRequest < TencentCloud::Common::AbstractModel
7378
+ # @param InstanceId: 套餐实例id
7379
+ # @type InstanceId: String
7380
+ # @param QpsLimit: qps上限
7381
+ # @type QpsLimit: Integer
7382
+
7383
+ attr_accessor :InstanceId, :QpsLimit
7384
+
7385
+ def initialize(instanceid=nil, qpslimit=nil)
7386
+ @InstanceId = instanceid
7387
+ @QpsLimit = qpslimit
7388
+ end
7389
+
7390
+ def deserialize(params)
7391
+ @InstanceId = params['InstanceId']
7392
+ @QpsLimit = params['QpsLimit']
7393
+ end
7394
+ end
7395
+
7396
+ # ModifyInstanceQpsLimit返回参数结构体
7397
+ class ModifyInstanceQpsLimitResponse < TencentCloud::Common::AbstractModel
7398
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7399
+ # @type RequestId: String
7400
+
7401
+ attr_accessor :RequestId
7402
+
7403
+ def initialize(requestid=nil)
7404
+ @RequestId = requestid
7405
+ end
7406
+
7407
+ def deserialize(params)
7408
+ @RequestId = params['RequestId']
7409
+ end
7410
+ end
7411
+
7412
+ # ModifyInstanceRenewFlag请求参数结构体
7413
+ class ModifyInstanceRenewFlagRequest < TencentCloud::Common::AbstractModel
7414
+ # @param InstanceId: 实例ID
7415
+ # @type InstanceId: String
7416
+ # @param RenewFlag: 续费开关
7417
+ # @type RenewFlag: Integer
7418
+
7419
+ attr_accessor :InstanceId, :RenewFlag
7420
+
7421
+ def initialize(instanceid=nil, renewflag=nil)
7422
+ @InstanceId = instanceid
7423
+ @RenewFlag = renewflag
7424
+ end
7425
+
7426
+ def deserialize(params)
7427
+ @InstanceId = params['InstanceId']
7428
+ @RenewFlag = params['RenewFlag']
7429
+ end
7430
+ end
7431
+
7432
+ # ModifyInstanceRenewFlag返回参数结构体
7433
+ class ModifyInstanceRenewFlagResponse < TencentCloud::Common::AbstractModel
7434
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7435
+ # @type RequestId: String
7436
+
7437
+ attr_accessor :RequestId
7438
+
7439
+ def initialize(requestid=nil)
7440
+ @RequestId = requestid
7441
+ end
7442
+
7443
+ def deserialize(params)
7444
+ @RequestId = params['RequestId']
7445
+ end
7446
+ end
7447
+
7267
7448
  # ModifyProtectionStatus请求参数结构体
7268
7449
  class ModifyProtectionStatusRequest < TencentCloud::Common::AbstractModel
7269
7450
  # @param Domain: 域名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-waf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.660
4
+ version: 3.0.661
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-15 00:00:00.000000000 Z
11
+ date: 2023-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common