tencentcloud-sdk-tcss 3.0.850 → 3.0.852
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/models.rb +60 -25
- 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: a4fadc65c78339d9f586cd3dc0d4b841ce2aeab0
|
4
|
+
data.tar.gz: 89970dcd02a01fa37662eb32c4df82d621302af0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29bfb73d8f5d6b16ae43527b2eab9898cc26bf4c0c0e84573fb1742afbd212a3e6584a7490246800bbdc02cf91270b45e3bbb0e9b8fcd9e6340b232034e15d77
|
7
|
+
data.tar.gz: 9378adbd32076eeafc141df7e39cd55717b644d4596a3df84de784282e8853bd5a28bc44b9fc42dffa8bc3658453612f4cd3725a4c6aa87487412668ca843ddf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.852
|
data/lib/v20201101/models.rb
CHANGED
@@ -2374,7 +2374,7 @@ module TencentCloud
|
|
2374
2374
|
# @type ClusterNodeNum: Integer
|
2375
2375
|
# @param Region: 集群区域
|
2376
2376
|
# @type Region: String
|
2377
|
-
# @param DefenderStatus:
|
2377
|
+
# @param DefenderStatus: 防护状态: 已防护: Defended 未防护: UnDefended
|
2378
2378
|
# @type DefenderStatus: String
|
2379
2379
|
# @param ClusterStatus: 集群状态
|
2380
2380
|
# @type ClusterStatus: String
|
@@ -2423,13 +2423,17 @@ module TencentCloud
|
|
2423
2423
|
# @param UnInstallAgentNodeCount: 未安装agent节点数
|
2424
2424
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2425
2425
|
# @type UnInstallAgentNodeCount: Integer
|
2426
|
-
# @param ChargeCoresCnt: 计费核数
|
2426
|
+
# @param ChargeCoresCnt: 计费核数(弹性计费核数+普通计费核数)
|
2427
2427
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2428
2428
|
# @type ChargeCoresCnt: Integer
|
2429
|
+
# @param MasterAddresses: master 地址列表
|
2430
|
+
# @type MasterAddresses: Array
|
2431
|
+
# @param CoresCnt: 核数
|
2432
|
+
# @type CoresCnt: Integer
|
2429
2433
|
|
2430
|
-
attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime, :AccessedStatus, :AccessedSubStatus, :NodeCount, :OffLineNodeCount, :UnInstallAgentNodeCount, :ChargeCoresCnt
|
2434
|
+
attr_accessor :ClusterId, :ClusterName, :ClusterVersion, :ClusterOs, :ClusterType, :ClusterNodeNum, :Region, :DefenderStatus, :ClusterStatus, :ClusterCheckMode, :ClusterAutoCheck, :DefenderErrorReason, :UnreadyNodeNum, :SeriousRiskCount, :HighRiskCount, :MiddleRiskCount, :HintRiskCount, :CheckFailReason, :CheckStatus, :TaskCreateTime, :AccessedStatus, :AccessedSubStatus, :NodeCount, :OffLineNodeCount, :UnInstallAgentNodeCount, :ChargeCoresCnt, :MasterAddresses, :CoresCnt
|
2431
2435
|
|
2432
|
-
def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil, accessedstatus=nil, accessedsubstatus=nil, nodecount=nil, offlinenodecount=nil, uninstallagentnodecount=nil, chargecorescnt=nil)
|
2436
|
+
def initialize(clusterid=nil, clustername=nil, clusterversion=nil, clusteros=nil, clustertype=nil, clusternodenum=nil, region=nil, defenderstatus=nil, clusterstatus=nil, clustercheckmode=nil, clusterautocheck=nil, defendererrorreason=nil, unreadynodenum=nil, seriousriskcount=nil, highriskcount=nil, middleriskcount=nil, hintriskcount=nil, checkfailreason=nil, checkstatus=nil, taskcreatetime=nil, accessedstatus=nil, accessedsubstatus=nil, nodecount=nil, offlinenodecount=nil, uninstallagentnodecount=nil, chargecorescnt=nil, masteraddresses=nil, corescnt=nil)
|
2433
2437
|
@ClusterId = clusterid
|
2434
2438
|
@ClusterName = clustername
|
2435
2439
|
@ClusterVersion = clusterversion
|
@@ -2456,6 +2460,8 @@ module TencentCloud
|
|
2456
2460
|
@OffLineNodeCount = offlinenodecount
|
2457
2461
|
@UnInstallAgentNodeCount = uninstallagentnodecount
|
2458
2462
|
@ChargeCoresCnt = chargecorescnt
|
2463
|
+
@MasterAddresses = masteraddresses
|
2464
|
+
@CoresCnt = corescnt
|
2459
2465
|
end
|
2460
2466
|
|
2461
2467
|
def deserialize(params)
|
@@ -2485,6 +2491,8 @@ module TencentCloud
|
|
2485
2491
|
@OffLineNodeCount = params['OffLineNodeCount']
|
2486
2492
|
@UnInstallAgentNodeCount = params['UnInstallAgentNodeCount']
|
2487
2493
|
@ChargeCoresCnt = params['ChargeCoresCnt']
|
2494
|
+
@MasterAddresses = params['MasterAddresses']
|
2495
|
+
@CoresCnt = params['CoresCnt']
|
2488
2496
|
end
|
2489
2497
|
end
|
2490
2498
|
|
@@ -8844,17 +8852,7 @@ module TencentCloud
|
|
8844
8852
|
# @type Limit: Integer
|
8845
8853
|
# @param Offset: 偏移量,默认为0。
|
8846
8854
|
# @type Offset: Integer
|
8847
|
-
# @param Filters: 过滤条件。
|
8848
|
-
# <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li>
|
8849
|
-
# <li>HostName - String - 是否必填:否 - 主机名筛选</li>
|
8850
|
-
# <li>Group- String - 是否必填:否 - 主机群组搜索</li>
|
8851
|
-
# <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
|
8852
|
-
# <li>HostID- string - 是否必填:否 - 主机id搜索</li>
|
8853
|
-
# <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
|
8854
|
-
# <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
|
8855
|
-
# <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
|
8856
|
-
# <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
|
8857
|
-
# <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
|
8855
|
+
# @param Filters: 过滤条件。 <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li> <li>HostName - String - 是否必填:否 - 主机名筛选</li> <li>Group- String - 是否必填:否 - 主机群组搜索</li> <li>HostIP- string - 是否必填:否 - 主机ip搜索</li> <li>HostID- string - 是否必填:否 - 主机id搜索</li> <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li> <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li> <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li> <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li> <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li> <li>NonClusterNode: 是否查询非集群节点(true: 是,false: 否)</li>
|
8858
8856
|
# @type Filters: Array
|
8859
8857
|
# @param By: 排序字段
|
8860
8858
|
# @type By: String
|
@@ -15770,24 +15768,33 @@ module TencentCloud
|
|
15770
15768
|
class DescribePurchaseStateInfoResponse < TencentCloud::Common::AbstractModel
|
15771
15769
|
# @param State: 0:可申请试用可购买;1:只可购买(含试用审核不通过和试用过期);2:试用生效中;3:专业版生效中;4:专业版过期
|
15772
15770
|
# @type State: Integer
|
15773
|
-
# @param
|
15771
|
+
# @param AllCoresCnt: 总资源核数 = 总防护核数 + 未防护核数
|
15772
|
+
# @type AllCoresCnt: Integer
|
15773
|
+
# @param CoresCnt: 总防护核数 =已购核数+ 试用赠送核数 +弹性计费核数
|
15774
15774
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15775
15775
|
# @type CoresCnt: Integer
|
15776
|
+
# @param UndefendCoresCnt: 未防护核数(未开启防护资源核数)
|
15777
|
+
# @type UndefendCoresCnt: Integer
|
15776
15778
|
# @param AuthorizedCoresCnt: 已购买核数
|
15777
15779
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15778
15780
|
# @type AuthorizedCoresCnt: Integer
|
15781
|
+
# @param GivenAuthorizedCoresCnt: 试用赠送专业版核心数
|
15782
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15783
|
+
# @type GivenAuthorizedCoresCnt: Integer
|
15784
|
+
# @param CurrentFlexibleCoresCnt: 当前弹性计费核数数量
|
15785
|
+
# @type CurrentFlexibleCoresCnt: Integer
|
15779
15786
|
# @param ImageCnt: 镜像数
|
15780
15787
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15781
15788
|
# @type ImageCnt: Integer
|
15782
15789
|
# @param AuthorizedImageCnt: 已授权镜像数
|
15783
15790
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15784
15791
|
# @type AuthorizedImageCnt: Integer
|
15785
|
-
# @param PurchasedAuthorizedCnt: 已购买镜像授权数
|
15786
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
15787
|
-
# @type PurchasedAuthorizedCnt: Integer
|
15788
15792
|
# @param ExpirationTime: 过期时间
|
15789
15793
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15790
15794
|
# @type ExpirationTime: String
|
15795
|
+
# @param PurchasedAuthorizedCnt: 已购买镜像授权数
|
15796
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15797
|
+
# @type PurchasedAuthorizedCnt: Integer
|
15791
15798
|
# @param AutomaticRenewal: 0表示默认状态(用户未设置,即初始状态), 1表示自动续费,2表示明确不自动续费(用户设置)
|
15792
15799
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15793
15800
|
# @type AutomaticRenewal: Integer
|
@@ -15804,40 +15811,64 @@ module TencentCloud
|
|
15804
15811
|
# @param InquireKey: 计费key
|
15805
15812
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
15806
15813
|
# @type InquireKey: String
|
15814
|
+
# @param DefendPolicy: 防护策略
|
15815
|
+
# @type DefendPolicy: String
|
15816
|
+
# @param FlexibleCoresLimit: 弹性计费核数上限
|
15817
|
+
# @type FlexibleCoresLimit: Integer
|
15818
|
+
# @param DefendClusterCoresCnt: 已防护集群核数
|
15819
|
+
# @type DefendClusterCoresCnt: Integer
|
15820
|
+
# @param DefendHostCoresCnt: 已防护主机核数
|
15821
|
+
# @type DefendHostCoresCnt: Integer
|
15807
15822
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
15808
15823
|
# @type RequestId: String
|
15809
15824
|
|
15810
|
-
attr_accessor :State, :CoresCnt, :AuthorizedCoresCnt, :ImageCnt, :AuthorizedImageCnt, :
|
15825
|
+
attr_accessor :State, :AllCoresCnt, :CoresCnt, :UndefendCoresCnt, :AuthorizedCoresCnt, :GivenAuthorizedCoresCnt, :CurrentFlexibleCoresCnt, :ImageCnt, :AuthorizedImageCnt, :ExpirationTime, :PurchasedAuthorizedCnt, :AutomaticRenewal, :GivenAuthorizedCnt, :BeginTime, :SubState, :InquireKey, :DefendPolicy, :FlexibleCoresLimit, :DefendClusterCoresCnt, :DefendHostCoresCnt, :RequestId
|
15811
15826
|
|
15812
|
-
def initialize(state=nil, corescnt=nil, authorizedcorescnt=nil, imagecnt=nil, authorizedimagecnt=nil,
|
15827
|
+
def initialize(state=nil, allcorescnt=nil, corescnt=nil, undefendcorescnt=nil, authorizedcorescnt=nil, givenauthorizedcorescnt=nil, currentflexiblecorescnt=nil, imagecnt=nil, authorizedimagecnt=nil, expirationtime=nil, purchasedauthorizedcnt=nil, automaticrenewal=nil, givenauthorizedcnt=nil, begintime=nil, substate=nil, inquirekey=nil, defendpolicy=nil, flexiblecoreslimit=nil, defendclustercorescnt=nil, defendhostcorescnt=nil, requestid=nil)
|
15813
15828
|
@State = state
|
15829
|
+
@AllCoresCnt = allcorescnt
|
15814
15830
|
@CoresCnt = corescnt
|
15831
|
+
@UndefendCoresCnt = undefendcorescnt
|
15815
15832
|
@AuthorizedCoresCnt = authorizedcorescnt
|
15833
|
+
@GivenAuthorizedCoresCnt = givenauthorizedcorescnt
|
15834
|
+
@CurrentFlexibleCoresCnt = currentflexiblecorescnt
|
15816
15835
|
@ImageCnt = imagecnt
|
15817
15836
|
@AuthorizedImageCnt = authorizedimagecnt
|
15818
|
-
@PurchasedAuthorizedCnt = purchasedauthorizedcnt
|
15819
15837
|
@ExpirationTime = expirationtime
|
15838
|
+
@PurchasedAuthorizedCnt = purchasedauthorizedcnt
|
15820
15839
|
@AutomaticRenewal = automaticrenewal
|
15821
15840
|
@GivenAuthorizedCnt = givenauthorizedcnt
|
15822
15841
|
@BeginTime = begintime
|
15823
15842
|
@SubState = substate
|
15824
15843
|
@InquireKey = inquirekey
|
15844
|
+
@DefendPolicy = defendpolicy
|
15845
|
+
@FlexibleCoresLimit = flexiblecoreslimit
|
15846
|
+
@DefendClusterCoresCnt = defendclustercorescnt
|
15847
|
+
@DefendHostCoresCnt = defendhostcorescnt
|
15825
15848
|
@RequestId = requestid
|
15826
15849
|
end
|
15827
15850
|
|
15828
15851
|
def deserialize(params)
|
15829
15852
|
@State = params['State']
|
15853
|
+
@AllCoresCnt = params['AllCoresCnt']
|
15830
15854
|
@CoresCnt = params['CoresCnt']
|
15855
|
+
@UndefendCoresCnt = params['UndefendCoresCnt']
|
15831
15856
|
@AuthorizedCoresCnt = params['AuthorizedCoresCnt']
|
15857
|
+
@GivenAuthorizedCoresCnt = params['GivenAuthorizedCoresCnt']
|
15858
|
+
@CurrentFlexibleCoresCnt = params['CurrentFlexibleCoresCnt']
|
15832
15859
|
@ImageCnt = params['ImageCnt']
|
15833
15860
|
@AuthorizedImageCnt = params['AuthorizedImageCnt']
|
15834
|
-
@PurchasedAuthorizedCnt = params['PurchasedAuthorizedCnt']
|
15835
15861
|
@ExpirationTime = params['ExpirationTime']
|
15862
|
+
@PurchasedAuthorizedCnt = params['PurchasedAuthorizedCnt']
|
15836
15863
|
@AutomaticRenewal = params['AutomaticRenewal']
|
15837
15864
|
@GivenAuthorizedCnt = params['GivenAuthorizedCnt']
|
15838
15865
|
@BeginTime = params['BeginTime']
|
15839
15866
|
@SubState = params['SubState']
|
15840
15867
|
@InquireKey = params['InquireKey']
|
15868
|
+
@DefendPolicy = params['DefendPolicy']
|
15869
|
+
@FlexibleCoresLimit = params['FlexibleCoresLimit']
|
15870
|
+
@DefendClusterCoresCnt = params['DefendClusterCoresCnt']
|
15871
|
+
@DefendHostCoresCnt = params['DefendHostCoresCnt']
|
15841
15872
|
@RequestId = params['RequestId']
|
15842
15873
|
end
|
15843
15874
|
end
|
@@ -21747,10 +21778,12 @@ module TencentCloud
|
|
21747
21778
|
# 已防护: Defended
|
21748
21779
|
# 未防护: UnDefended
|
21749
21780
|
# @type DefendStatus: String
|
21781
|
+
# @param CoresCnt: 核数
|
21782
|
+
# @type CoresCnt: Integer
|
21750
21783
|
|
21751
|
-
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus, :ChargeCoresCnt, :DefendStatus
|
21784
|
+
attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags, :ClusterID, :ClusterName, :ClusterAccessedStatus, :ChargeCoresCnt, :DefendStatus, :CoresCnt
|
21752
21785
|
|
21753
|
-
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, clusterid=nil, clustername=nil, clusteraccessedstatus=nil, chargecorescnt=nil, defendstatus=nil)
|
21786
|
+
def initialize(hostid=nil, hostip=nil, hostname=nil, group=nil, dockerversion=nil, dockerfilesystemdriver=nil, imagecnt=nil, containercnt=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, uuid=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, clusterid=nil, clustername=nil, clusteraccessedstatus=nil, chargecorescnt=nil, defendstatus=nil, corescnt=nil)
|
21754
21787
|
@HostID = hostid
|
21755
21788
|
@HostIP = hostip
|
21756
21789
|
@HostName = hostname
|
@@ -21773,6 +21806,7 @@ module TencentCloud
|
|
21773
21806
|
@ClusterAccessedStatus = clusteraccessedstatus
|
21774
21807
|
@ChargeCoresCnt = chargecorescnt
|
21775
21808
|
@DefendStatus = defendstatus
|
21809
|
+
@CoresCnt = corescnt
|
21776
21810
|
end
|
21777
21811
|
|
21778
21812
|
def deserialize(params)
|
@@ -21808,6 +21842,7 @@ module TencentCloud
|
|
21808
21842
|
@ClusterAccessedStatus = params['ClusterAccessedStatus']
|
21809
21843
|
@ChargeCoresCnt = params['ChargeCoresCnt']
|
21810
21844
|
@DefendStatus = params['DefendStatus']
|
21845
|
+
@CoresCnt = params['CoresCnt']
|
21811
21846
|
end
|
21812
21847
|
end
|
21813
21848
|
|
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.852
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|