tencentcloud-sdk-cfw 3.0.394 → 3.0.402
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190904/client.rb +0 -72
- data/lib/v20190904/models.rb +0 -164
- 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: 73325010af6e8f99eaa42a957437ed420778bbb6
|
|
4
|
+
data.tar.gz: bd0d649508c07adae78a773bcf04f8b664844c2b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a97f06cd4a34b3ebac12cce3f85746ba871b766a02c2e5b9d5685fff57013e5be99af1dadf24d141e95e501b8cd3e0b091e388c6f4feeec3daa0d3241204011
|
|
7
|
+
data.tar.gz: fd1d7631eff1bd5fdb52e9ed01b7088fa11d53a17c556f677b7db20e2d225b15526067fe265ad6b4b548d55152d4aa49369a8e8edf911fa4865c1719e581842d
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.402
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -341,30 +341,6 @@ module TencentCloud
|
|
|
341
341
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
342
342
|
end
|
|
343
343
|
|
|
344
|
-
# 删除全部规则
|
|
345
|
-
|
|
346
|
-
# @param request: Request instance for DeleteSecurityGroupAllRule.
|
|
347
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DeleteSecurityGroupAllRuleRequest`
|
|
348
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DeleteSecurityGroupAllRuleResponse`
|
|
349
|
-
def DeleteSecurityGroupAllRule(request)
|
|
350
|
-
body = send_request('DeleteSecurityGroupAllRule', request.serialize)
|
|
351
|
-
response = JSON.parse(body)
|
|
352
|
-
if response['Response'].key?('Error') == false
|
|
353
|
-
model = DeleteSecurityGroupAllRuleResponse.new
|
|
354
|
-
model.deserialize(response['Response'])
|
|
355
|
-
model
|
|
356
|
-
else
|
|
357
|
-
code = response['Response']['Error']['Code']
|
|
358
|
-
message = response['Response']['Error']['Message']
|
|
359
|
-
reqid = response['Response']['RequestId']
|
|
360
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
361
|
-
end
|
|
362
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
363
|
-
raise e
|
|
364
|
-
rescue StandardError => e
|
|
365
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
366
|
-
end
|
|
367
|
-
|
|
368
344
|
# 删除规则
|
|
369
345
|
|
|
370
346
|
# @param request: Request instance for DeleteSecurityGroupRule.
|
|
@@ -749,30 +725,6 @@ module TencentCloud
|
|
|
749
725
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
750
726
|
end
|
|
751
727
|
|
|
752
|
-
# nat规则列表概况
|
|
753
|
-
|
|
754
|
-
# @param request: Request instance for DescribeNatRuleOverview.
|
|
755
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeNatRuleOverviewRequest`
|
|
756
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeNatRuleOverviewResponse`
|
|
757
|
-
def DescribeNatRuleOverview(request)
|
|
758
|
-
body = send_request('DescribeNatRuleOverview', request.serialize)
|
|
759
|
-
response = JSON.parse(body)
|
|
760
|
-
if response['Response'].key?('Error') == false
|
|
761
|
-
model = DescribeNatRuleOverviewResponse.new
|
|
762
|
-
model.deserialize(response['Response'])
|
|
763
|
-
model
|
|
764
|
-
else
|
|
765
|
-
code = response['Response']['Error']['Code']
|
|
766
|
-
message = response['Response']['Error']['Message']
|
|
767
|
-
reqid = response['Response']['RequestId']
|
|
768
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
769
|
-
end
|
|
770
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
771
|
-
raise e
|
|
772
|
-
rescue StandardError => e
|
|
773
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
774
|
-
end
|
|
775
|
-
|
|
776
728
|
# DescribeResourceGroup资产中心资产树信息
|
|
777
729
|
|
|
778
730
|
# @param request: Request instance for DescribeResourceGroup.
|
|
@@ -1665,30 +1617,6 @@ module TencentCloud
|
|
|
1665
1617
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1666
1618
|
end
|
|
1667
1619
|
|
|
1668
|
-
# 同步资产-互联网&VPC
|
|
1669
|
-
|
|
1670
|
-
# @param request: Request instance for RunSyncAsset.
|
|
1671
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::RunSyncAssetRequest`
|
|
1672
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::RunSyncAssetResponse`
|
|
1673
|
-
def RunSyncAsset(request)
|
|
1674
|
-
body = send_request('RunSyncAsset', request.serialize)
|
|
1675
|
-
response = JSON.parse(body)
|
|
1676
|
-
if response['Response'].key?('Error') == false
|
|
1677
|
-
model = RunSyncAssetResponse.new
|
|
1678
|
-
model.deserialize(response['Response'])
|
|
1679
|
-
model
|
|
1680
|
-
else
|
|
1681
|
-
code = response['Response']['Error']['Code']
|
|
1682
|
-
message = response['Response']['Error']['Message']
|
|
1683
|
-
reqid = response['Response']['RequestId']
|
|
1684
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1685
|
-
end
|
|
1686
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1687
|
-
raise e
|
|
1688
|
-
rescue StandardError => e
|
|
1689
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1690
|
-
end
|
|
1691
|
-
|
|
1692
1620
|
# 配置防火墙Dnat规则
|
|
1693
1621
|
|
|
1694
1622
|
# @param request: Request instance for SetNatFwDnatRule.
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -1022,51 +1022,6 @@ module TencentCloud
|
|
|
1022
1022
|
end
|
|
1023
1023
|
end
|
|
1024
1024
|
|
|
1025
|
-
# DeleteSecurityGroupAllRule请求参数结构体
|
|
1026
|
-
class DeleteSecurityGroupAllRuleRequest < TencentCloud::Common::AbstractModel
|
|
1027
|
-
# @param Direction: 方向,0:出站,1:入站
|
|
1028
|
-
# @type Direction: Integer
|
|
1029
|
-
# @param Area: 腾讯云地域的英文简写
|
|
1030
|
-
# @type Area: String
|
|
1031
|
-
|
|
1032
|
-
attr_accessor :Direction, :Area
|
|
1033
|
-
|
|
1034
|
-
def initialize(direction=nil, area=nil)
|
|
1035
|
-
@Direction = direction
|
|
1036
|
-
@Area = area
|
|
1037
|
-
end
|
|
1038
|
-
|
|
1039
|
-
def deserialize(params)
|
|
1040
|
-
@Direction = params['Direction']
|
|
1041
|
-
@Area = params['Area']
|
|
1042
|
-
end
|
|
1043
|
-
end
|
|
1044
|
-
|
|
1045
|
-
# DeleteSecurityGroupAllRule返回参数结构体
|
|
1046
|
-
class DeleteSecurityGroupAllRuleResponse < TencentCloud::Common::AbstractModel
|
|
1047
|
-
# @param Status: 0: 操作成功,非0:操作失败
|
|
1048
|
-
# @type Status: Integer
|
|
1049
|
-
# @param Info: 返回数据的json字符串
|
|
1050
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
1051
|
-
# @type Info: Integer
|
|
1052
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1053
|
-
# @type RequestId: String
|
|
1054
|
-
|
|
1055
|
-
attr_accessor :Status, :Info, :RequestId
|
|
1056
|
-
|
|
1057
|
-
def initialize(status=nil, info=nil, requestid=nil)
|
|
1058
|
-
@Status = status
|
|
1059
|
-
@Info = info
|
|
1060
|
-
@RequestId = requestid
|
|
1061
|
-
end
|
|
1062
|
-
|
|
1063
|
-
def deserialize(params)
|
|
1064
|
-
@Status = params['Status']
|
|
1065
|
-
@Info = params['Info']
|
|
1066
|
-
@RequestId = params['RequestId']
|
|
1067
|
-
end
|
|
1068
|
-
end
|
|
1069
|
-
|
|
1070
1025
|
# DeleteSecurityGroupRule请求参数结构体
|
|
1071
1026
|
class DeleteSecurityGroupRuleRequest < TencentCloud::Common::AbstractModel
|
|
1072
1027
|
# @param Id: 所需要删除规则的ID
|
|
@@ -2017,89 +1972,6 @@ module TencentCloud
|
|
|
2017
1972
|
end
|
|
2018
1973
|
end
|
|
2019
1974
|
|
|
2020
|
-
# DescribeNatRuleOverview请求参数结构体
|
|
2021
|
-
class DescribeNatRuleOverviewRequest < TencentCloud::Common::AbstractModel
|
|
2022
|
-
# @param Direction: 方向,0:出站,1:入站 默认值:0
|
|
2023
|
-
# @type Direction: Integer
|
|
2024
|
-
# @param Area: NAT地域 这个是必填项,填入相关的英文,'ap-beijing-fsi': '北京金融',
|
|
2025
|
-
# 'ap-beijing': '北京',
|
|
2026
|
-
# 'ap-changsha-ec': '长沙EC',
|
|
2027
|
-
# 'ap-chengdu': '成都',
|
|
2028
|
-
# 'ap-chongqing': '重庆',
|
|
2029
|
-
# 'ap-fuzhou-ec': '福州EC',
|
|
2030
|
-
# 'ap-guangzhou-open': '广州Open',
|
|
2031
|
-
# 'ap-guangzhou': '广州',
|
|
2032
|
-
# 'ap-hangzhou-ec': '杭州EC',
|
|
2033
|
-
# 'ap-jinan-ec': '济南EC',
|
|
2034
|
-
# 'ap-nanjing': '南京',
|
|
2035
|
-
# 'ap-shanghai-fsi': '上海金融',
|
|
2036
|
-
# 'ap-shanghai': '上海',
|
|
2037
|
-
# 'ap-shenzhen-fsi': '深圳金融',
|
|
2038
|
-
# 'ap-shenzhen': '深圳',
|
|
2039
|
-
# 'ap-wuhan-ec': '武汉EC'
|
|
2040
|
-
# @type Area: String
|
|
2041
|
-
|
|
2042
|
-
attr_accessor :Direction, :Area
|
|
2043
|
-
|
|
2044
|
-
def initialize(direction=nil, area=nil)
|
|
2045
|
-
@Direction = direction
|
|
2046
|
-
@Area = area
|
|
2047
|
-
end
|
|
2048
|
-
|
|
2049
|
-
def deserialize(params)
|
|
2050
|
-
@Direction = params['Direction']
|
|
2051
|
-
@Area = params['Area']
|
|
2052
|
-
end
|
|
2053
|
-
end
|
|
2054
|
-
|
|
2055
|
-
# DescribeNatRuleOverview返回参数结构体
|
|
2056
|
-
class DescribeNatRuleOverviewResponse < TencentCloud::Common::AbstractModel
|
|
2057
|
-
# @param InstanceId: 实例ID
|
|
2058
|
-
# @type InstanceId: String
|
|
2059
|
-
# @param InstanceName: 实例名称
|
|
2060
|
-
# @type InstanceName: String
|
|
2061
|
-
# @param EipList: 弹性IP列表
|
|
2062
|
-
# @type EipList: Array
|
|
2063
|
-
# @param DnatNum: 端口转发规则数量
|
|
2064
|
-
# @type DnatNum: Integer
|
|
2065
|
-
# @param TotalNum: 访问控制规则总数
|
|
2066
|
-
# @type TotalNum: Integer
|
|
2067
|
-
# @param RemainNum: 访问控制规则剩余配额
|
|
2068
|
-
# @type RemainNum: Integer
|
|
2069
|
-
# @param BlockNum: 阻断规则条数
|
|
2070
|
-
# @type BlockNum: Integer
|
|
2071
|
-
# @param EnableNum: 启用规则条数
|
|
2072
|
-
# @type EnableNum: Integer
|
|
2073
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2074
|
-
# @type RequestId: String
|
|
2075
|
-
|
|
2076
|
-
attr_accessor :InstanceId, :InstanceName, :EipList, :DnatNum, :TotalNum, :RemainNum, :BlockNum, :EnableNum, :RequestId
|
|
2077
|
-
|
|
2078
|
-
def initialize(instanceid=nil, instancename=nil, eiplist=nil, dnatnum=nil, totalnum=nil, remainnum=nil, blocknum=nil, enablenum=nil, requestid=nil)
|
|
2079
|
-
@InstanceId = instanceid
|
|
2080
|
-
@InstanceName = instancename
|
|
2081
|
-
@EipList = eiplist
|
|
2082
|
-
@DnatNum = dnatnum
|
|
2083
|
-
@TotalNum = totalnum
|
|
2084
|
-
@RemainNum = remainnum
|
|
2085
|
-
@BlockNum = blocknum
|
|
2086
|
-
@EnableNum = enablenum
|
|
2087
|
-
@RequestId = requestid
|
|
2088
|
-
end
|
|
2089
|
-
|
|
2090
|
-
def deserialize(params)
|
|
2091
|
-
@InstanceId = params['InstanceId']
|
|
2092
|
-
@InstanceName = params['InstanceName']
|
|
2093
|
-
@EipList = params['EipList']
|
|
2094
|
-
@DnatNum = params['DnatNum']
|
|
2095
|
-
@TotalNum = params['TotalNum']
|
|
2096
|
-
@RemainNum = params['RemainNum']
|
|
2097
|
-
@BlockNum = params['BlockNum']
|
|
2098
|
-
@EnableNum = params['EnableNum']
|
|
2099
|
-
@RequestId = params['RequestId']
|
|
2100
|
-
end
|
|
2101
|
-
end
|
|
2102
|
-
|
|
2103
1975
|
# DescribeResourceGroupNew请求参数结构体
|
|
2104
1976
|
class DescribeResourceGroupNewRequest < TencentCloud::Common::AbstractModel
|
|
2105
1977
|
# @param QueryType: 查询类型 网络结构-vpc,业务识别-resource ,资源标签-tag
|
|
@@ -4417,42 +4289,6 @@ module TencentCloud
|
|
|
4417
4289
|
end
|
|
4418
4290
|
end
|
|
4419
4291
|
|
|
4420
|
-
# RunSyncAsset请求参数结构体
|
|
4421
|
-
class RunSyncAssetRequest < TencentCloud::Common::AbstractModel
|
|
4422
|
-
# @param Type: 0: 互联网防火墙开关,1:vpc 防火墙开关
|
|
4423
|
-
# @type Type: Integer
|
|
4424
|
-
|
|
4425
|
-
attr_accessor :Type
|
|
4426
|
-
|
|
4427
|
-
def initialize(type=nil)
|
|
4428
|
-
@Type = type
|
|
4429
|
-
end
|
|
4430
|
-
|
|
4431
|
-
def deserialize(params)
|
|
4432
|
-
@Type = params['Type']
|
|
4433
|
-
end
|
|
4434
|
-
end
|
|
4435
|
-
|
|
4436
|
-
# RunSyncAsset返回参数结构体
|
|
4437
|
-
class RunSyncAssetResponse < TencentCloud::Common::AbstractModel
|
|
4438
|
-
# @param Status: 0:同步成功,1:资产更新中,2:后台同步调用失败
|
|
4439
|
-
# @type Status: Integer
|
|
4440
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4441
|
-
# @type RequestId: String
|
|
4442
|
-
|
|
4443
|
-
attr_accessor :Status, :RequestId
|
|
4444
|
-
|
|
4445
|
-
def initialize(status=nil, requestid=nil)
|
|
4446
|
-
@Status = status
|
|
4447
|
-
@RequestId = requestid
|
|
4448
|
-
end
|
|
4449
|
-
|
|
4450
|
-
def deserialize(params)
|
|
4451
|
-
@Status = params['Status']
|
|
4452
|
-
@RequestId = params['RequestId']
|
|
4453
|
-
end
|
|
4454
|
-
end
|
|
4455
|
-
|
|
4456
4292
|
# 新手引导扫描信息
|
|
4457
4293
|
class ScanInfo < TencentCloud::Common::AbstractModel
|
|
4458
4294
|
# @param ScanResultInfo: 扫描结果信息
|
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.402
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-
|
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|