tencentcloud-sdk-cwp 3.0.664 → 3.0.665

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: 9b4865fb64f890efd942cf6596da773ff560b203
4
- data.tar.gz: f58fadc6aaa37ebe2207199e6fc48f8bcf3f440c
3
+ metadata.gz: 5631d0dd54c8acd5addb1462d5af0bee03a92e1a
4
+ data.tar.gz: 1f4f5cd5cd03e8bb59fc9cc10596bec52c9dff4e
5
5
  SHA512:
6
- metadata.gz: 38bc214df4fd028f3a8cc992bbceac9ab2f3d0ee7feb255a4ad1ab64110cfc4005580ad73843c7d0fb38fa54086f26d2407f163310fe282704d18f06fb1cad99
7
- data.tar.gz: 4306fbe640804507a658ac9cced9febb17a529b4b79f4a1a87b9b3ef1592d00ea16d6c033ae3f090e793162a69b8aaf05430498497739abe56bd6f9a2ef1883d
6
+ metadata.gz: 544a18df96fc060e426496010522c5be0845208992730395b2b4ffdbb2ab61f85763b4cfdc6a91821edea1b00552d5b0cbd5aa6dbb30e16fefa00620304df2c7
7
+ data.tar.gz: fe569f5c9acad4678390c99af97c7beffdd479a0c5629a8c7a0f5822cb2cc23311f0f1195d1652eb0f0ac547b9781ddfde52721678b62c2b24234548a036668d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.664
1
+ 3.0.665
@@ -920,6 +920,30 @@ module TencentCloud
920
920
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
921
921
  end
922
922
 
923
+ # 获取agent安装命令
924
+
925
+ # @param request: Request instance for DescribeAgentInstallCommand.
926
+ # @type request: :class:`Tencentcloud::cwp::V20180228::DescribeAgentInstallCommandRequest`
927
+ # @rtype: :class:`Tencentcloud::cwp::V20180228::DescribeAgentInstallCommandResponse`
928
+ def DescribeAgentInstallCommand(request)
929
+ body = send_request('DescribeAgentInstallCommand', request.serialize)
930
+ response = JSON.parse(body)
931
+ if response['Response'].key?('Error') == false
932
+ model = DescribeAgentInstallCommandResponse.new
933
+ model.deserialize(response['Response'])
934
+ model
935
+ else
936
+ code = response['Response']['Error']['Code']
937
+ message = response['Response']['Error']['Message']
938
+ reqid = response['Response']['RequestId']
939
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
940
+ end
941
+ rescue TencentCloud::Common::TencentCloudSDKException => e
942
+ raise e
943
+ rescue StandardError => e
944
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
945
+ end
946
+
923
947
  # 获取告警点所在事件的所有节点信息
924
948
 
925
949
  # @param request: Request instance for DescribeAlarmIncidentNodes.
@@ -5878,6 +5878,87 @@ module TencentCloud
5878
5878
  end
5879
5879
  end
5880
5880
 
5881
+ # DescribeAgentInstallCommand请求参数结构体
5882
+ class DescribeAgentInstallCommandRequest < TencentCloud::Common::AbstractModel
5883
+ # @param IsCloud: 是否腾讯云
5884
+ # @type IsCloud: Boolean
5885
+ # @param NetType: 网络类型:basic-基础网络,private-VPC, public-公网,direct-专线
5886
+ # @type NetType: String
5887
+ # @param RegionCode: 地域标示, NetType=direct时必填
5888
+ # @type RegionCode: String
5889
+ # @param VpcId: VpcId, NetType=direct时必填
5890
+ # @type VpcId: String
5891
+ # @param TagIds: 标签ID列表,IsCloud=false时才会生效
5892
+ # @type TagIds: Array
5893
+ # @param ExpireDate: 命令有效期,非腾讯云时必填
5894
+ # @type ExpireDate: String
5895
+ # @param Vip: 代理方式接入的vip
5896
+ # @type Vip: String
5897
+
5898
+ attr_accessor :IsCloud, :NetType, :RegionCode, :VpcId, :TagIds, :ExpireDate, :Vip
5899
+
5900
+ def initialize(iscloud=nil, nettype=nil, regioncode=nil, vpcid=nil, tagids=nil, expiredate=nil, vip=nil)
5901
+ @IsCloud = iscloud
5902
+ @NetType = nettype
5903
+ @RegionCode = regioncode
5904
+ @VpcId = vpcid
5905
+ @TagIds = tagids
5906
+ @ExpireDate = expiredate
5907
+ @Vip = vip
5908
+ end
5909
+
5910
+ def deserialize(params)
5911
+ @IsCloud = params['IsCloud']
5912
+ @NetType = params['NetType']
5913
+ @RegionCode = params['RegionCode']
5914
+ @VpcId = params['VpcId']
5915
+ @TagIds = params['TagIds']
5916
+ @ExpireDate = params['ExpireDate']
5917
+ @Vip = params['Vip']
5918
+ end
5919
+ end
5920
+
5921
+ # DescribeAgentInstallCommand返回参数结构体
5922
+ class DescribeAgentInstallCommandResponse < TencentCloud::Common::AbstractModel
5923
+ # @param LinuxCommand: linux系统安装命令
5924
+ # @type LinuxCommand: String
5925
+ # @param WindowsCommand: windows系统安装命令(windows2008及以上)
5926
+ # @type WindowsCommand: String
5927
+ # @param WindowsStepOne: windows系统安装命令第一步(windows2003)
5928
+ # @type WindowsStepOne: String
5929
+ # @param WindowsStepTwo: windows系统安装命令第二步(windows2003)
5930
+ # @type WindowsStepTwo: String
5931
+ # @param WindowsDownloadUrl: windows版agent下载链接
5932
+ # @type WindowsDownloadUrl: String
5933
+ # @param ARMCommand: Arm安装命令
5934
+ # 注意:此字段可能返回 null,表示取不到有效值。
5935
+ # @type ARMCommand: String
5936
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5937
+ # @type RequestId: String
5938
+
5939
+ attr_accessor :LinuxCommand, :WindowsCommand, :WindowsStepOne, :WindowsStepTwo, :WindowsDownloadUrl, :ARMCommand, :RequestId
5940
+
5941
+ def initialize(linuxcommand=nil, windowscommand=nil, windowsstepone=nil, windowssteptwo=nil, windowsdownloadurl=nil, armcommand=nil, requestid=nil)
5942
+ @LinuxCommand = linuxcommand
5943
+ @WindowsCommand = windowscommand
5944
+ @WindowsStepOne = windowsstepone
5945
+ @WindowsStepTwo = windowssteptwo
5946
+ @WindowsDownloadUrl = windowsdownloadurl
5947
+ @ARMCommand = armcommand
5948
+ @RequestId = requestid
5949
+ end
5950
+
5951
+ def deserialize(params)
5952
+ @LinuxCommand = params['LinuxCommand']
5953
+ @WindowsCommand = params['WindowsCommand']
5954
+ @WindowsStepOne = params['WindowsStepOne']
5955
+ @WindowsStepTwo = params['WindowsStepTwo']
5956
+ @WindowsDownloadUrl = params['WindowsDownloadUrl']
5957
+ @ARMCommand = params['ARMCommand']
5958
+ @RequestId = params['RequestId']
5959
+ end
5960
+ end
5961
+
5881
5962
  # DescribeAlarmIncidentNodes请求参数结构体
5882
5963
  class DescribeAlarmIncidentNodesRequest < TencentCloud::Common::AbstractModel
5883
5964
  # @param Uuid: 机器uuid
@@ -13192,6 +13273,7 @@ module TencentCloud
13192
13273
  # 每个过滤条件只支持一个值,暂不支持多个值“或”关系查询
13193
13274
  # <li>Quuid - String - 是否必填: 否 - 云服务器uuid 最大100条.</li>
13194
13275
  # <li>AddedOnTheFifteen- String 是否必填: 否 - 是否只查询15天内新增的主机( 1:是) </li>
13276
+ # <li> TagId- String 是否必填: 否 - 查询指定标签关联的主机列表 </li>
13195
13277
  # @type Filters: Array
13196
13278
  # @param ProjectIds: 机器所属业务ID列表
13197
13279
  # @type ProjectIds: Array
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.664
4
+ version: 3.0.665
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-21 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common