tencentcloud-sdk-cfw 3.0.930 → 3.0.932
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/v20190904/client.rb +5 -4
- data/lib/v20190904/models.rb +36 -14
- 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: d5085d1852405a54db22658426b6d0b642931a3b
|
4
|
+
data.tar.gz: ee1197edd5b80cfbf0ac991d5be6988b13350508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e31322c018ced785b12f28d70e0f53a9749b6a77fdd1384d361f47a14017c5805cb393af76b4a23708e39db6be6b3a338126febab5eb25e9cd2fd01358b406d6
|
7
|
+
data.tar.gz: cddd20b7ae43186a8603332005d8e920aa648966f183f2749ea7de6ac92471e615b485a5d41a57f5d99e8d5dc8a35809aec07f5c5cb788b2868569cc36fd1d54
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.932
|
data/lib/v20190904/client.rb
CHANGED
@@ -101,7 +101,7 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
# 添加nat访问控制规则
|
104
|
+
# 添加nat访问控制规则
|
105
105
|
|
106
106
|
# @param request: Request instance for AddNatAcRule.
|
107
107
|
# @type request: :class:`Tencentcloud::cfw::V20190904::AddNatAcRuleRequest`
|
@@ -1447,7 +1447,7 @@ module TencentCloud
|
|
1447
1447
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1448
1448
|
end
|
1449
1449
|
|
1450
|
-
#
|
1450
|
+
# 资产中心资产组数数据信息查询
|
1451
1451
|
|
1452
1452
|
# @param request: Request instance for DescribeResourceGroupNew.
|
1453
1453
|
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeResourceGroupNewRequest`
|
@@ -1569,7 +1569,7 @@ module TencentCloud
|
|
1569
1569
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1570
1570
|
end
|
1571
1571
|
|
1572
|
-
# DescribeTLogInfo
|
1572
|
+
# DescribeTLogInfo告警中心概况查询
|
1573
1573
|
|
1574
1574
|
# @param request: Request instance for DescribeTLogInfo.
|
1575
1575
|
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeTLogInfoRequest`
|
@@ -1857,6 +1857,8 @@ module TencentCloud
|
|
1857
1857
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1858
1858
|
end
|
1859
1859
|
|
1860
|
+
# 该接口已不再使用
|
1861
|
+
|
1860
1862
|
# VPC防火墙一键开关
|
1861
1863
|
|
1862
1864
|
# @param request: Request instance for ModifyAllVPCSwitchStatus.
|
@@ -2295,7 +2297,6 @@ module TencentCloud
|
|
2295
2297
|
|
2296
2298
|
# ModifyResourceGroup-资产中心资产组信息修改
|
2297
2299
|
|
2298
|
-
|
2299
2300
|
# @param request: Request instance for ModifyResourceGroup.
|
2300
2301
|
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyResourceGroupRequest`
|
2301
2302
|
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyResourceGroupResponse`
|
data/lib/v20190904/models.rb
CHANGED
@@ -915,15 +915,18 @@ module TencentCloud
|
|
915
915
|
# @type Type: Integer
|
916
916
|
# @param ProtocolType: 协议端口模板,协议类型,4:4层协议,7:7层协议,Type=6时必填
|
917
917
|
# @type ProtocolType: String
|
918
|
+
# @param IpVersion: IP版本,0 IPV4;1 IPV6
|
919
|
+
# @type IpVersion: Integer
|
918
920
|
|
919
|
-
attr_accessor :Name, :Detail, :IpString, :Type, :ProtocolType
|
921
|
+
attr_accessor :Name, :Detail, :IpString, :Type, :ProtocolType, :IpVersion
|
920
922
|
|
921
|
-
def initialize(name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil)
|
923
|
+
def initialize(name=nil, detail=nil, ipstring=nil, type=nil, protocoltype=nil, ipversion=nil)
|
922
924
|
@Name = name
|
923
925
|
@Detail = detail
|
924
926
|
@IpString = ipstring
|
925
927
|
@Type = type
|
926
928
|
@ProtocolType = protocoltype
|
929
|
+
@IpVersion = ipversion
|
927
930
|
end
|
928
931
|
|
929
932
|
def deserialize(params)
|
@@ -932,6 +935,7 @@ module TencentCloud
|
|
932
935
|
@IpString = params['IpString']
|
933
936
|
@Type = params['Type']
|
934
937
|
@ProtocolType = params['ProtocolType']
|
938
|
+
@IpVersion = params['IpVersion']
|
935
939
|
end
|
936
940
|
end
|
937
941
|
|
@@ -1684,6 +1688,11 @@ module TencentCloud
|
|
1684
1688
|
# @param TargetType: 访问目的类型:入向规则时类型可以为ip,net,template,instance,group,tag;出向规则时可以为 ip,net,domain,template,location
|
1685
1689
|
# @type TargetType: String
|
1686
1690
|
# @param Protocol: 协议,可选的值: TCP UDP ICMP ANY HTTP HTTPS HTTP/HTTPS SMTP SMTPS SMTP/SMTPS FTP DNS
|
1691
|
+
# 1. 入方向 旁路防火墙/全局规则 仅支持TCP
|
1692
|
+
|
1693
|
+
# 2.出方向 旁路防火墙/全局规则 仅支持TCP HTTP/HTTPS TLS/SSL
|
1694
|
+
|
1695
|
+
# 3.domain 请选择七层协议 如HTTP/HTTPS
|
1687
1696
|
# @type Protocol: String
|
1688
1697
|
# @param RuleAction: 访问控制策略中设置的流量通过云防火墙的方式。取值: accept:放行 drop:拒绝 log:观察
|
1689
1698
|
# @type RuleAction: String
|
@@ -3303,13 +3312,16 @@ module TencentCloud
|
|
3303
3312
|
class DescribeBlockStaticListResponse < TencentCloud::Common::AbstractModel
|
3304
3313
|
# @param Data: 无
|
3305
3314
|
# @type Data: Array
|
3315
|
+
# @param Status: 异步查询状态,1查询执行中,0查询已结束
|
3316
|
+
# @type Status: Integer
|
3306
3317
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3307
3318
|
# @type RequestId: String
|
3308
3319
|
|
3309
|
-
attr_accessor :Data, :RequestId
|
3320
|
+
attr_accessor :Data, :Status, :RequestId
|
3310
3321
|
|
3311
|
-
def initialize(data=nil, requestid=nil)
|
3322
|
+
def initialize(data=nil, status=nil, requestid=nil)
|
3312
3323
|
@Data = data
|
3324
|
+
@Status = status
|
3313
3325
|
@RequestId = requestid
|
3314
3326
|
end
|
3315
3327
|
|
@@ -3322,6 +3334,7 @@ module TencentCloud
|
|
3322
3334
|
@Data << staticinfo_tmp
|
3323
3335
|
end
|
3324
3336
|
end
|
3337
|
+
@Status = params['Status']
|
3325
3338
|
@RequestId = params['RequestId']
|
3326
3339
|
end
|
3327
3340
|
end
|
@@ -7509,11 +7522,11 @@ module TencentCloud
|
|
7509
7522
|
|
7510
7523
|
# ModifyResourceGroup请求参数结构体
|
7511
7524
|
class ModifyResourceGroupRequest < TencentCloud::Common::AbstractModel
|
7512
|
-
# @param GroupId:
|
7525
|
+
# @param GroupId: 资产组id
|
7513
7526
|
# @type GroupId: String
|
7514
7527
|
# @param GroupName: 组名称
|
7515
7528
|
# @type GroupName: String
|
7516
|
-
# @param ParentId:
|
7529
|
+
# @param ParentId: 上级组资产组id
|
7517
7530
|
# @type ParentId: String
|
7518
7531
|
|
7519
7532
|
attr_accessor :GroupId, :GroupName, :ParentId
|
@@ -8660,17 +8673,21 @@ module TencentCloud
|
|
8660
8673
|
# @type OrderIndex: Integer
|
8661
8674
|
# @param NewOrderIndex: 新的sequence 值
|
8662
8675
|
# @type NewOrderIndex: Integer
|
8676
|
+
# @param IpVersion: Ip版本,0:IPv4,1:IPv6,默认为IPv4
|
8677
|
+
# @type IpVersion: Integer
|
8663
8678
|
|
8664
|
-
attr_accessor :OrderIndex, :NewOrderIndex
|
8679
|
+
attr_accessor :OrderIndex, :NewOrderIndex, :IpVersion
|
8665
8680
|
|
8666
|
-
def initialize(orderindex=nil, neworderindex=nil)
|
8681
|
+
def initialize(orderindex=nil, neworderindex=nil, ipversion=nil)
|
8667
8682
|
@OrderIndex = orderindex
|
8668
8683
|
@NewOrderIndex = neworderindex
|
8684
|
+
@IpVersion = ipversion
|
8669
8685
|
end
|
8670
8686
|
|
8671
8687
|
def deserialize(params)
|
8672
8688
|
@OrderIndex = params['OrderIndex']
|
8673
8689
|
@NewOrderIndex = params['NewOrderIndex']
|
8690
|
+
@IpVersion = params['IpVersion']
|
8674
8691
|
end
|
8675
8692
|
end
|
8676
8693
|
|
@@ -10269,12 +10286,12 @@ module TencentCloud
|
|
10269
10286
|
# @type Description: String
|
10270
10287
|
# @param OrderIndex: 规则顺序,-1表示最低,1表示最高
|
10271
10288
|
# @type OrderIndex: Integer
|
10272
|
-
# @param Uuid: 规则对应的唯一id
|
10273
|
-
# @type Uuid: Integer
|
10274
10289
|
# @param Enable: 规则状态,true表示启用,false表示禁用
|
10275
10290
|
# @type Enable: String
|
10276
10291
|
# @param EdgeId: 规则生效的范围,是在哪对vpc之间还是针对所有vpc间生效
|
10277
10292
|
# @type EdgeId: String
|
10293
|
+
# @param Uuid: 规则对应的唯一id,添加规则时忽略该字段,修改该规则时需要填写Uuid;查询返回时会返回该参数
|
10294
|
+
# @type Uuid: Integer
|
10278
10295
|
# @param DetectedTimes: 规则的命中次数,增删改查规则时无需传入此参数,主要用于返回查询结果数据
|
10279
10296
|
# @type DetectedTimes: Integer
|
10280
10297
|
# @param EdgeName: EdgeId对应的这对VPC间防火墙的描述
|
@@ -10304,10 +10321,13 @@ module TencentCloud
|
|
10304
10321
|
# @param SourceName: 访问源名称
|
10305
10322
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
10306
10323
|
# @type SourceName: String
|
10324
|
+
# @param IpVersion: Ip版本,0:IPv4,1:IPv6,默认为IPv4
|
10325
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10326
|
+
# @type IpVersion: Integer
|
10307
10327
|
|
10308
|
-
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :
|
10328
|
+
attr_accessor :SourceContent, :SourceType, :DestContent, :DestType, :Protocol, :RuleAction, :Port, :Description, :OrderIndex, :Enable, :EdgeId, :Uuid, :DetectedTimes, :EdgeName, :InternalUuid, :Deleted, :FwGroupId, :FwGroupName, :BetaList, :ParamTemplateId, :ParamTemplateName, :TargetName, :SourceName, :IpVersion
|
10309
10329
|
|
10310
|
-
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil,
|
10330
|
+
def initialize(sourcecontent=nil, sourcetype=nil, destcontent=nil, desttype=nil, protocol=nil, ruleaction=nil, port=nil, description=nil, orderindex=nil, enable=nil, edgeid=nil, uuid=nil, detectedtimes=nil, edgename=nil, internaluuid=nil, deleted=nil, fwgroupid=nil, fwgroupname=nil, betalist=nil, paramtemplateid=nil, paramtemplatename=nil, targetname=nil, sourcename=nil, ipversion=nil)
|
10311
10331
|
@SourceContent = sourcecontent
|
10312
10332
|
@SourceType = sourcetype
|
10313
10333
|
@DestContent = destcontent
|
@@ -10317,9 +10337,9 @@ module TencentCloud
|
|
10317
10337
|
@Port = port
|
10318
10338
|
@Description = description
|
10319
10339
|
@OrderIndex = orderindex
|
10320
|
-
@Uuid = uuid
|
10321
10340
|
@Enable = enable
|
10322
10341
|
@EdgeId = edgeid
|
10342
|
+
@Uuid = uuid
|
10323
10343
|
@DetectedTimes = detectedtimes
|
10324
10344
|
@EdgeName = edgename
|
10325
10345
|
@InternalUuid = internaluuid
|
@@ -10331,6 +10351,7 @@ module TencentCloud
|
|
10331
10351
|
@ParamTemplateName = paramtemplatename
|
10332
10352
|
@TargetName = targetname
|
10333
10353
|
@SourceName = sourcename
|
10354
|
+
@IpVersion = ipversion
|
10334
10355
|
end
|
10335
10356
|
|
10336
10357
|
def deserialize(params)
|
@@ -10343,9 +10364,9 @@ module TencentCloud
|
|
10343
10364
|
@Port = params['Port']
|
10344
10365
|
@Description = params['Description']
|
10345
10366
|
@OrderIndex = params['OrderIndex']
|
10346
|
-
@Uuid = params['Uuid']
|
10347
10367
|
@Enable = params['Enable']
|
10348
10368
|
@EdgeId = params['EdgeId']
|
10369
|
+
@Uuid = params['Uuid']
|
10349
10370
|
@DetectedTimes = params['DetectedTimes']
|
10350
10371
|
@EdgeName = params['EdgeName']
|
10351
10372
|
@InternalUuid = params['InternalUuid']
|
@@ -10364,6 +10385,7 @@ module TencentCloud
|
|
10364
10385
|
@ParamTemplateName = params['ParamTemplateName']
|
10365
10386
|
@TargetName = params['TargetName']
|
10366
10387
|
@SourceName = params['SourceName']
|
10388
|
+
@IpVersion = params['IpVersion']
|
10367
10389
|
end
|
10368
10390
|
end
|
10369
10391
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-cfw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.932
|
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-10-
|
11
|
+
date: 2024-10-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|