tencentcloud-sdk-waf 3.0.660 → 3.0.662
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/v20180125/client.rb +97 -1
- data/lib/v20180125/models.rb +229 -19
- 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: 5d225e53d97f12635fc40402912825dac03bc55e
|
4
|
+
data.tar.gz: da029344e01fef390054f20c402d3e2668ba5c84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30de18001311c6206a596e00452ff428d1c21be47a2e4d72fe1e3642628c04a159d74bad5a584b4015d4616991e0cd57bb515744965cd3478ed880157118496d
|
7
|
+
data.tar.gz: 84e3980909571e0dee2cf529b4733c28cd2a2ad4879a9724ddec5c489ec26a3924a756f5f20a3e5bad141d490a83762945b2240f3c11a454a229193bb80d235b
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.662
|
data/lib/v20180125/client.rb
CHANGED
@@ -510,7 +510,7 @@ module TencentCloud
|
|
510
510
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
511
511
|
end
|
512
512
|
|
513
|
-
#
|
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.
|
data/lib/v20180125/models.rb
CHANGED
@@ -1291,10 +1291,13 @@ module TencentCloud
|
|
1291
1291
|
# @param CdcClusters: cdc类型会增加集群信息
|
1292
1292
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1293
1293
|
# @type CdcClusters: String
|
1294
|
+
# @param CloudType: 云类型:public:公有云;private:私有云;hybrid:混合云
|
1295
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1296
|
+
# @type CloudType: String
|
1294
1297
|
|
1295
|
-
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters
|
1298
|
+
attr_accessor :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :IsCdn, :LoadBalancerSet, :FlowMode, :State, :AlbType, :IpHeaders, :CdcClusters, :CloudType
|
1296
1299
|
|
1297
|
-
def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil)
|
1300
|
+
def initialize(domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, iscdn=nil, loadbalancerset=nil, flowmode=nil, state=nil, albtype=nil, ipheaders=nil, cdcclusters=nil, cloudtype=nil)
|
1298
1301
|
@Domain = domain
|
1299
1302
|
@DomainId = domainid
|
1300
1303
|
@InstanceId = instanceid
|
@@ -1307,6 +1310,7 @@ module TencentCloud
|
|
1307
1310
|
@AlbType = albtype
|
1308
1311
|
@IpHeaders = ipheaders
|
1309
1312
|
@CdcClusters = cdcclusters
|
1313
|
+
@CloudType = cloudtype
|
1310
1314
|
end
|
1311
1315
|
|
1312
1316
|
def deserialize(params)
|
@@ -1329,6 +1333,7 @@ module TencentCloud
|
|
1329
1333
|
@AlbType = params['AlbType']
|
1330
1334
|
@IpHeaders = params['IpHeaders']
|
1331
1335
|
@CdcClusters = params['CdcClusters']
|
1336
|
+
@CloudType = params['CloudType']
|
1332
1337
|
end
|
1333
1338
|
end
|
1334
1339
|
|
@@ -5599,15 +5604,20 @@ module TencentCloud
|
|
5599
5604
|
# 高级版: 102375(新购),102376(续费),102377(变配)
|
5600
5605
|
# 企业版 : 102378(新购),102379(续费),102380(变配)
|
5601
5606
|
# 旗舰版 : 102369(新购),102370(续费),102371(变配)
|
5607
|
+
# 域名包 : 102372(新购),102373(续费),102374(变配)
|
5608
|
+
# 业务扩展包 : 101040(新购),101041(续费),101042(变配)
|
5609
|
+
|
5602
5610
|
# 高级版-CLB: 新购 101198 续费 101199 变配 101200
|
5603
5611
|
# 企业版-CLB 101204(新购),101205(续费),101206(变配)
|
5604
5612
|
# 旗舰版-CLB : 101201(新购),101202(续费),101203(变配)
|
5613
|
+
# 域名包-CLB: 101207(新购),101208(续费),101209(变配)
|
5614
|
+
# 业务扩展包-CLB: 101210(新购),101211(续费),101212(变配)
|
5605
5615
|
|
5606
5616
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5607
5617
|
# @type GoodsCategoryId: Integer
|
5608
5618
|
# @param RegionId: 购买waf实例区域ID
|
5609
|
-
# 1
|
5610
|
-
#
|
5619
|
+
# 1 表示购买大陆资源;
|
5620
|
+
# 9表示购买非中国大陆资源
|
5611
5621
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5612
5622
|
# @type RegionId: Integer
|
5613
5623
|
|
@@ -5636,16 +5646,22 @@ module TencentCloud
|
|
5636
5646
|
# @param TimeSpan: 时间间隔
|
5637
5647
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5638
5648
|
# @type TimeSpan: Integer
|
5639
|
-
# @param TimeUnit:
|
5649
|
+
# @param TimeUnit: 单位,支持购买d、m、y 即(日、月、年)
|
5640
5650
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5641
5651
|
# @type TimeUnit: String
|
5642
5652
|
# @param SubProductCode: 子产品标签,。新购,续费必传,变配时放在oldConfig newConfig里面
|
5643
|
-
|
5644
|
-
#
|
5645
|
-
#
|
5653
|
+
|
5654
|
+
# Saas 高级版 :sp_wsm_waf_premium
|
5655
|
+
# Saas企业版 :sp_wsm_waf_enterprise
|
5656
|
+
# Saas旗舰版 :sp_wsm_waf_ultimate
|
5657
|
+
# Saas 业务扩展包:sp_wsm_waf_qpsep
|
5658
|
+
# Saas 域名扩展包:sp_wsm_waf_domain
|
5659
|
+
|
5646
5660
|
# 高级版-CLB:sp_wsm_waf_premium_clb
|
5647
5661
|
# 企业版-CLB : sp_wsm_waf_enterprise_clb
|
5648
5662
|
# 旗舰版-CLB:sp_wsm_waf_ultimate_clb
|
5663
|
+
# 业务扩展包-CLB:sp_wsm_waf_qpsep_clb
|
5664
|
+
# 域名扩展包-CLB:sp_wsm_waf_domain_clb
|
5649
5665
|
|
5650
5666
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5651
5667
|
# @type SubProductCode: String
|
@@ -5653,9 +5669,13 @@ module TencentCloud
|
|
5653
5669
|
# 高级版 :1000827
|
5654
5670
|
# 企业版 :1000830
|
5655
5671
|
# 旗舰版 :1000832
|
5672
|
+
# 域名包 : 1000834
|
5673
|
+
# 业务扩展包 : 1000481
|
5656
5674
|
# 高级版-CLB:1001150
|
5657
5675
|
# 企业版-CLB : 1001152
|
5658
5676
|
# 旗舰版-CLB:1001154
|
5677
|
+
# 域名包-CLB: 1001156
|
5678
|
+
# 业务扩展包-CLB : 1001160
|
5659
5679
|
|
5660
5680
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5661
5681
|
# @type Pid: Integer
|
@@ -5669,6 +5689,24 @@ module TencentCloud
|
|
5669
5689
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5670
5690
|
# @type RealRegion: Integer
|
5671
5691
|
# @param LabelTypes: 计费细项标签数组
|
5692
|
+
# Saas 高级版 sv_wsm_waf_package_premium
|
5693
|
+
# Saas 企业版 sv_wsm_waf_package_enterprise
|
5694
|
+
# Saas 旗舰版 sv_wsm_waf_package_ultimate
|
5695
|
+
# Saas 非中国大陆高级版 sv_wsm_waf_package_premium_intl
|
5696
|
+
# Saas 非中国大陆企业版 sv_wsm_waf_package_enterprise_intl
|
5697
|
+
# Saas 非中国大陆旗舰版 sv_wsm_waf_package_ultimate _intl
|
5698
|
+
# Saas 业务扩展包 sv_wsm_waf_qps_ep
|
5699
|
+
# Saas 域名扩展包 sv_wsm_waf_domain
|
5700
|
+
|
5701
|
+
# 高级版CLB sv_wsm_waf_package_premium_clb
|
5702
|
+
# 企业版CLB sv_wsm_waf_package_enterprise_clb
|
5703
|
+
# 旗舰版CLB sv_wsm_waf_package_ultimate_clb
|
5704
|
+
# 非中国大陆高级版 CLB sv_wsm_waf_package_premium_clb_intl
|
5705
|
+
# 非中国大陆企业版CLB sv_wsm_waf_package_premium_clb_intl
|
5706
|
+
# 非中国大陆旗舰版CLB sv_wsm_waf_package_ultimate_clb _intl
|
5707
|
+
# 业务扩展包CLB sv_wsm_waf_qps_ep_clb
|
5708
|
+
# 域名扩展包CLB sv_wsm_waf_domain_clb
|
5709
|
+
|
5672
5710
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5673
5711
|
# @type LabelTypes: Array
|
5674
5712
|
# @param LabelCounts: 计费细项标签数量,一般和SvLabelType一一对应
|
@@ -5744,13 +5782,13 @@ module TencentCloud
|
|
5744
5782
|
# @type DomainId: String
|
5745
5783
|
# @param MainDomain: 主域名,入参时为空
|
5746
5784
|
# @type MainDomain: String
|
5747
|
-
# @param Mode:
|
5785
|
+
# @param Mode: 规则引擎防护模式,0 观察模式,1拦截模式
|
5748
5786
|
# @type Mode: Integer
|
5749
5787
|
# @param Status: waf和LD的绑定,0:没有绑定,1:绑定
|
5750
5788
|
# @type Status: Integer
|
5751
5789
|
# @param State: 域名状态,0:正常,1:未检测到流量,2:即将过期,3:过期
|
5752
5790
|
# @type State: Integer
|
5753
|
-
# @param Engine:
|
5791
|
+
# @param Engine: 规则引擎和AI引擎防护模式联合状态,10规则引擎观察&&AI引擎关闭模式 11规则引擎观察&&AI引擎观察模式 12规则引擎观察&&AI引擎拦截模式 20规则引擎拦截&&AI引擎关闭模式 21规则引擎拦截&&AI引擎观察模式 22规则引擎拦截&&AI引擎拦截模式
|
5754
5792
|
# @type Engine: Integer
|
5755
5793
|
# @param IsCdn: 是否开启代理,0:不开启,1:开启
|
5756
5794
|
# @type IsCdn: Integer
|
@@ -5779,10 +5817,13 @@ module TencentCloud
|
|
5779
5817
|
# @param EngineType: 规则引擎类型, 1: menshen, 2:tiga
|
5780
5818
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
5781
5819
|
# @type EngineType: Integer
|
5820
|
+
# @param CloudType: 云类型:public:公有云;private:私有云;hybrid:混合云
|
5821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
5822
|
+
# @type CloudType: String
|
5782
5823
|
|
5783
|
-
attr_accessor :Domain, :DomainId, :MainDomain, :Mode, :Status, :State, :Engine, :IsCdn, :LoadBalancerSet, :Region, :Edition, :FlowMode, :ClsStatus, :Level, :CdcClusters, :AlbType, :IpHeaders, :EngineType
|
5824
|
+
attr_accessor :Domain, :DomainId, :MainDomain, :Mode, :Status, :State, :Engine, :IsCdn, :LoadBalancerSet, :Region, :Edition, :FlowMode, :ClsStatus, :Level, :CdcClusters, :AlbType, :IpHeaders, :EngineType, :CloudType
|
5784
5825
|
|
5785
|
-
def initialize(domain=nil, domainid=nil, maindomain=nil, mode=nil, status=nil, state=nil, engine=nil, iscdn=nil, loadbalancerset=nil, region=nil, edition=nil, flowmode=nil, clsstatus=nil, level=nil, cdcclusters=nil, albtype=nil, ipheaders=nil, enginetype=nil)
|
5826
|
+
def initialize(domain=nil, domainid=nil, maindomain=nil, mode=nil, status=nil, state=nil, engine=nil, iscdn=nil, loadbalancerset=nil, region=nil, edition=nil, flowmode=nil, clsstatus=nil, level=nil, cdcclusters=nil, albtype=nil, ipheaders=nil, enginetype=nil, cloudtype=nil)
|
5786
5827
|
@Domain = domain
|
5787
5828
|
@DomainId = domainid
|
5788
5829
|
@MainDomain = maindomain
|
@@ -5801,6 +5842,7 @@ module TencentCloud
|
|
5801
5842
|
@AlbType = albtype
|
5802
5843
|
@IpHeaders = ipheaders
|
5803
5844
|
@EngineType = enginetype
|
5845
|
+
@CloudType = cloudtype
|
5804
5846
|
end
|
5805
5847
|
|
5806
5848
|
def deserialize(params)
|
@@ -5829,6 +5871,7 @@ module TencentCloud
|
|
5829
5871
|
@AlbType = params['AlbType']
|
5830
5872
|
@IpHeaders = params['IpHeaders']
|
5831
5873
|
@EngineType = params['EngineType']
|
5874
|
+
@CloudType = params['CloudType']
|
5832
5875
|
end
|
5833
5876
|
end
|
5834
5877
|
|
@@ -6176,10 +6219,13 @@ module TencentCloud
|
|
6176
6219
|
# @param LoadBalancerType: 负载均衡的网络类型
|
6177
6220
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6178
6221
|
# @type LoadBalancerType: String
|
6222
|
+
# @param LoadBalancerDomain: 负载均衡的域名
|
6223
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6224
|
+
# @type LoadBalancerDomain: String
|
6179
6225
|
|
6180
|
-
attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vip, :Vport, :Region, :Protocol, :Zone, :NumericalVpcId, :LoadBalancerType
|
6226
|
+
attr_accessor :LoadBalancerId, :LoadBalancerName, :ListenerId, :ListenerName, :Vip, :Vport, :Region, :Protocol, :Zone, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
|
6181
6227
|
|
6182
|
-
def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vip=nil, vport=nil, region=nil, protocol=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil)
|
6228
|
+
def initialize(loadbalancerid=nil, loadbalancername=nil, listenerid=nil, listenername=nil, vip=nil, vport=nil, region=nil, protocol=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
|
6183
6229
|
@LoadBalancerId = loadbalancerid
|
6184
6230
|
@LoadBalancerName = loadbalancername
|
6185
6231
|
@ListenerId = listenerid
|
@@ -6191,6 +6237,7 @@ module TencentCloud
|
|
6191
6237
|
@Zone = zone
|
6192
6238
|
@NumericalVpcId = numericalvpcid
|
6193
6239
|
@LoadBalancerType = loadbalancertype
|
6240
|
+
@LoadBalancerDomain = loadbalancerdomain
|
6194
6241
|
end
|
6195
6242
|
|
6196
6243
|
def deserialize(params)
|
@@ -6205,6 +6252,7 @@ module TencentCloud
|
|
6205
6252
|
@Zone = params['Zone']
|
6206
6253
|
@NumericalVpcId = params['NumericalVpcId']
|
6207
6254
|
@LoadBalancerType = params['LoadBalancerType']
|
6255
|
+
@LoadBalancerDomain = params['LoadBalancerDomain']
|
6208
6256
|
end
|
6209
6257
|
end
|
6210
6258
|
|
@@ -6243,10 +6291,13 @@ module TencentCloud
|
|
6243
6291
|
# @param LoadBalancerType: CLB类型
|
6244
6292
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6245
6293
|
# @type LoadBalancerType: String
|
6294
|
+
# @param LoadBalancerDomain: 负载均衡器的域名
|
6295
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
6296
|
+
# @type LoadBalancerDomain: String
|
6246
6297
|
|
6247
|
-
attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :Vport, :Zone, :NumericalVpcId, :LoadBalancerType
|
6298
|
+
attr_accessor :ListenerId, :ListenerName, :LoadBalancerId, :LoadBalancerName, :Protocol, :Region, :Vip, :Vport, :Zone, :NumericalVpcId, :LoadBalancerType, :LoadBalancerDomain
|
6248
6299
|
|
6249
|
-
def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil)
|
6300
|
+
def initialize(listenerid=nil, listenername=nil, loadbalancerid=nil, loadbalancername=nil, protocol=nil, region=nil, vip=nil, vport=nil, zone=nil, numericalvpcid=nil, loadbalancertype=nil, loadbalancerdomain=nil)
|
6250
6301
|
@ListenerId = listenerid
|
6251
6302
|
@ListenerName = listenername
|
6252
6303
|
@LoadBalancerId = loadbalancerid
|
@@ -6258,6 +6309,7 @@ module TencentCloud
|
|
6258
6309
|
@Zone = zone
|
6259
6310
|
@NumericalVpcId = numericalvpcid
|
6260
6311
|
@LoadBalancerType = loadbalancertype
|
6312
|
+
@LoadBalancerDomain = loadbalancerdomain
|
6261
6313
|
end
|
6262
6314
|
|
6263
6315
|
def deserialize(params)
|
@@ -6272,6 +6324,7 @@ module TencentCloud
|
|
6272
6324
|
@Zone = params['Zone']
|
6273
6325
|
@NumericalVpcId = params['NumericalVpcId']
|
6274
6326
|
@LoadBalancerType = params['LoadBalancerType']
|
6327
|
+
@LoadBalancerDomain = params['LoadBalancerDomain']
|
6275
6328
|
end
|
6276
6329
|
end
|
6277
6330
|
|
@@ -7264,6 +7317,158 @@ module TencentCloud
|
|
7264
7317
|
end
|
7265
7318
|
end
|
7266
7319
|
|
7320
|
+
# ModifyInstanceElasticMode请求参数结构体
|
7321
|
+
class ModifyInstanceElasticModeRequest < TencentCloud::Common::AbstractModel
|
7322
|
+
# @param InstanceId: 实例ID
|
7323
|
+
# @type InstanceId: String
|
7324
|
+
# @param Mode: 弹性计费开关
|
7325
|
+
# @type Mode: Integer
|
7326
|
+
|
7327
|
+
attr_accessor :InstanceId, :Mode
|
7328
|
+
|
7329
|
+
def initialize(instanceid=nil, mode=nil)
|
7330
|
+
@InstanceId = instanceid
|
7331
|
+
@Mode = mode
|
7332
|
+
end
|
7333
|
+
|
7334
|
+
def deserialize(params)
|
7335
|
+
@InstanceId = params['InstanceId']
|
7336
|
+
@Mode = params['Mode']
|
7337
|
+
end
|
7338
|
+
end
|
7339
|
+
|
7340
|
+
# ModifyInstanceElasticMode返回参数结构体
|
7341
|
+
class ModifyInstanceElasticModeResponse < TencentCloud::Common::AbstractModel
|
7342
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7343
|
+
# @type RequestId: String
|
7344
|
+
|
7345
|
+
attr_accessor :RequestId
|
7346
|
+
|
7347
|
+
def initialize(requestid=nil)
|
7348
|
+
@RequestId = requestid
|
7349
|
+
end
|
7350
|
+
|
7351
|
+
def deserialize(params)
|
7352
|
+
@RequestId = params['RequestId']
|
7353
|
+
end
|
7354
|
+
end
|
7355
|
+
|
7356
|
+
# ModifyInstanceName请求参数结构体
|
7357
|
+
class ModifyInstanceNameRequest < TencentCloud::Common::AbstractModel
|
7358
|
+
# @param InstanceName: 新名称
|
7359
|
+
# @type InstanceName: String
|
7360
|
+
# @param InstanceID: 实例id
|
7361
|
+
# @type InstanceID: String
|
7362
|
+
# @param Edition: 版本
|
7363
|
+
# @type Edition: String
|
7364
|
+
|
7365
|
+
attr_accessor :InstanceName, :InstanceID, :Edition
|
7366
|
+
|
7367
|
+
def initialize(instancename=nil, instanceid=nil, edition=nil)
|
7368
|
+
@InstanceName = instancename
|
7369
|
+
@InstanceID = instanceid
|
7370
|
+
@Edition = edition
|
7371
|
+
end
|
7372
|
+
|
7373
|
+
def deserialize(params)
|
7374
|
+
@InstanceName = params['InstanceName']
|
7375
|
+
@InstanceID = params['InstanceID']
|
7376
|
+
@Edition = params['Edition']
|
7377
|
+
end
|
7378
|
+
end
|
7379
|
+
|
7380
|
+
# ModifyInstanceName返回参数结构体
|
7381
|
+
class ModifyInstanceNameResponse < TencentCloud::Common::AbstractModel
|
7382
|
+
# @param ModifyCode: 修改状态:0为成功
|
7383
|
+
# @type ModifyCode: Integer
|
7384
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7385
|
+
# @type RequestId: String
|
7386
|
+
|
7387
|
+
attr_accessor :ModifyCode, :RequestId
|
7388
|
+
|
7389
|
+
def initialize(modifycode=nil, requestid=nil)
|
7390
|
+
@ModifyCode = modifycode
|
7391
|
+
@RequestId = requestid
|
7392
|
+
end
|
7393
|
+
|
7394
|
+
def deserialize(params)
|
7395
|
+
@ModifyCode = params['ModifyCode']
|
7396
|
+
@RequestId = params['RequestId']
|
7397
|
+
end
|
7398
|
+
end
|
7399
|
+
|
7400
|
+
# ModifyInstanceQpsLimit请求参数结构体
|
7401
|
+
class ModifyInstanceQpsLimitRequest < TencentCloud::Common::AbstractModel
|
7402
|
+
# @param InstanceId: 套餐实例id
|
7403
|
+
# @type InstanceId: String
|
7404
|
+
# @param QpsLimit: qps上限
|
7405
|
+
# @type QpsLimit: Integer
|
7406
|
+
|
7407
|
+
attr_accessor :InstanceId, :QpsLimit
|
7408
|
+
|
7409
|
+
def initialize(instanceid=nil, qpslimit=nil)
|
7410
|
+
@InstanceId = instanceid
|
7411
|
+
@QpsLimit = qpslimit
|
7412
|
+
end
|
7413
|
+
|
7414
|
+
def deserialize(params)
|
7415
|
+
@InstanceId = params['InstanceId']
|
7416
|
+
@QpsLimit = params['QpsLimit']
|
7417
|
+
end
|
7418
|
+
end
|
7419
|
+
|
7420
|
+
# ModifyInstanceQpsLimit返回参数结构体
|
7421
|
+
class ModifyInstanceQpsLimitResponse < TencentCloud::Common::AbstractModel
|
7422
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7423
|
+
# @type RequestId: String
|
7424
|
+
|
7425
|
+
attr_accessor :RequestId
|
7426
|
+
|
7427
|
+
def initialize(requestid=nil)
|
7428
|
+
@RequestId = requestid
|
7429
|
+
end
|
7430
|
+
|
7431
|
+
def deserialize(params)
|
7432
|
+
@RequestId = params['RequestId']
|
7433
|
+
end
|
7434
|
+
end
|
7435
|
+
|
7436
|
+
# ModifyInstanceRenewFlag请求参数结构体
|
7437
|
+
class ModifyInstanceRenewFlagRequest < TencentCloud::Common::AbstractModel
|
7438
|
+
# @param InstanceId: 实例ID
|
7439
|
+
# @type InstanceId: String
|
7440
|
+
# @param RenewFlag: 续费开关
|
7441
|
+
# @type RenewFlag: Integer
|
7442
|
+
|
7443
|
+
attr_accessor :InstanceId, :RenewFlag
|
7444
|
+
|
7445
|
+
def initialize(instanceid=nil, renewflag=nil)
|
7446
|
+
@InstanceId = instanceid
|
7447
|
+
@RenewFlag = renewflag
|
7448
|
+
end
|
7449
|
+
|
7450
|
+
def deserialize(params)
|
7451
|
+
@InstanceId = params['InstanceId']
|
7452
|
+
@RenewFlag = params['RenewFlag']
|
7453
|
+
end
|
7454
|
+
end
|
7455
|
+
|
7456
|
+
# ModifyInstanceRenewFlag返回参数结构体
|
7457
|
+
class ModifyInstanceRenewFlagResponse < TencentCloud::Common::AbstractModel
|
7458
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7459
|
+
# @type RequestId: String
|
7460
|
+
|
7461
|
+
attr_accessor :RequestId
|
7462
|
+
|
7463
|
+
def initialize(requestid=nil)
|
7464
|
+
@RequestId = requestid
|
7465
|
+
end
|
7466
|
+
|
7467
|
+
def deserialize(params)
|
7468
|
+
@RequestId = params['RequestId']
|
7469
|
+
end
|
7470
|
+
end
|
7471
|
+
|
7267
7472
|
# ModifyProtectionStatus请求参数结构体
|
7268
7473
|
class ModifyProtectionStatusRequest < TencentCloud::Common::AbstractModel
|
7269
7474
|
# @param Domain: 域名
|
@@ -7416,7 +7621,7 @@ module TencentCloud
|
|
7416
7621
|
# @type SniHost: String
|
7417
7622
|
# @param IpHeaders: IsCdn=3时,需要填此参数,表示自定义header
|
7418
7623
|
# @type IpHeaders: Array
|
7419
|
-
# @param XFFReset: 0:关闭xff重置;1:开启xff
|
7624
|
+
# @param XFFReset: 0:关闭xff重置;1:开启xff重置,只有在IsCdn=0时可以开启
|
7420
7625
|
# @type XFFReset: Integer
|
7421
7626
|
|
7422
7627
|
attr_accessor :Domain, :DomainId, :CertType, :Cert, :PrivateKey, :SSLId, :IsCdn, :UpstreamScheme, :HttpsUpstreamPort, :HttpsRewrite, :UpstreamType, :UpstreamDomain, :SrcList, :IsHttp2, :IsWebsocket, :LoadBalance, :IsGray, :Edition, :Ports, :IsKeepAlive, :InstanceID, :Anycast, :Weights, :ActiveCheck, :TLSVersion, :Ciphers, :CipherTemplate, :ProxyReadTimeout, :ProxySendTimeout, :SniType, :SniHost, :IpHeaders, :XFFReset
|
@@ -8798,10 +9003,13 @@ module TencentCloud
|
|
8798
9003
|
# @param Cls: 指定域名是否写cls的开关 1:写 0:不写
|
8799
9004
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
8800
9005
|
# @type Cls: Integer
|
9006
|
+
# @param CloudType: 标记是否是混合云接入。hybrid表示混合云接入域名
|
9007
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9008
|
+
# @type CloudType: String
|
8801
9009
|
|
8802
|
-
attr_accessor :Appid, :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :Level, :WriteConfig, :Cls
|
9010
|
+
attr_accessor :Appid, :Domain, :DomainId, :InstanceId, :InstanceName, :Edition, :Level, :WriteConfig, :Cls, :CloudType
|
8803
9011
|
|
8804
|
-
def initialize(appid=nil, domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, level=nil, writeconfig=nil, cls=nil)
|
9012
|
+
def initialize(appid=nil, domain=nil, domainid=nil, instanceid=nil, instancename=nil, edition=nil, level=nil, writeconfig=nil, cls=nil, cloudtype=nil)
|
8805
9013
|
@Appid = appid
|
8806
9014
|
@Domain = domain
|
8807
9015
|
@DomainId = domainid
|
@@ -8811,6 +9019,7 @@ module TencentCloud
|
|
8811
9019
|
@Level = level
|
8812
9020
|
@WriteConfig = writeconfig
|
8813
9021
|
@Cls = cls
|
9022
|
+
@CloudType = cloudtype
|
8814
9023
|
end
|
8815
9024
|
|
8816
9025
|
def deserialize(params)
|
@@ -8823,6 +9032,7 @@ module TencentCloud
|
|
8823
9032
|
@Level = params['Level']
|
8824
9033
|
@WriteConfig = params['WriteConfig']
|
8825
9034
|
@Cls = params['Cls']
|
9035
|
+
@CloudType = params['CloudType']
|
8826
9036
|
end
|
8827
9037
|
end
|
8828
9038
|
|
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.
|
4
|
+
version: 3.0.662
|
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-
|
11
|
+
date: 2023-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|