tencentcloud-sdk-tcss 3.0.1160 → 3.0.1162
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/v20201101/client.rb +24 -0
- data/lib/v20201101/models.rb +50 -18
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3012177a051ae765485b0a73eab2de44ab7442ca
|
|
4
|
+
data.tar.gz: 11d71fea9fb690789df1a3214b59d9b2a8a2c141
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 744e511f7de26d92122a097284a2329dc56a9333a113e8be03c016f3ab5327b7d405f650e6c2d82c4ec0007be3a52d232b38b8c16f3b8173226191b81a0942f8
|
|
7
|
+
data.tar.gz: 78172ba99e2add01d231c2ee6182f5ff4acc1d3ebf5e1619f6a67e83b28b3907bd6799c985b08c50ce2796ee9d4edc70443e1d25f0ca962a9448322df9aba8d9
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1162
|
data/lib/v20201101/client.rb
CHANGED
|
@@ -8050,6 +8050,30 @@ module TencentCloud
|
|
|
8050
8050
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
8051
8051
|
end
|
|
8052
8052
|
|
|
8053
|
+
# 卸载集群容器安全
|
|
8054
|
+
|
|
8055
|
+
# @param request: Request instance for UninstallClusterContainerSecurity.
|
|
8056
|
+
# @type request: :class:`Tencentcloud::tcss::V20201101::UninstallClusterContainerSecurityRequest`
|
|
8057
|
+
# @rtype: :class:`Tencentcloud::tcss::V20201101::UninstallClusterContainerSecurityResponse`
|
|
8058
|
+
def UninstallClusterContainerSecurity(request)
|
|
8059
|
+
body = send_request('UninstallClusterContainerSecurity', request.serialize)
|
|
8060
|
+
response = JSON.parse(body)
|
|
8061
|
+
if response['Response'].key?('Error') == false
|
|
8062
|
+
model = UninstallClusterContainerSecurityResponse.new
|
|
8063
|
+
model.deserialize(response['Response'])
|
|
8064
|
+
model
|
|
8065
|
+
else
|
|
8066
|
+
code = response['Response']['Error']['Code']
|
|
8067
|
+
message = response['Response']['Error']['Message']
|
|
8068
|
+
reqid = response['Response']['RequestId']
|
|
8069
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
|
8070
|
+
end
|
|
8071
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
|
8072
|
+
raise e
|
|
8073
|
+
rescue StandardError => e
|
|
8074
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
8075
|
+
end
|
|
8076
|
+
|
|
8053
8077
|
# 容器网络创建网络策略更新并发布任务
|
|
8054
8078
|
|
|
8055
8079
|
# @param request: Request instance for UpdateAndPublishNetworkFirewallPolicyDetail.
|
data/lib/v20201101/models.rb
CHANGED
|
@@ -3655,8 +3655,8 @@ module TencentCloud
|
|
|
3655
3655
|
|
|
3656
3656
|
attr_accessor :Component, :Version, :FixedVersion, :Path, :Type, :Name
|
|
3657
3657
|
extend Gem::Deprecate
|
|
3658
|
-
deprecate :Component, :none, 2025,
|
|
3659
|
-
deprecate :Component=, :none, 2025,
|
|
3658
|
+
deprecate :Component, :none, 2025, 11
|
|
3659
|
+
deprecate :Component=, :none, 2025, 11
|
|
3660
3660
|
|
|
3661
3661
|
def initialize(component=nil, version=nil, fixedversion=nil, path=nil, type=nil, name=nil)
|
|
3662
3662
|
@Component = component
|
|
@@ -4106,8 +4106,8 @@ module TencentCloud
|
|
|
4106
4106
|
|
|
4107
4107
|
attr_accessor :All, :Images, :ScanType, :Id, :IsLatest, :ScanScope, :RegistryType, :Namespace, :ContainerRunning, :Timeout
|
|
4108
4108
|
extend Gem::Deprecate
|
|
4109
|
-
deprecate :All, :none, 2025,
|
|
4110
|
-
deprecate :All=, :none, 2025,
|
|
4109
|
+
deprecate :All, :none, 2025, 11
|
|
4110
|
+
deprecate :All=, :none, 2025, 11
|
|
4111
4111
|
|
|
4112
4112
|
def initialize(all=nil, images=nil, scantype=nil, id=nil, islatest=nil, scanscope=nil, registrytype=nil, namespace=nil, containerrunning=nil, timeout=nil)
|
|
4113
4113
|
@All = all
|
|
@@ -4268,8 +4268,8 @@ module TencentCloud
|
|
|
4268
4268
|
|
|
4269
4269
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages
|
|
4270
4270
|
extend Gem::Deprecate
|
|
4271
|
-
deprecate :All, :none, 2025,
|
|
4272
|
-
deprecate :All=, :none, 2025,
|
|
4271
|
+
deprecate :All, :none, 2025, 11
|
|
4272
|
+
deprecate :All=, :none, 2025, 11
|
|
4273
4273
|
|
|
4274
4274
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil)
|
|
4275
4275
|
@Enable = enable
|
|
@@ -4345,8 +4345,8 @@ module TencentCloud
|
|
|
4345
4345
|
|
|
4346
4346
|
attr_accessor :All, :Images, :ScanVul, :ScanVirus, :ScanRisk, :Filters, :ExcludeImageIds, :ContainerRunning, :ScanScope, :Timeout, :IsOneClickScanningTask
|
|
4347
4347
|
extend Gem::Deprecate
|
|
4348
|
-
deprecate :All, :none, 2025,
|
|
4349
|
-
deprecate :All=, :none, 2025,
|
|
4348
|
+
deprecate :All, :none, 2025, 11
|
|
4349
|
+
deprecate :All=, :none, 2025, 11
|
|
4350
4350
|
|
|
4351
4351
|
def initialize(all=nil, images=nil, scanvul=nil, scanvirus=nil, scanrisk=nil, filters=nil, excludeimageids=nil, containerrunning=nil, scanscope=nil, timeout=nil, isoneclickscanningtask=nil)
|
|
4352
4352
|
@All = all
|
|
@@ -9318,8 +9318,8 @@ module TencentCloud
|
|
|
9318
9318
|
|
|
9319
9319
|
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :OsName, :ScanVirusError, :ScanVulError, :LayerInfo, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :ImageSize, :ImageId, :RegistryRegion, :ImageCreateTime, :SensitiveInfoCnt, :Id, :Solution, :Reason, :RequestId
|
|
9320
9320
|
extend Gem::Deprecate
|
|
9321
|
-
deprecate :SentiveInfoCnt, :none, 2025,
|
|
9322
|
-
deprecate :SentiveInfoCnt=, :none, 2025,
|
|
9321
|
+
deprecate :SentiveInfoCnt, :none, 2025, 11
|
|
9322
|
+
deprecate :SentiveInfoCnt=, :none, 2025, 11
|
|
9323
9323
|
|
|
9324
9324
|
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, layerinfo=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, imagesize=nil, imageid=nil, registryregion=nil, imagecreatetime=nil, sensitiveinfocnt=nil, id=nil, solution=nil, reason=nil, requestid=nil)
|
|
9325
9325
|
@ImageDigest = imagedigest
|
|
@@ -10485,8 +10485,8 @@ module TencentCloud
|
|
|
10485
10485
|
|
|
10486
10486
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages, :LastScanTime, :ScanResult, :RequestId
|
|
10487
10487
|
extend Gem::Deprecate
|
|
10488
|
-
deprecate :All, :none, 2025,
|
|
10489
|
-
deprecate :All=, :none, 2025,
|
|
10488
|
+
deprecate :All, :none, 2025, 11
|
|
10489
|
+
deprecate :All=, :none, 2025, 11
|
|
10490
10490
|
|
|
10491
10491
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scanvirus=nil, scanrisk=nil, scanvul=nil, all=nil, images=nil, containerrunning=nil, scanscope=nil, scanendtime=nil, excludeimages=nil, lastscantime=nil, scanresult=nil, requestid=nil)
|
|
10492
10492
|
@Enable = enable
|
|
@@ -13936,8 +13936,8 @@ module TencentCloud
|
|
|
13936
13936
|
|
|
13937
13937
|
attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :ExcludeImageAssetIds, :LastScanTime, :ScanResult, :RequestId
|
|
13938
13938
|
extend Gem::Deprecate
|
|
13939
|
-
deprecate :All, :none, 2025,
|
|
13940
|
-
deprecate :All=, :none, 2025,
|
|
13939
|
+
deprecate :All, :none, 2025, 11
|
|
13940
|
+
deprecate :All=, :none, 2025, 11
|
|
13941
13941
|
|
|
13942
13942
|
def initialize(enable=nil, scantime=nil, scanperiod=nil, scantype=nil, all=nil, images=nil, id=nil, latest=nil, scanendtime=nil, registrytype=nil, containerrunning=nil, scanscope=nil, namespace=nil, excludeimageassetids=nil, lastscantime=nil, scanresult=nil, requestid=nil)
|
|
13943
13943
|
@Enable = enable
|
|
@@ -22096,8 +22096,8 @@ module TencentCloud
|
|
|
22096
22096
|
|
|
22097
22097
|
attr_accessor :ImageDigest, :ImageRepoAddress, :RegistryType, :ImageName, :ImageTag, :ImageSize, :ScanTime, :ScanStatus, :VulCnt, :VirusCnt, :RiskCnt, :SentiveInfoCnt, :IsTrustImage, :OsName, :ScanVirusError, :ScanVulError, :InstanceId, :InstanceName, :Namespace, :ScanRiskError, :ScanVirusProgress, :ScanVulProgress, :ScanRiskProgress, :ScanRemainTime, :CveStatus, :RiskStatus, :VirusStatus, :Progress, :IsAuthorized, :RegistryRegion, :Id, :ImageId, :ImageCreateTime, :IsLatestImage, :LowLevelVulCnt, :MediumLevelVulCnt, :HighLevelVulCnt, :CriticalLevelVulCnt, :ContainerCnt, :ComponentCnt, :IsRunning, :HasNeedFixVul, :SensitiveInfoCnt, :RecommendedFix, :Solution, :Reason
|
|
22098
22098
|
extend Gem::Deprecate
|
|
22099
|
-
deprecate :SentiveInfoCnt, :none, 2025,
|
|
22100
|
-
deprecate :SentiveInfoCnt=, :none, 2025,
|
|
22099
|
+
deprecate :SentiveInfoCnt, :none, 2025, 11
|
|
22100
|
+
deprecate :SentiveInfoCnt=, :none, 2025, 11
|
|
22101
22101
|
|
|
22102
22102
|
def initialize(imagedigest=nil, imagerepoaddress=nil, registrytype=nil, imagename=nil, imagetag=nil, imagesize=nil, scantime=nil, scanstatus=nil, vulcnt=nil, viruscnt=nil, riskcnt=nil, sentiveinfocnt=nil, istrustimage=nil, osname=nil, scanviruserror=nil, scanvulerror=nil, instanceid=nil, instancename=nil, namespace=nil, scanriskerror=nil, scanvirusprogress=nil, scanvulprogress=nil, scanriskprogress=nil, scanremaintime=nil, cvestatus=nil, riskstatus=nil, virusstatus=nil, progress=nil, isauthorized=nil, registryregion=nil, id=nil, imageid=nil, imagecreatetime=nil, islatestimage=nil, lowlevelvulcnt=nil, mediumlevelvulcnt=nil, highlevelvulcnt=nil, criticallevelvulcnt=nil, containercnt=nil, componentcnt=nil, isrunning=nil, hasneedfixvul=nil, sensitiveinfocnt=nil, recommendedfix=nil, solution=nil, reason=nil)
|
|
22103
22103
|
@ImageDigest = imagedigest
|
|
@@ -28204,6 +28204,38 @@ module TencentCloud
|
|
|
28204
28204
|
end
|
|
28205
28205
|
end
|
|
28206
28206
|
|
|
28207
|
+
# UninstallClusterContainerSecurity请求参数结构体
|
|
28208
|
+
class UninstallClusterContainerSecurityRequest < TencentCloud::Common::AbstractModel
|
|
28209
|
+
# @param ClusterIDs: 集群ID
|
|
28210
|
+
# @type ClusterIDs: Array
|
|
28211
|
+
|
|
28212
|
+
attr_accessor :ClusterIDs
|
|
28213
|
+
|
|
28214
|
+
def initialize(clusterids=nil)
|
|
28215
|
+
@ClusterIDs = clusterids
|
|
28216
|
+
end
|
|
28217
|
+
|
|
28218
|
+
def deserialize(params)
|
|
28219
|
+
@ClusterIDs = params['ClusterIDs']
|
|
28220
|
+
end
|
|
28221
|
+
end
|
|
28222
|
+
|
|
28223
|
+
# UninstallClusterContainerSecurity返回参数结构体
|
|
28224
|
+
class UninstallClusterContainerSecurityResponse < TencentCloud::Common::AbstractModel
|
|
28225
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
28226
|
+
# @type RequestId: String
|
|
28227
|
+
|
|
28228
|
+
attr_accessor :RequestId
|
|
28229
|
+
|
|
28230
|
+
def initialize(requestid=nil)
|
|
28231
|
+
@RequestId = requestid
|
|
28232
|
+
end
|
|
28233
|
+
|
|
28234
|
+
def deserialize(params)
|
|
28235
|
+
@RequestId = params['RequestId']
|
|
28236
|
+
end
|
|
28237
|
+
end
|
|
28238
|
+
|
|
28207
28239
|
# UpdateAndPublishNetworkFirewallPolicyDetail请求参数结构体
|
|
28208
28240
|
class UpdateAndPublishNetworkFirewallPolicyDetailRequest < TencentCloud::Common::AbstractModel
|
|
28209
28241
|
# @param ClusterId: 集群Id
|
|
@@ -28483,8 +28515,8 @@ module TencentCloud
|
|
|
28483
28515
|
|
|
28484
28516
|
attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace, :ExcludeImageAssetIds
|
|
28485
28517
|
extend Gem::Deprecate
|
|
28486
|
-
deprecate :All, :none, 2025,
|
|
28487
|
-
deprecate :All=, :none, 2025,
|
|
28518
|
+
deprecate :All, :none, 2025, 11
|
|
28519
|
+
deprecate :All=, :none, 2025, 11
|
|
28488
28520
|
|
|
28489
28521
|
def initialize(scanperiod=nil, enable=nil, scantime=nil, scantype=nil, images=nil, all=nil, id=nil, latest=nil, containerrunning=nil, scanendtime=nil, scanscope=nil, registrytype=nil, namespace=nil, excludeimageassetids=nil)
|
|
28490
28522
|
@ScanPeriod = scanperiod
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-tcss
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1162
|
|
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-
|
|
11
|
+
date: 2025-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|
|
@@ -33,9 +33,9 @@ executables: []
|
|
|
33
33
|
extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
|
35
35
|
files:
|
|
36
|
-
- lib/v20201101/models.rb
|
|
37
|
-
- lib/v20201101/client.rb
|
|
38
36
|
- lib/tencentcloud-sdk-tcss.rb
|
|
37
|
+
- lib/v20201101/client.rb
|
|
38
|
+
- lib/v20201101/models.rb
|
|
39
39
|
- lib/VERSION
|
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
|
41
41
|
licenses:
|