tencentcloud-sdk-tcss 3.0.457 → 3.0.458

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20201101/models.rb +102 -12
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7b302b8ef64d6cf7d9e59a603b8bd99179a53bdf
4
- data.tar.gz: 868a21909603b459075b5943033adb59577c864a
3
+ metadata.gz: 5daa2b2325716d9f280f7670092eec35d6e48d16
4
+ data.tar.gz: 84302feda52caea4010d74043bc2e14cdeac4d1f
5
5
  SHA512:
6
- metadata.gz: 64e969bd6ccc8d550e3179419c3daec867d20bf3fa34b85789dd8be0d1bf606ceed95579e37b9febd9770ec8f06d64b4d192d5274ae3ec786eceeed5decfa4e1
7
- data.tar.gz: 4acfc2d0134e7a12b21a6aa32d194fdd3bc59fbffb4445ce1ebffbb0423db2a69dc015a9eeb76b397c41f595a5e8fb00e450ad5eb43087f3207334dec94be79e
6
+ metadata.gz: 5b9db97263a7164eb8f92d7e456379338b760117e70feeab2bcc13d2c1c1db61bad7ff65c1240540d3d40adda2bc3987774671bdb46c9fbb2b73003863076991
7
+ data.tar.gz: 1be2399aeb411581c2a83e0355aaad058b1ec15cc361744d136151b89104b663398770ca193b620556172b56073477c8894e8abc63112218ca3ca9052b4cb3d6
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.457
1
+ 3.0.458
@@ -4270,32 +4270,41 @@ module TencentCloud
4270
4270
 
4271
4271
  # CreateHostExportJob请求参数结构体
4272
4272
  class CreateHostExportJobRequest < TencentCloud::Common::AbstractModel
4273
- # @param ExportField: 导出字段
4274
- # @type ExportField: Array
4275
- # @param Filters: 需要返回的数量,默认为10,最大值为10000
4273
+ # @param Filters: 过滤条件。
4274
+ # <li>Status - String - 是否必填:否 - agent状态筛选,"ALL":"全部"(或不传该字段),"UNINSTALL":"未安装","OFFLINE":"离线", "ONLINE":"防护中"</li>
4275
+ # <li>HostName - String - 是否必填:否 - 主机名筛选</li>
4276
+ # <li>Group- String - 是否必填:否 - 主机群组搜索</li>
4277
+ # <li>HostIP- string - 是否必填:否 - 主机ip搜索</li>
4278
+ # <li>HostID- string - 是否必填:否 - 主机id搜索</li>
4279
+ # <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
4280
+ # <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
4281
+ # <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
4282
+ # <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
4283
+ # <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
4276
4284
  # @type Filters: Array
4277
4285
  # @param Limit: 偏移量,默认为0。
4278
4286
  # @type Limit: Integer
4279
- # @param Offset: 过滤参数,"Filters":[{"Name":"Status","Values":["2"]}]
4287
+ # @param Offset: 需要返回的数量,默认为10,最大值为10000
4280
4288
  # @type Offset: Integer
4281
4289
  # @param By: 排序字段
4282
4290
  # @type By: String
4283
4291
  # @param Order: 升序降序,asc desc
4284
4292
  # @type Order: String
4293
+ # @param ExportField: 导出字段
4294
+ # @type ExportField: Array
4285
4295
 
4286
- attr_accessor :ExportField, :Filters, :Limit, :Offset, :By, :Order
4296
+ attr_accessor :Filters, :Limit, :Offset, :By, :Order, :ExportField
4287
4297
 
4288
- def initialize(exportfield=nil, filters=nil, limit=nil, offset=nil, by=nil, order=nil)
4289
- @ExportField = exportfield
4298
+ def initialize(filters=nil, limit=nil, offset=nil, by=nil, order=nil, exportfield=nil)
4290
4299
  @Filters = filters
4291
4300
  @Limit = limit
4292
4301
  @Offset = offset
4293
4302
  @By = by
4294
4303
  @Order = order
4304
+ @ExportField = exportfield
4295
4305
  end
4296
4306
 
4297
4307
  def deserialize(params)
4298
- @ExportField = params['ExportField']
4299
4308
  unless params['Filters'].nil?
4300
4309
  @Filters = []
4301
4310
  params['Filters'].each do |i|
@@ -4308,6 +4317,7 @@ module TencentCloud
4308
4317
  @Offset = params['Offset']
4309
4318
  @By = params['By']
4310
4319
  @Order = params['Order']
4320
+ @ExportField = params['ExportField']
4311
4321
  end
4312
4322
  end
4313
4323
 
@@ -7649,12 +7659,16 @@ module TencentCloud
7649
7659
  # @type InstanceID: String
7650
7660
  # @param RegionID: 地域ID
7651
7661
  # @type RegionID: Integer
7662
+ # @param Project: 所属项目
7663
+ # @type Project: :class:`Tencentcloud::Tcss.v20201101.models.ProjectInfo`
7664
+ # @param Tags: 标签
7665
+ # @type Tags: Array
7652
7666
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7653
7667
  # @type RequestId: String
7654
7668
 
7655
- attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :RequestId
7669
+ attr_accessor :UUID, :UpdateTime, :HostName, :Group, :HostIP, :OsName, :AgentVersion, :KernelVersion, :DockerVersion, :DockerAPIVersion, :DockerGoVersion, :DockerFileSystemDriver, :DockerRootDir, :ImageCnt, :ContainerCnt, :K8sMasterIP, :K8sVersion, :KubeProxyVersion, :Status, :IsContainerd, :MachineType, :PublicIp, :InstanceID, :RegionID, :Project, :Tags, :RequestId
7656
7670
 
7657
- def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, requestid=nil)
7671
+ def initialize(uuid=nil, updatetime=nil, hostname=nil, group=nil, hostip=nil, osname=nil, agentversion=nil, kernelversion=nil, dockerversion=nil, dockerapiversion=nil, dockergoversion=nil, dockerfilesystemdriver=nil, dockerrootdir=nil, imagecnt=nil, containercnt=nil, k8smasterip=nil, k8sversion=nil, kubeproxyversion=nil, status=nil, iscontainerd=nil, machinetype=nil, publicip=nil, instanceid=nil, regionid=nil, project=nil, tags=nil, requestid=nil)
7658
7672
  @UUID = uuid
7659
7673
  @UpdateTime = updatetime
7660
7674
  @HostName = hostname
@@ -7679,6 +7693,8 @@ module TencentCloud
7679
7693
  @PublicIp = publicip
7680
7694
  @InstanceID = instanceid
7681
7695
  @RegionID = regionid
7696
+ @Project = project
7697
+ @Tags = tags
7682
7698
  @RequestId = requestid
7683
7699
  end
7684
7700
 
@@ -7707,6 +7723,18 @@ module TencentCloud
7707
7723
  @PublicIp = params['PublicIp']
7708
7724
  @InstanceID = params['InstanceID']
7709
7725
  @RegionID = params['RegionID']
7726
+ unless params['Project'].nil?
7727
+ @Project = ProjectInfo.new
7728
+ @Project.deserialize(params['Project'])
7729
+ end
7730
+ unless params['Tags'].nil?
7731
+ @Tags = []
7732
+ params['Tags'].each do |i|
7733
+ taginfo_tmp = TagInfo.new
7734
+ taginfo_tmp.deserialize(i)
7735
+ @Tags << taginfo_tmp
7736
+ end
7737
+ end
7710
7738
  @RequestId = params['RequestId']
7711
7739
  end
7712
7740
  end
@@ -7726,6 +7754,8 @@ module TencentCloud
7726
7754
  # <li>DockerVersion- string - 是否必填:否 - docker版本搜索</li>
7727
7755
  # <li>MachineType- string - 是否必填:否 - 主机来源MachineType搜索,"ALL":"全部"(或不传该字段),主机来源:["CVM", "ECM", "LH", "BM"] 中的之一为腾讯云服务器;["Other"]之一非腾讯云服务器;</li>
7728
7756
  # <li>DockerStatus- string - 是否必填:否 - docker安装状态,"ALL":"全部"(或不传该字段),"INSTALL":"已安装","UNINSTALL":"未安装"</li>
7757
+ # <li>ProjectID- string - 是否必填:否 - 所属项目id搜索</li>
7758
+ # <li>Tag:xxx(tag:key)- string- 是否必填:否 - 标签键值搜索 示例Filters":[{"Name":"tag:tke-kind","Values":["service"]}]</li>
7729
7759
  # @type Filters: Array
7730
7760
  # @param By: 排序字段
7731
7761
  # @type By: String
@@ -18901,10 +18931,16 @@ module TencentCloud
18901
18931
  # @type InstanceID: String
18902
18932
  # @param RegionID: 地域ID
18903
18933
  # @type RegionID: Integer
18934
+ # @param Project: 所属项目
18935
+ # 注意:此字段可能返回 null,表示取不到有效值。
18936
+ # @type Project: :class:`Tencentcloud::Tcss.v20201101.models.ProjectInfo`
18937
+ # @param Tags: 标签
18938
+ # 注意:此字段可能返回 null,表示取不到有效值。
18939
+ # @type Tags: Array
18904
18940
 
18905
- attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID
18941
+ attr_accessor :HostID, :HostIP, :HostName, :Group, :DockerVersion, :DockerFileSystemDriver, :ImageCnt, :ContainerCnt, :Status, :IsContainerd, :MachineType, :PublicIp, :Uuid, :InstanceID, :RegionID, :Project, :Tags
18906
18942
 
18907
- 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)
18943
+ 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)
18908
18944
  @HostID = hostid
18909
18945
  @HostIP = hostip
18910
18946
  @HostName = hostname
@@ -18920,6 +18956,8 @@ module TencentCloud
18920
18956
  @Uuid = uuid
18921
18957
  @InstanceID = instanceid
18922
18958
  @RegionID = regionid
18959
+ @Project = project
18960
+ @Tags = tags
18923
18961
  end
18924
18962
 
18925
18963
  def deserialize(params)
@@ -18938,6 +18976,18 @@ module TencentCloud
18938
18976
  @Uuid = params['Uuid']
18939
18977
  @InstanceID = params['InstanceID']
18940
18978
  @RegionID = params['RegionID']
18979
+ unless params['Project'].nil?
18980
+ @Project = ProjectInfo.new
18981
+ @Project.deserialize(params['Project'])
18982
+ end
18983
+ unless params['Tags'].nil?
18984
+ @Tags = []
18985
+ params['Tags'].each do |i|
18986
+ taginfo_tmp = TagInfo.new
18987
+ taginfo_tmp.deserialize(i)
18988
+ @Tags << taginfo_tmp
18989
+ end
18990
+ end
18941
18991
  end
18942
18992
  end
18943
18993
 
@@ -22053,6 +22103,26 @@ module TencentCloud
22053
22103
  end
22054
22104
  end
22055
22105
 
22106
+ # 主机所属项目
22107
+ class ProjectInfo < TencentCloud::Common::AbstractModel
22108
+ # @param ProjectName: 项目名称
22109
+ # @type ProjectName: String
22110
+ # @param ProjectID: 项目ID
22111
+ # @type ProjectID: Integer
22112
+
22113
+ attr_accessor :ProjectName, :ProjectID
22114
+
22115
+ def initialize(projectname=nil, projectid=nil)
22116
+ @ProjectName = projectname
22117
+ @ProjectID = projectid
22118
+ end
22119
+
22120
+ def deserialize(params)
22121
+ @ProjectName = params['ProjectName']
22122
+ @ProjectID = params['ProjectID']
22123
+ end
22124
+ end
22125
+
22056
22126
  # 促销活动内容
22057
22127
  class PromotionActivityContent < TencentCloud::Common::AbstractModel
22058
22128
  # @param MonthNum: 月数
@@ -23703,6 +23773,26 @@ module TencentCloud
23703
23773
  end
23704
23774
  end
23705
23775
 
23776
+ # 主机标签信息
23777
+ class TagInfo < TencentCloud::Common::AbstractModel
23778
+ # @param TagKey: 标签键
23779
+ # @type TagKey: String
23780
+ # @param TagValue: 标签值
23781
+ # @type TagValue: String
23782
+
23783
+ attr_accessor :TagKey, :TagValue
23784
+
23785
+ def initialize(tagkey=nil, tagvalue=nil)
23786
+ @TagKey = tagkey
23787
+ @TagValue = tagvalue
23788
+ end
23789
+
23790
+ def deserialize(params)
23791
+ @TagKey = params['TagKey']
23792
+ @TagValue = params['TagValue']
23793
+ end
23794
+ end
23795
+
23706
23796
  # 未授权核数趋势
23707
23797
  class UnauthorizedCoresTendency < TencentCloud::Common::AbstractModel
23708
23798
  # @param DateTime: 日期
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.457
4
+ version: 3.0.458
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-11-23 00:00:00.000000000 Z
11
+ date: 2022-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common