tencentcloud-sdk-cfw 3.0.1191 → 3.0.1195
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 +242 -0
- data/lib/v20190904/models.rb +865 -0
- 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: 781e6be073868a5372fb77d79269f2dcaacd2ca3
|
|
4
|
+
data.tar.gz: 4e2f033336e8beeb5baa0d0c5863d0384d336035
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8fe02665fe45341161d4493071e535ebcb56f106575af15e97c99cb43dd3da0ef1b494628e838d621003ceefb7f5059318b40e3c860ed6097046a686a676b219
|
|
7
|
+
data.tar.gz: b50b904eb2be485a283852e2c29fc11c18e0cd75bf30c5d3801baed16b145d811824b40115132b5bc50a8220e57ba13f55b5280f237766be10aece55d010d866
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1195
|
data/lib/v20190904/client.rb
CHANGED
|
@@ -845,6 +845,104 @@ module TencentCloud
|
|
|
845
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
846
846
|
end
|
|
847
847
|
|
|
848
|
+
# 查询云联网关联的实例信息
|
|
849
|
+
|
|
850
|
+
# @param request: Request instance for DescribeCcnAssociatedInstances.
|
|
851
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeCcnAssociatedInstancesRequest`
|
|
852
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeCcnAssociatedInstancesResponse`
|
|
853
|
+
def DescribeCcnAssociatedInstances(request)
|
|
854
|
+
body = send_request('DescribeCcnAssociatedInstances', request.serialize)
|
|
855
|
+
response = JSON.parse(body)
|
|
856
|
+
if response['Response'].key?('Error') == false
|
|
857
|
+
model = DescribeCcnAssociatedInstancesResponse.new
|
|
858
|
+
model.deserialize(response['Response'])
|
|
859
|
+
model
|
|
860
|
+
else
|
|
861
|
+
code = response['Response']['Error']['Code']
|
|
862
|
+
message = response['Response']['Error']['Message']
|
|
863
|
+
reqid = response['Response']['RequestId']
|
|
864
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
865
|
+
end
|
|
866
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
867
|
+
raise e
|
|
868
|
+
rescue StandardError => e
|
|
869
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
870
|
+
end
|
|
871
|
+
|
|
872
|
+
# 查询CCN关联实例的地域防火墙引流网络部署状态
|
|
873
|
+
# 1.根据CCN ID和实例ID列表,返回实例对应地域的防火墙引流网络部署状态
|
|
874
|
+
# 2.如果传入实例ID列表为空,则返回CCN关联的所有实例的地域防火墙引流网络部署状态
|
|
875
|
+
|
|
876
|
+
# @param request: Request instance for DescribeCcnInstanceRegionStatus.
|
|
877
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeCcnInstanceRegionStatusRequest`
|
|
878
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeCcnInstanceRegionStatusResponse`
|
|
879
|
+
def DescribeCcnInstanceRegionStatus(request)
|
|
880
|
+
body = send_request('DescribeCcnInstanceRegionStatus', request.serialize)
|
|
881
|
+
response = JSON.parse(body)
|
|
882
|
+
if response['Response'].key?('Error') == false
|
|
883
|
+
model = DescribeCcnInstanceRegionStatusResponse.new
|
|
884
|
+
model.deserialize(response['Response'])
|
|
885
|
+
model
|
|
886
|
+
else
|
|
887
|
+
code = response['Response']['Error']['Code']
|
|
888
|
+
message = response['Response']['Error']['Message']
|
|
889
|
+
reqid = response['Response']['RequestId']
|
|
890
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
891
|
+
end
|
|
892
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
893
|
+
raise e
|
|
894
|
+
rescue StandardError => e
|
|
895
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
896
|
+
end
|
|
897
|
+
|
|
898
|
+
# 查询CCN中VPC防火墙接入策略配置时的规则数量限制
|
|
899
|
+
|
|
900
|
+
# @param request: Request instance for DescribeCcnVpcFwPolicyLimit.
|
|
901
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwPolicyLimitRequest`
|
|
902
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwPolicyLimitResponse`
|
|
903
|
+
def DescribeCcnVpcFwPolicyLimit(request)
|
|
904
|
+
body = send_request('DescribeCcnVpcFwPolicyLimit', request.serialize)
|
|
905
|
+
response = JSON.parse(body)
|
|
906
|
+
if response['Response'].key?('Error') == false
|
|
907
|
+
model = DescribeCcnVpcFwPolicyLimitResponse.new
|
|
908
|
+
model.deserialize(response['Response'])
|
|
909
|
+
model
|
|
910
|
+
else
|
|
911
|
+
code = response['Response']['Error']['Code']
|
|
912
|
+
message = response['Response']['Error']['Message']
|
|
913
|
+
reqid = response['Response']['RequestId']
|
|
914
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
915
|
+
end
|
|
916
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
917
|
+
raise e
|
|
918
|
+
rescue StandardError => e
|
|
919
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
920
|
+
end
|
|
921
|
+
|
|
922
|
+
# 查询CCN VPC防火墙开关配置
|
|
923
|
+
|
|
924
|
+
# @param request: Request instance for DescribeCcnVpcFwSwitch.
|
|
925
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwSwitchRequest`
|
|
926
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeCcnVpcFwSwitchResponse`
|
|
927
|
+
def DescribeCcnVpcFwSwitch(request)
|
|
928
|
+
body = send_request('DescribeCcnVpcFwSwitch', request.serialize)
|
|
929
|
+
response = JSON.parse(body)
|
|
930
|
+
if response['Response'].key?('Error') == false
|
|
931
|
+
model = DescribeCcnVpcFwSwitchResponse.new
|
|
932
|
+
model.deserialize(response['Response'])
|
|
933
|
+
model
|
|
934
|
+
else
|
|
935
|
+
code = response['Response']['Error']['Code']
|
|
936
|
+
message = response['Response']['Error']['Message']
|
|
937
|
+
reqid = response['Response']['RequestId']
|
|
938
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
939
|
+
end
|
|
940
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
941
|
+
raise e
|
|
942
|
+
rescue StandardError => e
|
|
943
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
944
|
+
end
|
|
945
|
+
|
|
848
946
|
# 查询防火墙弹性公网IP
|
|
849
947
|
|
|
850
948
|
# @param request: Request instance for DescribeCfwEips.
|
|
@@ -893,6 +991,30 @@ module TencentCloud
|
|
|
893
991
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
894
992
|
end
|
|
895
993
|
|
|
994
|
+
# 查询集群模式Vpc间防火墙开关
|
|
995
|
+
|
|
996
|
+
# @param request: Request instance for DescribeClusterVpcFwSwitchs.
|
|
997
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeClusterVpcFwSwitchsRequest`
|
|
998
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeClusterVpcFwSwitchsResponse`
|
|
999
|
+
def DescribeClusterVpcFwSwitchs(request)
|
|
1000
|
+
body = send_request('DescribeClusterVpcFwSwitchs', request.serialize)
|
|
1001
|
+
response = JSON.parse(body)
|
|
1002
|
+
if response['Response'].key?('Error') == false
|
|
1003
|
+
model = DescribeClusterVpcFwSwitchsResponse.new
|
|
1004
|
+
model.deserialize(response['Response'])
|
|
1005
|
+
model
|
|
1006
|
+
else
|
|
1007
|
+
code = response['Response']['Error']['Code']
|
|
1008
|
+
message = response['Response']['Error']['Message']
|
|
1009
|
+
reqid = response['Response']['RequestId']
|
|
1010
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1011
|
+
end
|
|
1012
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1013
|
+
raise e
|
|
1014
|
+
rescue StandardError => e
|
|
1015
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1016
|
+
end
|
|
1017
|
+
|
|
896
1018
|
# 获取入侵防御按钮列表
|
|
897
1019
|
|
|
898
1020
|
# @param request: Request instance for DescribeDefenseSwitch.
|
|
@@ -1469,6 +1591,30 @@ module TencentCloud
|
|
|
1469
1591
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1470
1592
|
end
|
|
1471
1593
|
|
|
1594
|
+
# 互联网边界防火墙开关横幅错误信息
|
|
1595
|
+
|
|
1596
|
+
# @param request: Request instance for DescribeSwitchError.
|
|
1597
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeSwitchErrorRequest`
|
|
1598
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeSwitchErrorResponse`
|
|
1599
|
+
def DescribeSwitchError(request)
|
|
1600
|
+
body = send_request('DescribeSwitchError', request.serialize)
|
|
1601
|
+
response = JSON.parse(body)
|
|
1602
|
+
if response['Response'].key?('Error') == false
|
|
1603
|
+
model = DescribeSwitchErrorResponse.new
|
|
1604
|
+
model.deserialize(response['Response'])
|
|
1605
|
+
model
|
|
1606
|
+
else
|
|
1607
|
+
code = response['Response']['Error']['Code']
|
|
1608
|
+
message = response['Response']['Error']['Message']
|
|
1609
|
+
reqid = response['Response']['RequestId']
|
|
1610
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1611
|
+
end
|
|
1612
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1613
|
+
raise e
|
|
1614
|
+
rescue StandardError => e
|
|
1615
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1616
|
+
end
|
|
1617
|
+
|
|
1472
1618
|
# 防火墙开关列表,请换用DescribeFwEdgeIps
|
|
1473
1619
|
|
|
1474
1620
|
# @param request: Request instance for DescribeSwitchLists.
|
|
@@ -1613,6 +1759,30 @@ module TencentCloud
|
|
|
1613
1759
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1614
1760
|
end
|
|
1615
1761
|
|
|
1762
|
+
# 查询VPC防火墙策略路由功能开白的CCN列表
|
|
1763
|
+
|
|
1764
|
+
# @param request: Request instance for DescribeVpcFwCcnPolicyWhiteList.
|
|
1765
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::DescribeVpcFwCcnPolicyWhiteListRequest`
|
|
1766
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::DescribeVpcFwCcnPolicyWhiteListResponse`
|
|
1767
|
+
def DescribeVpcFwCcnPolicyWhiteList(request)
|
|
1768
|
+
body = send_request('DescribeVpcFwCcnPolicyWhiteList', request.serialize)
|
|
1769
|
+
response = JSON.parse(body)
|
|
1770
|
+
if response['Response'].key?('Error') == false
|
|
1771
|
+
model = DescribeVpcFwCcnPolicyWhiteListResponse.new
|
|
1772
|
+
model.deserialize(response['Response'])
|
|
1773
|
+
model
|
|
1774
|
+
else
|
|
1775
|
+
code = response['Response']['Error']['Code']
|
|
1776
|
+
message = response['Response']['Error']['Message']
|
|
1777
|
+
reqid = response['Response']['RequestId']
|
|
1778
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
1779
|
+
end
|
|
1780
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
1781
|
+
raise e
|
|
1782
|
+
rescue StandardError => e
|
|
1783
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1784
|
+
end
|
|
1785
|
+
|
|
1616
1786
|
# VPC防火墙(组)开关列表
|
|
1617
1787
|
|
|
1618
1788
|
# @param request: Request instance for DescribeVpcFwGroupSwitch.
|
|
@@ -1928,6 +2098,30 @@ module TencentCloud
|
|
|
1928
2098
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
1929
2099
|
end
|
|
1930
2100
|
|
|
2101
|
+
# 修改集群模式VPC防火墙开关
|
|
2102
|
+
|
|
2103
|
+
# @param request: Request instance for ModifyClusterVpcFwSwitch.
|
|
2104
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyClusterVpcFwSwitchRequest`
|
|
2105
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyClusterVpcFwSwitchResponse`
|
|
2106
|
+
def ModifyClusterVpcFwSwitch(request)
|
|
2107
|
+
body = send_request('ModifyClusterVpcFwSwitch', request.serialize)
|
|
2108
|
+
response = JSON.parse(body)
|
|
2109
|
+
if response['Response'].key?('Error') == false
|
|
2110
|
+
model = ModifyClusterVpcFwSwitchResponse.new
|
|
2111
|
+
model.deserialize(response['Response'])
|
|
2112
|
+
model
|
|
2113
|
+
else
|
|
2114
|
+
code = response['Response']['Error']['Code']
|
|
2115
|
+
message = response['Response']['Error']['Message']
|
|
2116
|
+
reqid = response['Response']['RequestId']
|
|
2117
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2118
|
+
end
|
|
2119
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2120
|
+
raise e
|
|
2121
|
+
rescue StandardError => e
|
|
2122
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2123
|
+
end
|
|
2124
|
+
|
|
1931
2125
|
# 启用停用VPC间规则或Nat边界规则
|
|
1932
2126
|
# VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
1933
2127
|
|
|
@@ -2724,6 +2918,54 @@ module TencentCloud
|
|
|
2724
2918
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2725
2919
|
end
|
|
2726
2920
|
|
|
2921
|
+
# 重新检测CCN中接入VPC防火墙的VPC实例非同城直通标记
|
|
2922
|
+
|
|
2923
|
+
# @param request: Request instance for UpdateCheckCcnNonDirectFlag.
|
|
2924
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::UpdateCheckCcnNonDirectFlagRequest`
|
|
2925
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::UpdateCheckCcnNonDirectFlagResponse`
|
|
2926
|
+
def UpdateCheckCcnNonDirectFlag(request)
|
|
2927
|
+
body = send_request('UpdateCheckCcnNonDirectFlag', request.serialize)
|
|
2928
|
+
response = JSON.parse(body)
|
|
2929
|
+
if response['Response'].key?('Error') == false
|
|
2930
|
+
model = UpdateCheckCcnNonDirectFlagResponse.new
|
|
2931
|
+
model.deserialize(response['Response'])
|
|
2932
|
+
model
|
|
2933
|
+
else
|
|
2934
|
+
code = response['Response']['Error']['Code']
|
|
2935
|
+
message = response['Response']['Error']['Message']
|
|
2936
|
+
reqid = response['Response']['RequestId']
|
|
2937
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2938
|
+
end
|
|
2939
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2940
|
+
raise e
|
|
2941
|
+
rescue StandardError => e
|
|
2942
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2943
|
+
end
|
|
2944
|
+
|
|
2945
|
+
# 修改更新CCN中VPC防火墙策略配置
|
|
2946
|
+
|
|
2947
|
+
# @param request: Request instance for UpdateClusterVpcFw.
|
|
2948
|
+
# @type request: :class:`Tencentcloud::cfw::V20190904::UpdateClusterVpcFwRequest`
|
|
2949
|
+
# @rtype: :class:`Tencentcloud::cfw::V20190904::UpdateClusterVpcFwResponse`
|
|
2950
|
+
def UpdateClusterVpcFw(request)
|
|
2951
|
+
body = send_request('UpdateClusterVpcFw', request.serialize)
|
|
2952
|
+
response = JSON.parse(body)
|
|
2953
|
+
if response['Response'].key?('Error') == false
|
|
2954
|
+
model = UpdateClusterVpcFwResponse.new
|
|
2955
|
+
model.deserialize(response['Response'])
|
|
2956
|
+
model
|
|
2957
|
+
else
|
|
2958
|
+
code = response['Response']['Error']['Code']
|
|
2959
|
+
message = response['Response']['Error']['Message']
|
|
2960
|
+
reqid = response['Response']['RequestId']
|
|
2961
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
2962
|
+
end
|
|
2963
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
2964
|
+
raise e
|
|
2965
|
+
rescue StandardError => e
|
|
2966
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
2967
|
+
end
|
|
2968
|
+
|
|
2727
2969
|
|
|
2728
2970
|
end
|
|
2729
2971
|
end
|
data/lib/v20190904/models.rb
CHANGED
|
@@ -127,6 +127,38 @@ module TencentCloud
|
|
|
127
127
|
end
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
+
# 接入防火墙实例信息
|
|
131
|
+
class AccessInstanceInfo < TencentCloud::Common::AbstractModel
|
|
132
|
+
# @param InstanceId: 实例ID
|
|
133
|
+
# @type InstanceId: String
|
|
134
|
+
# @param InstanceType: 实例类型VPC or DIRECTCONNECT等类型
|
|
135
|
+
# @type InstanceType: String
|
|
136
|
+
# @param InstanceRegion: 实例所在地域
|
|
137
|
+
# @type InstanceRegion: String
|
|
138
|
+
# @param AccessCidrMode: 接入防火墙的网段模式:0-不接入,1-接入实例关联的所有网段,2-接入用户自定义的网段
|
|
139
|
+
# @type AccessCidrMode: Integer
|
|
140
|
+
# @param AccessCidrList: 接入防火墙的网段列表
|
|
141
|
+
# @type AccessCidrList: Array
|
|
142
|
+
|
|
143
|
+
attr_accessor :InstanceId, :InstanceType, :InstanceRegion, :AccessCidrMode, :AccessCidrList
|
|
144
|
+
|
|
145
|
+
def initialize(instanceid=nil, instancetype=nil, instanceregion=nil, accesscidrmode=nil, accesscidrlist=nil)
|
|
146
|
+
@InstanceId = instanceid
|
|
147
|
+
@InstanceType = instancetype
|
|
148
|
+
@InstanceRegion = instanceregion
|
|
149
|
+
@AccessCidrMode = accesscidrmode
|
|
150
|
+
@AccessCidrList = accesscidrlist
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
def deserialize(params)
|
|
154
|
+
@InstanceId = params['InstanceId']
|
|
155
|
+
@InstanceType = params['InstanceType']
|
|
156
|
+
@InstanceRegion = params['InstanceRegion']
|
|
157
|
+
@AccessCidrMode = params['AccessCidrMode']
|
|
158
|
+
@AccessCidrList = params['AccessCidrList']
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
130
162
|
# AddAclRule请求参数结构体
|
|
131
163
|
class AddAclRuleRequest < TencentCloud::Common::AbstractModel
|
|
132
164
|
# @param Rules: 需要添加的访问控制规则列表
|
|
@@ -414,6 +446,30 @@ module TencentCloud
|
|
|
414
446
|
end
|
|
415
447
|
end
|
|
416
448
|
|
|
449
|
+
# 关联实例信息
|
|
450
|
+
class AttachInsInfo < TencentCloud::Common::AbstractModel
|
|
451
|
+
# @param InsId: 实例对象可以是cvm类型:ins-ad21xuds1形式;路由表类型:rtb-da12daxd形式;vpc类型:vpc-1dxdad2d形式
|
|
452
|
+
# @type InsId: String
|
|
453
|
+
# @param InsName: 实例对象名称
|
|
454
|
+
# @type InsName: String
|
|
455
|
+
# @param Cidr: 实例的cidr
|
|
456
|
+
# @type Cidr: String
|
|
457
|
+
|
|
458
|
+
attr_accessor :InsId, :InsName, :Cidr
|
|
459
|
+
|
|
460
|
+
def initialize(insid=nil, insname=nil, cidr=nil)
|
|
461
|
+
@InsId = insid
|
|
462
|
+
@InsName = insname
|
|
463
|
+
@Cidr = cidr
|
|
464
|
+
end
|
|
465
|
+
|
|
466
|
+
def deserialize(params)
|
|
467
|
+
@InsId = params['InsId']
|
|
468
|
+
@InsName = params['InsName']
|
|
469
|
+
@Cidr = params['Cidr']
|
|
470
|
+
end
|
|
471
|
+
end
|
|
472
|
+
|
|
417
473
|
# 封禁列表和放通列表结构体
|
|
418
474
|
class BanAndAllowRule < TencentCloud::Common::AbstractModel
|
|
419
475
|
# @param Comment: 规则评论
|
|
@@ -613,6 +669,92 @@ module TencentCloud
|
|
|
613
669
|
end
|
|
614
670
|
end
|
|
615
671
|
|
|
672
|
+
# CCN关联的实例信息
|
|
673
|
+
class CcnAssociatedInstance < TencentCloud::Common::AbstractModel
|
|
674
|
+
# @param InstanceId: 实例ID
|
|
675
|
+
# @type InstanceId: String
|
|
676
|
+
# @param InstanceName: 实例名称
|
|
677
|
+
# @type InstanceName: String
|
|
678
|
+
# @param InsType: 实例类型
|
|
679
|
+
# @type InsType: String
|
|
680
|
+
# @param CidrLst: 实例的网段列表
|
|
681
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
682
|
+
# @type CidrLst: Array
|
|
683
|
+
# @param InstanceRegion: 实例所属地域
|
|
684
|
+
# @type InstanceRegion: String
|
|
685
|
+
|
|
686
|
+
attr_accessor :InstanceId, :InstanceName, :InsType, :CidrLst, :InstanceRegion
|
|
687
|
+
|
|
688
|
+
def initialize(instanceid=nil, instancename=nil, instype=nil, cidrlst=nil, instanceregion=nil)
|
|
689
|
+
@InstanceId = instanceid
|
|
690
|
+
@InstanceName = instancename
|
|
691
|
+
@InsType = instype
|
|
692
|
+
@CidrLst = cidrlst
|
|
693
|
+
@InstanceRegion = instanceregion
|
|
694
|
+
end
|
|
695
|
+
|
|
696
|
+
def deserialize(params)
|
|
697
|
+
@InstanceId = params['InstanceId']
|
|
698
|
+
@InstanceName = params['InstanceName']
|
|
699
|
+
@InsType = params['InsType']
|
|
700
|
+
@CidrLst = params['CidrLst']
|
|
701
|
+
@InstanceRegion = params['InstanceRegion']
|
|
702
|
+
end
|
|
703
|
+
end
|
|
704
|
+
|
|
705
|
+
# ccn实例开关信息
|
|
706
|
+
class CcnSwitchInfo < TencentCloud::Common::AbstractModel
|
|
707
|
+
# @param CcnId: ccn的id
|
|
708
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
709
|
+
# @type CcnId: String
|
|
710
|
+
# @param SwitchMode: 开关接入模式,1:自动接入,2:手动接入
|
|
711
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
712
|
+
# @type SwitchMode: Integer
|
|
713
|
+
# @param RoutingMode: 引流路由方法 0:多路由表, 1:策略路由
|
|
714
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
715
|
+
# @type RoutingMode: Integer
|
|
716
|
+
# @param RegionCidrConfigs: 地域级别CIDR配置
|
|
717
|
+
# @type RegionCidrConfigs: Array
|
|
718
|
+
# @param InterconnectPairs: 互联集合对列表
|
|
719
|
+
# @type InterconnectPairs: Array
|
|
720
|
+
# @param FwVpcCidr: 引流通用CIDR(废弃)
|
|
721
|
+
# @type FwVpcCidr: String
|
|
722
|
+
|
|
723
|
+
attr_accessor :CcnId, :SwitchMode, :RoutingMode, :RegionCidrConfigs, :InterconnectPairs, :FwVpcCidr
|
|
724
|
+
|
|
725
|
+
def initialize(ccnid=nil, switchmode=nil, routingmode=nil, regioncidrconfigs=nil, interconnectpairs=nil, fwvpccidr=nil)
|
|
726
|
+
@CcnId = ccnid
|
|
727
|
+
@SwitchMode = switchmode
|
|
728
|
+
@RoutingMode = routingmode
|
|
729
|
+
@RegionCidrConfigs = regioncidrconfigs
|
|
730
|
+
@InterconnectPairs = interconnectpairs
|
|
731
|
+
@FwVpcCidr = fwvpccidr
|
|
732
|
+
end
|
|
733
|
+
|
|
734
|
+
def deserialize(params)
|
|
735
|
+
@CcnId = params['CcnId']
|
|
736
|
+
@SwitchMode = params['SwitchMode']
|
|
737
|
+
@RoutingMode = params['RoutingMode']
|
|
738
|
+
unless params['RegionCidrConfigs'].nil?
|
|
739
|
+
@RegionCidrConfigs = []
|
|
740
|
+
params['RegionCidrConfigs'].each do |i|
|
|
741
|
+
regioncidrconfig_tmp = RegionCidrConfig.new
|
|
742
|
+
regioncidrconfig_tmp.deserialize(i)
|
|
743
|
+
@RegionCidrConfigs << regioncidrconfig_tmp
|
|
744
|
+
end
|
|
745
|
+
end
|
|
746
|
+
unless params['InterconnectPairs'].nil?
|
|
747
|
+
@InterconnectPairs = []
|
|
748
|
+
params['InterconnectPairs'].each do |i|
|
|
749
|
+
interconnectpair_tmp = InterconnectPair.new
|
|
750
|
+
interconnectpair_tmp.deserialize(i)
|
|
751
|
+
@InterconnectPairs << interconnectpair_tmp
|
|
752
|
+
end
|
|
753
|
+
end
|
|
754
|
+
@FwVpcCidr = params['FwVpcCidr']
|
|
755
|
+
end
|
|
756
|
+
end
|
|
757
|
+
|
|
616
758
|
# 防火墙实例运行状态
|
|
617
759
|
class CfwInsStatus < TencentCloud::Common::AbstractModel
|
|
618
760
|
# @param CfwInsId: 防火墙实例id
|
|
@@ -694,6 +836,111 @@ module TencentCloud
|
|
|
694
836
|
end
|
|
695
837
|
end
|
|
696
838
|
|
|
839
|
+
# 集群模式防火墙开关数据详情
|
|
840
|
+
class ClusterSwitchDetail < TencentCloud::Common::AbstractModel
|
|
841
|
+
# @param InsObj: 实例对象可以是ccnid类型:ccn-ad21xuds形式;nat网关类型:nat-da12daxd形式;ip类型:1.1.1.1形式等
|
|
842
|
+
# @type InsObj: String
|
|
843
|
+
# @param ObjName: 实例对象名称
|
|
844
|
+
# @type ObjName: String
|
|
845
|
+
# @param FwType: 防火墙类型,ew:vpc间防火墙;nat:nat防火墙;border:互联网边界防火墙
|
|
846
|
+
# @type FwType: String
|
|
847
|
+
# @param AssetType: 资产类型,ccn:ccn实例类型;nat:nat网关类型
|
|
848
|
+
# @type AssetType: String
|
|
849
|
+
# @param Region: 地域
|
|
850
|
+
# @type Region: String
|
|
851
|
+
# @param Status: 开关状态
|
|
852
|
+
# 0 : 关闭
|
|
853
|
+
# 1 : 开启
|
|
854
|
+
# 2 : 开启中
|
|
855
|
+
# 3 : 关闭中
|
|
856
|
+
# 4 : 异常
|
|
857
|
+
# @type Status: Integer
|
|
858
|
+
# @param SwitchMode: 开关接入模式,1:自动接入;2,手动接入,0:未选择
|
|
859
|
+
# @type SwitchMode: Integer
|
|
860
|
+
# @param NonCluster: 实例对象是否处于非集群接入场景(主备模式)
|
|
861
|
+
# @type NonCluster: Integer
|
|
862
|
+
# @param IpVersion: ip版本,0:ipv4;1:ipv6
|
|
863
|
+
# @type IpVersion: Integer
|
|
864
|
+
# @param AttachIns: 关联实例
|
|
865
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
866
|
+
# @type AttachIns: Array
|
|
867
|
+
# @param Endpoints: 引流私有网络端点信息
|
|
868
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
869
|
+
# @type Endpoints: Array
|
|
870
|
+
# @param Idpsaction: 入侵防护模式,0:观察;1:拦截;2:严格;3:关闭
|
|
871
|
+
# @type Idpsaction: Integer
|
|
872
|
+
# @param TransEnable: //透明模式开关,0:未开启,1:已开启
|
|
873
|
+
# @type TransEnable: Integer
|
|
874
|
+
# @param Enable: 开关状态 0关闭 1开启
|
|
875
|
+
# @type Enable: Integer
|
|
876
|
+
# @param RoutingMode: 路由模式:0:多路由表,1:策略路由
|
|
877
|
+
# @type RoutingMode: Integer
|
|
878
|
+
# @param IsPeer: 是否跨租户开关 1是 0不是
|
|
879
|
+
# @type IsPeer: Integer
|
|
880
|
+
# @param PeerAppid: 跨租户appid
|
|
881
|
+
# @type PeerAppid: String
|
|
882
|
+
# @param PeerStatus: 跨租户操作状态 1不允许操作 0可以
|
|
883
|
+
# @type PeerStatus: Integer
|
|
884
|
+
|
|
885
|
+
attr_accessor :InsObj, :ObjName, :FwType, :AssetType, :Region, :Status, :SwitchMode, :NonCluster, :IpVersion, :AttachIns, :Endpoints, :Idpsaction, :TransEnable, :Enable, :RoutingMode, :IsPeer, :PeerAppid, :PeerStatus
|
|
886
|
+
|
|
887
|
+
def initialize(insobj=nil, objname=nil, fwtype=nil, assettype=nil, region=nil, status=nil, switchmode=nil, noncluster=nil, ipversion=nil, attachins=nil, endpoints=nil, idpsaction=nil, transenable=nil, enable=nil, routingmode=nil, ispeer=nil, peerappid=nil, peerstatus=nil)
|
|
888
|
+
@InsObj = insobj
|
|
889
|
+
@ObjName = objname
|
|
890
|
+
@FwType = fwtype
|
|
891
|
+
@AssetType = assettype
|
|
892
|
+
@Region = region
|
|
893
|
+
@Status = status
|
|
894
|
+
@SwitchMode = switchmode
|
|
895
|
+
@NonCluster = noncluster
|
|
896
|
+
@IpVersion = ipversion
|
|
897
|
+
@AttachIns = attachins
|
|
898
|
+
@Endpoints = endpoints
|
|
899
|
+
@Idpsaction = idpsaction
|
|
900
|
+
@TransEnable = transenable
|
|
901
|
+
@Enable = enable
|
|
902
|
+
@RoutingMode = routingmode
|
|
903
|
+
@IsPeer = ispeer
|
|
904
|
+
@PeerAppid = peerappid
|
|
905
|
+
@PeerStatus = peerstatus
|
|
906
|
+
end
|
|
907
|
+
|
|
908
|
+
def deserialize(params)
|
|
909
|
+
@InsObj = params['InsObj']
|
|
910
|
+
@ObjName = params['ObjName']
|
|
911
|
+
@FwType = params['FwType']
|
|
912
|
+
@AssetType = params['AssetType']
|
|
913
|
+
@Region = params['Region']
|
|
914
|
+
@Status = params['Status']
|
|
915
|
+
@SwitchMode = params['SwitchMode']
|
|
916
|
+
@NonCluster = params['NonCluster']
|
|
917
|
+
@IpVersion = params['IpVersion']
|
|
918
|
+
unless params['AttachIns'].nil?
|
|
919
|
+
@AttachIns = []
|
|
920
|
+
params['AttachIns'].each do |i|
|
|
921
|
+
attachinsinfo_tmp = AttachInsInfo.new
|
|
922
|
+
attachinsinfo_tmp.deserialize(i)
|
|
923
|
+
@AttachIns << attachinsinfo_tmp
|
|
924
|
+
end
|
|
925
|
+
end
|
|
926
|
+
unless params['Endpoints'].nil?
|
|
927
|
+
@Endpoints = []
|
|
928
|
+
params['Endpoints'].each do |i|
|
|
929
|
+
endpointinfo_tmp = EndpointInfo.new
|
|
930
|
+
endpointinfo_tmp.deserialize(i)
|
|
931
|
+
@Endpoints << endpointinfo_tmp
|
|
932
|
+
end
|
|
933
|
+
end
|
|
934
|
+
@Idpsaction = params['Idpsaction']
|
|
935
|
+
@TransEnable = params['TransEnable']
|
|
936
|
+
@Enable = params['Enable']
|
|
937
|
+
@RoutingMode = params['RoutingMode']
|
|
938
|
+
@IsPeer = params['IsPeer']
|
|
939
|
+
@PeerAppid = params['PeerAppid']
|
|
940
|
+
@PeerStatus = params['PeerStatus']
|
|
941
|
+
end
|
|
942
|
+
end
|
|
943
|
+
|
|
697
944
|
# 日志分析的列属性
|
|
698
945
|
class Column < TencentCloud::Common::AbstractModel
|
|
699
946
|
# @param Name: 列的名字
|
|
@@ -3113,6 +3360,191 @@ module TencentCloud
|
|
|
3113
3360
|
end
|
|
3114
3361
|
end
|
|
3115
3362
|
|
|
3363
|
+
# DescribeCcnAssociatedInstances请求参数结构体
|
|
3364
|
+
class DescribeCcnAssociatedInstancesRequest < TencentCloud::Common::AbstractModel
|
|
3365
|
+
# @param CcnId: 云联网ID
|
|
3366
|
+
# @type CcnId: String
|
|
3367
|
+
|
|
3368
|
+
attr_accessor :CcnId
|
|
3369
|
+
|
|
3370
|
+
def initialize(ccnid=nil)
|
|
3371
|
+
@CcnId = ccnid
|
|
3372
|
+
end
|
|
3373
|
+
|
|
3374
|
+
def deserialize(params)
|
|
3375
|
+
@CcnId = params['CcnId']
|
|
3376
|
+
end
|
|
3377
|
+
end
|
|
3378
|
+
|
|
3379
|
+
# DescribeCcnAssociatedInstances返回参数结构体
|
|
3380
|
+
class DescribeCcnAssociatedInstancesResponse < TencentCloud::Common::AbstractModel
|
|
3381
|
+
# @param Total: 实例总数
|
|
3382
|
+
# @type Total: Integer
|
|
3383
|
+
# @param CcnAssociatedInstances: 云联网关联的实例信息
|
|
3384
|
+
# @type CcnAssociatedInstances: Array
|
|
3385
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3386
|
+
# @type RequestId: String
|
|
3387
|
+
|
|
3388
|
+
attr_accessor :Total, :CcnAssociatedInstances, :RequestId
|
|
3389
|
+
|
|
3390
|
+
def initialize(total=nil, ccnassociatedinstances=nil, requestid=nil)
|
|
3391
|
+
@Total = total
|
|
3392
|
+
@CcnAssociatedInstances = ccnassociatedinstances
|
|
3393
|
+
@RequestId = requestid
|
|
3394
|
+
end
|
|
3395
|
+
|
|
3396
|
+
def deserialize(params)
|
|
3397
|
+
@Total = params['Total']
|
|
3398
|
+
unless params['CcnAssociatedInstances'].nil?
|
|
3399
|
+
@CcnAssociatedInstances = []
|
|
3400
|
+
params['CcnAssociatedInstances'].each do |i|
|
|
3401
|
+
ccnassociatedinstance_tmp = CcnAssociatedInstance.new
|
|
3402
|
+
ccnassociatedinstance_tmp.deserialize(i)
|
|
3403
|
+
@CcnAssociatedInstances << ccnassociatedinstance_tmp
|
|
3404
|
+
end
|
|
3405
|
+
end
|
|
3406
|
+
@RequestId = params['RequestId']
|
|
3407
|
+
end
|
|
3408
|
+
end
|
|
3409
|
+
|
|
3410
|
+
# DescribeCcnInstanceRegionStatus请求参数结构体
|
|
3411
|
+
class DescribeCcnInstanceRegionStatusRequest < TencentCloud::Common::AbstractModel
|
|
3412
|
+
# @param CcnId: 云联网ID
|
|
3413
|
+
# @type CcnId: String
|
|
3414
|
+
# @param InstanceIds: 要查询引流网络部署状态的云联网关联的实例ID列表
|
|
3415
|
+
# @type InstanceIds: Array
|
|
3416
|
+
# @param RoutingMode: 引流路由方法 0:多路由表, 1:策略路由
|
|
3417
|
+
# @type RoutingMode: Integer
|
|
3418
|
+
|
|
3419
|
+
attr_accessor :CcnId, :InstanceIds, :RoutingMode
|
|
3420
|
+
|
|
3421
|
+
def initialize(ccnid=nil, instanceids=nil, routingmode=nil)
|
|
3422
|
+
@CcnId = ccnid
|
|
3423
|
+
@InstanceIds = instanceids
|
|
3424
|
+
@RoutingMode = routingmode
|
|
3425
|
+
end
|
|
3426
|
+
|
|
3427
|
+
def deserialize(params)
|
|
3428
|
+
@CcnId = params['CcnId']
|
|
3429
|
+
@InstanceIds = params['InstanceIds']
|
|
3430
|
+
@RoutingMode = params['RoutingMode']
|
|
3431
|
+
end
|
|
3432
|
+
end
|
|
3433
|
+
|
|
3434
|
+
# DescribeCcnInstanceRegionStatus返回参数结构体
|
|
3435
|
+
class DescribeCcnInstanceRegionStatusResponse < TencentCloud::Common::AbstractModel
|
|
3436
|
+
# @param Total: 地域总数量
|
|
3437
|
+
# @type Total: Integer
|
|
3438
|
+
# @param RegionFwStatus: 地域防火墙引流网络状态列表
|
|
3439
|
+
# @type RegionFwStatus: Array
|
|
3440
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3441
|
+
# @type RequestId: String
|
|
3442
|
+
|
|
3443
|
+
attr_accessor :Total, :RegionFwStatus, :RequestId
|
|
3444
|
+
|
|
3445
|
+
def initialize(total=nil, regionfwstatus=nil, requestid=nil)
|
|
3446
|
+
@Total = total
|
|
3447
|
+
@RegionFwStatus = regionfwstatus
|
|
3448
|
+
@RequestId = requestid
|
|
3449
|
+
end
|
|
3450
|
+
|
|
3451
|
+
def deserialize(params)
|
|
3452
|
+
@Total = params['Total']
|
|
3453
|
+
unless params['RegionFwStatus'].nil?
|
|
3454
|
+
@RegionFwStatus = []
|
|
3455
|
+
params['RegionFwStatus'].each do |i|
|
|
3456
|
+
regionfwstatus_tmp = RegionFwStatus.new
|
|
3457
|
+
regionfwstatus_tmp.deserialize(i)
|
|
3458
|
+
@RegionFwStatus << regionfwstatus_tmp
|
|
3459
|
+
end
|
|
3460
|
+
end
|
|
3461
|
+
@RequestId = params['RequestId']
|
|
3462
|
+
end
|
|
3463
|
+
end
|
|
3464
|
+
|
|
3465
|
+
# DescribeCcnVpcFwPolicyLimit请求参数结构体
|
|
3466
|
+
class DescribeCcnVpcFwPolicyLimitRequest < TencentCloud::Common::AbstractModel
|
|
3467
|
+
|
|
3468
|
+
|
|
3469
|
+
def initialize()
|
|
3470
|
+
end
|
|
3471
|
+
|
|
3472
|
+
def deserialize(params)
|
|
3473
|
+
end
|
|
3474
|
+
end
|
|
3475
|
+
|
|
3476
|
+
# DescribeCcnVpcFwPolicyLimit返回参数结构体
|
|
3477
|
+
class DescribeCcnVpcFwPolicyLimitResponse < TencentCloud::Common::AbstractModel
|
|
3478
|
+
# @param CcnPolicyInterconnectPairLenLimit: 支持的引流策略数量(最外层总条数)
|
|
3479
|
+
# @type CcnPolicyInterconnectPairLenLimit: Integer
|
|
3480
|
+
# @param CcnPolicyGroupLenLimit: 单条引流策略中单组的最大配置数量(内层单组总条数)
|
|
3481
|
+
# @type CcnPolicyGroupLenLimit: Integer
|
|
3482
|
+
# @param CcnPolicyCidrLenLimit: 接入的实例网段长度(网段数量)限制
|
|
3483
|
+
# @type CcnPolicyCidrLenLimit: Integer
|
|
3484
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3485
|
+
# @type RequestId: String
|
|
3486
|
+
|
|
3487
|
+
attr_accessor :CcnPolicyInterconnectPairLenLimit, :CcnPolicyGroupLenLimit, :CcnPolicyCidrLenLimit, :RequestId
|
|
3488
|
+
|
|
3489
|
+
def initialize(ccnpolicyinterconnectpairlenlimit=nil, ccnpolicygrouplenlimit=nil, ccnpolicycidrlenlimit=nil, requestid=nil)
|
|
3490
|
+
@CcnPolicyInterconnectPairLenLimit = ccnpolicyinterconnectpairlenlimit
|
|
3491
|
+
@CcnPolicyGroupLenLimit = ccnpolicygrouplenlimit
|
|
3492
|
+
@CcnPolicyCidrLenLimit = ccnpolicycidrlenlimit
|
|
3493
|
+
@RequestId = requestid
|
|
3494
|
+
end
|
|
3495
|
+
|
|
3496
|
+
def deserialize(params)
|
|
3497
|
+
@CcnPolicyInterconnectPairLenLimit = params['CcnPolicyInterconnectPairLenLimit']
|
|
3498
|
+
@CcnPolicyGroupLenLimit = params['CcnPolicyGroupLenLimit']
|
|
3499
|
+
@CcnPolicyCidrLenLimit = params['CcnPolicyCidrLenLimit']
|
|
3500
|
+
@RequestId = params['RequestId']
|
|
3501
|
+
end
|
|
3502
|
+
end
|
|
3503
|
+
|
|
3504
|
+
# DescribeCcnVpcFwSwitch请求参数结构体
|
|
3505
|
+
class DescribeCcnVpcFwSwitchRequest < TencentCloud::Common::AbstractModel
|
|
3506
|
+
# @param CcnId: 云联网ID
|
|
3507
|
+
# @type CcnId: String
|
|
3508
|
+
|
|
3509
|
+
attr_accessor :CcnId
|
|
3510
|
+
|
|
3511
|
+
def initialize(ccnid=nil)
|
|
3512
|
+
@CcnId = ccnid
|
|
3513
|
+
end
|
|
3514
|
+
|
|
3515
|
+
def deserialize(params)
|
|
3516
|
+
@CcnId = params['CcnId']
|
|
3517
|
+
end
|
|
3518
|
+
end
|
|
3519
|
+
|
|
3520
|
+
# DescribeCcnVpcFwSwitch返回参数结构体
|
|
3521
|
+
class DescribeCcnVpcFwSwitchResponse < TencentCloud::Common::AbstractModel
|
|
3522
|
+
# @param InterconnectPairs: 互联对配置
|
|
3523
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3524
|
+
# @type InterconnectPairs: Array
|
|
3525
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3526
|
+
# @type RequestId: String
|
|
3527
|
+
|
|
3528
|
+
attr_accessor :InterconnectPairs, :RequestId
|
|
3529
|
+
|
|
3530
|
+
def initialize(interconnectpairs=nil, requestid=nil)
|
|
3531
|
+
@InterconnectPairs = interconnectpairs
|
|
3532
|
+
@RequestId = requestid
|
|
3533
|
+
end
|
|
3534
|
+
|
|
3535
|
+
def deserialize(params)
|
|
3536
|
+
unless params['InterconnectPairs'].nil?
|
|
3537
|
+
@InterconnectPairs = []
|
|
3538
|
+
params['InterconnectPairs'].each do |i|
|
|
3539
|
+
interconnectpair_tmp = InterconnectPair.new
|
|
3540
|
+
interconnectpair_tmp.deserialize(i)
|
|
3541
|
+
@InterconnectPairs << interconnectpair_tmp
|
|
3542
|
+
end
|
|
3543
|
+
end
|
|
3544
|
+
@RequestId = params['RequestId']
|
|
3545
|
+
end
|
|
3546
|
+
end
|
|
3547
|
+
|
|
3116
3548
|
# DescribeCfwEips请求参数结构体
|
|
3117
3549
|
class DescribeCfwEipsRequest < TencentCloud::Common::AbstractModel
|
|
3118
3550
|
# @param Mode: 1:cfw接入模式,目前仅支持接入模式实例
|
|
@@ -3207,6 +3639,89 @@ module TencentCloud
|
|
|
3207
3639
|
end
|
|
3208
3640
|
end
|
|
3209
3641
|
|
|
3642
|
+
# DescribeClusterVpcFwSwitchs请求参数结构体
|
|
3643
|
+
class DescribeClusterVpcFwSwitchsRequest < TencentCloud::Common::AbstractModel
|
|
3644
|
+
# @param Index: 需要查询的索引,特定场景使用,可不填
|
|
3645
|
+
# @type Index: String
|
|
3646
|
+
# @param Filters: 过滤条件组合
|
|
3647
|
+
# @type Filters: Array
|
|
3648
|
+
# @param Limit: 每页条数
|
|
3649
|
+
# @type Limit: Integer
|
|
3650
|
+
# @param Offset: 偏移值
|
|
3651
|
+
# @type Offset: Integer
|
|
3652
|
+
# @param StartTime: 检索的起始时间,可不传
|
|
3653
|
+
# @type StartTime: String
|
|
3654
|
+
# @param EndTime: 检索的截止时间,可不传
|
|
3655
|
+
# @type EndTime: String
|
|
3656
|
+
# @param Order: desc:降序;asc:升序。根据By字段的值进行排序,这里传参的话则By也必须有值
|
|
3657
|
+
# @type Order: String
|
|
3658
|
+
# @param By: 排序所用到的字段
|
|
3659
|
+
# @type By: String
|
|
3660
|
+
|
|
3661
|
+
attr_accessor :Index, :Filters, :Limit, :Offset, :StartTime, :EndTime, :Order, :By
|
|
3662
|
+
|
|
3663
|
+
def initialize(index=nil, filters=nil, limit=nil, offset=nil, starttime=nil, endtime=nil, order=nil, by=nil)
|
|
3664
|
+
@Index = index
|
|
3665
|
+
@Filters = filters
|
|
3666
|
+
@Limit = limit
|
|
3667
|
+
@Offset = offset
|
|
3668
|
+
@StartTime = starttime
|
|
3669
|
+
@EndTime = endtime
|
|
3670
|
+
@Order = order
|
|
3671
|
+
@By = by
|
|
3672
|
+
end
|
|
3673
|
+
|
|
3674
|
+
def deserialize(params)
|
|
3675
|
+
@Index = params['Index']
|
|
3676
|
+
unless params['Filters'].nil?
|
|
3677
|
+
@Filters = []
|
|
3678
|
+
params['Filters'].each do |i|
|
|
3679
|
+
commonfilter_tmp = CommonFilter.new
|
|
3680
|
+
commonfilter_tmp.deserialize(i)
|
|
3681
|
+
@Filters << commonfilter_tmp
|
|
3682
|
+
end
|
|
3683
|
+
end
|
|
3684
|
+
@Limit = params['Limit']
|
|
3685
|
+
@Offset = params['Offset']
|
|
3686
|
+
@StartTime = params['StartTime']
|
|
3687
|
+
@EndTime = params['EndTime']
|
|
3688
|
+
@Order = params['Order']
|
|
3689
|
+
@By = params['By']
|
|
3690
|
+
end
|
|
3691
|
+
end
|
|
3692
|
+
|
|
3693
|
+
# DescribeClusterVpcFwSwitchs返回参数结构体
|
|
3694
|
+
class DescribeClusterVpcFwSwitchsResponse < TencentCloud::Common::AbstractModel
|
|
3695
|
+
# @param Total: 总条数
|
|
3696
|
+
# @type Total: Integer
|
|
3697
|
+
# @param Data: 防火墙开关列表
|
|
3698
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
3699
|
+
# @type Data: Array
|
|
3700
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3701
|
+
# @type RequestId: String
|
|
3702
|
+
|
|
3703
|
+
attr_accessor :Total, :Data, :RequestId
|
|
3704
|
+
|
|
3705
|
+
def initialize(total=nil, data=nil, requestid=nil)
|
|
3706
|
+
@Total = total
|
|
3707
|
+
@Data = data
|
|
3708
|
+
@RequestId = requestid
|
|
3709
|
+
end
|
|
3710
|
+
|
|
3711
|
+
def deserialize(params)
|
|
3712
|
+
@Total = params['Total']
|
|
3713
|
+
unless params['Data'].nil?
|
|
3714
|
+
@Data = []
|
|
3715
|
+
params['Data'].each do |i|
|
|
3716
|
+
clusterswitchdetail_tmp = ClusterSwitchDetail.new
|
|
3717
|
+
clusterswitchdetail_tmp.deserialize(i)
|
|
3718
|
+
@Data << clusterswitchdetail_tmp
|
|
3719
|
+
end
|
|
3720
|
+
end
|
|
3721
|
+
@RequestId = params['RequestId']
|
|
3722
|
+
end
|
|
3723
|
+
end
|
|
3724
|
+
|
|
3210
3725
|
# DescribeDefenseSwitch请求参数结构体
|
|
3211
3726
|
class DescribeDefenseSwitchRequest < TencentCloud::Common::AbstractModel
|
|
3212
3727
|
|
|
@@ -4833,6 +5348,50 @@ module TencentCloud
|
|
|
4833
5348
|
end
|
|
4834
5349
|
end
|
|
4835
5350
|
|
|
5351
|
+
# DescribeSwitchError请求参数结构体
|
|
5352
|
+
class DescribeSwitchErrorRequest < TencentCloud::Common::AbstractModel
|
|
5353
|
+
# @param FwType: EDGE_FW : 互联网边界防火墙 , NDR: 流量分析,VPC_FW:VPC边界防火墙
|
|
5354
|
+
# @type FwType: String
|
|
5355
|
+
|
|
5356
|
+
attr_accessor :FwType
|
|
5357
|
+
|
|
5358
|
+
def initialize(fwtype=nil)
|
|
5359
|
+
@FwType = fwtype
|
|
5360
|
+
end
|
|
5361
|
+
|
|
5362
|
+
def deserialize(params)
|
|
5363
|
+
@FwType = params['FwType']
|
|
5364
|
+
end
|
|
5365
|
+
end
|
|
5366
|
+
|
|
5367
|
+
# DescribeSwitchError返回参数结构体
|
|
5368
|
+
class DescribeSwitchErrorResponse < TencentCloud::Common::AbstractModel
|
|
5369
|
+
# @param Data: 错误信息列表
|
|
5370
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5371
|
+
# @type Data: Array
|
|
5372
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5373
|
+
# @type RequestId: String
|
|
5374
|
+
|
|
5375
|
+
attr_accessor :Data, :RequestId
|
|
5376
|
+
|
|
5377
|
+
def initialize(data=nil, requestid=nil)
|
|
5378
|
+
@Data = data
|
|
5379
|
+
@RequestId = requestid
|
|
5380
|
+
end
|
|
5381
|
+
|
|
5382
|
+
def deserialize(params)
|
|
5383
|
+
unless params['Data'].nil?
|
|
5384
|
+
@Data = []
|
|
5385
|
+
params['Data'].each do |i|
|
|
5386
|
+
switcherror_tmp = SwitchError.new
|
|
5387
|
+
switcherror_tmp.deserialize(i)
|
|
5388
|
+
@Data << switcherror_tmp
|
|
5389
|
+
end
|
|
5390
|
+
end
|
|
5391
|
+
@RequestId = params['RequestId']
|
|
5392
|
+
end
|
|
5393
|
+
end
|
|
5394
|
+
|
|
4836
5395
|
# DescribeSwitchLists请求参数结构体
|
|
4837
5396
|
class DescribeSwitchListsRequest < TencentCloud::Common::AbstractModel
|
|
4838
5397
|
# @param Status: 防火墙状态 0: 关闭,1:开启
|
|
@@ -5220,6 +5779,43 @@ module TencentCloud
|
|
|
5220
5779
|
end
|
|
5221
5780
|
end
|
|
5222
5781
|
|
|
5782
|
+
# DescribeVpcFwCcnPolicyWhiteList请求参数结构体
|
|
5783
|
+
class DescribeVpcFwCcnPolicyWhiteListRequest < TencentCloud::Common::AbstractModel
|
|
5784
|
+
|
|
5785
|
+
|
|
5786
|
+
def initialize()
|
|
5787
|
+
end
|
|
5788
|
+
|
|
5789
|
+
def deserialize(params)
|
|
5790
|
+
end
|
|
5791
|
+
end
|
|
5792
|
+
|
|
5793
|
+
# DescribeVpcFwCcnPolicyWhiteList返回参数结构体
|
|
5794
|
+
class DescribeVpcFwCcnPolicyWhiteListResponse < TencentCloud::Common::AbstractModel
|
|
5795
|
+
# @param SupportCcnPolicy: 支持自动接入和策略路由的CCN列表
|
|
5796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5797
|
+
# @type SupportCcnPolicy: Array
|
|
5798
|
+
# @param SupportCcnPolicyCidr: 自动接入中支持自定义cidr的CCN列表
|
|
5799
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
5800
|
+
# @type SupportCcnPolicyCidr: Array
|
|
5801
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5802
|
+
# @type RequestId: String
|
|
5803
|
+
|
|
5804
|
+
attr_accessor :SupportCcnPolicy, :SupportCcnPolicyCidr, :RequestId
|
|
5805
|
+
|
|
5806
|
+
def initialize(supportccnpolicy=nil, supportccnpolicycidr=nil, requestid=nil)
|
|
5807
|
+
@SupportCcnPolicy = supportccnpolicy
|
|
5808
|
+
@SupportCcnPolicyCidr = supportccnpolicycidr
|
|
5809
|
+
@RequestId = requestid
|
|
5810
|
+
end
|
|
5811
|
+
|
|
5812
|
+
def deserialize(params)
|
|
5813
|
+
@SupportCcnPolicy = params['SupportCcnPolicy']
|
|
5814
|
+
@SupportCcnPolicyCidr = params['SupportCcnPolicyCidr']
|
|
5815
|
+
@RequestId = params['RequestId']
|
|
5816
|
+
end
|
|
5817
|
+
end
|
|
5818
|
+
|
|
5223
5819
|
# DescribeVpcFwGroupSwitch请求参数结构体
|
|
5224
5820
|
class DescribeVpcFwGroupSwitchRequest < TencentCloud::Common::AbstractModel
|
|
5225
5821
|
# @param Limit: 每页条数
|
|
@@ -5464,6 +6060,34 @@ module TencentCloud
|
|
|
5464
6060
|
end
|
|
5465
6061
|
end
|
|
5466
6062
|
|
|
6063
|
+
# 私有连接端点信息
|
|
6064
|
+
class EndpointInfo < TencentCloud::Common::AbstractModel
|
|
6065
|
+
# @param EndpointId: 引流私有连接端点id
|
|
6066
|
+
# @type EndpointId: String
|
|
6067
|
+
# @param VpcId: 引流VpcId
|
|
6068
|
+
# @type VpcId: String
|
|
6069
|
+
# @param Region: 所属地域
|
|
6070
|
+
# @type Region: String
|
|
6071
|
+
# @param VpcCidr: 引流Vpc的Cidr
|
|
6072
|
+
# @type VpcCidr: String
|
|
6073
|
+
|
|
6074
|
+
attr_accessor :EndpointId, :VpcId, :Region, :VpcCidr
|
|
6075
|
+
|
|
6076
|
+
def initialize(endpointid=nil, vpcid=nil, region=nil, vpccidr=nil)
|
|
6077
|
+
@EndpointId = endpointid
|
|
6078
|
+
@VpcId = vpcid
|
|
6079
|
+
@Region = region
|
|
6080
|
+
@VpcCidr = vpccidr
|
|
6081
|
+
end
|
|
6082
|
+
|
|
6083
|
+
def deserialize(params)
|
|
6084
|
+
@EndpointId = params['EndpointId']
|
|
6085
|
+
@VpcId = params['VpcId']
|
|
6086
|
+
@Region = params['Region']
|
|
6087
|
+
@VpcCidr = params['VpcCidr']
|
|
6088
|
+
end
|
|
6089
|
+
end
|
|
6090
|
+
|
|
5467
6091
|
# 企业安全组自动化任务信息
|
|
5468
6092
|
class EnterpriseSecurityGroupRuleBetaInfo < TencentCloud::Common::AbstractModel
|
|
5469
6093
|
# @param TaskId: 任务id
|
|
@@ -6099,6 +6723,44 @@ module TencentCloud
|
|
|
6099
6723
|
end
|
|
6100
6724
|
end
|
|
6101
6725
|
|
|
6726
|
+
# 接入防火墙的互联集合对
|
|
6727
|
+
class InterconnectPair < TencentCloud::Common::AbstractModel
|
|
6728
|
+
# @param GroupA: 集合A
|
|
6729
|
+
# @type GroupA: Array
|
|
6730
|
+
# @param GroupB: 集合B
|
|
6731
|
+
# @type GroupB: Array
|
|
6732
|
+
# @param InterconnectMode: 互联模式:"CrossConnect": 交叉互联(组A内每个实例和组B内每个实例互联),"FullMesh": 全互联(组A实际和组B内容一致,相当于组内两两互联)
|
|
6733
|
+
# @type InterconnectMode: String
|
|
6734
|
+
|
|
6735
|
+
attr_accessor :GroupA, :GroupB, :InterconnectMode
|
|
6736
|
+
|
|
6737
|
+
def initialize(groupa=nil, groupb=nil, interconnectmode=nil)
|
|
6738
|
+
@GroupA = groupa
|
|
6739
|
+
@GroupB = groupb
|
|
6740
|
+
@InterconnectMode = interconnectmode
|
|
6741
|
+
end
|
|
6742
|
+
|
|
6743
|
+
def deserialize(params)
|
|
6744
|
+
unless params['GroupA'].nil?
|
|
6745
|
+
@GroupA = []
|
|
6746
|
+
params['GroupA'].each do |i|
|
|
6747
|
+
accessinstanceinfo_tmp = AccessInstanceInfo.new
|
|
6748
|
+
accessinstanceinfo_tmp.deserialize(i)
|
|
6749
|
+
@GroupA << accessinstanceinfo_tmp
|
|
6750
|
+
end
|
|
6751
|
+
end
|
|
6752
|
+
unless params['GroupB'].nil?
|
|
6753
|
+
@GroupB = []
|
|
6754
|
+
params['GroupB'].each do |i|
|
|
6755
|
+
accessinstanceinfo_tmp = AccessInstanceInfo.new
|
|
6756
|
+
accessinstanceinfo_tmp.deserialize(i)
|
|
6757
|
+
@GroupB << accessinstanceinfo_tmp
|
|
6758
|
+
end
|
|
6759
|
+
end
|
|
6760
|
+
@InterconnectMode = params['InterconnectMode']
|
|
6761
|
+
end
|
|
6762
|
+
end
|
|
6763
|
+
|
|
6102
6764
|
# 入侵防御封禁列表、放通列表添加规则入参
|
|
6103
6765
|
class IntrusionDefenseRule < TencentCloud::Common::AbstractModel
|
|
6104
6766
|
# @param Direction: 规则方向,0出站,1入站,3内网间
|
|
@@ -6830,6 +7492,49 @@ module TencentCloud
|
|
|
6830
7492
|
end
|
|
6831
7493
|
end
|
|
6832
7494
|
|
|
7495
|
+
# ModifyClusterVpcFwSwitch请求参数结构体
|
|
7496
|
+
class ModifyClusterVpcFwSwitchRequest < TencentCloud::Common::AbstractModel
|
|
7497
|
+
# @param Enable: 开关,0:关闭,1:开启
|
|
7498
|
+
# @type Enable: Integer
|
|
7499
|
+
# @param CcnSwitch: 集群模式vpc间防火墙ccn开关信息
|
|
7500
|
+
# @type CcnSwitch: Array
|
|
7501
|
+
|
|
7502
|
+
attr_accessor :Enable, :CcnSwitch
|
|
7503
|
+
|
|
7504
|
+
def initialize(enable=nil, ccnswitch=nil)
|
|
7505
|
+
@Enable = enable
|
|
7506
|
+
@CcnSwitch = ccnswitch
|
|
7507
|
+
end
|
|
7508
|
+
|
|
7509
|
+
def deserialize(params)
|
|
7510
|
+
@Enable = params['Enable']
|
|
7511
|
+
unless params['CcnSwitch'].nil?
|
|
7512
|
+
@CcnSwitch = []
|
|
7513
|
+
params['CcnSwitch'].each do |i|
|
|
7514
|
+
ccnswitchinfo_tmp = CcnSwitchInfo.new
|
|
7515
|
+
ccnswitchinfo_tmp.deserialize(i)
|
|
7516
|
+
@CcnSwitch << ccnswitchinfo_tmp
|
|
7517
|
+
end
|
|
7518
|
+
end
|
|
7519
|
+
end
|
|
7520
|
+
end
|
|
7521
|
+
|
|
7522
|
+
# ModifyClusterVpcFwSwitch返回参数结构体
|
|
7523
|
+
class ModifyClusterVpcFwSwitchResponse < TencentCloud::Common::AbstractModel
|
|
7524
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7525
|
+
# @type RequestId: String
|
|
7526
|
+
|
|
7527
|
+
attr_accessor :RequestId
|
|
7528
|
+
|
|
7529
|
+
def initialize(requestid=nil)
|
|
7530
|
+
@RequestId = requestid
|
|
7531
|
+
end
|
|
7532
|
+
|
|
7533
|
+
def deserialize(params)
|
|
7534
|
+
@RequestId = params['RequestId']
|
|
7535
|
+
end
|
|
7536
|
+
end
|
|
7537
|
+
|
|
6833
7538
|
# ModifyEWRuleStatus请求参数结构体
|
|
6834
7539
|
class ModifyEWRuleStatusRequest < TencentCloud::Common::AbstractModel
|
|
6835
7540
|
# @param EdgeId: vpc规则必填,边id
|
|
@@ -8289,6 +8994,61 @@ module TencentCloud
|
|
|
8289
8994
|
end
|
|
8290
8995
|
end
|
|
8291
8996
|
|
|
8997
|
+
# 引流地域CIDR配置
|
|
8998
|
+
class RegionCidrConfig < TencentCloud::Common::AbstractModel
|
|
8999
|
+
# @param Region: 引流地域
|
|
9000
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9001
|
+
# @type Region: String
|
|
9002
|
+
# @param CidrMode: CIDR模式:0-跳过,1-自动,2-自定义
|
|
9003
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9004
|
+
# @type CidrMode: Integer
|
|
9005
|
+
# @param CustomCidr: 自定义CIDR(CidrMode=2时必填),其它时候为空字符串
|
|
9006
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
9007
|
+
# @type CustomCidr: String
|
|
9008
|
+
|
|
9009
|
+
attr_accessor :Region, :CidrMode, :CustomCidr
|
|
9010
|
+
|
|
9011
|
+
def initialize(region=nil, cidrmode=nil, customcidr=nil)
|
|
9012
|
+
@Region = region
|
|
9013
|
+
@CidrMode = cidrmode
|
|
9014
|
+
@CustomCidr = customcidr
|
|
9015
|
+
end
|
|
9016
|
+
|
|
9017
|
+
def deserialize(params)
|
|
9018
|
+
@Region = params['Region']
|
|
9019
|
+
@CidrMode = params['CidrMode']
|
|
9020
|
+
@CustomCidr = params['CustomCidr']
|
|
9021
|
+
end
|
|
9022
|
+
end
|
|
9023
|
+
|
|
9024
|
+
# 地域的防火墙引流网络状态
|
|
9025
|
+
class RegionFwStatus < TencentCloud::Common::AbstractModel
|
|
9026
|
+
# @param Region: 地域
|
|
9027
|
+
# @type Region: String
|
|
9028
|
+
# @param Status: 引流网络部署状态
|
|
9029
|
+
# 1. "NotDeployed" 防火墙集群未部署
|
|
9030
|
+
# 2. "Deployed" 防火墙集群已部署,但未创建引流网络
|
|
9031
|
+
# 3. "Auto" 防火墙集群已部署,并自动选择网段创建了引流网络
|
|
9032
|
+
# 4. "Custom" 防火墙集群已部署,并根据用户自定义网段创建了引流网络
|
|
9033
|
+
# @type Status: String
|
|
9034
|
+
# @param Cidr: 引流网络的cidr,如果没有部署引流网络则为空
|
|
9035
|
+
# @type Cidr: String
|
|
9036
|
+
|
|
9037
|
+
attr_accessor :Region, :Status, :Cidr
|
|
9038
|
+
|
|
9039
|
+
def initialize(region=nil, status=nil, cidr=nil)
|
|
9040
|
+
@Region = region
|
|
9041
|
+
@Status = status
|
|
9042
|
+
@Cidr = cidr
|
|
9043
|
+
end
|
|
9044
|
+
|
|
9045
|
+
def deserialize(params)
|
|
9046
|
+
@Region = params['Region']
|
|
9047
|
+
@Status = params['Status']
|
|
9048
|
+
@Cidr = params['Cidr']
|
|
9049
|
+
end
|
|
9050
|
+
end
|
|
9051
|
+
|
|
8292
9052
|
# RemoveAcRule请求参数结构体
|
|
8293
9053
|
class RemoveAcRuleRequest < TencentCloud::Common::AbstractModel
|
|
8294
9054
|
# @param RuleUuid: 规则的uuid,可通过查询规则列表获取
|
|
@@ -9662,6 +10422,38 @@ module TencentCloud
|
|
|
9662
10422
|
end
|
|
9663
10423
|
end
|
|
9664
10424
|
|
|
10425
|
+
# 开关切换错误
|
|
10426
|
+
class SwitchError < TencentCloud::Common::AbstractModel
|
|
10427
|
+
# @param ErrIns: 开关唯一标识
|
|
10428
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10429
|
+
# @type ErrIns: String
|
|
10430
|
+
# @param ErrMsg: 错误信息
|
|
10431
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10432
|
+
# @type ErrMsg: String
|
|
10433
|
+
# @param ErrKey: 错误类型区分
|
|
10434
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10435
|
+
# @type ErrKey: String
|
|
10436
|
+
# @param InsertTime: 错误时间
|
|
10437
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
10438
|
+
# @type InsertTime: String
|
|
10439
|
+
|
|
10440
|
+
attr_accessor :ErrIns, :ErrMsg, :ErrKey, :InsertTime
|
|
10441
|
+
|
|
10442
|
+
def initialize(errins=nil, errmsg=nil, errkey=nil, inserttime=nil)
|
|
10443
|
+
@ErrIns = errins
|
|
10444
|
+
@ErrMsg = errmsg
|
|
10445
|
+
@ErrKey = errkey
|
|
10446
|
+
@InsertTime = inserttime
|
|
10447
|
+
end
|
|
10448
|
+
|
|
10449
|
+
def deserialize(params)
|
|
10450
|
+
@ErrIns = params['ErrIns']
|
|
10451
|
+
@ErrMsg = params['ErrMsg']
|
|
10452
|
+
@ErrKey = params['ErrKey']
|
|
10453
|
+
@InsertTime = params['InsertTime']
|
|
10454
|
+
end
|
|
10455
|
+
end
|
|
10456
|
+
|
|
9665
10457
|
# 防火墙开关列表对象
|
|
9666
10458
|
class SwitchListsData < TencentCloud::Common::AbstractModel
|
|
9667
10459
|
# @param PublicIp: 公网IP
|
|
@@ -9937,6 +10729,79 @@ module TencentCloud
|
|
|
9937
10729
|
end
|
|
9938
10730
|
end
|
|
9939
10731
|
|
|
10732
|
+
# UpdateCheckCcnNonDirectFlag请求参数结构体
|
|
10733
|
+
class UpdateCheckCcnNonDirectFlagRequest < TencentCloud::Common::AbstractModel
|
|
10734
|
+
# @param CcnId: 云联网ID
|
|
10735
|
+
# @type CcnId: String
|
|
10736
|
+
|
|
10737
|
+
attr_accessor :CcnId
|
|
10738
|
+
|
|
10739
|
+
def initialize(ccnid=nil)
|
|
10740
|
+
@CcnId = ccnid
|
|
10741
|
+
end
|
|
10742
|
+
|
|
10743
|
+
def deserialize(params)
|
|
10744
|
+
@CcnId = params['CcnId']
|
|
10745
|
+
end
|
|
10746
|
+
end
|
|
10747
|
+
|
|
10748
|
+
# UpdateCheckCcnNonDirectFlag返回参数结构体
|
|
10749
|
+
class UpdateCheckCcnNonDirectFlagResponse < TencentCloud::Common::AbstractModel
|
|
10750
|
+
# @param Message: 检测更新状态
|
|
10751
|
+
# "Checked":重新检测完成
|
|
10752
|
+
# "Checking": 正在重新检测中,请稍后刷新状态查看
|
|
10753
|
+
# @type Message: String
|
|
10754
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10755
|
+
# @type RequestId: String
|
|
10756
|
+
|
|
10757
|
+
attr_accessor :Message, :RequestId
|
|
10758
|
+
|
|
10759
|
+
def initialize(message=nil, requestid=nil)
|
|
10760
|
+
@Message = message
|
|
10761
|
+
@RequestId = requestid
|
|
10762
|
+
end
|
|
10763
|
+
|
|
10764
|
+
def deserialize(params)
|
|
10765
|
+
@Message = params['Message']
|
|
10766
|
+
@RequestId = params['RequestId']
|
|
10767
|
+
end
|
|
10768
|
+
end
|
|
10769
|
+
|
|
10770
|
+
# UpdateClusterVpcFw请求参数结构体
|
|
10771
|
+
class UpdateClusterVpcFwRequest < TencentCloud::Common::AbstractModel
|
|
10772
|
+
# @param CcnSwitch: ccn防火墙开关配置信息
|
|
10773
|
+
# @type CcnSwitch: :class:`Tencentcloud::Cfw.v20190904.models.CcnSwitchInfo`
|
|
10774
|
+
|
|
10775
|
+
attr_accessor :CcnSwitch
|
|
10776
|
+
|
|
10777
|
+
def initialize(ccnswitch=nil)
|
|
10778
|
+
@CcnSwitch = ccnswitch
|
|
10779
|
+
end
|
|
10780
|
+
|
|
10781
|
+
def deserialize(params)
|
|
10782
|
+
unless params['CcnSwitch'].nil?
|
|
10783
|
+
@CcnSwitch = CcnSwitchInfo.new
|
|
10784
|
+
@CcnSwitch.deserialize(params['CcnSwitch'])
|
|
10785
|
+
end
|
|
10786
|
+
end
|
|
10787
|
+
end
|
|
10788
|
+
|
|
10789
|
+
# UpdateClusterVpcFw返回参数结构体
|
|
10790
|
+
class UpdateClusterVpcFwResponse < TencentCloud::Common::AbstractModel
|
|
10791
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10792
|
+
# @type RequestId: String
|
|
10793
|
+
|
|
10794
|
+
attr_accessor :RequestId
|
|
10795
|
+
|
|
10796
|
+
def initialize(requestid=nil)
|
|
10797
|
+
@RequestId = requestid
|
|
10798
|
+
end
|
|
10799
|
+
|
|
10800
|
+
def deserialize(params)
|
|
10801
|
+
@RequestId = params['RequestId']
|
|
10802
|
+
end
|
|
10803
|
+
end
|
|
10804
|
+
|
|
9940
10805
|
# nat防火墙 vpc dns 开关信息
|
|
9941
10806
|
class VpcDnsInfo < TencentCloud::Common::AbstractModel
|
|
9942
10807
|
# @param VpcId: vpc id
|
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.1195
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-01-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|