tencentcloud-sdk-cwp 3.0.423 → 3.0.424

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a991888929831588ae80bb28d5c975ebea03f57
4
- data.tar.gz: 000fdb57e0dcd436b71d7825f2072c0449063711
3
+ metadata.gz: 30e9394c85505dffe33648855234e26fe06b640a
4
+ data.tar.gz: dca6df44f2f4eab7ca770080d62fca1dfd248399
5
5
  SHA512:
6
- metadata.gz: 6bd004ffd1685620f2e5da9c953540d3681c19c1dc9eada6d3d7cc358d8ee51f22f099983be5e8c50cc52977083514e030928d818d5b8ed2645339217b4b5dc6
7
- data.tar.gz: 5271ea587af75ce5262ecee852352c6f31b034e639d3bf1b163fa1df2dfadd2fc03cb0e571c2723913c7abeab0a2e81d4a37b2fc244a5681cb150fcdb1e7777b
6
+ metadata.gz: c27f7c8845d5dd6b37db385406788aed396994cbca72ab2975412c42ee8e9ecff19e43cb5334ffc8883a721eca5abd9479079c6217b4ea6ae77373e5dc97e8aa
7
+ data.tar.gz: ef98bc6bc827f1b8401635bc8c299493dae9ffb6bcc56a12740f66585f9741f8cd1971ea6920a933e690fa24425a8d8d37b13b6988bd4ee4f5911f5094b28a53
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.423
1
+ 3.0.424
@@ -968,6 +968,30 @@ module TencentCloud
968
968
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
969
969
  end
970
970
 
971
+ # 获取主机所有资源数量
972
+
973
+ # @param request: Request instance for DescribeAssetHostTotalCount.
974
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAssetHostTotalCountRequest`
975
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAssetHostTotalCountResponse`
976
+ def DescribeAssetHostTotalCount(request)
977
+ body = send_request('DescribeAssetHostTotalCount', request.serialize)
978
+ response = JSON.parse(body)
979
+ if response['Response'].key?('Error') == false
980
+ model = DescribeAssetHostTotalCountResponse.new
981
+ model.deserialize(response['Response'])
982
+ model
983
+ else
984
+ code = response['Response']['Error']['Code']
985
+ message = response['Response']['Error']['Message']
986
+ reqid = response['Response']['RequestId']
987
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
988
+ end
989
+ rescue TencentCloud::Common::TencentCloudSDKException => e
990
+ raise e
991
+ rescue StandardError => e
992
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
993
+ end
994
+
971
995
  # 获取资产数量: 主机数、账号数、端口数、进程数、软件数、数据库数、Web应用数、Web框架数、Web服务数、Web站点数
972
996
 
973
997
  # @param request: Request instance for DescribeAssetInfo.
@@ -4934,6 +4934,68 @@ module TencentCloud
4934
4934
  end
4935
4935
  end
4936
4936
 
4937
+ # DescribeAssetHostTotalCount请求参数结构体
4938
+ class DescribeAssetHostTotalCountRequest < TencentCloud::Common::AbstractModel
4939
+ # @param Uuid: 主机Uuid
4940
+ # @type Uuid: String
4941
+ # @param Quuid: 主机Quuid
4942
+ # @type Quuid: String
4943
+
4944
+ attr_accessor :Uuid, :Quuid
4945
+
4946
+ def initialize(uuid=nil, quuid=nil)
4947
+ @Uuid = uuid
4948
+ @Quuid = quuid
4949
+ end
4950
+
4951
+ def deserialize(params)
4952
+ @Uuid = params['Uuid']
4953
+ @Quuid = params['Quuid']
4954
+ end
4955
+ end
4956
+
4957
+ # DescribeAssetHostTotalCount返回参数结构体
4958
+ class DescribeAssetHostTotalCountResponse < TencentCloud::Common::AbstractModel
4959
+ # @param Types: 各项资源数量
4960
+ # system : 资源监控
4961
+ # account: 账号
4962
+ # port: 端口
4963
+ # process: 进程
4964
+ # app: 应用软件
4965
+ # database:数据库
4966
+ # webapp: Web应用
4967
+ # webframe: Web框架
4968
+ # webservice: Web服务
4969
+ # weblocation: Web站点
4970
+ # systempackage: 系统安装包
4971
+ # jar: jar包
4972
+ # initservice:启动服务
4973
+ # env: 环境变量
4974
+ # coremodule: 内核模块
4975
+ # @type Types: Array
4976
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4977
+ # @type RequestId: String
4978
+
4979
+ attr_accessor :Types, :RequestId
4980
+
4981
+ def initialize(types=nil, requestid=nil)
4982
+ @Types = types
4983
+ @RequestId = requestid
4984
+ end
4985
+
4986
+ def deserialize(params)
4987
+ unless params['Types'].nil?
4988
+ @Types = []
4989
+ params['Types'].each do |i|
4990
+ assetkeyval_tmp = AssetKeyVal.new
4991
+ assetkeyval_tmp.deserialize(i)
4992
+ @Types << assetkeyval_tmp
4993
+ end
4994
+ end
4995
+ @RequestId = params['RequestId']
4996
+ end
4997
+ end
4998
+
4937
4999
  # DescribeAssetInfo请求参数结构体
4938
5000
  class DescribeAssetInfoRequest < TencentCloud::Common::AbstractModel
4939
5001
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cwp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.423
4
+ version: 3.0.424
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-30 00:00:00.000000000 Z
11
+ date: 2022-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common