tencentcloud-sdk-cfw 3.0.989 → 3.0.990
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 +0 -26
- data/lib/v20190904/models.rb +0 -36
- 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: bd859214ee12ec9d960bcce40afbac8c268bb0a6
|
4
|
+
data.tar.gz: a8f477f97a96149e6433b8b6fb36da169e388288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c94f8197da83a20a5ac3558a6fc0a47f9c3acc4b7795a8d1f9ad953053122111249adc2455cb1ff78a7c1684ed60559170846deb8afd5082e752ffe6ac137266
|
7
|
+
data.tar.gz: 51243599f69090f9976a40840f7f64f55d40ee67d775bc09f722c5a7c29b98f2aec4322f1fcfa66be25afc42be6dbb96d413457b8ebf44ccb6fb8086a5482034
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.990
|
data/lib/v20190904/client.rb
CHANGED
@@ -1831,32 +1831,6 @@ module TencentCloud
|
|
1831
1831
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1832
1832
|
end
|
1833
1833
|
|
1834
|
-
# 该接口已不再使用
|
1835
|
-
|
1836
|
-
# VPC防火墙一键开关
|
1837
|
-
|
1838
|
-
# @param request: Request instance for ModifyAllVPCSwitchStatus.
|
1839
|
-
# @type request: :class:`Tencentcloud::cfw::V20190904::ModifyAllVPCSwitchStatusRequest`
|
1840
|
-
# @rtype: :class:`Tencentcloud::cfw::V20190904::ModifyAllVPCSwitchStatusResponse`
|
1841
|
-
def ModifyAllVPCSwitchStatus(request)
|
1842
|
-
body = send_request('ModifyAllVPCSwitchStatus', request.serialize)
|
1843
|
-
response = JSON.parse(body)
|
1844
|
-
if response['Response'].key?('Error') == false
|
1845
|
-
model = ModifyAllVPCSwitchStatusResponse.new
|
1846
|
-
model.deserialize(response['Response'])
|
1847
|
-
model
|
1848
|
-
else
|
1849
|
-
code = response['Response']['Error']['Code']
|
1850
|
-
message = response['Response']['Error']['Message']
|
1851
|
-
reqid = response['Response']['RequestId']
|
1852
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1853
|
-
end
|
1854
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1855
|
-
raise e
|
1856
|
-
rescue StandardError => e
|
1857
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1858
|
-
end
|
1859
|
-
|
1860
1834
|
# 资产扫描
|
1861
1835
|
|
1862
1836
|
# @param request: Request instance for ModifyAssetScan.
|
data/lib/v20190904/models.rb
CHANGED
@@ -6407,42 +6407,6 @@ module TencentCloud
|
|
6407
6407
|
end
|
6408
6408
|
end
|
6409
6409
|
|
6410
|
-
# ModifyAllVPCSwitchStatus请求参数结构体
|
6411
|
-
class ModifyAllVPCSwitchStatusRequest < TencentCloud::Common::AbstractModel
|
6412
|
-
# @param Status: 状态,0:关闭,1:开启
|
6413
|
-
# @type Status: Integer
|
6414
|
-
# @param FireWallVpcIds: 选中的防火墙开关Id
|
6415
|
-
# @type FireWallVpcIds: Array
|
6416
|
-
|
6417
|
-
attr_accessor :Status, :FireWallVpcIds
|
6418
|
-
|
6419
|
-
def initialize(status=nil, firewallvpcids=nil)
|
6420
|
-
@Status = status
|
6421
|
-
@FireWallVpcIds = firewallvpcids
|
6422
|
-
end
|
6423
|
-
|
6424
|
-
def deserialize(params)
|
6425
|
-
@Status = params['Status']
|
6426
|
-
@FireWallVpcIds = params['FireWallVpcIds']
|
6427
|
-
end
|
6428
|
-
end
|
6429
|
-
|
6430
|
-
# ModifyAllVPCSwitchStatus返回参数结构体
|
6431
|
-
class ModifyAllVPCSwitchStatusResponse < TencentCloud::Common::AbstractModel
|
6432
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
6433
|
-
# @type RequestId: String
|
6434
|
-
|
6435
|
-
attr_accessor :RequestId
|
6436
|
-
|
6437
|
-
def initialize(requestid=nil)
|
6438
|
-
@RequestId = requestid
|
6439
|
-
end
|
6440
|
-
|
6441
|
-
def deserialize(params)
|
6442
|
-
@RequestId = params['RequestId']
|
6443
|
-
end
|
6444
|
-
end
|
6445
|
-
|
6446
6410
|
# ModifyAssetScan请求参数结构体
|
6447
6411
|
class ModifyAssetScanRequest < TencentCloud::Common::AbstractModel
|
6448
6412
|
# @param ScanRange: 扫描范围:1端口, 2端口+漏扫
|
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.990
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|