tencentcloud-sdk-tcss 3.0.1146 → 3.0.1151

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f8a744d2a5fcbd05cc10530448c69ab0eb19f5b
4
- data.tar.gz: 5ccbadf85396622538f70592c0b8449902f57cc8
3
+ metadata.gz: 1aacbbf9f8d49263541e9a3eb5c6cc06bbe13969
4
+ data.tar.gz: 04ca2bbddbf7f1b034ab6161fc1ebd2301e2b47e
5
5
  SHA512:
6
- metadata.gz: b9a665d1c24cfc742b3ba5e5742e60bca133f7b1eb27e794b4965926eaa60e64afcaa115fa6d15feaed560e968bce06bbb14f921795a1891f88bec2f3376e474
7
- data.tar.gz: bb2e72868e715c4971eb7f78bcb0599797c6bd58c93912fb3021cf6b802261847a610490386a88084dab56c23b894fd236699de3a387147b974f67bc5f0a8d5c
6
+ metadata.gz: c309cb65a0ddfd9d45ce099e35683ead3695563cc8c76a276f037b5e5e96d674ccaa38a0b500544835b4400318e84d3d9e8aa3c8d25b828656d729604f12d323
7
+ data.tar.gz: edc1743426b4a75edb75b118f19ab29daf160aaf6a3783882070d6b9c9f14b4d625ba28161ea2388d22e3f17eafa98d5bc38dbde6c55633d015dfab34b5be1f8
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1146
1
+ 3.0.1151
@@ -679,6 +679,30 @@ module TencentCloud
679
679
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
680
680
  end
681
681
 
682
+ # 创建集群接入
683
+
684
+ # @param request: Request instance for CreateClusterAccess.
685
+ # @type request: :class:`Tencentcloud::tcss::V20201101::CreateClusterAccessRequest`
686
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::CreateClusterAccessResponse`
687
+ def CreateClusterAccess(request)
688
+ body = send_request('CreateClusterAccess', request.serialize)
689
+ response = JSON.parse(body)
690
+ if response['Response'].key?('Error') == false
691
+ model = CreateClusterAccessResponse.new
692
+ model.deserialize(response['Response'])
693
+ model
694
+ else
695
+ code = response['Response']['Error']['Code']
696
+ message = response['Response']['Error']['Message']
697
+ reqid = response['Response']['RequestId']
698
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
699
+ end
700
+ rescue TencentCloud::Common::TencentCloudSDKException => e
701
+ raise e
702
+ rescue StandardError => e
703
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
704
+ end
705
+
682
706
  # 创建集群检查任务,用户检查用户的集群相关风险项
683
707
 
684
708
  # @param request: Request instance for CreateClusterCheckTask.
@@ -7090,6 +7114,30 @@ module TencentCloud
7090
7114
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7091
7115
  end
7092
7116
 
7117
+ # 修改防护状态
7118
+
7119
+ # @param request: Request instance for ModifyDefendStatus.
7120
+ # @type request: :class:`Tencentcloud::tcss::V20201101::ModifyDefendStatusRequest`
7121
+ # @rtype: :class:`Tencentcloud::tcss::V20201101::ModifyDefendStatusResponse`
7122
+ def ModifyDefendStatus(request)
7123
+ body = send_request('ModifyDefendStatus', request.serialize)
7124
+ response = JSON.parse(body)
7125
+ if response['Response'].key?('Error') == false
7126
+ model = ModifyDefendStatusResponse.new
7127
+ model.deserialize(response['Response'])
7128
+ model
7129
+ else
7130
+ code = response['Response']['Error']['Code']
7131
+ message = response['Response']['Error']['Message']
7132
+ reqid = response['Response']['RequestId']
7133
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
7134
+ end
7135
+ rescue TencentCloud::Common::TencentCloudSDKException => e
7136
+ raise e
7137
+ rescue StandardError => e
7138
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
7139
+ end
7140
+
7093
7141
  # ModifyEscapeEventStatus 修改容器逃逸扫描事件状态
7094
7142
 
7095
7143
  # @param request: Request instance for ModifyEscapeEventStatus.
@@ -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, 9
3659
- deprecate :Component=, :none, 2025, 9
3658
+ deprecate :Component, :none, 2025, 10
3659
+ deprecate :Component=, :none, 2025, 10
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, 9
4110
- deprecate :All=, :none, 2025, 9
4109
+ deprecate :All, :none, 2025, 10
4110
+ deprecate :All=, :none, 2025, 10
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, 9
4272
- deprecate :All=, :none, 2025, 9
4271
+ deprecate :All, :none, 2025, 10
4272
+ deprecate :All=, :none, 2025, 10
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, 9
4349
- deprecate :All=, :none, 2025, 9
4348
+ deprecate :All, :none, 2025, 10
4349
+ deprecate :All=, :none, 2025, 10
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
@@ -4514,6 +4514,38 @@ module TencentCloud
4514
4514
  end
4515
4515
  end
4516
4516
 
4517
+ # CreateClusterAccess请求参数结构体
4518
+ class CreateClusterAccessRequest < TencentCloud::Common::AbstractModel
4519
+ # @param ClusterIDs: 集群ID
4520
+ # @type ClusterIDs: Array
4521
+
4522
+ attr_accessor :ClusterIDs
4523
+
4524
+ def initialize(clusterids=nil)
4525
+ @ClusterIDs = clusterids
4526
+ end
4527
+
4528
+ def deserialize(params)
4529
+ @ClusterIDs = params['ClusterIDs']
4530
+ end
4531
+ end
4532
+
4533
+ # CreateClusterAccess返回参数结构体
4534
+ class CreateClusterAccessResponse < TencentCloud::Common::AbstractModel
4535
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4536
+ # @type RequestId: String
4537
+
4538
+ attr_accessor :RequestId
4539
+
4540
+ def initialize(requestid=nil)
4541
+ @RequestId = requestid
4542
+ end
4543
+
4544
+ def deserialize(params)
4545
+ @RequestId = params['RequestId']
4546
+ end
4547
+ end
4548
+
4517
4549
  # CreateClusterCheckTask请求参数结构体
4518
4550
  class CreateClusterCheckTaskRequest < TencentCloud::Common::AbstractModel
4519
4551
  # @param ClusterCheckTaskList: 指定要扫描的集群信息
@@ -9263,8 +9295,8 @@ module TencentCloud
9263
9295
 
9264
9296
  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, :RequestId
9265
9297
  extend Gem::Deprecate
9266
- deprecate :SentiveInfoCnt, :none, 2025, 9
9267
- deprecate :SentiveInfoCnt=, :none, 2025, 9
9298
+ deprecate :SentiveInfoCnt, :none, 2025, 10
9299
+ deprecate :SentiveInfoCnt=, :none, 2025, 10
9268
9300
 
9269
9301
  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, requestid=nil)
9270
9302
  @ImageDigest = imagedigest
@@ -10422,8 +10454,8 @@ module TencentCloud
10422
10454
 
10423
10455
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanVirus, :ScanRisk, :ScanVul, :All, :Images, :ContainerRunning, :ScanScope, :ScanEndTime, :ExcludeImages, :LastScanTime, :ScanResult, :RequestId
10424
10456
  extend Gem::Deprecate
10425
- deprecate :All, :none, 2025, 9
10426
- deprecate :All=, :none, 2025, 9
10457
+ deprecate :All, :none, 2025, 10
10458
+ deprecate :All=, :none, 2025, 10
10427
10459
 
10428
10460
  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)
10429
10461
  @Enable = enable
@@ -13873,8 +13905,8 @@ module TencentCloud
13873
13905
 
13874
13906
  attr_accessor :Enable, :ScanTime, :ScanPeriod, :ScanType, :All, :Images, :Id, :Latest, :ScanEndTime, :RegistryType, :ContainerRunning, :ScanScope, :Namespace, :ExcludeImageAssetIds, :LastScanTime, :ScanResult, :RequestId
13875
13907
  extend Gem::Deprecate
13876
- deprecate :All, :none, 2025, 9
13877
- deprecate :All=, :none, 2025, 9
13908
+ deprecate :All, :none, 2025, 10
13909
+ deprecate :All=, :none, 2025, 10
13878
13910
 
13879
13911
  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)
13880
13912
  @Enable = enable
@@ -22029,8 +22061,8 @@ module TencentCloud
22029
22061
 
22030
22062
  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
22031
22063
  extend Gem::Deprecate
22032
- deprecate :SentiveInfoCnt, :none, 2025, 9
22033
- deprecate :SentiveInfoCnt=, :none, 2025, 9
22064
+ deprecate :SentiveInfoCnt, :none, 2025, 10
22065
+ deprecate :SentiveInfoCnt=, :none, 2025, 10
22034
22066
 
22035
22067
  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)
22036
22068
  @ImageDigest = imagedigest
@@ -23784,6 +23816,50 @@ module TencentCloud
23784
23816
  end
23785
23817
  end
23786
23818
 
23819
+ # ModifyDefendStatus请求参数结构体
23820
+ class ModifyDefendStatusRequest < TencentCloud::Common::AbstractModel
23821
+ # @param SwitchOn: 开关是否开启
23822
+ # @type SwitchOn: Boolean
23823
+ # @param InstanceType: 实例类型 <li> Cluster: 集群</li> <li> Node: 节点</li>
23824
+ # @type InstanceType: String
23825
+ # @param IsAll: 是否是全部实例
23826
+ # @type IsAll: Boolean
23827
+ # @param InstanceIDs: 实例id列表
23828
+ # @type InstanceIDs: Array
23829
+
23830
+ attr_accessor :SwitchOn, :InstanceType, :IsAll, :InstanceIDs
23831
+
23832
+ def initialize(switchon=nil, instancetype=nil, isall=nil, instanceids=nil)
23833
+ @SwitchOn = switchon
23834
+ @InstanceType = instancetype
23835
+ @IsAll = isall
23836
+ @InstanceIDs = instanceids
23837
+ end
23838
+
23839
+ def deserialize(params)
23840
+ @SwitchOn = params['SwitchOn']
23841
+ @InstanceType = params['InstanceType']
23842
+ @IsAll = params['IsAll']
23843
+ @InstanceIDs = params['InstanceIDs']
23844
+ end
23845
+ end
23846
+
23847
+ # ModifyDefendStatus返回参数结构体
23848
+ class ModifyDefendStatusResponse < TencentCloud::Common::AbstractModel
23849
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
23850
+ # @type RequestId: String
23851
+
23852
+ attr_accessor :RequestId
23853
+
23854
+ def initialize(requestid=nil)
23855
+ @RequestId = requestid
23856
+ end
23857
+
23858
+ def deserialize(params)
23859
+ @RequestId = params['RequestId']
23860
+ end
23861
+ end
23862
+
23787
23863
  # ModifyEscapeEventStatus请求参数结构体
23788
23864
  class ModifyEscapeEventStatusRequest < TencentCloud::Common::AbstractModel
23789
23865
  # @param EventIdSet: 处理事件ids
@@ -28360,8 +28436,8 @@ module TencentCloud
28360
28436
 
28361
28437
  attr_accessor :ScanPeriod, :Enable, :ScanTime, :ScanType, :Images, :All, :Id, :Latest, :ContainerRunning, :ScanEndTime, :ScanScope, :RegistryType, :Namespace, :ExcludeImageAssetIds
28362
28438
  extend Gem::Deprecate
28363
- deprecate :All, :none, 2025, 9
28364
- deprecate :All=, :none, 2025, 9
28439
+ deprecate :All, :none, 2025, 10
28440
+ deprecate :All=, :none, 2025, 10
28365
28441
 
28366
28442
  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)
28367
28443
  @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.1146
4
+ version: 3.0.1151
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-09-24 00:00:00.000000000 Z
11
+ date: 2025-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common