# frozen_string_literal: true # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. module TencentCloud module Es module V20180416 # 后备索引元数据字段 class BackingIndexMetaField < TencentCloud::Common::AbstractModel # @param IndexName: 后备索引名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexName: String # @param IndexStatus: 后备索引状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexStatus: String # @param IndexStorage: 后备索引存储大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexStorage: Integer # @param IndexPhrase: 后备索引当前生命周期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexPhrase: String # @param IndexCreateTime: 后备索引创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexCreateTime: String attr_accessor :IndexName, :IndexStatus, :IndexStorage, :IndexPhrase, :IndexCreateTime def initialize(indexname=nil, indexstatus=nil, indexstorage=nil, indexphrase=nil, indexcreatetime=nil) @IndexName = indexname @IndexStatus = indexstatus @IndexStorage = indexstorage @IndexPhrase = indexphrase @IndexCreateTime = indexcreatetime end def deserialize(params) @IndexName = params['IndexName'] @IndexStatus = params['IndexStatus'] @IndexStorage = params['IndexStorage'] @IndexPhrase = params['IndexPhrase'] @IndexCreateTime = params['IndexCreateTime'] end end # CheckMigrateIndexMetaData请求参数结构体 class CheckMigrateIndexMetaDataRequest < TencentCloud::Common::AbstractModel # @param ServerlessId: 索引 id # @type ServerlessId: String # @param Snapshot: 快照名 # @type Snapshot: String # @param CosBucket: Cos桶名 # @type CosBucket: String # @param BasePath: BasePath路径 # @type BasePath: String # @param ClusterInstanceId: 云上集群名 # @type ClusterInstanceId: String # @param CommonIndexArr: 普通索引名列表 # @type CommonIndexArr: Array # @param DataStreamArr: 自治索引名列表 # @type DataStreamArr: Array attr_accessor :ServerlessId, :Snapshot, :CosBucket, :BasePath, :ClusterInstanceId, :CommonIndexArr, :DataStreamArr def initialize(serverlessid=nil, snapshot=nil, cosbucket=nil, basepath=nil, clusterinstanceid=nil, commonindexarr=nil, datastreamarr=nil) @ServerlessId = serverlessid @Snapshot = snapshot @CosBucket = cosbucket @BasePath = basepath @ClusterInstanceId = clusterinstanceid @CommonIndexArr = commonindexarr @DataStreamArr = datastreamarr end def deserialize(params) @ServerlessId = params['ServerlessId'] @Snapshot = params['Snapshot'] @CosBucket = params['CosBucket'] @BasePath = params['BasePath'] @ClusterInstanceId = params['ClusterInstanceId'] @CommonIndexArr = params['CommonIndexArr'] @DataStreamArr = params['DataStreamArr'] end end # CheckMigrateIndexMetaData返回参数结构体 class CheckMigrateIndexMetaDataResponse < TencentCloud::Common::AbstractModel # @param MappingTimeFieldCheckFailedIndexArr: 不存在于目标索引时间字段相同的字段 # @type MappingTimeFieldCheckFailedIndexArr: Array # @param MappingTimeTypeCheckFailedIndexArr: @timestamp不为date类型,与目标索引时间字段冲突 # @type MappingTimeTypeCheckFailedIndexArr: Array # @param SettingCheckFailedIndexArr: 索引的创建时间不在 serverless的存储周期内 # @type SettingCheckFailedIndexArr: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :MappingTimeFieldCheckFailedIndexArr, :MappingTimeTypeCheckFailedIndexArr, :SettingCheckFailedIndexArr, :RequestId def initialize(mappingtimefieldcheckfailedindexarr=nil, mappingtimetypecheckfailedindexarr=nil, settingcheckfailedindexarr=nil, requestid=nil) @MappingTimeFieldCheckFailedIndexArr = mappingtimefieldcheckfailedindexarr @MappingTimeTypeCheckFailedIndexArr = mappingtimetypecheckfailedindexarr @SettingCheckFailedIndexArr = settingcheckfailedindexarr @RequestId = requestid end def deserialize(params) @MappingTimeFieldCheckFailedIndexArr = params['MappingTimeFieldCheckFailedIndexArr'] @MappingTimeTypeCheckFailedIndexArr = params['MappingTimeTypeCheckFailedIndexArr'] @SettingCheckFailedIndexArr = params['SettingCheckFailedIndexArr'] @RequestId = params['RequestId'] end end # 集群维度视图数据 class ClusterView < TencentCloud::Common::AbstractModel # @param Health: 集群健康状态 # @type Health: Float # @param Visible: 集群是否可见 # @type Visible: Float # @param Break: 集群是否熔断 # @type Break: Float # @param AvgDiskUsage: 平均磁盘使用率 # @type AvgDiskUsage: Float # @param AvgMemUsage: 平均内存使用率 # @type AvgMemUsage: Float # @param AvgCpuUsage: 平均cpu使用率 # @type AvgCpuUsage: Float # @param TotalDiskSize: 集群总存储大小 # @type TotalDiskSize: Integer # @param TargetNodeTypes: 客户端请求节点 # @type TargetNodeTypes: Array # @param NodeNum: 在线节点数 # @type NodeNum: Integer # @param TotalNodeNum: 总节点数 # @type TotalNodeNum: Integer # @param DataNodeNum: 数据节点数 # @type DataNodeNum: Integer # @param IndexNum: 索引数 # @type IndexNum: Integer # @param DocNum: 文档数 # @type DocNum: Integer # @param DiskUsedInBytes: 磁盘已使用字节数 # @type DiskUsedInBytes: Integer # @param ShardNum: 分片个数 # @type ShardNum: Integer # @param PrimaryShardNum: 主分片个数 # @type PrimaryShardNum: Integer # @param RelocatingShardNum: 迁移中的分片个数 # @type RelocatingShardNum: Integer # @param InitializingShardNum: 初始化中的分片个数 # @type InitializingShardNum: Integer # @param UnassignedShardNum: 未分配的分片个数 # @type UnassignedShardNum: Integer # @param TotalCosStorage: 企业版COS存储容量大小,单位GB # @type TotalCosStorage: Integer # @param SearchableSnapshotCosBucket: 企业版集群可搜索快照cos存放的bucket名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SearchableSnapshotCosBucket: String # @param SearchableSnapshotCosAppId: 企业版集群可搜索快照cos所属appid # 注意:此字段可能返回 null,表示取不到有效值。 # @type SearchableSnapshotCosAppId: String attr_accessor :Health, :Visible, :Break, :AvgDiskUsage, :AvgMemUsage, :AvgCpuUsage, :TotalDiskSize, :TargetNodeTypes, :NodeNum, :TotalNodeNum, :DataNodeNum, :IndexNum, :DocNum, :DiskUsedInBytes, :ShardNum, :PrimaryShardNum, :RelocatingShardNum, :InitializingShardNum, :UnassignedShardNum, :TotalCosStorage, :SearchableSnapshotCosBucket, :SearchableSnapshotCosAppId def initialize(health=nil, visible=nil, _break=nil, avgdiskusage=nil, avgmemusage=nil, avgcpuusage=nil, totaldisksize=nil, targetnodetypes=nil, nodenum=nil, totalnodenum=nil, datanodenum=nil, indexnum=nil, docnum=nil, diskusedinbytes=nil, shardnum=nil, primaryshardnum=nil, relocatingshardnum=nil, initializingshardnum=nil, unassignedshardnum=nil, totalcosstorage=nil, searchablesnapshotcosbucket=nil, searchablesnapshotcosappid=nil) @Health = health @Visible = visible @Break = _break @AvgDiskUsage = avgdiskusage @AvgMemUsage = avgmemusage @AvgCpuUsage = avgcpuusage @TotalDiskSize = totaldisksize @TargetNodeTypes = targetnodetypes @NodeNum = nodenum @TotalNodeNum = totalnodenum @DataNodeNum = datanodenum @IndexNum = indexnum @DocNum = docnum @DiskUsedInBytes = diskusedinbytes @ShardNum = shardnum @PrimaryShardNum = primaryshardnum @RelocatingShardNum = relocatingshardnum @InitializingShardNum = initializingshardnum @UnassignedShardNum = unassignedshardnum @TotalCosStorage = totalcosstorage @SearchableSnapshotCosBucket = searchablesnapshotcosbucket @SearchableSnapshotCosAppId = searchablesnapshotcosappid end def deserialize(params) @Health = params['Health'] @Visible = params['Visible'] @Break = params['Break'] @AvgDiskUsage = params['AvgDiskUsage'] @AvgMemUsage = params['AvgMemUsage'] @AvgCpuUsage = params['AvgCpuUsage'] @TotalDiskSize = params['TotalDiskSize'] @TargetNodeTypes = params['TargetNodeTypes'] @NodeNum = params['NodeNum'] @TotalNodeNum = params['TotalNodeNum'] @DataNodeNum = params['DataNodeNum'] @IndexNum = params['IndexNum'] @DocNum = params['DocNum'] @DiskUsedInBytes = params['DiskUsedInBytes'] @ShardNum = params['ShardNum'] @PrimaryShardNum = params['PrimaryShardNum'] @RelocatingShardNum = params['RelocatingShardNum'] @InitializingShardNum = params['InitializingShardNum'] @UnassignedShardNum = params['UnassignedShardNum'] @TotalCosStorage = params['TotalCosStorage'] @SearchableSnapshotCosBucket = params['SearchableSnapshotCosBucket'] @SearchableSnapshotCosAppId = params['SearchableSnapshotCosAppId'] end end # 普通索引信息列表 class CommonIndexInfo < TencentCloud::Common::AbstractModel # @param IndexName: 普通索引名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexName: String # @param IsShardComplete: 分片状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsShardComplete: Integer attr_accessor :IndexName, :IsShardComplete def initialize(indexname=nil, isshardcomplete=nil) @IndexName = indexname @IsShardComplete = isshardcomplete end def deserialize(params) @IndexName = params['IndexName'] @IsShardComplete = params['IsShardComplete'] end end # ES cos自动备份信息 class CosBackup < TencentCloud::Common::AbstractModel # @param IsAutoBackup: 是否开启cos自动备份 # @type IsAutoBackup: Boolean # @param BackupTime: 自动备份执行时间(精确到小时), e.g. "22:00" # @type BackupTime: String attr_accessor :IsAutoBackup, :BackupTime def initialize(isautobackup=nil, backuptime=nil) @IsAutoBackup = isautobackup @BackupTime = backuptime end def deserialize(params) @IsAutoBackup = params['IsAutoBackup'] @BackupTime = params['BackupTime'] end end # 无 class CosSnapShotInfo < TencentCloud::Common::AbstractModel # @param CosBucket: cos 桶名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CosBucket: String # @param BasePath: base path # 注意:此字段可能返回 null,表示取不到有效值。 # @type BasePath: String # @param SnapshotName: 快照名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SnapshotName: String # @param State: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type State: String # @param Version: 快照版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Version: String # @param CommonIndexArr: 普通索引信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CommonIndexArr: Array # @param DataStreamArr: 自治索引信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DataStreamArr: Array attr_accessor :CosBucket, :BasePath, :SnapshotName, :State, :Version, :CommonIndexArr, :DataStreamArr def initialize(cosbucket=nil, basepath=nil, snapshotname=nil, state=nil, version=nil, commonindexarr=nil, datastreamarr=nil) @CosBucket = cosbucket @BasePath = basepath @SnapshotName = snapshotname @State = state @Version = version @CommonIndexArr = commonindexarr @DataStreamArr = datastreamarr end def deserialize(params) @CosBucket = params['CosBucket'] @BasePath = params['BasePath'] @SnapshotName = params['SnapshotName'] @State = params['State'] @Version = params['Version'] unless params['CommonIndexArr'].nil? @CommonIndexArr = [] params['CommonIndexArr'].each do |i| commonindexinfo_tmp = CommonIndexInfo.new commonindexinfo_tmp.deserialize(i) @CommonIndexArr << commonindexinfo_tmp end end unless params['DataStreamArr'].nil? @DataStreamArr = [] params['DataStreamArr'].each do |i| datastreaminfo_tmp = DataStreamInfo.new datastreaminfo_tmp.deserialize(i) @DataStreamArr << datastreaminfo_tmp end end end end # CreateClusterSnapshot请求参数结构体 class CreateClusterSnapshotRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例名称 # @type InstanceId: String # @param SnapshotName: 快照名称 # @type SnapshotName: String # @param Indices: 索引名称 # @type Indices: String attr_accessor :InstanceId, :SnapshotName, :Indices def initialize(instanceid=nil, snapshotname=nil, indices=nil) @InstanceId = instanceid @SnapshotName = snapshotname @Indices = indices end def deserialize(params) @InstanceId = params['InstanceId'] @SnapshotName = params['SnapshotName'] @Indices = params['Indices'] end end # CreateClusterSnapshot返回参数结构体 class CreateClusterSnapshotResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 实例名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type InstanceId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :RequestId def initialize(instanceid=nil, requestid=nil) @InstanceId = instanceid @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @RequestId = params['RequestId'] end end # CreateCosMigrateToServerlessInstance请求参数结构体 class CreateCosMigrateToServerlessInstanceRequest < TencentCloud::Common::AbstractModel # @param Snapshot: 快照名 # @type Snapshot: String # @param ServerlessId: 索引 id # @type ServerlessId: String # @param CosBucket: cos 桶名 # @type CosBucket: String # @param BasePath: BasePath 路径 # @type BasePath: String # @param ClusterInstanceId: 云上集群 id # @type ClusterInstanceId: String # @param CommonIndexArr: 待迁移普通索引名列表 # @type CommonIndexArr: Array # @param DataStreamArr: 待迁移自治索引名列表 # @type DataStreamArr: Array attr_accessor :Snapshot, :ServerlessId, :CosBucket, :BasePath, :ClusterInstanceId, :CommonIndexArr, :DataStreamArr def initialize(snapshot=nil, serverlessid=nil, cosbucket=nil, basepath=nil, clusterinstanceid=nil, commonindexarr=nil, datastreamarr=nil) @Snapshot = snapshot @ServerlessId = serverlessid @CosBucket = cosbucket @BasePath = basepath @ClusterInstanceId = clusterinstanceid @CommonIndexArr = commonindexarr @DataStreamArr = datastreamarr end def deserialize(params) @Snapshot = params['Snapshot'] @ServerlessId = params['ServerlessId'] @CosBucket = params['CosBucket'] @BasePath = params['BasePath'] @ClusterInstanceId = params['ClusterInstanceId'] @CommonIndexArr = params['CommonIndexArr'] @DataStreamArr = params['DataStreamArr'] end end # CreateCosMigrateToServerlessInstance返回参数结构体 class CreateCosMigrateToServerlessInstanceResponse < TencentCloud::Common::AbstractModel # @param TaskId: 迁移 taskid # @type TaskId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TaskId, :RequestId def initialize(taskid=nil, requestid=nil) @TaskId = taskid @RequestId = requestid end def deserialize(params) @TaskId = params['TaskId'] @RequestId = params['RequestId'] end end # CreateIndex请求参数结构体 class CreateIndexRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES集群ID # @type InstanceId: String # @param IndexType: 创建的索引类型。auto:自治索引;normal:普通索引 # @type IndexType: String # @param IndexName: 创建的索引名 # @type IndexName: String # @param IndexMetaJson: 【必填】创建的索引元数据JSON,如mappings、settings # @type IndexMetaJson: String # @param Username: 集群访问用户名 # @type Username: String # @param Password: 集群访问密码 # @type Password: String attr_accessor :InstanceId, :IndexType, :IndexName, :IndexMetaJson, :Username, :Password def initialize(instanceid=nil, indextype=nil, indexname=nil, indexmetajson=nil, username=nil, password=nil) @InstanceId = instanceid @IndexType = indextype @IndexName = indexname @IndexMetaJson = indexmetajson @Username = username @Password = password end def deserialize(params) @InstanceId = params['InstanceId'] @IndexType = params['IndexType'] @IndexName = params['IndexName'] @IndexMetaJson = params['IndexMetaJson'] @Username = params['Username'] @Password = params['Password'] end end # CreateIndex返回参数结构体 class CreateIndexResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # CreateInstance请求参数结构体 class CreateInstanceRequest < TencentCloud::Common::AbstractModel # @param Zone: 可用区 # @type Zone: String # @param EsVersion: 实例版本(支持"5.6.4"、"6.4.3"、"6.8.2"、"7.5.1"、"7.10.1") # @type EsVersion: String # @param VpcId: 私有网络ID # @type VpcId: String # @param SubnetId: 子网ID # @type SubnetId: String # @param Password: 访问密码(密码需8到16位,至少包括两项([a-z,A-Z],[0-9]和[-!@#$%&^*+=_:;,.?]的特殊符号) # @type Password: String # @param InstanceName: 实例名称(1-50 个英文、汉字、数字、连接线-或下划线_) # @type InstanceName: String # @param NodeNum: 已废弃请使用NodeInfoList # 节点数量(2-50个) # @type NodeNum: Integer # @param ChargeType: 计费类型
  • PREPAID:预付费,即包年包月
  • POSTPAID_BY_HOUR:按小时后付费
  • 默认值POSTPAID_BY_HOUR # @type ChargeType: String # @param ChargePeriod: 包年包月购买时长(单位由参数TimeUnit决定) # @type ChargePeriod: Integer # @param RenewFlag: 自动续费标识
  • RENEW_FLAG_AUTO:自动续费
  • RENEW_FLAG_MANUAL:不自动续费,用户手动续费
  • ChargeType为PREPAID时需要设置,如不传递该参数,普通用户默认不自动续费,SVIP用户自动续费 # @type RenewFlag: String # @param NodeType: 已废弃请使用NodeInfoList # 节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param DiskType: 已废弃请使用NodeInfoList # 节点磁盘类型
  • CLOUD_SSD:SSD云硬盘
  • CLOUD_PREMIUM:高性能云硬盘
  • CLOUD_HSSD:增强型SSD云硬盘
  • CLOUD_BSSD:通用型SSD云硬盘
  • 默认值CLOUD_SSD # @type DiskType: String # @param DiskSize: 已废弃请使用NodeInfoList # 节点磁盘容量(单位GB) # @type DiskSize: Integer # @param TimeUnit: 计费时长单位(ChargeType为PREPAID时需要设置,默认值为“m”,表示月,当前只支持“m”) # @type TimeUnit: String # @param AutoVoucher: 是否自动使用代金券
  • 0:不自动使用
  • 1:自动使用
  • 默认值0 # @type AutoVoucher: Integer # @param VoucherIds: 代金券ID列表(目前仅支持指定一张代金券) # @type VoucherIds: Array # @param EnableDedicatedMaster: 已废弃请使用NodeInfoList # 是否创建专用主节点
  • true:开启专用主节点
  • false:不开启专用主节点
  • 默认值false # @type EnableDedicatedMaster: Boolean # @param MasterNodeNum: 已废弃请使用NodeInfoList # 专用主节点个数(只支持3个和5个,EnableDedicatedMaster为true时该值必传) # @type MasterNodeNum: Integer # @param MasterNodeType: 已废弃请使用NodeInfoList # 专用主节点类型(EnableDedicatedMaster为true时必传)
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type MasterNodeType: String # @param MasterNodeDiskSize: 已废弃请使用NodeInfoList # 专用主节点磁盘大小(单位GB,非必传,若传递则必须为50,暂不支持自定义) # @type MasterNodeDiskSize: Integer # @param ClusterNameInConf: 集群配置文件中的ClusterName(系统默认配置为实例ID,暂不支持自定义) # @type ClusterNameInConf: String # @param DeployMode: 集群部署方式
  • 0:单可用区部署
  • 1:多可用区部署,北京、上海、上海金融、广州、南京、香港、新加坡、法兰克福(白名单控制)
  • 默认为0 # @type DeployMode: Integer # @param MultiZoneInfo: 多可用区部署时可用区的详细信息(DeployMode为1时必传) # @type MultiZoneInfo: Array # @param LicenseType: License类型
  • oss:开源版
  • basic:基础版
  • platinum:白金版
  • 默认值platinum # @type LicenseType: String # @param NodeInfoList: 节点信息列表, 用于描述集群各类节点的规格信息如节点类型,节点个数,节点规格,磁盘类型,磁盘大小等 # @type NodeInfoList: Array # @param TagList: 节点标签信息列表 # @type TagList: Array # @param BasicSecurityType: 6.8(及以上版本)基础版是否开启xpack security认证
  • 1:不开启
  • 2:开启
  • # @type BasicSecurityType: Integer # @param SceneType: 场景化模板类型 0:不启用 1:通用 2:日志 3:搜索 # @type SceneType: Integer # @param WebNodeTypeInfo: 可视化节点配置 # @type WebNodeTypeInfo: :class:`Tencentcloud::Es.v20180416.models.WebNodeTypeInfo` # @param Protocol: 创建https集群,默认是http # @type Protocol: String # @param OperationDuration: 可维护时间段 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration` # @param EnableHybridStorage: 是否开启存算分离 # @type EnableHybridStorage: Boolean # @param DiskEnhance: 是否开启essd 增强型云盘 # @type DiskEnhance: Integer # @param EnableDiagnose: 是否开启智能巡检 # @type EnableDiagnose: Boolean # @param CdcId: cdcId,使用cdc子网时传递 # @type CdcId: String # @param DisasterRecoverGroupAffinity: 置放群组亲和度,范围[0,10],0表示不开启 # @type DisasterRecoverGroupAffinity: Integer # @param SubProductCode: 子产品ID枚举值: 开源版:"sp_es_io2", 基础版:"sp_es_basic",白金版:"sp_es_platinum",企业版:"sp_es_enterprise",CDC白金版:"sp_es_cdc_platinum",日志增强版:"sp_es_enlogging",tsearch:"sp_tsearch_io2",logstash:"sp_es_logstash" ,可以为空,为空的时候后台取LicenseType映射该字段 # @type SubProductCode: String # @param ReadWriteMode: 读写分离模式:0-不开启,1-本地读写分离,2-远端读写分离 # @type ReadWriteMode: Integer # @param EnableScheduleRecoverGroup: 置放群组是否开启异步任务 # @type EnableScheduleRecoverGroup: Boolean # @param EnableScheduleOperationDuration: 置放群组开启异步任务的可维护时间段 # @type EnableScheduleOperationDuration: :class:`Tencentcloud::Es.v20180416.models.EnableScheduleOperationDuration` attr_accessor :Zone, :EsVersion, :VpcId, :SubnetId, :Password, :InstanceName, :NodeNum, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :DiskType, :DiskSize, :TimeUnit, :AutoVoucher, :VoucherIds, :EnableDedicatedMaster, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ClusterNameInConf, :DeployMode, :MultiZoneInfo, :LicenseType, :NodeInfoList, :TagList, :BasicSecurityType, :SceneType, :WebNodeTypeInfo, :Protocol, :OperationDuration, :EnableHybridStorage, :DiskEnhance, :EnableDiagnose, :CdcId, :DisasterRecoverGroupAffinity, :SubProductCode, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration def initialize(zone=nil, esversion=nil, vpcid=nil, subnetid=nil, password=nil, instancename=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, timeunit=nil, autovoucher=nil, voucherids=nil, enablededicatedmaster=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, clusternameinconf=nil, deploymode=nil, multizoneinfo=nil, licensetype=nil, nodeinfolist=nil, taglist=nil, basicsecuritytype=nil, scenetype=nil, webnodetypeinfo=nil, protocol=nil, operationduration=nil, enablehybridstorage=nil, diskenhance=nil, enablediagnose=nil, cdcid=nil, disasterrecovergroupaffinity=nil, subproductcode=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil) @Zone = zone @EsVersion = esversion @VpcId = vpcid @SubnetId = subnetid @Password = password @InstanceName = instancename @NodeNum = nodenum @ChargeType = chargetype @ChargePeriod = chargeperiod @RenewFlag = renewflag @NodeType = nodetype @DiskType = disktype @DiskSize = disksize @TimeUnit = timeunit @AutoVoucher = autovoucher @VoucherIds = voucherids @EnableDedicatedMaster = enablededicatedmaster @MasterNodeNum = masternodenum @MasterNodeType = masternodetype @MasterNodeDiskSize = masternodedisksize @ClusterNameInConf = clusternameinconf @DeployMode = deploymode @MultiZoneInfo = multizoneinfo @LicenseType = licensetype @NodeInfoList = nodeinfolist @TagList = taglist @BasicSecurityType = basicsecuritytype @SceneType = scenetype @WebNodeTypeInfo = webnodetypeinfo @Protocol = protocol @OperationDuration = operationduration @EnableHybridStorage = enablehybridstorage @DiskEnhance = diskenhance @EnableDiagnose = enablediagnose @CdcId = cdcid @DisasterRecoverGroupAffinity = disasterrecovergroupaffinity @SubProductCode = subproductcode @ReadWriteMode = readwritemode @EnableScheduleRecoverGroup = enableschedulerecovergroup @EnableScheduleOperationDuration = enablescheduleoperationduration end def deserialize(params) @Zone = params['Zone'] @EsVersion = params['EsVersion'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Password = params['Password'] @InstanceName = params['InstanceName'] @NodeNum = params['NodeNum'] @ChargeType = params['ChargeType'] @ChargePeriod = params['ChargePeriod'] @RenewFlag = params['RenewFlag'] @NodeType = params['NodeType'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @TimeUnit = params['TimeUnit'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @EnableDedicatedMaster = params['EnableDedicatedMaster'] @MasterNodeNum = params['MasterNodeNum'] @MasterNodeType = params['MasterNodeType'] @MasterNodeDiskSize = params['MasterNodeDiskSize'] @ClusterNameInConf = params['ClusterNameInConf'] @DeployMode = params['DeployMode'] unless params['MultiZoneInfo'].nil? @MultiZoneInfo = [] params['MultiZoneInfo'].each do |i| zonedetail_tmp = ZoneDetail.new zonedetail_tmp.deserialize(i) @MultiZoneInfo << zonedetail_tmp end end @LicenseType = params['LicenseType'] unless params['NodeInfoList'].nil? @NodeInfoList = [] params['NodeInfoList'].each do |i| nodeinfo_tmp = NodeInfo.new nodeinfo_tmp.deserialize(i) @NodeInfoList << nodeinfo_tmp end end unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @BasicSecurityType = params['BasicSecurityType'] @SceneType = params['SceneType'] unless params['WebNodeTypeInfo'].nil? @WebNodeTypeInfo = WebNodeTypeInfo.new @WebNodeTypeInfo.deserialize(params['WebNodeTypeInfo']) end @Protocol = params['Protocol'] unless params['OperationDuration'].nil? @OperationDuration = OperationDuration.new @OperationDuration.deserialize(params['OperationDuration']) end @EnableHybridStorage = params['EnableHybridStorage'] @DiskEnhance = params['DiskEnhance'] @EnableDiagnose = params['EnableDiagnose'] @CdcId = params['CdcId'] @DisasterRecoverGroupAffinity = params['DisasterRecoverGroupAffinity'] @SubProductCode = params['SubProductCode'] @ReadWriteMode = params['ReadWriteMode'] @EnableScheduleRecoverGroup = params['EnableScheduleRecoverGroup'] unless params['EnableScheduleOperationDuration'].nil? @EnableScheduleOperationDuration = EnableScheduleOperationDuration.new @EnableScheduleOperationDuration.deserialize(params['EnableScheduleOperationDuration']) end end end # CreateInstance返回参数结构体 class CreateInstanceResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param DealName: 订单号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DealName: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :DealName, :RequestId def initialize(instanceid=nil, dealname=nil, requestid=nil) @InstanceId = instanceid @DealName = dealname @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @DealName = params['DealName'] @RequestId = params['RequestId'] end end # CreateLogstashInstance请求参数结构体 class CreateLogstashInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceName: 实例名称(1-50 个英文、汉字、数字、连接线-或下划线_) # @type InstanceName: String # @param Zone: 可用区 # @type Zone: String # @param LogstashVersion: 实例版本(支持"6.8.13"、"7.10.1") # @type LogstashVersion: String # @param VpcId: 私有网络ID # @type VpcId: String # @param SubnetId: 子网ID # @type SubnetId: String # @param NodeNum: 节点数量(2-50个) # @type NodeNum: Integer # @param ChargeType: 计费类型
  • PREPAID:预付费,即包年包月
  • POSTPAID_BY_HOUR:按小时后付费
  • 默认值POSTPAID_BY_HOUR # @type ChargeType: String # @param ChargePeriod: 包年包月购买时长(单位由参数TimeUnit决定) # @type ChargePeriod: Integer # @param TimeUnit: 计费时长单位(ChargeType为PREPAID时需要设置,默认值为“m”,表示月,当前只支持“m”) # @type TimeUnit: String # @param AutoVoucher: 是否自动使用代金券
  • 0:不自动使用
  • 1:自动使用
  • 默认值0 # @type AutoVoucher: Integer # @param VoucherIds: 代金券ID列表(目前仅支持指定一张代金券) # @type VoucherIds: Array # @param RenewFlag: 自动续费标识
  • RENEW_FLAG_AUTO:自动续费
  • RENEW_FLAG_MANUAL:不自动续费,用户手动续费
  • ChargeType为PREPAID时需要设置,如不传递该参数,普通用户默认不自动续费,SVIP用户自动续费 # @type RenewFlag: String # @param NodeType: 节点规格
  • LOGSTASH.S1.SMALL2:1核2G
  • LOGSTASH.S1.MEDIUM4:2核4G
  • LOGSTASH.S1.MEDIUM8:2核8G
  • LOGSTASH.S1.LARGE16:4核16G
  • LOGSTASH.S1.2XLARGE32:8核32G
  • LOGSTASH.S1.4XLARGE32:16核32G
  • LOGSTASH.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param DiskType: 节点磁盘类型
  • CLOUD_SSD:SSD云硬盘
  • CLOUD_PREMIUM:高硬能云硬盘
  • 默认值CLOUD_SSD # @type DiskType: String # @param DiskSize: 节点磁盘容量(单位GB) # @type DiskSize: Integer # @param LicenseType: License类型
  • oss:开源版
  • xpack:xpack版
  • 默认值xpack # @type LicenseType: String # @param TagList: 标签信息列表 # @type TagList: Array # @param OperationDuration: 可维护时间段 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration` attr_accessor :InstanceName, :Zone, :LogstashVersion, :VpcId, :SubnetId, :NodeNum, :ChargeType, :ChargePeriod, :TimeUnit, :AutoVoucher, :VoucherIds, :RenewFlag, :NodeType, :DiskType, :DiskSize, :LicenseType, :TagList, :OperationDuration def initialize(instancename=nil, zone=nil, logstashversion=nil, vpcid=nil, subnetid=nil, nodenum=nil, chargetype=nil, chargeperiod=nil, timeunit=nil, autovoucher=nil, voucherids=nil, renewflag=nil, nodetype=nil, disktype=nil, disksize=nil, licensetype=nil, taglist=nil, operationduration=nil) @InstanceName = instancename @Zone = zone @LogstashVersion = logstashversion @VpcId = vpcid @SubnetId = subnetid @NodeNum = nodenum @ChargeType = chargetype @ChargePeriod = chargeperiod @TimeUnit = timeunit @AutoVoucher = autovoucher @VoucherIds = voucherids @RenewFlag = renewflag @NodeType = nodetype @DiskType = disktype @DiskSize = disksize @LicenseType = licensetype @TagList = taglist @OperationDuration = operationduration end def deserialize(params) @InstanceName = params['InstanceName'] @Zone = params['Zone'] @LogstashVersion = params['LogstashVersion'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @NodeNum = params['NodeNum'] @ChargeType = params['ChargeType'] @ChargePeriod = params['ChargePeriod'] @TimeUnit = params['TimeUnit'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @RenewFlag = params['RenewFlag'] @NodeType = params['NodeType'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @LicenseType = params['LicenseType'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end unless params['OperationDuration'].nil? @OperationDuration = OperationDuration.new @OperationDuration.deserialize(params['OperationDuration']) end end end # CreateLogstashInstance返回参数结构体 class CreateLogstashInstanceResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :RequestId def initialize(instanceid=nil, requestid=nil) @InstanceId = instanceid @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @RequestId = params['RequestId'] end end # CreateServerlessInstance请求参数结构体 class CreateServerlessInstanceRequest < TencentCloud::Common::AbstractModel # @param IndexName: 索引名,需以-AppId结尾 # @type IndexName: String # @param Zone: 可用区 # @type Zone: String # @param VpcId: 私有网络ID # @type VpcId: String # @param SubnetId: 子网ID # @type SubnetId: String # @param IndexMetaJson: 创建的索引元数据JSON,如mappings、settings # @type IndexMetaJson: String # @param SpaceId: 创建索引的空间ID # @type SpaceId: String # @param Username: 创建索引的用户名 # @type Username: String # @param Password: 创建索引的密码 # @type Password: String # @param ServerlessDi: 创建数据接入 # @type ServerlessDi: :class:`Tencentcloud::Es.v20180416.models.ServerlessDi` # @param AutoGetIp: 是否自行添加白名单ip # @type AutoGetIp: Integer # @param TagList: 标签信息 # @type TagList: Array # @param KibanaWhiteIpList: kibana公网白名单 # @type KibanaWhiteIpList: Array attr_accessor :IndexName, :Zone, :VpcId, :SubnetId, :IndexMetaJson, :SpaceId, :Username, :Password, :ServerlessDi, :AutoGetIp, :TagList, :KibanaWhiteIpList def initialize(indexname=nil, zone=nil, vpcid=nil, subnetid=nil, indexmetajson=nil, spaceid=nil, username=nil, password=nil, serverlessdi=nil, autogetip=nil, taglist=nil, kibanawhiteiplist=nil) @IndexName = indexname @Zone = zone @VpcId = vpcid @SubnetId = subnetid @IndexMetaJson = indexmetajson @SpaceId = spaceid @Username = username @Password = password @ServerlessDi = serverlessdi @AutoGetIp = autogetip @TagList = taglist @KibanaWhiteIpList = kibanawhiteiplist end def deserialize(params) @IndexName = params['IndexName'] @Zone = params['Zone'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @IndexMetaJson = params['IndexMetaJson'] @SpaceId = params['SpaceId'] @Username = params['Username'] @Password = params['Password'] unless params['ServerlessDi'].nil? @ServerlessDi = ServerlessDi.new @ServerlessDi.deserialize(params['ServerlessDi']) end @AutoGetIp = params['AutoGetIp'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @KibanaWhiteIpList = params['KibanaWhiteIpList'] end end # CreateServerlessInstance返回参数结构体 class CreateServerlessInstanceResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param DealName: 订单号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DealName: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :DealName, :RequestId def initialize(instanceid=nil, dealname=nil, requestid=nil) @InstanceId = instanceid @DealName = dealname @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @DealName = params['DealName'] @RequestId = params['RequestId'] end end # CreateServerlessSpaceV2请求参数结构体 class CreateServerlessSpaceV2Request < TencentCloud::Common::AbstractModel # @param VpcInfo: vpc信息 # @type VpcInfo: Array # @param SpaceName: 索引空间名 # @type SpaceName: String # @param Zone: 空间名称 # @type Zone: String # @param KibanaWhiteIpList: 白名单列表 # @type KibanaWhiteIpList: Array # @param ZoneId: 空间id # @type ZoneId: Integer # @param TagList: 标签信息 # @type TagList: Array attr_accessor :VpcInfo, :SpaceName, :Zone, :KibanaWhiteIpList, :ZoneId, :TagList def initialize(vpcinfo=nil, spacename=nil, zone=nil, kibanawhiteiplist=nil, zoneid=nil, taglist=nil) @VpcInfo = vpcinfo @SpaceName = spacename @Zone = zone @KibanaWhiteIpList = kibanawhiteiplist @ZoneId = zoneid @TagList = taglist end def deserialize(params) unless params['VpcInfo'].nil? @VpcInfo = [] params['VpcInfo'].each do |i| vpcinfo_tmp = VpcInfo.new vpcinfo_tmp.deserialize(i) @VpcInfo << vpcinfo_tmp end end @SpaceName = params['SpaceName'] @Zone = params['Zone'] @KibanaWhiteIpList = params['KibanaWhiteIpList'] @ZoneId = params['ZoneId'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end end end # CreateServerlessSpaceV2返回参数结构体 class CreateServerlessSpaceV2Response < TencentCloud::Common::AbstractModel # @param SpaceId: 空间ID # @type SpaceId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :SpaceId, :RequestId def initialize(spaceid=nil, requestid=nil) @SpaceId = spaceid @RequestId = requestid end def deserialize(params) @SpaceId = params['SpaceId'] @RequestId = params['RequestId'] end end # 自治索引信息 class DataStreamInfo < TencentCloud::Common::AbstractModel # @param DataStreamName: 自治索引名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DataStreamName: String # @param IsShardComplete: 分片状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IsShardComplete: Integer attr_accessor :DataStreamName, :IsShardComplete def initialize(datastreamname=nil, isshardcomplete=nil) @DataStreamName = datastreamname @IsShardComplete = isshardcomplete end def deserialize(params) @DataStreamName = params['DataStreamName'] @IsShardComplete = params['IsShardComplete'] end end # DeleteClusterSnapshot请求参数结构体 class DeleteClusterSnapshotRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例Id,格式:es-xxxx # @type InstanceId: String # @param RepositoryName: 快照仓库名称 # @type RepositoryName: String # @param SnapshotName: 集群快照名称 # @type SnapshotName: String attr_accessor :InstanceId, :RepositoryName, :SnapshotName def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil) @InstanceId = instanceid @RepositoryName = repositoryname @SnapshotName = snapshotname end def deserialize(params) @InstanceId = params['InstanceId'] @RepositoryName = params['RepositoryName'] @SnapshotName = params['SnapshotName'] end end # DeleteClusterSnapshot返回参数结构体 class DeleteClusterSnapshotResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 集群id # @type InstanceId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :RequestId def initialize(instanceid=nil, requestid=nil) @InstanceId = instanceid @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @RequestId = params['RequestId'] end end # DeleteIndex请求参数结构体 class DeleteIndexRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES集群ID # @type InstanceId: String # @param IndexType: 删除的索引类型。auto:自治索引;normal:普通索引 # @type IndexType: String # @param IndexName: 删除的索引名 # @type IndexName: String # @param Username: 集群访问用户名 # @type Username: String # @param Password: 集群访问密码 # @type Password: String # @param BackingIndexName: 后备索引名 # @type BackingIndexName: String attr_accessor :InstanceId, :IndexType, :IndexName, :Username, :Password, :BackingIndexName def initialize(instanceid=nil, indextype=nil, indexname=nil, username=nil, password=nil, backingindexname=nil) @InstanceId = instanceid @IndexType = indextype @IndexName = indexname @Username = username @Password = password @BackingIndexName = backingindexname end def deserialize(params) @InstanceId = params['InstanceId'] @IndexType = params['IndexType'] @IndexName = params['IndexName'] @Username = params['Username'] @Password = params['Password'] @BackingIndexName = params['BackingIndexName'] end end # DeleteIndex返回参数结构体 class DeleteIndexResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteInstance请求参数结构体 class DeleteInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # DeleteInstance返回参数结构体 class DeleteInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteLogstashInstance请求参数结构体 class DeleteLogstashInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # DeleteLogstashInstance返回参数结构体 class DeleteLogstashInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteLogstashPipelines请求参数结构体 class DeleteLogstashPipelinesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param PipelineIds: 管道ID列表 # @type PipelineIds: Array attr_accessor :InstanceId, :PipelineIds def initialize(instanceid=nil, pipelineids=nil) @InstanceId = instanceid @PipelineIds = pipelineids end def deserialize(params) @InstanceId = params['InstanceId'] @PipelineIds = params['PipelineIds'] end end # DeleteLogstashPipelines返回参数结构体 class DeleteLogstashPipelinesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteServerlessInstance请求参数结构体 class DeleteServerlessInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: serverless实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # DeleteServerlessInstance返回参数结构体 class DeleteServerlessInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DeleteServerlessSpaceUser请求参数结构体 class DeleteServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel # @param SpaceId: 空间的ID # @type SpaceId: String # @param Username: 创建索引的用户名 # @type Username: String attr_accessor :SpaceId, :Username def initialize(spaceid=nil, username=nil) @SpaceId = spaceid @Username = username end def deserialize(params) @SpaceId = params['SpaceId'] @Username = params['Username'] end end # DeleteServerlessSpaceUser返回参数结构体 class DeleteServerlessSpaceUserResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # DescribeClusterSnapshot请求参数结构体 class DescribeClusterSnapshotRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例Id,格式:es-xxxx # @type InstanceId: String # @param RepositoryName: 快照仓库名称 # @type RepositoryName: String # @param SnapshotName: 集群快照名称 # @type SnapshotName: String attr_accessor :InstanceId, :RepositoryName, :SnapshotName def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil) @InstanceId = instanceid @RepositoryName = repositoryname @SnapshotName = snapshotname end def deserialize(params) @InstanceId = params['InstanceId'] @RepositoryName = params['RepositoryName'] @SnapshotName = params['SnapshotName'] end end # DescribeClusterSnapshot返回参数结构体 class DescribeClusterSnapshotResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例Id,格式:es-xxxx # @type InstanceId: String # @param Snapshots: 快照备份详情列表 # @type Snapshots: Array # @param RepositoryName: 快照仓库名称 # @type RepositoryName: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :Snapshots, :RepositoryName, :RequestId def initialize(instanceid=nil, snapshots=nil, repositoryname=nil, requestid=nil) @InstanceId = instanceid @Snapshots = snapshots @RepositoryName = repositoryname @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] unless params['Snapshots'].nil? @Snapshots = [] params['Snapshots'].each do |i| snapshots_tmp = Snapshots.new snapshots_tmp.deserialize(i) @Snapshots << snapshots_tmp end end @RepositoryName = params['RepositoryName'] @RequestId = params['RequestId'] end end # DescribeDiagnose请求参数结构体 class DescribeDiagnoseRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param Date: 报告日期,格式20210301 # @type Date: String # @param Limit: 报告返回份数 # @type Limit: Integer attr_accessor :InstanceId, :Date, :Limit def initialize(instanceid=nil, date=nil, limit=nil) @InstanceId = instanceid @Date = date @Limit = limit end def deserialize(params) @InstanceId = params['InstanceId'] @Date = params['Date'] @Limit = params['Limit'] end end # DescribeDiagnose返回参数结构体 class DescribeDiagnoseResponse < TencentCloud::Common::AbstractModel # @param Total: 诊断报告个数 # @type Total: Integer # @param DiagnoseResults: 诊断报告列表 # @type DiagnoseResults: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Total, :DiagnoseResults, :RequestId def initialize(total=nil, diagnoseresults=nil, requestid=nil) @Total = total @DiagnoseResults = diagnoseresults @RequestId = requestid end def deserialize(params) @Total = params['Total'] unless params['DiagnoseResults'].nil? @DiagnoseResults = [] params['DiagnoseResults'].each do |i| diagnoseresult_tmp = DiagnoseResult.new diagnoseresult_tmp.deserialize(i) @DiagnoseResults << diagnoseresult_tmp end end @RequestId = params['RequestId'] end end # DescribeIndexList请求参数结构体 class DescribeIndexListRequest < TencentCloud::Common::AbstractModel # @param IndexType: 索引类型。auto:自治索引;normal:普通索引 # @type IndexType: String # @param InstanceId: ES集群ID # @type InstanceId: String # @param IndexName: 索引名,若填空则获取所有索引 # @type IndexName: String # @param Username: 集群访问用户名 # @type Username: String # @param Password: 集群访问密码 # @type Password: String # @param Offset: 分页起始位置 # @type Offset: Integer # @param Limit: 一页展示数量 # @type Limit: Integer # @param OrderBy: 排序字段,支持索引名:IndexName、索引存储量:IndexStorage、索引创建时间:IndexCreateTime # @type OrderBy: String # @param IndexStatusList: 过滤索引状态 # @type IndexStatusList: Array # @param Order: 排序顺序,支持asc、desc,默认为desc 数据格式"asc","desc" # @type Order: String attr_accessor :IndexType, :InstanceId, :IndexName, :Username, :Password, :Offset, :Limit, :OrderBy, :IndexStatusList, :Order def initialize(indextype=nil, instanceid=nil, indexname=nil, username=nil, password=nil, offset=nil, limit=nil, orderby=nil, indexstatuslist=nil, order=nil) @IndexType = indextype @InstanceId = instanceid @IndexName = indexname @Username = username @Password = password @Offset = offset @Limit = limit @OrderBy = orderby @IndexStatusList = indexstatuslist @Order = order end def deserialize(params) @IndexType = params['IndexType'] @InstanceId = params['InstanceId'] @IndexName = params['IndexName'] @Username = params['Username'] @Password = params['Password'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderBy = params['OrderBy'] @IndexStatusList = params['IndexStatusList'] @Order = params['Order'] end end # DescribeIndexList返回参数结构体 class DescribeIndexListResponse < TencentCloud::Common::AbstractModel # @param IndexMetaFields: 索引元数据字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexMetaFields: Array # @param TotalCount: 查询总数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IndexMetaFields, :TotalCount, :RequestId def initialize(indexmetafields=nil, totalcount=nil, requestid=nil) @IndexMetaFields = indexmetafields @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['IndexMetaFields'].nil? @IndexMetaFields = [] params['IndexMetaFields'].each do |i| indexmetafield_tmp = IndexMetaField.new indexmetafield_tmp.deserialize(i) @IndexMetaFields << indexmetafield_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeIndexMeta请求参数结构体 class DescribeIndexMetaRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES集群ID # @type InstanceId: String # @param IndexType: 索引类型。auto:自治索引;normal:普通索引 # @type IndexType: String # @param IndexName: 索引名,若填空则获取所有索引 # @type IndexName: String # @param Username: 集群访问用户名 # @type Username: String # @param Password: 集群访问密码 # @type Password: String attr_accessor :InstanceId, :IndexType, :IndexName, :Username, :Password def initialize(instanceid=nil, indextype=nil, indexname=nil, username=nil, password=nil) @InstanceId = instanceid @IndexType = indextype @IndexName = indexname @Username = username @Password = password end def deserialize(params) @InstanceId = params['InstanceId'] @IndexType = params['IndexType'] @IndexName = params['IndexName'] @Username = params['Username'] @Password = params['Password'] end end # DescribeIndexMeta返回参数结构体 class DescribeIndexMetaResponse < TencentCloud::Common::AbstractModel # @param IndexMetaField: 索引元数据字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexMetaField: :class:`Tencentcloud::Es.v20180416.models.IndexMetaField` # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IndexMetaField, :RequestId def initialize(indexmetafield=nil, requestid=nil) @IndexMetaField = indexmetafield @RequestId = requestid end def deserialize(params) unless params['IndexMetaField'].nil? @IndexMetaField = IndexMetaField.new @IndexMetaField.deserialize(params['IndexMetaField']) end @RequestId = params['RequestId'] end end # DescribeInstanceLogs请求参数结构体 class DescribeInstanceLogsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例ID # @type InstanceId: String # @param LogType: 日志类型,默认值为1 #
  • 1, 主日志
  • #
  • 2, 搜索慢日志
  • #
  • 3, 索引慢日志
  • #
  • 4, GC日志
  • # @type LogType: Integer # @param SearchKey: 搜索词,支持LUCENE语法,如 level:WARN、ip:1.1.1.1、message:test-index等 # @type SearchKey: String # @param StartTime: 日志开始时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53 # @type StartTime: String # @param EndTime: 日志结束时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53 # @type EndTime: String # @param Offset: 分页起始值, 默认值为0 # @type Offset: Integer # @param Limit: 分页大小,默认值为100,最大值100 # @type Limit: Integer # @param OrderByType: 时间排序方式,默认值为0 #
  • 0, 降序
  • #
  • 1, 升序
  • # @type OrderByType: Integer attr_accessor :InstanceId, :LogType, :SearchKey, :StartTime, :EndTime, :Offset, :Limit, :OrderByType def initialize(instanceid=nil, logtype=nil, searchkey=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, orderbytype=nil) @InstanceId = instanceid @LogType = logtype @SearchKey = searchkey @StartTime = starttime @EndTime = endtime @Offset = offset @Limit = limit @OrderByType = orderbytype end def deserialize(params) @InstanceId = params['InstanceId'] @LogType = params['LogType'] @SearchKey = params['SearchKey'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderByType = params['OrderByType'] end end # DescribeInstanceLogs返回参数结构体 class DescribeInstanceLogsResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 返回的日志条数 # @type TotalCount: Integer # @param InstanceLogList: 日志详细信息列表 # @type InstanceLogList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceLogList, :RequestId def initialize(totalcount=nil, instanceloglist=nil, requestid=nil) @TotalCount = totalcount @InstanceLogList = instanceloglist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceLogList'].nil? @InstanceLogList = [] params['InstanceLogList'].each do |i| instancelog_tmp = InstanceLog.new instancelog_tmp.deserialize(i) @InstanceLogList << instancelog_tmp end end @RequestId = params['RequestId'] end end # DescribeInstanceOperations请求参数结构体 class DescribeInstanceOperationsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例ID # @type InstanceId: String # @param StartTime: 起始时间, e.g. "2019-03-07 16:30:39" # @type StartTime: String # @param EndTime: 结束时间, e.g. "2019-03-30 20:18:03" # @type EndTime: String # @param Offset: 分页起始值 # @type Offset: Integer # @param Limit: 分页大小 # @type Limit: Integer attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @Offset = offset @Limit = limit end def deserialize(params) @InstanceId = params['InstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeInstanceOperations返回参数结构体 class DescribeInstanceOperationsResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 操作记录总数 # @type TotalCount: Integer # @param Operations: 操作记录 # @type Operations: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :Operations, :RequestId def initialize(totalcount=nil, operations=nil, requestid=nil) @TotalCount = totalcount @Operations = operations @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['Operations'].nil? @Operations = [] params['Operations'].each do |i| operation_tmp = Operation.new operation_tmp.deserialize(i) @Operations << operation_tmp end end @RequestId = params['RequestId'] end end # 插件信息 class DescribeInstancePluginInfo < TencentCloud::Common::AbstractModel # @param PluginName: 插件名 # @type PluginName: String # @param PluginVersion: 插件版本 # @type PluginVersion: String # @param PluginDesc: 插件描述 # @type PluginDesc: String # @param Status: 插件状态:-2 已卸载 -1 卸载中 0 安装中 1 已安装 # @type Status: Integer # @param Removable: 插件是否可卸载 # @type Removable: Boolean # @param PluginType: 0:系统插件 # @type PluginType: Integer # @param PluginUpdateTime: 插件变更时间 # @type PluginUpdateTime: String attr_accessor :PluginName, :PluginVersion, :PluginDesc, :Status, :Removable, :PluginType, :PluginUpdateTime def initialize(pluginname=nil, pluginversion=nil, plugindesc=nil, status=nil, removable=nil, plugintype=nil, pluginupdatetime=nil) @PluginName = pluginname @PluginVersion = pluginversion @PluginDesc = plugindesc @Status = status @Removable = removable @PluginType = plugintype @PluginUpdateTime = pluginupdatetime end def deserialize(params) @PluginName = params['PluginName'] @PluginVersion = params['PluginVersion'] @PluginDesc = params['PluginDesc'] @Status = params['Status'] @Removable = params['Removable'] @PluginType = params['PluginType'] @PluginUpdateTime = params['PluginUpdateTime'] end end # DescribeInstancePluginList请求参数结构体 class DescribeInstancePluginListRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param Offset: 分页起始值, 默认值0 # @type Offset: Integer # @param Limit: 分页大小,默认值10 # @type Limit: Integer # @param OrderBy: 排序字段
  • 1:插件名 pluginName
  • # @type OrderBy: String # @param OrderByType: 排序方式
  • 0:升序 asc
  • 1:降序 desc
  • # @type OrderByType: String # @param PluginType: 0:系统插件 # @type PluginType: Integer attr_accessor :InstanceId, :Offset, :Limit, :OrderBy, :OrderByType, :PluginType def initialize(instanceid=nil, offset=nil, limit=nil, orderby=nil, orderbytype=nil, plugintype=nil) @InstanceId = instanceid @Offset = offset @Limit = limit @OrderBy = orderby @OrderByType = orderbytype @PluginType = plugintype end def deserialize(params) @InstanceId = params['InstanceId'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderBy = params['OrderBy'] @OrderByType = params['OrderByType'] @PluginType = params['PluginType'] end end # DescribeInstancePluginList返回参数结构体 class DescribeInstancePluginListResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 返回的插件个数 # @type TotalCount: Integer # @param PluginList: 插件信息列表 # @type PluginList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :PluginList, :RequestId def initialize(totalcount=nil, pluginlist=nil, requestid=nil) @TotalCount = totalcount @PluginList = pluginlist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['PluginList'].nil? @PluginList = [] params['PluginList'].each do |i| describeinstanceplugininfo_tmp = DescribeInstancePluginInfo.new describeinstanceplugininfo_tmp.deserialize(i) @PluginList << describeinstanceplugininfo_tmp end end @RequestId = params['RequestId'] end end # DescribeInstances请求参数结构体 class DescribeInstancesRequest < TencentCloud::Common::AbstractModel # @param Zone: 集群实例所属可用区,不传则默认所有可用区 # @type Zone: String # @param InstanceIds: 集群实例ID列表 # @type InstanceIds: Array # @param InstanceNames: 集群实例名称列表 # @type InstanceNames: Array # @param Offset: 分页起始值, 默认值0 # @type Offset: Integer # @param Limit: 分页大小,默认值20 # @type Limit: Integer # @param OrderByKey: 排序字段
  • 1:实例ID
  • 2:实例名称
  • 3:可用区
  • 4:创建时间
  • 若orderByKey未传递则按创建时间降序排序 # @type OrderByKey: Integer # @param OrderByType: 排序方式
  • 0:升序
  • 1:降序
  • 若传递了orderByKey未传递orderByType, 则默认升序 # @type OrderByType: Integer # @param TagList: 节点标签信息列表 # @type TagList: Array # @param IpList: 私有网络vip列表 # @type IpList: Array # @param ZoneList: 可用区列表 # @type ZoneList: Array # @param HealthStatus: 健康状态筛列表:0表示绿色,1表示黄色,2表示红色,-1表示未知 # @type HealthStatus: Array # @param VpcIds: Vpc列表 筛选项 # @type VpcIds: Array # @param CdcId: cdc集群id # @type CdcId: String attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :TagList, :IpList, :ZoneList, :HealthStatus, :VpcIds, :CdcId def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, taglist=nil, iplist=nil, zonelist=nil, healthstatus=nil, vpcids=nil, cdcid=nil) @Zone = zone @InstanceIds = instanceids @InstanceNames = instancenames @Offset = offset @Limit = limit @OrderByKey = orderbykey @OrderByType = orderbytype @TagList = taglist @IpList = iplist @ZoneList = zonelist @HealthStatus = healthstatus @VpcIds = vpcids @CdcId = cdcid end def deserialize(params) @Zone = params['Zone'] @InstanceIds = params['InstanceIds'] @InstanceNames = params['InstanceNames'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderByKey = params['OrderByKey'] @OrderByType = params['OrderByType'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @IpList = params['IpList'] @ZoneList = params['ZoneList'] @HealthStatus = params['HealthStatus'] @VpcIds = params['VpcIds'] @CdcId = params['CdcId'] end end # DescribeInstances返回参数结构体 class DescribeInstancesResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 返回的实例个数 # @type TotalCount: Integer # @param InstanceList: 实例详细信息列表 # @type InstanceList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceList, :RequestId def initialize(totalcount=nil, instancelist=nil, requestid=nil) @TotalCount = totalcount @InstanceList = instancelist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| instanceinfo_tmp = InstanceInfo.new instanceinfo_tmp.deserialize(i) @InstanceList << instanceinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeLogstashInstanceLogs请求参数结构体 class DescribeLogstashInstanceLogsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param LogType: 日志类型,默认值为1 #
  • 1, 主日志
  • #
  • 2, 慢日志
  • #
  • 3, GC日志
  • # @type LogType: Integer # @param SearchKey: 搜索词,支持LUCENE语法,如 level:WARN、ip:1.1.1.1、message:test-index等 # @type SearchKey: String # @param StartTime: 日志开始时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53 # @type StartTime: String # @param EndTime: 日志结束时间,格式为YYYY-MM-DD HH:MM:SS, 如2019-01-22 20:15:53 # @type EndTime: String # @param Offset: 分页起始值, 默认值为0 # @type Offset: Integer # @param Limit: 分页大小,默认值为100,最大值100 # @type Limit: Integer # @param OrderByType: 时间排序方式,默认值为0 #
  • 0, 降序
  • #
  • 1, 升序
  • # @type OrderByType: Integer attr_accessor :InstanceId, :LogType, :SearchKey, :StartTime, :EndTime, :Offset, :Limit, :OrderByType def initialize(instanceid=nil, logtype=nil, searchkey=nil, starttime=nil, endtime=nil, offset=nil, limit=nil, orderbytype=nil) @InstanceId = instanceid @LogType = logtype @SearchKey = searchkey @StartTime = starttime @EndTime = endtime @Offset = offset @Limit = limit @OrderByType = orderbytype end def deserialize(params) @InstanceId = params['InstanceId'] @LogType = params['LogType'] @SearchKey = params['SearchKey'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderByType = params['OrderByType'] end end # DescribeLogstashInstanceLogs返回参数结构体 class DescribeLogstashInstanceLogsResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 返回的日志条数 # @type TotalCount: Integer # @param InstanceLogList: 日志详细信息列表 # @type InstanceLogList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceLogList, :RequestId def initialize(totalcount=nil, instanceloglist=nil, requestid=nil) @TotalCount = totalcount @InstanceLogList = instanceloglist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceLogList'].nil? @InstanceLogList = [] params['InstanceLogList'].each do |i| instancelog_tmp = InstanceLog.new instancelog_tmp.deserialize(i) @InstanceLogList << instancelog_tmp end end @RequestId = params['RequestId'] end end # DescribeLogstashInstanceOperations请求参数结构体 class DescribeLogstashInstanceOperationsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param StartTime: 起始时间, e.g. "2019-03-07 16:30:39" # @type StartTime: String # @param EndTime: 结束时间, e.g. "2019-03-30 20:18:03" # @type EndTime: String # @param Offset: 分页起始值 # @type Offset: Integer # @param Limit: 分页大小 # @type Limit: Integer attr_accessor :InstanceId, :StartTime, :EndTime, :Offset, :Limit def initialize(instanceid=nil, starttime=nil, endtime=nil, offset=nil, limit=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @Offset = offset @Limit = limit end def deserialize(params) @InstanceId = params['InstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Offset = params['Offset'] @Limit = params['Limit'] end end # DescribeLogstashInstanceOperations返回参数结构体 class DescribeLogstashInstanceOperationsResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 操作记录总数 # @type TotalCount: Integer # @param Operations: 操作记录 # @type Operations: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :Operations, :RequestId def initialize(totalcount=nil, operations=nil, requestid=nil) @TotalCount = totalcount @Operations = operations @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['Operations'].nil? @Operations = [] params['Operations'].each do |i| operation_tmp = Operation.new operation_tmp.deserialize(i) @Operations << operation_tmp end end @RequestId = params['RequestId'] end end # DescribeLogstashInstances请求参数结构体 class DescribeLogstashInstancesRequest < TencentCloud::Common::AbstractModel # @param Zone: 实例所属可用区,不传则默认所有可用区 # @type Zone: String # @param InstanceIds: 实例ID列表 # @type InstanceIds: Array # @param InstanceNames: 实例名称列表 # @type InstanceNames: Array # @param Offset: 分页起始值, 默认值0 # @type Offset: Integer # @param Limit: 分页大小,默认值20 # @type Limit: Integer # @param OrderByKey: 排序字段
  • 1:实例ID
  • 2:实例名称
  • 3:可用区
  • 4:创建时间
  • 若orderKey未传递则按创建时间降序排序 # @type OrderByKey: Integer # @param OrderByType: 排序方式
  • 0:升序
  • 1:降序
  • 若传递了orderByKey未传递orderByType, 则默认升序 # @type OrderByType: Integer # @param VpcIds: VpcId 筛选项 # @type VpcIds: Array # @param TagList: 标签信息列表 # @type TagList: Array attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :VpcIds, :TagList def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, vpcids=nil, taglist=nil) @Zone = zone @InstanceIds = instanceids @InstanceNames = instancenames @Offset = offset @Limit = limit @OrderByKey = orderbykey @OrderByType = orderbytype @VpcIds = vpcids @TagList = taglist end def deserialize(params) @Zone = params['Zone'] @InstanceIds = params['InstanceIds'] @InstanceNames = params['InstanceNames'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderByKey = params['OrderByKey'] @OrderByType = params['OrderByType'] @VpcIds = params['VpcIds'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end end end # DescribeLogstashInstances返回参数结构体 class DescribeLogstashInstancesResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 返回的实例个数 # @type TotalCount: Integer # @param InstanceList: 实例详细信息列表 # @type InstanceList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :InstanceList, :RequestId def initialize(totalcount=nil, instancelist=nil, requestid=nil) @TotalCount = totalcount @InstanceList = instancelist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['InstanceList'].nil? @InstanceList = [] params['InstanceList'].each do |i| logstashinstanceinfo_tmp = LogstashInstanceInfo.new logstashinstanceinfo_tmp.deserialize(i) @InstanceList << logstashinstanceinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeLogstashPipelines请求参数结构体 class DescribeLogstashPipelinesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # DescribeLogstashPipelines返回参数结构体 class DescribeLogstashPipelinesResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 管道总数 # @type TotalCount: Integer # @param LogstashPipelineList: 管道列表 # @type LogstashPipelineList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :LogstashPipelineList, :RequestId def initialize(totalcount=nil, logstashpipelinelist=nil, requestid=nil) @TotalCount = totalcount @LogstashPipelineList = logstashpipelinelist @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['LogstashPipelineList'].nil? @LogstashPipelineList = [] params['LogstashPipelineList'].each do |i| logstashpipelineinfo_tmp = LogstashPipelineInfo.new logstashpipelineinfo_tmp.deserialize(i) @LogstashPipelineList << logstashpipelineinfo_tmp end end @RequestId = params['RequestId'] end end # DescribeServerlessInstances请求参数结构体 class DescribeServerlessInstancesRequest < TencentCloud::Common::AbstractModel # @param InstanceIds: 索引集群ID # @type InstanceIds: Array # @param IndexNames: 索引名 # @type IndexNames: Array # @param Offset: 分页起始位置 # @type Offset: Integer # @param Limit: 一页展示数量 # @type Limit: Integer # @param OrderBy: 排序字段,支持索引名:IndexName、索引存储量:IndexStorage、索引创建时间:IndexCreateTime # @type OrderBy: String # @param IndexStatusList: 过滤索引状态 # @type IndexStatusList: Array # @param Order: 排序顺序,支持asc、desc,默认为desc # @type Order: String # @param SpaceIds: 索引空间ID列表 # @type SpaceIds: Array # @param DiSourceTypes: 数据链路数据源类型 # @type DiSourceTypes: Array # @param TagList: 标签信息 # @type TagList: Array attr_accessor :InstanceIds, :IndexNames, :Offset, :Limit, :OrderBy, :IndexStatusList, :Order, :SpaceIds, :DiSourceTypes, :TagList def initialize(instanceids=nil, indexnames=nil, offset=nil, limit=nil, orderby=nil, indexstatuslist=nil, order=nil, spaceids=nil, disourcetypes=nil, taglist=nil) @InstanceIds = instanceids @IndexNames = indexnames @Offset = offset @Limit = limit @OrderBy = orderby @IndexStatusList = indexstatuslist @Order = order @SpaceIds = spaceids @DiSourceTypes = disourcetypes @TagList = taglist end def deserialize(params) @InstanceIds = params['InstanceIds'] @IndexNames = params['IndexNames'] @Offset = params['Offset'] @Limit = params['Limit'] @OrderBy = params['OrderBy'] @IndexStatusList = params['IndexStatusList'] @Order = params['Order'] @SpaceIds = params['SpaceIds'] @DiSourceTypes = params['DiSourceTypes'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end end end # DescribeServerlessInstances返回参数结构体 class DescribeServerlessInstancesResponse < TencentCloud::Common::AbstractModel # @param IndexMetaFields: 索引元数据字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexMetaFields: Array # @param TotalCount: 查询总数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :IndexMetaFields, :TotalCount, :RequestId def initialize(indexmetafields=nil, totalcount=nil, requestid=nil) @IndexMetaFields = indexmetafields @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['IndexMetaFields'].nil? @IndexMetaFields = [] params['IndexMetaFields'].each do |i| serverlessindexmetafield_tmp = ServerlessIndexMetaField.new serverlessindexmetafield_tmp.deserialize(i) @IndexMetaFields << serverlessindexmetafield_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeServerlessMetrics请求参数结构体 class DescribeServerlessMetricsRequest < TencentCloud::Common::AbstractModel # @param SpaceId: space空间id # @type SpaceId: String # @param IndexId: index索引id # @type IndexId: String # @param MetricType: 指标类型,暂时只支持Storage(存储大小),AllMetric(所有存储指标:索引流量、存储大小、文档数量、读请求和写请求) # @type MetricType: Array # @param DurationType: 时间长度类型DurationType(1: 3小时, 2: 昨天1天,3: 今日0点到现在) # @type DurationType: Integer # @param BatchIndexList: 索引数据 # @type BatchIndexList: Array attr_accessor :SpaceId, :IndexId, :MetricType, :DurationType, :BatchIndexList def initialize(spaceid=nil, indexid=nil, metrictype=nil, durationtype=nil, batchindexlist=nil) @SpaceId = spaceid @IndexId = indexid @MetricType = metrictype @DurationType = durationtype @BatchIndexList = batchindexlist end def deserialize(params) @SpaceId = params['SpaceId'] @IndexId = params['IndexId'] @MetricType = params['MetricType'] @DurationType = params['DurationType'] @BatchIndexList = params['BatchIndexList'] end end # DescribeServerlessMetrics返回参数结构体 class DescribeServerlessMetricsResponse < TencentCloud::Common::AbstractModel # @param Storage: storage指标值,单位byte # @type Storage: Float # @param IndexTraffic: IndexTraffic指标值,单位byte # @type IndexTraffic: Float # @param ReadReqTimes: 读请求数,单位次数 # @type ReadReqTimes: Integer # @param WriteReqTimes: 写请求数,单位次数 # @type WriteReqTimes: Integer # @param DocCount: 文档数量,单位个数 # @type DocCount: Integer # @param MetricMapList: 指标数据数据 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MetricMapList: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :Storage, :IndexTraffic, :ReadReqTimes, :WriteReqTimes, :DocCount, :MetricMapList, :RequestId def initialize(storage=nil, indextraffic=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil, metricmaplist=nil, requestid=nil) @Storage = storage @IndexTraffic = indextraffic @ReadReqTimes = readreqtimes @WriteReqTimes = writereqtimes @DocCount = doccount @MetricMapList = metricmaplist @RequestId = requestid end def deserialize(params) @Storage = params['Storage'] @IndexTraffic = params['IndexTraffic'] @ReadReqTimes = params['ReadReqTimes'] @WriteReqTimes = params['WriteReqTimes'] @DocCount = params['DocCount'] unless params['MetricMapList'].nil? @MetricMapList = [] params['MetricMapList'].each do |i| metricmapbyindexid_tmp = MetricMapByIndexId.new metricmapbyindexid_tmp.deserialize(i) @MetricMapList << metricmapbyindexid_tmp end end @RequestId = params['RequestId'] end end # DescribeServerlessSpaceUser请求参数结构体 class DescribeServerlessSpaceUserRequest < TencentCloud::Common::AbstractModel # @param SpaceId: 空间的ID # @type SpaceId: String # @param Offset: 游标 # @type Offset: Integer # @param Limit: 页条数 # @type Limit: Integer # @param UserNames: 用户名列表过滤 # @type UserNames: Array # @param UserTypes: 用户类型 # @type UserTypes: Array # @param PrivilegeTypes: 权限类型 # @type PrivilegeTypes: Array attr_accessor :SpaceId, :Offset, :Limit, :UserNames, :UserTypes, :PrivilegeTypes def initialize(spaceid=nil, offset=nil, limit=nil, usernames=nil, usertypes=nil, privilegetypes=nil) @SpaceId = spaceid @Offset = offset @Limit = limit @UserNames = usernames @UserTypes = usertypes @PrivilegeTypes = privilegetypes end def deserialize(params) @SpaceId = params['SpaceId'] @Offset = params['Offset'] @Limit = params['Limit'] @UserNames = params['UserNames'] @UserTypes = params['UserTypes'] @PrivilegeTypes = params['PrivilegeTypes'] end end # DescribeServerlessSpaceUser返回参数结构体 class DescribeServerlessSpaceUserResponse < TencentCloud::Common::AbstractModel # @param ServerlessSpaceUsers: 用户数组 # @type ServerlessSpaceUsers: Array # @param TotalCount: 用户总数 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ServerlessSpaceUsers, :TotalCount, :RequestId def initialize(serverlessspaceusers=nil, totalcount=nil, requestid=nil) @ServerlessSpaceUsers = serverlessspaceusers @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['ServerlessSpaceUsers'].nil? @ServerlessSpaceUsers = [] params['ServerlessSpaceUsers'].each do |i| serverlessspaceuser_tmp = ServerlessSpaceUser.new serverlessspaceuser_tmp.deserialize(i) @ServerlessSpaceUsers << serverlessspaceuser_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeServerlessSpaces请求参数结构体 class DescribeServerlessSpacesRequest < TencentCloud::Common::AbstractModel # @param SpaceIds: 过滤的空间ID # @type SpaceIds: Array # @param SpaceNames: 过滤的空间名 # @type SpaceNames: Array # @param Order: 排序顺序,支持升序asc、降序desc # @type Order: String # @param OrderBy: 排序字段,支持空间创建时间SpaceCreateTime # @type OrderBy: String # @param VpcIds: vpcId信息数组 # @type VpcIds: Array # @param Offset: 分页起始 # @type Offset: Integer # @param Limit: 分页条数 # @type Limit: Integer # @param TagList: 标签信息 # @type TagList: Array attr_accessor :SpaceIds, :SpaceNames, :Order, :OrderBy, :VpcIds, :Offset, :Limit, :TagList def initialize(spaceids=nil, spacenames=nil, order=nil, orderby=nil, vpcids=nil, offset=nil, limit=nil, taglist=nil) @SpaceIds = spaceids @SpaceNames = spacenames @Order = order @OrderBy = orderby @VpcIds = vpcids @Offset = offset @Limit = limit @TagList = taglist end def deserialize(params) @SpaceIds = params['SpaceIds'] @SpaceNames = params['SpaceNames'] @Order = params['Order'] @OrderBy = params['OrderBy'] @VpcIds = params['VpcIds'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end end end # DescribeServerlessSpaces返回参数结构体 class DescribeServerlessSpacesResponse < TencentCloud::Common::AbstractModel # @param TotalCount: 查询总数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalCount: Integer # @param ServerlessSpaces: Serverless空间信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerlessSpaces: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TotalCount, :ServerlessSpaces, :RequestId def initialize(totalcount=nil, serverlessspaces=nil, requestid=nil) @TotalCount = totalcount @ServerlessSpaces = serverlessspaces @RequestId = requestid end def deserialize(params) @TotalCount = params['TotalCount'] unless params['ServerlessSpaces'].nil? @ServerlessSpaces = [] params['ServerlessSpaces'].each do |i| serverlessspace_tmp = ServerlessSpace.new serverlessspace_tmp.deserialize(i) @ServerlessSpaces << serverlessspace_tmp end end @RequestId = params['RequestId'] end end # DescribeSpaceKibanaTools请求参数结构体 class DescribeSpaceKibanaToolsRequest < TencentCloud::Common::AbstractModel # @param SpaceId: space的ID # @type SpaceId: String attr_accessor :SpaceId def initialize(spaceid=nil) @SpaceId = spaceid end def deserialize(params) @SpaceId = params['SpaceId'] end end # DescribeSpaceKibanaTools返回参数结构体 class DescribeSpaceKibanaToolsResponse < TencentCloud::Common::AbstractModel # @param KibanaToken: 该token用于登录内嵌kibana # @type KibanaToken: String # @param ExpireTime: token的过期时间 # @type ExpireTime: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :KibanaToken, :ExpireTime, :RequestId def initialize(kibanatoken=nil, expiretime=nil, requestid=nil) @KibanaToken = kibanatoken @ExpireTime = expiretime @RequestId = requestid end def deserialize(params) @KibanaToken = params['KibanaToken'] @ExpireTime = params['ExpireTime'] @RequestId = params['RequestId'] end end # DescribeUserCosSnapshotList请求参数结构体 class DescribeUserCosSnapshotListRequest < TencentCloud::Common::AbstractModel # @param CosBucket: cos桶名 # @type CosBucket: String # @param BasePath: bucket 桶下的备份路径 # @type BasePath: String # @param ClusterInstanceId: 云上集群迁移集群名 # @type ClusterInstanceId: String attr_accessor :CosBucket, :BasePath, :ClusterInstanceId def initialize(cosbucket=nil, basepath=nil, clusterinstanceid=nil) @CosBucket = cosbucket @BasePath = basepath @ClusterInstanceId = clusterinstanceid end def deserialize(params) @CosBucket = params['CosBucket'] @BasePath = params['BasePath'] @ClusterInstanceId = params['ClusterInstanceId'] end end # DescribeUserCosSnapshotList返回参数结构体 class DescribeUserCosSnapshotListResponse < TencentCloud::Common::AbstractModel # @param CosSnapshotInfoList: cos 快照信息列表 # @type CosSnapshotInfoList: Array # @param TotalCount: cos 快照数量 # @type TotalCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :CosSnapshotInfoList, :TotalCount, :RequestId def initialize(cossnapshotinfolist=nil, totalcount=nil, requestid=nil) @CosSnapshotInfoList = cossnapshotinfolist @TotalCount = totalcount @RequestId = requestid end def deserialize(params) unless params['CosSnapshotInfoList'].nil? @CosSnapshotInfoList = [] params['CosSnapshotInfoList'].each do |i| cossnapshotinfo_tmp = CosSnapShotInfo.new cossnapshotinfo_tmp.deserialize(i) @CosSnapshotInfoList << cossnapshotinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end end # DescribeViews请求参数结构体 class DescribeViewsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # DescribeViews返回参数结构体 class DescribeViewsResponse < TencentCloud::Common::AbstractModel # @param ClusterView: 集群维度视图 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterView: :class:`Tencentcloud::Es.v20180416.models.ClusterView` # @param NodesView: 节点维度视图 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NodesView: Array # @param KibanasView: Kibana维度视图 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanasView: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :ClusterView, :NodesView, :KibanasView, :RequestId def initialize(clusterview=nil, nodesview=nil, kibanasview=nil, requestid=nil) @ClusterView = clusterview @NodesView = nodesview @KibanasView = kibanasview @RequestId = requestid end def deserialize(params) unless params['ClusterView'].nil? @ClusterView = ClusterView.new @ClusterView.deserialize(params['ClusterView']) end unless params['NodesView'].nil? @NodesView = [] params['NodesView'].each do |i| nodeview_tmp = NodeView.new nodeview_tmp.deserialize(i) @NodesView << nodeview_tmp end end unless params['KibanasView'].nil? @KibanasView = [] params['KibanasView'].each do |i| kibanaview_tmp = KibanaView.new kibanaview_tmp.deserialize(i) @KibanasView << kibanaview_tmp end end @RequestId = params['RequestId'] end end # 数据接入信息 class DiData < TencentCloud::Common::AbstractModel # @param DiId: 数据接入id # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiId: String # @param CreateTime: 数据接入创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: String # @param Status: 数据接入状态,0处理中,1正常,-2删除中,-3已删除 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param DiDataSourceCvm: cvm数据源信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiDataSourceCvm: :class:`Tencentcloud::Es.v20180416.models.DiDataSourceCvm` # @param DiDataSourceTke: tke数据源信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiDataSourceTke: :class:`Tencentcloud::Es.v20180416.models.DiDataSourceTke` # @param DiDataSinkServerless: serverless目的端信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiDataSinkServerless: :class:`Tencentcloud::Es.v20180416.models.DiDataSinkServerless` # @param DiDataSourceType: 数据接入类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiDataSourceType: String attr_accessor :DiId, :CreateTime, :Status, :DiDataSourceCvm, :DiDataSourceTke, :DiDataSinkServerless, :DiDataSourceType def initialize(diid=nil, createtime=nil, status=nil, didatasourcecvm=nil, didatasourcetke=nil, didatasinkserverless=nil, didatasourcetype=nil) @DiId = diid @CreateTime = createtime @Status = status @DiDataSourceCvm = didatasourcecvm @DiDataSourceTke = didatasourcetke @DiDataSinkServerless = didatasinkserverless @DiDataSourceType = didatasourcetype end def deserialize(params) @DiId = params['DiId'] @CreateTime = params['CreateTime'] @Status = params['Status'] unless params['DiDataSourceCvm'].nil? @DiDataSourceCvm = DiDataSourceCvm.new @DiDataSourceCvm.deserialize(params['DiDataSourceCvm']) end unless params['DiDataSourceTke'].nil? @DiDataSourceTke = DiDataSourceTke.new @DiDataSourceTke.deserialize(params['DiDataSourceTke']) end unless params['DiDataSinkServerless'].nil? @DiDataSinkServerless = DiDataSinkServerless.new @DiDataSinkServerless.deserialize(params['DiDataSinkServerless']) end @DiDataSourceType = params['DiDataSourceType'] end end # 数据接入serverless目的端信息 class DiDataSinkServerless < TencentCloud::Common::AbstractModel # @param ServerlessId: serverless实例id # 注意:此字段可能返回 null,表示取不到有效值。 # @type ServerlessId: String attr_accessor :ServerlessId def initialize(serverlessid=nil) @ServerlessId = serverlessid end def deserialize(params) @ServerlessId = params['ServerlessId'] end end # 数据接入cvm数据源信息 class DiDataSourceCvm < TencentCloud::Common::AbstractModel # @param VpcId: vpc id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param LogPaths: 采集路径列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LogPaths: Array # @param CvmInstances: cvm实例信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CvmInstances: Array # @param CollectorId: 采集器id # 注意:此字段可能返回 null,表示取不到有效值。 # @type CollectorId: String attr_accessor :VpcId, :LogPaths, :CvmInstances, :CollectorId def initialize(vpcid=nil, logpaths=nil, cvminstances=nil, collectorid=nil) @VpcId = vpcid @LogPaths = logpaths @CvmInstances = cvminstances @CollectorId = collectorid end def deserialize(params) @VpcId = params['VpcId'] @LogPaths = params['LogPaths'] unless params['CvmInstances'].nil? @CvmInstances = [] params['CvmInstances'].each do |i| didatasourcecvminstance_tmp = DiDataSourceCvmInstance.new didatasourcecvminstance_tmp.deserialize(i) @CvmInstances << didatasourcecvminstance_tmp end end @CollectorId = params['CollectorId'] end end # 数据接入cvm实例信息 class DiDataSourceCvmInstance < TencentCloud::Common::AbstractModel # @param InstanceId: cvm实例id # 注意:此字段可能返回 null,表示取不到有效值。 # @type InstanceId: String # @param VpcId: vpc id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param SubnetId: 子网id # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetId: String # @param ErrMsg: 错误信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ErrMsg: String attr_accessor :InstanceId, :VpcId, :SubnetId, :ErrMsg def initialize(instanceid=nil, vpcid=nil, subnetid=nil, errmsg=nil) @InstanceId = instanceid @VpcId = vpcid @SubnetId = subnetid @ErrMsg = errmsg end def deserialize(params) @InstanceId = params['InstanceId'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @ErrMsg = params['ErrMsg'] end end # 数据接入tke数据源信息 class DiDataSourceTke < TencentCloud::Common::AbstractModel # @param VpcId: vpc id # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param TkeId: tke实例id # 注意:此字段可能返回 null,表示取不到有效值。 # @type TkeId: String # @param CollectorId: 采集器id # 注意:此字段可能返回 null,表示取不到有效值。 # @type CollectorId: String # @param CollectorName: 采集源名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CollectorName: String # @param CollectorType: 采集器类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CollectorType: String # @param CollectorVersion: 采集器版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CollectorVersion: String # @param IncludeNamespaces: tke包含的命名空间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IncludeNamespaces: Array # @param ExcludeNamespaces: tke不包含的命名空间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExcludeNamespaces: Array # @param PodLabelKeys: tke pod标签名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PodLabelKeys: Array # @param PodLabelValues: tke pod标签值 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PodLabelValues: Array # @param ContainerName: tke容器名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ContainerName: String # @param ConfigContent: tke采集器beat配置 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ConfigContent: String # @param InputType: / # 注意:此字段可能返回 null,表示取不到有效值。 # @type InputType: String # @param InputPath: TKE 日志采集路径 # 注意:此字段可能返回 null,表示取不到有效值。 # @type InputPath: String attr_accessor :VpcId, :TkeId, :CollectorId, :CollectorName, :CollectorType, :CollectorVersion, :IncludeNamespaces, :ExcludeNamespaces, :PodLabelKeys, :PodLabelValues, :ContainerName, :ConfigContent, :InputType, :InputPath def initialize(vpcid=nil, tkeid=nil, collectorid=nil, collectorname=nil, collectortype=nil, collectorversion=nil, includenamespaces=nil, excludenamespaces=nil, podlabelkeys=nil, podlabelvalues=nil, containername=nil, configcontent=nil, inputtype=nil, inputpath=nil) @VpcId = vpcid @TkeId = tkeid @CollectorId = collectorid @CollectorName = collectorname @CollectorType = collectortype @CollectorVersion = collectorversion @IncludeNamespaces = includenamespaces @ExcludeNamespaces = excludenamespaces @PodLabelKeys = podlabelkeys @PodLabelValues = podlabelvalues @ContainerName = containername @ConfigContent = configcontent @InputType = inputtype @InputPath = inputpath end def deserialize(params) @VpcId = params['VpcId'] @TkeId = params['TkeId'] @CollectorId = params['CollectorId'] @CollectorName = params['CollectorName'] @CollectorType = params['CollectorType'] @CollectorVersion = params['CollectorVersion'] @IncludeNamespaces = params['IncludeNamespaces'] @ExcludeNamespaces = params['ExcludeNamespaces'] @PodLabelKeys = params['PodLabelKeys'] @PodLabelValues = params['PodLabelValues'] @ContainerName = params['ContainerName'] @ConfigContent = params['ConfigContent'] @InputType = params['InputType'] @InputPath = params['InputPath'] end end # 数据接入cvm数据源 class DiSourceCvm < TencentCloud::Common::AbstractModel # @param VpcId: 数据源所属vpc id,创建后不允许修改 # @type VpcId: String # @param CvmIds: cvm列表 # @type CvmIds: Array # @param LogPaths: 采集路径列表,支持通配符 # @type LogPaths: Array attr_accessor :VpcId, :CvmIds, :LogPaths def initialize(vpcid=nil, cvmids=nil, logpaths=nil) @VpcId = vpcid @CvmIds = cvmids @LogPaths = logpaths end def deserialize(params) @VpcId = params['VpcId'] @CvmIds = params['CvmIds'] @LogPaths = params['LogPaths'] end end # 数据接入tke数据源 class DiSourceTke < TencentCloud::Common::AbstractModel # @param VpcId: 数据源所属vpc id,创建后不允许修改 # @type VpcId: String # @param TkeId: tke实例id,创建后不允许修改 # @type TkeId: String # @param IncludeNamespaces: tke包含的命名空间 # @type IncludeNamespaces: Array # @param ExcludeNamespaces: tke不包含的命名空间 # @type ExcludeNamespaces: Array # @param ContainerName: tke容器名称 # @type ContainerName: String # @param LogFilters: tke日志内容过滤 # @type LogFilters: String # @param ConfigContent: tke beats配置项 # @type ConfigContent: String # @param PodLabel: tke pod标签 # @type PodLabel: Array # @param InputType: / # @type InputType: String # @param InputPath: tke 日志采集路径 # @type InputPath: String attr_accessor :VpcId, :TkeId, :IncludeNamespaces, :ExcludeNamespaces, :ContainerName, :LogFilters, :ConfigContent, :PodLabel, :InputType, :InputPath def initialize(vpcid=nil, tkeid=nil, includenamespaces=nil, excludenamespaces=nil, containername=nil, logfilters=nil, configcontent=nil, podlabel=nil, inputtype=nil, inputpath=nil) @VpcId = vpcid @TkeId = tkeid @IncludeNamespaces = includenamespaces @ExcludeNamespaces = excludenamespaces @ContainerName = containername @LogFilters = logfilters @ConfigContent = configcontent @PodLabel = podlabel @InputType = inputtype @InputPath = inputpath end def deserialize(params) @VpcId = params['VpcId'] @TkeId = params['TkeId'] @IncludeNamespaces = params['IncludeNamespaces'] @ExcludeNamespaces = params['ExcludeNamespaces'] @ContainerName = params['ContainerName'] @LogFilters = params['LogFilters'] @ConfigContent = params['ConfigContent'] unless params['PodLabel'].nil? @PodLabel = [] params['PodLabel'].each do |i| disourcetkepodlabel_tmp = DiSourceTkePodLabel.new disourcetkepodlabel_tmp.deserialize(i) @PodLabel << disourcetkepodlabel_tmp end end @InputType = params['InputType'] @InputPath = params['InputPath'] end end # tke pod标签 class DiSourceTkePodLabel < TencentCloud::Common::AbstractModel # @param Key: 标签key # 注意:此字段可能返回 null,表示取不到有效值。 # @type Key: String # @param Value: 标签value # 注意:此字段可能返回 null,表示取不到有效值。 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # DiagnoseInstance请求参数结构体 class DiagnoseInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param DiagnoseJobs: 需要触发的诊断项 # @type DiagnoseJobs: Array # @param DiagnoseIndices: 需要诊断的索引,支持通配符 # @type DiagnoseIndices: String attr_accessor :InstanceId, :DiagnoseJobs, :DiagnoseIndices def initialize(instanceid=nil, diagnosejobs=nil, diagnoseindices=nil) @InstanceId = instanceid @DiagnoseJobs = diagnosejobs @DiagnoseIndices = diagnoseindices end def deserialize(params) @InstanceId = params['InstanceId'] @DiagnoseJobs = params['DiagnoseJobs'] @DiagnoseIndices = params['DiagnoseIndices'] end end # DiagnoseInstance返回参数结构体 class DiagnoseInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 智能运维支持的诊断项和元信息 class DiagnoseJobMeta < TencentCloud::Common::AbstractModel # @param JobName: 智能运维诊断项英文名 # @type JobName: String # @param JobZhName: 智能运维诊断项中文名 # @type JobZhName: String # @param JobDescription: 智能运维诊断项描述 # @type JobDescription: String attr_accessor :JobName, :JobZhName, :JobDescription def initialize(jobname=nil, jobzhname=nil, jobdescription=nil) @JobName = jobname @JobZhName = jobzhname @JobDescription = jobdescription end def deserialize(params) @JobName = params['JobName'] @JobZhName = params['JobZhName'] @JobDescription = params['JobDescription'] end end # 智能运维诊断项结果 class DiagnoseJobResult < TencentCloud::Common::AbstractModel # @param JobName: 诊断项名 # @type JobName: String # @param Status: 诊断项状态:-2失败,-1待重试,0运行中,1成功 # @type Status: Integer # @param Score: 诊断项得分 # @type Score: Integer # @param Summary: 诊断摘要 # @type Summary: String # @param Advise: 诊断建议 # @type Advise: String # @param Detail: 诊断详情 # @type Detail: String # @param MetricDetails: 诊断指标详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MetricDetails: Array # @param LogDetails: 诊断日志详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LogDetails: Array # @param SettingDetails: 诊断配置详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SettingDetails: Array attr_accessor :JobName, :Status, :Score, :Summary, :Advise, :Detail, :MetricDetails, :LogDetails, :SettingDetails def initialize(jobname=nil, status=nil, score=nil, summary=nil, advise=nil, detail=nil, metricdetails=nil, logdetails=nil, settingdetails=nil) @JobName = jobname @Status = status @Score = score @Summary = summary @Advise = advise @Detail = detail @MetricDetails = metricdetails @LogDetails = logdetails @SettingDetails = settingdetails end def deserialize(params) @JobName = params['JobName'] @Status = params['Status'] @Score = params['Score'] @Summary = params['Summary'] @Advise = params['Advise'] @Detail = params['Detail'] unless params['MetricDetails'].nil? @MetricDetails = [] params['MetricDetails'].each do |i| metricdetail_tmp = MetricDetail.new metricdetail_tmp.deserialize(i) @MetricDetails << metricdetail_tmp end end unless params['LogDetails'].nil? @LogDetails = [] params['LogDetails'].each do |i| logdetail_tmp = LogDetail.new logdetail_tmp.deserialize(i) @LogDetails << logdetail_tmp end end unless params['SettingDetails'].nil? @SettingDetails = [] params['SettingDetails'].each do |i| settingdetail_tmp = SettingDetail.new settingdetail_tmp.deserialize(i) @SettingDetails << settingdetail_tmp end end end end # 智能运维诊断结果 class DiagnoseResult < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param RequestId: 诊断报告ID # @type RequestId: String # @param CreateTime: 诊断触发时间 # @type CreateTime: String # @param Completed: 诊断是否完成 # @type Completed: Boolean # @param Score: 诊断总得分 # @type Score: Integer # @param JobType: 诊断类型,2 定时诊断,3 客户手动触发诊断 # @type JobType: Integer # @param JobParam: 诊断参数,如诊断时间,诊断索引等 # @type JobParam: :class:`Tencentcloud::Es.v20180416.models.JobParam` # @param JobResults: 诊断项结果列表 # @type JobResults: Array attr_accessor :InstanceId, :RequestId, :CreateTime, :Completed, :Score, :JobType, :JobParam, :JobResults def initialize(instanceid=nil, requestid=nil, createtime=nil, completed=nil, score=nil, jobtype=nil, jobparam=nil, jobresults=nil) @InstanceId = instanceid @RequestId = requestid @CreateTime = createtime @Completed = completed @Score = score @JobType = jobtype @JobParam = jobparam @JobResults = jobresults end def deserialize(params) @InstanceId = params['InstanceId'] @RequestId = params['RequestId'] @CreateTime = params['CreateTime'] @Completed = params['Completed'] @Score = params['Score'] @JobType = params['JobType'] unless params['JobParam'].nil? @JobParam = JobParam.new @JobParam.deserialize(params['JobParam']) end unless params['JobResults'].nil? @JobResults = [] params['JobResults'].each do |i| diagnosejobresult_tmp = DiagnoseJobResult.new diagnosejobresult_tmp.deserialize(i) @JobResults << diagnosejobresult_tmp end end end end # ik插件词典信息 class DictInfo < TencentCloud::Common::AbstractModel # @param Key: 词典键值 # @type Key: String # @param Name: 词典名称 # @type Name: String # @param Size: 词典大小,单位B # @type Size: Integer attr_accessor :Key, :Name, :Size def initialize(key=nil, name=nil, size=nil) @Key = key @Name = name @Size = size end def deserialize(params) @Key = params['Key'] @Name = params['Name'] @Size = params['Size'] end end # 智能运维指标维度 class Dimension < TencentCloud::Common::AbstractModel # @param Key: 智能运维指标维度Key # @type Key: String # @param Value: 智能运维指标维度值 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # 置放群组异步任务维护的时间段 class EnableScheduleOperationDuration < TencentCloud::Common::AbstractModel # @param Periods: 支持开启异步任务的日期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Periods: Array # @param TimeStart: 支持开启异步的开始时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TimeStart: String # @param TimeEnd: 支持开启异步的结束时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TimeEnd: String # @param TimeZone: 支持开启异步的时区 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TimeZone: String attr_accessor :Periods, :TimeStart, :TimeEnd, :TimeZone def initialize(periods=nil, timestart=nil, timeend=nil, timezone=nil) @Periods = periods @TimeStart = timestart @TimeEnd = timeend @TimeZone = timezone end def deserialize(params) @Periods = params['Periods'] @TimeStart = params['TimeStart'] @TimeEnd = params['TimeEnd'] @TimeZone = params['TimeZone'] end end # ES集群配置项 class EsAcl < TencentCloud::Common::AbstractModel # @param BlackIpList: kibana访问黑名单 # @type BlackIpList: Array # @param WhiteIpList: kibana访问白名单 # @type WhiteIpList: Array attr_accessor :BlackIpList, :WhiteIpList def initialize(blackiplist=nil, whiteiplist=nil) @BlackIpList = blackiplist @WhiteIpList = whiteiplist end def deserialize(params) @BlackIpList = params['BlackIpList'] @WhiteIpList = params['WhiteIpList'] end end # 配置组信息 class EsConfigSetInfo < TencentCloud::Common::AbstractModel # @param Type: 配置组类型,如ldap,ad等 # @type Type: String # @param EsConfig: "{\"order\":0,\"url\":\"ldap://10.0.1.72:389\",\"bind_dn\":\"cn=admin,dc=tencent,dc=com\",\"user_search.base_dn\":\"dc=tencent,dc=com\",\"user_search.filter\":\"(cn={0})\",\"group_search.base_dn\":\"dc=tencent,dc=com\"}" # @type EsConfig: String attr_accessor :Type, :EsConfig def initialize(type=nil, esconfig=nil) @Type = type @EsConfig = esconfig end def deserialize(params) @Type = params['Type'] @EsConfig = params['EsConfig'] end end # ES 词库信息 class EsDictionaryInfo < TencentCloud::Common::AbstractModel # @param MainDict: 启用词词典列表 # @type MainDict: Array # @param Stopwords: 停用词词典列表 # @type Stopwords: Array # @param QQDict: QQ分词词典列表 # @type QQDict: Array # @param Synonym: 同义词词典列表 # @type Synonym: Array # @param UpdateType: 更新词典类型 # @type UpdateType: String attr_accessor :MainDict, :Stopwords, :QQDict, :Synonym, :UpdateType def initialize(maindict=nil, stopwords=nil, qqdict=nil, synonym=nil, updatetype=nil) @MainDict = maindict @Stopwords = stopwords @QQDict = qqdict @Synonym = synonym @UpdateType = updatetype end def deserialize(params) unless params['MainDict'].nil? @MainDict = [] params['MainDict'].each do |i| dictinfo_tmp = DictInfo.new dictinfo_tmp.deserialize(i) @MainDict << dictinfo_tmp end end unless params['Stopwords'].nil? @Stopwords = [] params['Stopwords'].each do |i| dictinfo_tmp = DictInfo.new dictinfo_tmp.deserialize(i) @Stopwords << dictinfo_tmp end end unless params['QQDict'].nil? @QQDict = [] params['QQDict'].each do |i| dictinfo_tmp = DictInfo.new dictinfo_tmp.deserialize(i) @QQDict << dictinfo_tmp end end unless params['Synonym'].nil? @Synonym = [] params['Synonym'].each do |i| dictinfo_tmp = DictInfo.new dictinfo_tmp.deserialize(i) @Synonym << dictinfo_tmp end end @UpdateType = params['UpdateType'] end end # ES公网访问控制信息 class EsPublicAcl < TencentCloud::Common::AbstractModel # @param BlackIpList: 访问黑名单 # @type BlackIpList: Array # @param WhiteIpList: 访问白名单 # @type WhiteIpList: Array attr_accessor :BlackIpList, :WhiteIpList def initialize(blackiplist=nil, whiteiplist=nil) @BlackIpList = blackiplist @WhiteIpList = whiteiplist end def deserialize(params) @BlackIpList = params['BlackIpList'] @WhiteIpList = params['WhiteIpList'] end end # 索引备份失败的数据结构 class Failures < TencentCloud::Common::AbstractModel # @param Index: 备份失败的索引名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Index: String # @param ShardId: 快照失败的分片号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ShardId: Integer # @param Reason: 快照失败的原因 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Reason: String # @param Status: 快照失败的状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: String attr_accessor :Index, :ShardId, :Reason, :Status def initialize(index=nil, shardid=nil, reason=nil, status=nil) @Index = index @ShardId = shardid @Reason = reason @Status = status end def deserialize(params) @Index = params['Index'] @ShardId = params['ShardId'] @Reason = params['Reason'] @Status = params['Status'] end end # GetDiagnoseSettings请求参数结构体 class GetDiagnoseSettingsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # GetDiagnoseSettings返回参数结构体 class GetDiagnoseSettingsResponse < TencentCloud::Common::AbstractModel # @param DiagnoseJobMetas: 智能运维诊断项和元信息 # @type DiagnoseJobMetas: Array # @param Status: 0:开启智能运维;-1:关闭智能运维 # @type Status: Integer # @param CronTime: 智能运维每天定时巡检时间 # @type CronTime: String # @param Count: 智能运维当天已手动触发诊断次数 # @type Count: Integer # @param MaxCount: 智能运维每天最大可手动触发次数 # @type MaxCount: Integer # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DiagnoseJobMetas, :Status, :CronTime, :Count, :MaxCount, :RequestId def initialize(diagnosejobmetas=nil, status=nil, crontime=nil, count=nil, maxcount=nil, requestid=nil) @DiagnoseJobMetas = diagnosejobmetas @Status = status @CronTime = crontime @Count = count @MaxCount = maxcount @RequestId = requestid end def deserialize(params) unless params['DiagnoseJobMetas'].nil? @DiagnoseJobMetas = [] params['DiagnoseJobMetas'].each do |i| diagnosejobmeta_tmp = DiagnoseJobMeta.new diagnosejobmeta_tmp.deserialize(i) @DiagnoseJobMetas << diagnosejobmeta_tmp end end @Status = params['Status'] @CronTime = params['CronTime'] @Count = params['Count'] @MaxCount = params['MaxCount'] @RequestId = params['RequestId'] end end # GetRequestTargetNodeTypes请求参数结构体 class GetRequestTargetNodeTypesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # GetRequestTargetNodeTypes返回参数结构体 class GetRequestTargetNodeTypesResponse < TencentCloud::Common::AbstractModel # @param TargetNodeTypes: 接收请求的目标节点类型列表 # @type TargetNodeTypes: Array # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :TargetNodeTypes, :RequestId def initialize(targetnodetypes=nil, requestid=nil) @TargetNodeTypes = targetnodetypes @RequestId = requestid end def deserialize(params) @TargetNodeTypes = params['TargetNodeTypes'] @RequestId = params['RequestId'] end end # 索引元数据字段 class IndexMetaField < TencentCloud::Common::AbstractModel # @param IndexType: 索引类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexType: String # @param IndexName: 索引名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexName: String # @param IndexMetaJson: 索引元数据JSON # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexMetaJson: String # @param IndexStatus: 索引状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexStatus: String # @param IndexStorage: 索引存储大小,单位Byte # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexStorage: Integer # @param IndexCreateTime: 索引创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexCreateTime: String # @param BackingIndices: 后备索引 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BackingIndices: Array # @param ClusterId: 索引所属集群ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterId: String # @param ClusterName: 索引所属集群名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterName: String # @param ClusterVersion: 索引所属集群版本 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterVersion: String # @param IndexPolicyField: 索引生命周期字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexPolicyField: :class:`Tencentcloud::Es.v20180416.models.IndexPolicyField` # @param IndexOptionsField: 索引自治字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexOptionsField: :class:`Tencentcloud::Es.v20180416.models.IndexOptionsField` # @param IndexSettingsField: 索引配置字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexSettingsField: :class:`Tencentcloud::Es.v20180416.models.IndexSettingsField` # @param AppId: 索引所属集群APP ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type AppId: Integer # @param IndexDocs: 索引文档数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexDocs: Integer attr_accessor :IndexType, :IndexName, :IndexMetaJson, :IndexStatus, :IndexStorage, :IndexCreateTime, :BackingIndices, :ClusterId, :ClusterName, :ClusterVersion, :IndexPolicyField, :IndexOptionsField, :IndexSettingsField, :AppId, :IndexDocs def initialize(indextype=nil, indexname=nil, indexmetajson=nil, indexstatus=nil, indexstorage=nil, indexcreatetime=nil, backingindices=nil, clusterid=nil, clustername=nil, clusterversion=nil, indexpolicyfield=nil, indexoptionsfield=nil, indexsettingsfield=nil, appid=nil, indexdocs=nil) @IndexType = indextype @IndexName = indexname @IndexMetaJson = indexmetajson @IndexStatus = indexstatus @IndexStorage = indexstorage @IndexCreateTime = indexcreatetime @BackingIndices = backingindices @ClusterId = clusterid @ClusterName = clustername @ClusterVersion = clusterversion @IndexPolicyField = indexpolicyfield @IndexOptionsField = indexoptionsfield @IndexSettingsField = indexsettingsfield @AppId = appid @IndexDocs = indexdocs end def deserialize(params) @IndexType = params['IndexType'] @IndexName = params['IndexName'] @IndexMetaJson = params['IndexMetaJson'] @IndexStatus = params['IndexStatus'] @IndexStorage = params['IndexStorage'] @IndexCreateTime = params['IndexCreateTime'] unless params['BackingIndices'].nil? @BackingIndices = [] params['BackingIndices'].each do |i| backingindexmetafield_tmp = BackingIndexMetaField.new backingindexmetafield_tmp.deserialize(i) @BackingIndices << backingindexmetafield_tmp end end @ClusterId = params['ClusterId'] @ClusterName = params['ClusterName'] @ClusterVersion = params['ClusterVersion'] unless params['IndexPolicyField'].nil? @IndexPolicyField = IndexPolicyField.new @IndexPolicyField.deserialize(params['IndexPolicyField']) end unless params['IndexOptionsField'].nil? @IndexOptionsField = IndexOptionsField.new @IndexOptionsField.deserialize(params['IndexOptionsField']) end unless params['IndexSettingsField'].nil? @IndexSettingsField = IndexSettingsField.new @IndexSettingsField.deserialize(params['IndexSettingsField']) end @AppId = params['AppId'] @IndexDocs = params['IndexDocs'] end end # 索引自治字段 class IndexOptionsField < TencentCloud::Common::AbstractModel # @param ExpireMaxAge: 过期时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExpireMaxAge: String # @param ExpireMaxSize: 过期大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExpireMaxSize: String # @param RolloverMaxAge: 滚动周期 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RolloverMaxAge: String # @param RolloverDynamic: 是否开启动态滚动 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RolloverDynamic: String # @param ShardNumDynamic: 是否开启动态分片 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ShardNumDynamic: String # @param TimestampField: 时间分区字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TimestampField: String # @param WriteMode: 写入模式 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WriteMode: String attr_accessor :ExpireMaxAge, :ExpireMaxSize, :RolloverMaxAge, :RolloverDynamic, :ShardNumDynamic, :TimestampField, :WriteMode def initialize(expiremaxage=nil, expiremaxsize=nil, rollovermaxage=nil, rolloverdynamic=nil, shardnumdynamic=nil, timestampfield=nil, writemode=nil) @ExpireMaxAge = expiremaxage @ExpireMaxSize = expiremaxsize @RolloverMaxAge = rollovermaxage @RolloverDynamic = rolloverdynamic @ShardNumDynamic = shardnumdynamic @TimestampField = timestampfield @WriteMode = writemode end def deserialize(params) @ExpireMaxAge = params['ExpireMaxAge'] @ExpireMaxSize = params['ExpireMaxSize'] @RolloverMaxAge = params['RolloverMaxAge'] @RolloverDynamic = params['RolloverDynamic'] @ShardNumDynamic = params['ShardNumDynamic'] @TimestampField = params['TimestampField'] @WriteMode = params['WriteMode'] end end # 索引生命周期字段 class IndexPolicyField < TencentCloud::Common::AbstractModel # @param WarmEnable: 是否开启warm阶段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmEnable: String # @param WarmMinAge: warm阶段转入时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmMinAge: String # @param ColdEnable: 是否开启cold阶段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdEnable: String # @param ColdMinAge: cold阶段转入时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdMinAge: String # @param FrozenEnable: 是否开启frozen阶段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenEnable: String # @param FrozenMinAge: frozen阶段转入时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenMinAge: String # @param ColdAction: / # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdAction: String attr_accessor :WarmEnable, :WarmMinAge, :ColdEnable, :ColdMinAge, :FrozenEnable, :FrozenMinAge, :ColdAction def initialize(warmenable=nil, warmminage=nil, coldenable=nil, coldminage=nil, frozenenable=nil, frozenminage=nil, coldaction=nil) @WarmEnable = warmenable @WarmMinAge = warmminage @ColdEnable = coldenable @ColdMinAge = coldminage @FrozenEnable = frozenenable @FrozenMinAge = frozenminage @ColdAction = coldaction end def deserialize(params) @WarmEnable = params['WarmEnable'] @WarmMinAge = params['WarmMinAge'] @ColdEnable = params['ColdEnable'] @ColdMinAge = params['ColdMinAge'] @FrozenEnable = params['FrozenEnable'] @FrozenMinAge = params['FrozenMinAge'] @ColdAction = params['ColdAction'] end end # 索引配置字段 class IndexSettingsField < TencentCloud::Common::AbstractModel # @param NumberOfShards: 索引主分片数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NumberOfShards: String # @param NumberOfReplicas: 索引副本分片数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NumberOfReplicas: String # @param RefreshInterval: 索引刷新频率 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RefreshInterval: String attr_accessor :NumberOfShards, :NumberOfReplicas, :RefreshInterval def initialize(numberofshards=nil, numberofreplicas=nil, refreshinterval=nil) @NumberOfShards = numberofshards @NumberOfReplicas = numberofreplicas @RefreshInterval = refreshinterval end def deserialize(params) @NumberOfShards = params['NumberOfShards'] @NumberOfReplicas = params['NumberOfReplicas'] @RefreshInterval = params['RefreshInterval'] end end # InquirePriceRenewInstance请求参数结构体 class InquirePriceRenewInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例Id # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # InquirePriceRenewInstance返回参数结构体 class InquirePriceRenewInstanceResponse < TencentCloud::Common::AbstractModel # @param OriginalPrice: 刊例价,即集群原始价格 # @type OriginalPrice: Float # @param DiscountPrice: 折后价 # @type DiscountPrice: Float # @param Discount: 折扣,如65折 # @type Discount: Float # @param Currency: 货币,如CNY代表人民币 # @type Currency: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :OriginalPrice, :DiscountPrice, :Discount, :Currency, :RequestId def initialize(originalprice=nil, discountprice=nil, discount=nil, currency=nil, requestid=nil) @OriginalPrice = originalprice @DiscountPrice = discountprice @Discount = discount @Currency = currency @RequestId = requestid end def deserialize(params) @OriginalPrice = params['OriginalPrice'] @DiscountPrice = params['DiscountPrice'] @Discount = params['Discount'] @Currency = params['Currency'] @RequestId = params['RequestId'] end end # InstallInstanceModel请求参数结构体 class InstallInstanceModelRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param UsrCosModelUrlList: 客户上传到cos的模型地址,单次请求限制一个。cos文件为压缩文件,格式包括:zip、tgz和tar.gz # @type UsrCosModelUrlList: Array attr_accessor :InstanceId, :UsrCosModelUrlList def initialize(instanceid=nil, usrcosmodelurllist=nil) @InstanceId = instanceid @UsrCosModelUrlList = usrcosmodelurllist end def deserialize(params) @InstanceId = params['InstanceId'] @UsrCosModelUrlList = params['UsrCosModelUrlList'] end end # InstallInstanceModel返回参数结构体 class InstallInstanceModelResponse < TencentCloud::Common::AbstractModel # @param FlowId: 发起异步流程的flowId # @type FlowId: String # @param ErrMsg: 调用接口的错误信息 # @type ErrMsg: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :FlowId, :ErrMsg, :RequestId def initialize(flowid=nil, errmsg=nil, requestid=nil) @FlowId = flowid @ErrMsg = errmsg @RequestId = requestid end def deserialize(params) @FlowId = params['FlowId'] @ErrMsg = params['ErrMsg'] @RequestId = params['RequestId'] end end # 实例详细信息 class InstanceInfo < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param InstanceName: 实例名称 # @type InstanceName: String # @param Region: 地域 # @type Region: String # @param Zone: 可用区 # @type Zone: String # @param AppId: 用户ID # @type AppId: Integer # @param Uin: 用户UIN # @type Uin: String # @param VpcUid: 实例所属VPC的UID # @type VpcUid: String # @param SubnetUid: 实例所属子网的UID # @type SubnetUid: String # @param Status: 实例状态,0:处理中,1:正常,-1:停止,-2:销毁中,-3:已销毁, -4:隔离中,2:创建集群时初始化中 # @type Status: Integer # @param RenewFlag: 自动续费标识。取值范围: # RENEW_FLAG_AUTO:自动续费 # RENEW_FLAG_MANUAL:不自动续费 # 默认取值: # RENEW_FLAG_DEFAULT:不自动续费 # 若该参数指定为 RENEW_FLAG_AUTO,在账户余额充足的情况下,实例到期后将按月自动续费。 # @type RenewFlag: String # @param ChargeType: 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。 # @type ChargeType: String # @param ChargePeriod: 包年包月购买时长,单位:月 # @type ChargePeriod: Integer # @param NodeType: 节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param NodeNum: 节点个数 # @type NodeNum: Integer # @param CpuNum: 节点CPU核数 # @type CpuNum: Integer # @param MemSize: 节点内存大小,单位GB # @type MemSize: Integer # @param DiskType: 节点磁盘类型 # @type DiskType: String # @param DiskSize: 节点磁盘大小,单位GB # @type DiskSize: Integer # @param EsDomain: ES域名 # @type EsDomain: String # @param EsVip: ES VIP # @type EsVip: String # @param EsPort: ES端口 # @type EsPort: Integer # @param KibanaUrl: Kibana访问url # @type KibanaUrl: String # @param EsVersion: ES版本号 # @type EsVersion: String # @param EsConfig: ES配置项 # @type EsConfig: String # @param EsAcl: Kibana访问控制配置 # @type EsAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl` # @param CreateTime: 实例创建时间 # @type CreateTime: String # @param UpdateTime: 实例最后修改操作时间 # @type UpdateTime: String # @param Deadline: 实例到期时间 # @type Deadline: String # @param InstanceType: 实例类型(实例类型标识,当前只有1,2两种) # @type InstanceType: Integer # @param IkConfig: Ik分词器配置 # @type IkConfig: :class:`Tencentcloud::Es.v20180416.models.EsDictionaryInfo` # @param MasterNodeInfo: 专用主节点配置 # @type MasterNodeInfo: :class:`Tencentcloud::Es.v20180416.models.MasterNodeInfo` # @param CosBackup: cos自动备份配置 # @type CosBackup: :class:`Tencentcloud::Es.v20180416.models.CosBackup` # @param AllowCosBackup: 是否允许cos自动备份 # @type AllowCosBackup: Boolean # @param TagList: 实例拥有的标签列表 # @type TagList: Array # @param LicenseType: License类型
  • oss:开源版
  • basic:基础版
  • platinum:白金版
  • 默认值platinum # @type LicenseType: String # @param EnableHotWarmMode: 是否为冷热集群
  • true: 冷热集群
  • false: 非冷热集群
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnableHotWarmMode: Boolean # @param WarmNodeType: 温节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmNodeType: String # @param WarmNodeNum: 温节点个数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmNodeNum: Integer # @param WarmCpuNum: 温节点CPU核数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmCpuNum: Integer # @param WarmMemSize: 温节点内存内存大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmMemSize: Integer # @param WarmDiskType: 温节点磁盘类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmDiskType: String # @param WarmDiskSize: 温节点磁盘大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type WarmDiskSize: Integer # @param NodeInfoList: 集群节点信息列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NodeInfoList: Array # @param EsPublicUrl: Es公网地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EsPublicUrl: String # @param MultiZoneInfo: 多可用区网络信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MultiZoneInfo: Array # @param DeployMode: 部署模式
  • 0:单可用区
  • 1:多可用区,北京、上海、上海金融、广州、南京、香港、新加坡、法兰克福(白名单控制)
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type DeployMode: Integer # @param PublicAccess: ES公网访问状态
  • OPEN:开启
  • CLOSE:关闭
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type PublicAccess: String # @param EsPublicAcl: ES公网访问控制配置 # @type EsPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl` # @param KibanaPrivateUrl: Kibana内网地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPrivateUrl: String # @param KibanaPublicAccess: Kibana公网访问状态
  • OPEN:开启
  • CLOSE:关闭
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPublicAccess: String # @param KibanaPrivateAccess: Kibana内网访问状态
  • OPEN:开启
  • CLOSE:关闭
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPrivateAccess: String # @param SecurityType: 6.8(及以上版本)基础版是否开启xpack security认证
  • 1:不开启
  • 2:开启
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type SecurityType: Integer # @param SceneType: 场景化模板类型:0、不开启;1、通用场景;2、日志场景;3、搜索场景 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SceneType: Integer # @param KibanaConfig: Kibana配置项 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaConfig: String # @param KibanaNodeInfo: Kibana节点信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaNodeInfo: :class:`Tencentcloud::Es.v20180416.models.KibanaNodeInfo` # @param WebNodeTypeInfo: 可视化节点配置 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WebNodeTypeInfo: :class:`Tencentcloud::Es.v20180416.models.WebNodeTypeInfo` # @param Jdk: JDK类型,oracle或kona # 注意:此字段可能返回 null,表示取不到有效值。 # @type Jdk: String # @param Protocol: 集群网络通讯协议 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Protocol: String # @param SecurityGroups: 安全组id # 注意:此字段可能返回 null,表示取不到有效值。 # @type SecurityGroups: Array # @param ColdNodeType: 冷节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdNodeType: String # @param ColdNodeNum: 冷节点个数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdNodeNum: Integer # @param ColdCpuNum: 冷节点CPU核数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdCpuNum: Integer # @param ColdMemSize: 冷节点内存大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdMemSize: Integer # @param ColdDiskType: 冷节点磁盘类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdDiskType: String # @param ColdDiskSize: 冷节点磁盘大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type ColdDiskSize: Integer # @param FrozenNodeType: 冻节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenNodeType: String # @param FrozenNodeNum: 冻节点个数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenNodeNum: Integer # @param FrozenCpuNum: 冻节点CPU核数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenCpuNum: Integer # @param FrozenMemSize: 冻节点内存大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenMemSize: Integer # @param FrozenDiskType: 冻节点磁盘类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenDiskType: String # @param FrozenDiskSize: 冻节点磁盘大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type FrozenDiskSize: Integer # @param HealthStatus: 集群健康状态 -1 未知;0 Green; 1 Yellow; 2 Red # 注意:此字段可能返回 null,表示取不到有效值。 # @type HealthStatus: Integer # @param EsPrivateUrl: https集群内网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type EsPrivateUrl: String # @param EsPrivateDomain: https集群内网域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EsPrivateDomain: String # @param EsConfigSets: 集群的配置组信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EsConfigSets: Array # @param OperationDuration: 集群可维护时间段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration` # @param OptionalWebServiceInfos: web节点列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OptionalWebServiceInfos: Array # @param AutoIndexEnabled: 自治索引开关 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AutoIndexEnabled: Boolean # @param EnableHybridStorage: 是否支持存储计算分离 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnableHybridStorage: Boolean # @param ProcessPercent: 流程进度 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProcessPercent: Float # @param KibanaAlteringPublicAccess: Kibana的alerting外网告警策略
  • OPEN:开启
  • CLOSE:关闭
  • # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaAlteringPublicAccess: String # @param HasKernelUpgrade: 本月是否有内核可以更新:false-无,true-有 # 注意:此字段可能返回 null,表示取不到有效值。 # @type HasKernelUpgrade: Boolean # @param CdcId: cdcId,使用cdc子网时传递 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CdcId: String # @param KibanaPrivateVip: kibana内网vip # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPrivateVip: String # @param CustomKibanaPrivateUrl: 自定义kibana内网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomKibanaPrivateUrl: String # @param OutboundPublicAcls: 节点出站访问详细信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OutboundPublicAcls: Array # @param NetConnectScheme: 网络连接方案 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NetConnectScheme: String # @param DisasterRecoverGroupAffinity: 置放群组相关参数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DisasterRecoverGroupAffinity: Integer # @param SubProductCode: 子产品ID枚举值: 开源版:"sp_es_io2", 基础版:"sp_es_basic",白金版:"sp_es_platinum",企业版:"sp_es_enterprise",CDC白金版:"sp_es_cdc_platinum",日志增强版:"sp_es_enlogging",tsearch:"sp_tsearch_io2",logstash:"sp_es_logstash" ,可以为空,为空的时候后台取LicenseType映射该字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubProductCode: String # @param CosBucketStorageSize: 存算分离cos用量,单位M # 注意:此字段可能返回 null,表示取不到有效值。 # @type CosBucketStorageSize: Integer # @param ReadWriteMode: 读写分离模式:0-不开启,1-本地读写分离,2-远端读写分离 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ReadWriteMode: Integer attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :RenewFlag, :ChargeType, :ChargePeriod, :NodeType, :NodeNum, :CpuNum, :MemSize, :DiskType, :DiskSize, :EsDomain, :EsVip, :EsPort, :KibanaUrl, :EsVersion, :EsConfig, :EsAcl, :CreateTime, :UpdateTime, :Deadline, :InstanceType, :IkConfig, :MasterNodeInfo, :CosBackup, :AllowCosBackup, :TagList, :LicenseType, :EnableHotWarmMode, :WarmNodeType, :WarmNodeNum, :WarmCpuNum, :WarmMemSize, :WarmDiskType, :WarmDiskSize, :NodeInfoList, :EsPublicUrl, :MultiZoneInfo, :DeployMode, :PublicAccess, :EsPublicAcl, :KibanaPrivateUrl, :KibanaPublicAccess, :KibanaPrivateAccess, :SecurityType, :SceneType, :KibanaConfig, :KibanaNodeInfo, :WebNodeTypeInfo, :Jdk, :Protocol, :SecurityGroups, :ColdNodeType, :ColdNodeNum, :ColdCpuNum, :ColdMemSize, :ColdDiskType, :ColdDiskSize, :FrozenNodeType, :FrozenNodeNum, :FrozenCpuNum, :FrozenMemSize, :FrozenDiskType, :FrozenDiskSize, :HealthStatus, :EsPrivateUrl, :EsPrivateDomain, :EsConfigSets, :OperationDuration, :OptionalWebServiceInfos, :AutoIndexEnabled, :EnableHybridStorage, :ProcessPercent, :KibanaAlteringPublicAccess, :HasKernelUpgrade, :CdcId, :KibanaPrivateVip, :CustomKibanaPrivateUrl, :OutboundPublicAcls, :NetConnectScheme, :DisasterRecoverGroupAffinity, :SubProductCode, :CosBucketStorageSize, :ReadWriteMode def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, renewflag=nil, chargetype=nil, chargeperiod=nil, nodetype=nil, nodenum=nil, cpunum=nil, memsize=nil, disktype=nil, disksize=nil, esdomain=nil, esvip=nil, esport=nil, kibanaurl=nil, esversion=nil, esconfig=nil, esacl=nil, createtime=nil, updatetime=nil, deadline=nil, instancetype=nil, ikconfig=nil, masternodeinfo=nil, cosbackup=nil, allowcosbackup=nil, taglist=nil, licensetype=nil, enablehotwarmmode=nil, warmnodetype=nil, warmnodenum=nil, warmcpunum=nil, warmmemsize=nil, warmdisktype=nil, warmdisksize=nil, nodeinfolist=nil, espublicurl=nil, multizoneinfo=nil, deploymode=nil, publicaccess=nil, espublicacl=nil, kibanaprivateurl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, securitytype=nil, scenetype=nil, kibanaconfig=nil, kibananodeinfo=nil, webnodetypeinfo=nil, jdk=nil, protocol=nil, securitygroups=nil, coldnodetype=nil, coldnodenum=nil, coldcpunum=nil, coldmemsize=nil, colddisktype=nil, colddisksize=nil, frozennodetype=nil, frozennodenum=nil, frozencpunum=nil, frozenmemsize=nil, frozendisktype=nil, frozendisksize=nil, healthstatus=nil, esprivateurl=nil, esprivatedomain=nil, esconfigsets=nil, operationduration=nil, optionalwebserviceinfos=nil, autoindexenabled=nil, enablehybridstorage=nil, processpercent=nil, kibanaalteringpublicaccess=nil, haskernelupgrade=nil, cdcid=nil, kibanaprivatevip=nil, customkibanaprivateurl=nil, outboundpublicacls=nil, netconnectscheme=nil, disasterrecovergroupaffinity=nil, subproductcode=nil, cosbucketstoragesize=nil, readwritemode=nil) @InstanceId = instanceid @InstanceName = instancename @Region = region @Zone = zone @AppId = appid @Uin = uin @VpcUid = vpcuid @SubnetUid = subnetuid @Status = status @RenewFlag = renewflag @ChargeType = chargetype @ChargePeriod = chargeperiod @NodeType = nodetype @NodeNum = nodenum @CpuNum = cpunum @MemSize = memsize @DiskType = disktype @DiskSize = disksize @EsDomain = esdomain @EsVip = esvip @EsPort = esport @KibanaUrl = kibanaurl @EsVersion = esversion @EsConfig = esconfig @EsAcl = esacl @CreateTime = createtime @UpdateTime = updatetime @Deadline = deadline @InstanceType = instancetype @IkConfig = ikconfig @MasterNodeInfo = masternodeinfo @CosBackup = cosbackup @AllowCosBackup = allowcosbackup @TagList = taglist @LicenseType = licensetype @EnableHotWarmMode = enablehotwarmmode @WarmNodeType = warmnodetype @WarmNodeNum = warmnodenum @WarmCpuNum = warmcpunum @WarmMemSize = warmmemsize @WarmDiskType = warmdisktype @WarmDiskSize = warmdisksize @NodeInfoList = nodeinfolist @EsPublicUrl = espublicurl @MultiZoneInfo = multizoneinfo @DeployMode = deploymode @PublicAccess = publicaccess @EsPublicAcl = espublicacl @KibanaPrivateUrl = kibanaprivateurl @KibanaPublicAccess = kibanapublicaccess @KibanaPrivateAccess = kibanaprivateaccess @SecurityType = securitytype @SceneType = scenetype @KibanaConfig = kibanaconfig @KibanaNodeInfo = kibananodeinfo @WebNodeTypeInfo = webnodetypeinfo @Jdk = jdk @Protocol = protocol @SecurityGroups = securitygroups @ColdNodeType = coldnodetype @ColdNodeNum = coldnodenum @ColdCpuNum = coldcpunum @ColdMemSize = coldmemsize @ColdDiskType = colddisktype @ColdDiskSize = colddisksize @FrozenNodeType = frozennodetype @FrozenNodeNum = frozennodenum @FrozenCpuNum = frozencpunum @FrozenMemSize = frozenmemsize @FrozenDiskType = frozendisktype @FrozenDiskSize = frozendisksize @HealthStatus = healthstatus @EsPrivateUrl = esprivateurl @EsPrivateDomain = esprivatedomain @EsConfigSets = esconfigsets @OperationDuration = operationduration @OptionalWebServiceInfos = optionalwebserviceinfos @AutoIndexEnabled = autoindexenabled @EnableHybridStorage = enablehybridstorage @ProcessPercent = processpercent @KibanaAlteringPublicAccess = kibanaalteringpublicaccess @HasKernelUpgrade = haskernelupgrade @CdcId = cdcid @KibanaPrivateVip = kibanaprivatevip @CustomKibanaPrivateUrl = customkibanaprivateurl @OutboundPublicAcls = outboundpublicacls @NetConnectScheme = netconnectscheme @DisasterRecoverGroupAffinity = disasterrecovergroupaffinity @SubProductCode = subproductcode @CosBucketStorageSize = cosbucketstoragesize @ReadWriteMode = readwritemode end def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @Region = params['Region'] @Zone = params['Zone'] @AppId = params['AppId'] @Uin = params['Uin'] @VpcUid = params['VpcUid'] @SubnetUid = params['SubnetUid'] @Status = params['Status'] @RenewFlag = params['RenewFlag'] @ChargeType = params['ChargeType'] @ChargePeriod = params['ChargePeriod'] @NodeType = params['NodeType'] @NodeNum = params['NodeNum'] @CpuNum = params['CpuNum'] @MemSize = params['MemSize'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @EsDomain = params['EsDomain'] @EsVip = params['EsVip'] @EsPort = params['EsPort'] @KibanaUrl = params['KibanaUrl'] @EsVersion = params['EsVersion'] @EsConfig = params['EsConfig'] unless params['EsAcl'].nil? @EsAcl = EsAcl.new @EsAcl.deserialize(params['EsAcl']) end @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Deadline = params['Deadline'] @InstanceType = params['InstanceType'] unless params['IkConfig'].nil? @IkConfig = EsDictionaryInfo.new @IkConfig.deserialize(params['IkConfig']) end unless params['MasterNodeInfo'].nil? @MasterNodeInfo = MasterNodeInfo.new @MasterNodeInfo.deserialize(params['MasterNodeInfo']) end unless params['CosBackup'].nil? @CosBackup = CosBackup.new @CosBackup.deserialize(params['CosBackup']) end @AllowCosBackup = params['AllowCosBackup'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @LicenseType = params['LicenseType'] @EnableHotWarmMode = params['EnableHotWarmMode'] @WarmNodeType = params['WarmNodeType'] @WarmNodeNum = params['WarmNodeNum'] @WarmCpuNum = params['WarmCpuNum'] @WarmMemSize = params['WarmMemSize'] @WarmDiskType = params['WarmDiskType'] @WarmDiskSize = params['WarmDiskSize'] unless params['NodeInfoList'].nil? @NodeInfoList = [] params['NodeInfoList'].each do |i| nodeinfo_tmp = NodeInfo.new nodeinfo_tmp.deserialize(i) @NodeInfoList << nodeinfo_tmp end end @EsPublicUrl = params['EsPublicUrl'] unless params['MultiZoneInfo'].nil? @MultiZoneInfo = [] params['MultiZoneInfo'].each do |i| zonedetail_tmp = ZoneDetail.new zonedetail_tmp.deserialize(i) @MultiZoneInfo << zonedetail_tmp end end @DeployMode = params['DeployMode'] @PublicAccess = params['PublicAccess'] unless params['EsPublicAcl'].nil? @EsPublicAcl = EsAcl.new @EsPublicAcl.deserialize(params['EsPublicAcl']) end @KibanaPrivateUrl = params['KibanaPrivateUrl'] @KibanaPublicAccess = params['KibanaPublicAccess'] @KibanaPrivateAccess = params['KibanaPrivateAccess'] @SecurityType = params['SecurityType'] @SceneType = params['SceneType'] @KibanaConfig = params['KibanaConfig'] unless params['KibanaNodeInfo'].nil? @KibanaNodeInfo = KibanaNodeInfo.new @KibanaNodeInfo.deserialize(params['KibanaNodeInfo']) end unless params['WebNodeTypeInfo'].nil? @WebNodeTypeInfo = WebNodeTypeInfo.new @WebNodeTypeInfo.deserialize(params['WebNodeTypeInfo']) end @Jdk = params['Jdk'] @Protocol = params['Protocol'] @SecurityGroups = params['SecurityGroups'] @ColdNodeType = params['ColdNodeType'] @ColdNodeNum = params['ColdNodeNum'] @ColdCpuNum = params['ColdCpuNum'] @ColdMemSize = params['ColdMemSize'] @ColdDiskType = params['ColdDiskType'] @ColdDiskSize = params['ColdDiskSize'] @FrozenNodeType = params['FrozenNodeType'] @FrozenNodeNum = params['FrozenNodeNum'] @FrozenCpuNum = params['FrozenCpuNum'] @FrozenMemSize = params['FrozenMemSize'] @FrozenDiskType = params['FrozenDiskType'] @FrozenDiskSize = params['FrozenDiskSize'] @HealthStatus = params['HealthStatus'] @EsPrivateUrl = params['EsPrivateUrl'] @EsPrivateDomain = params['EsPrivateDomain'] unless params['EsConfigSets'].nil? @EsConfigSets = [] params['EsConfigSets'].each do |i| esconfigsetinfo_tmp = EsConfigSetInfo.new esconfigsetinfo_tmp.deserialize(i) @EsConfigSets << esconfigsetinfo_tmp end end unless params['OperationDuration'].nil? @OperationDuration = OperationDuration.new @OperationDuration.deserialize(params['OperationDuration']) end unless params['OptionalWebServiceInfos'].nil? @OptionalWebServiceInfos = [] params['OptionalWebServiceInfos'].each do |i| optionalwebserviceinfo_tmp = OptionalWebServiceInfo.new optionalwebserviceinfo_tmp.deserialize(i) @OptionalWebServiceInfos << optionalwebserviceinfo_tmp end end @AutoIndexEnabled = params['AutoIndexEnabled'] @EnableHybridStorage = params['EnableHybridStorage'] @ProcessPercent = params['ProcessPercent'] @KibanaAlteringPublicAccess = params['KibanaAlteringPublicAccess'] @HasKernelUpgrade = params['HasKernelUpgrade'] @CdcId = params['CdcId'] @KibanaPrivateVip = params['KibanaPrivateVip'] @CustomKibanaPrivateUrl = params['CustomKibanaPrivateUrl'] unless params['OutboundPublicAcls'].nil? @OutboundPublicAcls = [] params['OutboundPublicAcls'].each do |i| outboundpublicacl_tmp = OutboundPublicAcl.new outboundpublicacl_tmp.deserialize(i) @OutboundPublicAcls << outboundpublicacl_tmp end end @NetConnectScheme = params['NetConnectScheme'] @DisasterRecoverGroupAffinity = params['DisasterRecoverGroupAffinity'] @SubProductCode = params['SubProductCode'] @CosBucketStorageSize = params['CosBucketStorageSize'] @ReadWriteMode = params['ReadWriteMode'] end end # ES集群日志详细信息 class InstanceLog < TencentCloud::Common::AbstractModel # @param Time: 日志时间 # @type Time: String # @param Level: 日志级别 # @type Level: String # @param Ip: 集群节点ip # @type Ip: String # @param Message: 日志内容 # @type Message: String # @param NodeID: 集群节点ID # @type NodeID: String attr_accessor :Time, :Level, :Ip, :Message, :NodeID def initialize(time=nil, level=nil, ip=nil, message=nil, nodeid=nil) @Time = time @Level = level @Ip = ip @Message = message @NodeID = nodeid end def deserialize(params) @Time = params['Time'] @Level = params['Level'] @Ip = params['Ip'] @Message = params['Message'] @NodeID = params['NodeID'] end end # 智能运维诊断参数 class JobParam < TencentCloud::Common::AbstractModel # @param Jobs: 诊断项列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Jobs: Array # @param Indices: 诊断索引 # @type Indices: String # @param Interval: 历史诊断时间 # @type Interval: Integer attr_accessor :Jobs, :Indices, :Interval def initialize(jobs=nil, indices=nil, interval=nil) @Jobs = jobs @Indices = indices @Interval = interval end def deserialize(params) @Jobs = params['Jobs'] @Indices = params['Indices'] @Interval = params['Interval'] end end # OperationDetail使用此结构的数组描述新旧配置 class KeyValue < TencentCloud::Common::AbstractModel # @param Key: 键 # @type Key: String # @param Value: 值 # @type Value: String attr_accessor :Key, :Value def initialize(key=nil, value=nil) @Key = key @Value = value end def deserialize(params) @Key = params['Key'] @Value = params['Value'] end end # 实例Kibana节点相关信息 class KibanaNodeInfo < TencentCloud::Common::AbstractModel # @param KibanaNodeType: Kibana节点规格 # @type KibanaNodeType: String # @param KibanaNodeNum: Kibana节点个数 # @type KibanaNodeNum: Integer # @param KibanaNodeCpuNum: Kibana节点CPU数 # @type KibanaNodeCpuNum: Integer # @param KibanaNodeMemSize: Kibana节点内存GB # @type KibanaNodeMemSize: Integer # @param KibanaNodeDiskType: Kibana节点磁盘类型 # @type KibanaNodeDiskType: String # @param KibanaNodeDiskSize: Kibana节点磁盘大小 # @type KibanaNodeDiskSize: Integer attr_accessor :KibanaNodeType, :KibanaNodeNum, :KibanaNodeCpuNum, :KibanaNodeMemSize, :KibanaNodeDiskType, :KibanaNodeDiskSize def initialize(kibananodetype=nil, kibananodenum=nil, kibananodecpunum=nil, kibananodememsize=nil, kibananodedisktype=nil, kibananodedisksize=nil) @KibanaNodeType = kibananodetype @KibanaNodeNum = kibananodenum @KibanaNodeCpuNum = kibananodecpunum @KibanaNodeMemSize = kibananodememsize @KibanaNodeDiskType = kibananodedisktype @KibanaNodeDiskSize = kibananodedisksize end def deserialize(params) @KibanaNodeType = params['KibanaNodeType'] @KibanaNodeNum = params['KibanaNodeNum'] @KibanaNodeCpuNum = params['KibanaNodeCpuNum'] @KibanaNodeMemSize = params['KibanaNodeMemSize'] @KibanaNodeDiskType = params['KibanaNodeDiskType'] @KibanaNodeDiskSize = params['KibanaNodeDiskSize'] end end # kibana公网域名白名单参数 class KibanaPublicAcl < TencentCloud::Common::AbstractModel # @param WhiteIpList: kibana访问白名单 # @type WhiteIpList: Array attr_accessor :WhiteIpList def initialize(whiteiplist=nil) @WhiteIpList = whiteiplist end def deserialize(params) @WhiteIpList = params['WhiteIpList'] end end # Kibana视图数据 class KibanaView < TencentCloud::Common::AbstractModel # @param Ip: Kibana节点IP # @type Ip: String # @param DiskSize: 节点总磁盘大小 # @type DiskSize: Integer # @param DiskUsage: 磁盘使用率 # @type DiskUsage: Float # @param MemSize: 节点内存大小 # @type MemSize: Integer # @param MemUsage: 内存使用率 # @type MemUsage: Float # @param CpuNum: 节点cpu个数 # @type CpuNum: Integer # @param CpuUsage: cpu使用率 # @type CpuUsage: Float # @param Zone: 可用区 # @type Zone: String # @param NodeId: ts-0noqayxu-az6-hot-03222010-0 # @type NodeId: String attr_accessor :Ip, :DiskSize, :DiskUsage, :MemSize, :MemUsage, :CpuNum, :CpuUsage, :Zone, :NodeId def initialize(ip=nil, disksize=nil, diskusage=nil, memsize=nil, memusage=nil, cpunum=nil, cpuusage=nil, zone=nil, nodeid=nil) @Ip = ip @DiskSize = disksize @DiskUsage = diskusage @MemSize = memsize @MemUsage = memusage @CpuNum = cpunum @CpuUsage = cpuusage @Zone = zone @NodeId = nodeid end def deserialize(params) @Ip = params['Ip'] @DiskSize = params['DiskSize'] @DiskUsage = params['DiskUsage'] @MemSize = params['MemSize'] @MemUsage = params['MemUsage'] @CpuNum = params['CpuNum'] @CpuUsage = params['CpuUsage'] @Zone = params['Zone'] @NodeId = params['NodeId'] end end # 节点本地盘信息 class LocalDiskInfo < TencentCloud::Common::AbstractModel # @param LocalDiskType: 本地盘类型
  • LOCAL_SATA:大数据型
  • NVME_SSD:高IO型
  • # @type LocalDiskType: String # @param LocalDiskSize: 本地盘单盘大小 # @type LocalDiskSize: Integer # @param LocalDiskCount: 本地盘块数 # @type LocalDiskCount: Integer attr_accessor :LocalDiskType, :LocalDiskSize, :LocalDiskCount def initialize(localdisktype=nil, localdisksize=nil, localdiskcount=nil) @LocalDiskType = localdisktype @LocalDiskSize = localdisksize @LocalDiskCount = localdiskcount end def deserialize(params) @LocalDiskType = params['LocalDiskType'] @LocalDiskSize = params['LocalDiskSize'] @LocalDiskCount = params['LocalDiskCount'] end end # 智能运维日志详情 class LogDetail < TencentCloud::Common::AbstractModel # @param Key: 日志异常名 # @type Key: String # @param Advise: 日志异常处理建议 # @type Advise: String # @param Count: 日志异常名出现次数 # @type Count: Integer attr_accessor :Key, :Advise, :Count def initialize(key=nil, advise=nil, count=nil) @Key = key @Advise = advise @Count = count end def deserialize(params) @Key = params['Key'] @Advise = params['Advise'] @Count = params['Count'] end end # Logstash绑定的ES集群信息 class LogstashBindedES < TencentCloud::Common::AbstractModel # @param ESInstanceId: ES集群ID # @type ESInstanceId: String # @param ESUserName: ES集群用户名 # @type ESUserName: String # @param ESPassword: ES集群密码 # @type ESPassword: String attr_accessor :ESInstanceId, :ESUserName, :ESPassword def initialize(esinstanceid=nil, esusername=nil, espassword=nil) @ESInstanceId = esinstanceid @ESUserName = esusername @ESPassword = espassword end def deserialize(params) @ESInstanceId = params['ESInstanceId'] @ESUserName = params['ESUserName'] @ESPassword = params['ESPassword'] end end # Logstash扩展文件信息 class LogstashExtendedFile < TencentCloud::Common::AbstractModel # @param Name: 扩展文件名称 # @type Name: String # @param Size: 扩展文件大小,单位B # @type Size: Integer attr_accessor :Name, :Size def initialize(name=nil, size=nil) @Name = name @Size = size end def deserialize(params) @Name = params['Name'] @Size = params['Size'] end end # Logstash实例详细信息 class LogstashInstanceInfo < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param InstanceName: 实例名称 # @type InstanceName: String # @param Region: 地域 # @type Region: String # @param Zone: 可用区 # @type Zone: String # @param AppId: 用户ID # @type AppId: Integer # @param Uin: 用户UIN # @type Uin: String # @param VpcId: 实例所属VPC的ID # @type VpcId: String # @param SubnetId: 实例所属子网的ID # @type SubnetId: String # @param Status: 实例状态,0:处理中,1:正常,-1停止,-2:销毁中,-3:已销毁 # @type Status: Integer # @param ChargeType: 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。 # @type ChargeType: String # @param ChargePeriod: 包年包月购买时长,单位:月 # @type ChargePeriod: Integer # @param RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 默认取值:NOTIFY_AND_AUTO_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 # @type RenewFlag: String # @param NodeType: 节点规格
  • LOGSTASH.S1.SMALL2:1核2G
  • LOGSTASH.S1.MEDIUM4:2核4G
  • LOGSTASH.S1.MEDIUM8:2核8G
  • LOGSTASH.S1.LARGE16:4核16G
  • LOGSTASH.S1.2XLARGE32:8核32G
  • LOGSTASH.S1.4XLARGE32:16核32G
  • LOGSTASH.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param NodeNum: 节点个数 # @type NodeNum: Integer # @param DiskType: 节点磁盘类型 # @type DiskType: String # @param DiskSize: 节点磁盘大小,单位GB # @type DiskSize: Integer # @param LogstashVersion: Logstash版本号 # @type LogstashVersion: String # @param LicenseType: License类型
  • oss:开源版
  • xpack:基础版
  • 默认值xpack # @type LicenseType: String # @param CreateTime: 实例创建时间 # @type CreateTime: String # @param UpdateTime: 实例最后修改操作时间 # @type UpdateTime: String # @param Deadline: 实例到期时间 # @type Deadline: String # @param Nodes: 实例节点类型 # @type Nodes: Array # @param BindedESInstanceId: 实例绑定的ES集群ID # @type BindedESInstanceId: String # @param YMLConfig: 实例的YML配置 # 注意:此字段可能返回 null,表示取不到有效值。 # @type YMLConfig: String # @param ExtendedFiles: 扩展文件列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExtendedFiles: Array # @param OperationDuration: 可维护时间段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration` # @param CpuNum: CPU数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CpuNum: Integer # @param TagList: 实例标签信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagList: Array # @param MemSize: 内存大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type MemSize: Integer attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcId, :SubnetId, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :NodeNum, :DiskType, :DiskSize, :LogstashVersion, :LicenseType, :CreateTime, :UpdateTime, :Deadline, :Nodes, :BindedESInstanceId, :YMLConfig, :ExtendedFiles, :OperationDuration, :CpuNum, :TagList, :MemSize def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcid=nil, subnetid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, nodenum=nil, disktype=nil, disksize=nil, logstashversion=nil, licensetype=nil, createtime=nil, updatetime=nil, deadline=nil, nodes=nil, bindedesinstanceid=nil, ymlconfig=nil, extendedfiles=nil, operationduration=nil, cpunum=nil, taglist=nil, memsize=nil) @InstanceId = instanceid @InstanceName = instancename @Region = region @Zone = zone @AppId = appid @Uin = uin @VpcId = vpcid @SubnetId = subnetid @Status = status @ChargeType = chargetype @ChargePeriod = chargeperiod @RenewFlag = renewflag @NodeType = nodetype @NodeNum = nodenum @DiskType = disktype @DiskSize = disksize @LogstashVersion = logstashversion @LicenseType = licensetype @CreateTime = createtime @UpdateTime = updatetime @Deadline = deadline @Nodes = nodes @BindedESInstanceId = bindedesinstanceid @YMLConfig = ymlconfig @ExtendedFiles = extendedfiles @OperationDuration = operationduration @CpuNum = cpunum @TagList = taglist @MemSize = memsize end def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @Region = params['Region'] @Zone = params['Zone'] @AppId = params['AppId'] @Uin = params['Uin'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Status = params['Status'] @ChargeType = params['ChargeType'] @ChargePeriod = params['ChargePeriod'] @RenewFlag = params['RenewFlag'] @NodeType = params['NodeType'] @NodeNum = params['NodeNum'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] @LogstashVersion = params['LogstashVersion'] @LicenseType = params['LicenseType'] @CreateTime = params['CreateTime'] @UpdateTime = params['UpdateTime'] @Deadline = params['Deadline'] unless params['Nodes'].nil? @Nodes = [] params['Nodes'].each do |i| logstashnodeinfo_tmp = LogstashNodeInfo.new logstashnodeinfo_tmp.deserialize(i) @Nodes << logstashnodeinfo_tmp end end @BindedESInstanceId = params['BindedESInstanceId'] @YMLConfig = params['YMLConfig'] unless params['ExtendedFiles'].nil? @ExtendedFiles = [] params['ExtendedFiles'].each do |i| logstashextendedfile_tmp = LogstashExtendedFile.new logstashextendedfile_tmp.deserialize(i) @ExtendedFiles << logstashextendedfile_tmp end end unless params['OperationDuration'].nil? @OperationDuration = OperationDuration.new @OperationDuration.deserialize(params['OperationDuration']) end @CpuNum = params['CpuNum'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @MemSize = params['MemSize'] end end # Logstash节点信息 class LogstashNodeInfo < TencentCloud::Common::AbstractModel # @param NodeId: 节点ID # @type NodeId: String # @param Ip: 节点IP # @type Ip: String # @param Port: 节点端口 # @type Port: Integer attr_accessor :NodeId, :Ip, :Port def initialize(nodeid=nil, ip=nil, port=nil) @NodeId = nodeid @Ip = ip @Port = port end def deserialize(params) @NodeId = params['NodeId'] @Ip = params['Ip'] @Port = params['Port'] end end # Logstash管道信息 class LogstashPipeline < TencentCloud::Common::AbstractModel # @param PipelineId: 管道ID # @type PipelineId: String # @param PipelineDesc: 管道描述信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PipelineDesc: String # @param Config: 管道配置内容 # @type Config: String # @param Workers: 管道的Worker数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Workers: Integer # @param BatchSize: 管道批处理大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BatchSize: Integer # @param BatchDelay: 管道批处理延迟 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BatchDelay: Integer # @param QueueType: 管道缓冲队列类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueType: String # @param QueueMaxBytes: 管道缓冲队列大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueMaxBytes: String # @param QueueCheckPointWrites: 管道缓冲队列检查点写入数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueCheckPointWrites: Integer attr_accessor :PipelineId, :PipelineDesc, :Config, :Workers, :BatchSize, :BatchDelay, :QueueType, :QueueMaxBytes, :QueueCheckPointWrites def initialize(pipelineid=nil, pipelinedesc=nil, config=nil, workers=nil, batchsize=nil, batchdelay=nil, queuetype=nil, queuemaxbytes=nil, queuecheckpointwrites=nil) @PipelineId = pipelineid @PipelineDesc = pipelinedesc @Config = config @Workers = workers @BatchSize = batchsize @BatchDelay = batchdelay @QueueType = queuetype @QueueMaxBytes = queuemaxbytes @QueueCheckPointWrites = queuecheckpointwrites end def deserialize(params) @PipelineId = params['PipelineId'] @PipelineDesc = params['PipelineDesc'] @Config = params['Config'] @Workers = params['Workers'] @BatchSize = params['BatchSize'] @BatchDelay = params['BatchDelay'] @QueueType = params['QueueType'] @QueueMaxBytes = params['QueueMaxBytes'] @QueueCheckPointWrites = params['QueueCheckPointWrites'] end end # Logstash管道信息 class LogstashPipelineInfo < TencentCloud::Common::AbstractModel # @param PipelineId: 管道ID # @type PipelineId: String # @param PipelineDesc: 管道描述信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PipelineDesc: String # @param Config: 管道配置内容 # @type Config: String # @param Status: 管道状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param Workers: 管道的Worker数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Workers: Integer # @param BatchSize: 管道批处理大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BatchSize: Integer # @param BatchDelay: 管道批处理延迟 # 注意:此字段可能返回 null,表示取不到有效值。 # @type BatchDelay: Integer # @param QueueType: 管道缓冲队列类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueType: String # @param QueueMaxBytes: 管道缓冲队列大小 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueMaxBytes: String # @param QueueCheckPointWrites: 管道缓冲队列检查点写入数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type QueueCheckPointWrites: Integer attr_accessor :PipelineId, :PipelineDesc, :Config, :Status, :Workers, :BatchSize, :BatchDelay, :QueueType, :QueueMaxBytes, :QueueCheckPointWrites def initialize(pipelineid=nil, pipelinedesc=nil, config=nil, status=nil, workers=nil, batchsize=nil, batchdelay=nil, queuetype=nil, queuemaxbytes=nil, queuecheckpointwrites=nil) @PipelineId = pipelineid @PipelineDesc = pipelinedesc @Config = config @Status = status @Workers = workers @BatchSize = batchsize @BatchDelay = batchdelay @QueueType = queuetype @QueueMaxBytes = queuemaxbytes @QueueCheckPointWrites = queuecheckpointwrites end def deserialize(params) @PipelineId = params['PipelineId'] @PipelineDesc = params['PipelineDesc'] @Config = params['Config'] @Status = params['Status'] @Workers = params['Workers'] @BatchSize = params['BatchSize'] @BatchDelay = params['BatchDelay'] @QueueType = params['QueueType'] @QueueMaxBytes = params['QueueMaxBytes'] @QueueCheckPointWrites = params['QueueCheckPointWrites'] end end # 实例专用主节点相关信息 class MasterNodeInfo < TencentCloud::Common::AbstractModel # @param EnableDedicatedMaster: 是否启用了专用主节点 # @type EnableDedicatedMaster: Boolean # @param MasterNodeType: 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type MasterNodeType: String # @param MasterNodeNum: 专用主节点个数 # @type MasterNodeNum: Integer # @param MasterNodeCpuNum: 专用主节点CPU核数 # @type MasterNodeCpuNum: Integer # @param MasterNodeMemSize: 专用主节点内存大小,单位GB # @type MasterNodeMemSize: Integer # @param MasterNodeDiskSize: 专用主节点磁盘大小,单位GB # @type MasterNodeDiskSize: Integer # @param MasterNodeDiskType: 专用主节点磁盘类型 # @type MasterNodeDiskType: String attr_accessor :EnableDedicatedMaster, :MasterNodeType, :MasterNodeNum, :MasterNodeCpuNum, :MasterNodeMemSize, :MasterNodeDiskSize, :MasterNodeDiskType def initialize(enablededicatedmaster=nil, masternodetype=nil, masternodenum=nil, masternodecpunum=nil, masternodememsize=nil, masternodedisksize=nil, masternodedisktype=nil) @EnableDedicatedMaster = enablededicatedmaster @MasterNodeType = masternodetype @MasterNodeNum = masternodenum @MasterNodeCpuNum = masternodecpunum @MasterNodeMemSize = masternodememsize @MasterNodeDiskSize = masternodedisksize @MasterNodeDiskType = masternodedisktype end def deserialize(params) @EnableDedicatedMaster = params['EnableDedicatedMaster'] @MasterNodeType = params['MasterNodeType'] @MasterNodeNum = params['MasterNodeNum'] @MasterNodeCpuNum = params['MasterNodeCpuNum'] @MasterNodeMemSize = params['MasterNodeMemSize'] @MasterNodeDiskSize = params['MasterNodeDiskSize'] @MasterNodeDiskType = params['MasterNodeDiskType'] end end # 智能运维指标 class Metric < TencentCloud::Common::AbstractModel # @param Dimensions: 指标维度族 # @type Dimensions: Array # @param Value: 指标值 # @type Value: Float attr_accessor :Dimensions, :Value def initialize(dimensions=nil, value=nil) @Dimensions = dimensions @Value = value end def deserialize(params) unless params['Dimensions'].nil? @Dimensions = [] params['Dimensions'].each do |i| dimension_tmp = Dimension.new dimension_tmp.deserialize(i) @Dimensions << dimension_tmp end end @Value = params['Value'] end end # 全部指标数据 class MetricAllData < TencentCloud::Common::AbstractModel # @param IndexTraffic: 索引流量 # @type IndexTraffic: Float # @param Storage: 存储大小 # @type Storage: Float # @param ReadReqTimes: 读请求次数 # @type ReadReqTimes: Integer # @param WriteReqTimes: 写请求次数 # @type WriteReqTimes: Integer # @param DocCount: 文档数量 # @type DocCount: Integer attr_accessor :IndexTraffic, :Storage, :ReadReqTimes, :WriteReqTimes, :DocCount def initialize(indextraffic=nil, storage=nil, readreqtimes=nil, writereqtimes=nil, doccount=nil) @IndexTraffic = indextraffic @Storage = storage @ReadReqTimes = readreqtimes @WriteReqTimes = writereqtimes @DocCount = doccount end def deserialize(params) @IndexTraffic = params['IndexTraffic'] @Storage = params['Storage'] @ReadReqTimes = params['ReadReqTimes'] @WriteReqTimes = params['WriteReqTimes'] @DocCount = params['DocCount'] end end # 智能运维指标详情 class MetricDetail < TencentCloud::Common::AbstractModel # @param Key: 指标详情名 # @type Key: String # @param Metrics: 指标详情值 # @type Metrics: Array attr_accessor :Key, :Metrics def initialize(key=nil, metrics=nil) @Key = key @Metrics = metrics end def deserialize(params) @Key = params['Key'] unless params['Metrics'].nil? @Metrics = [] params['Metrics'].each do |i| metric_tmp = Metric.new metric_tmp.deserialize(i) @Metrics << metric_tmp end end end end # 指标数据map class MetricMapByIndexId < TencentCloud::Common::AbstractModel # @param IndexId: 实例id # @type IndexId: String # @param MetricAllData: 指标数据 # @type MetricAllData: :class:`Tencentcloud::Es.v20180416.models.MetricAllData` attr_accessor :IndexId, :MetricAllData def initialize(indexid=nil, metricalldata=nil) @IndexId = indexid @MetricAllData = metricalldata end def deserialize(params) @IndexId = params['IndexId'] unless params['MetricAllData'].nil? @MetricAllData = MetricAllData.new @MetricAllData.deserialize(params['MetricAllData']) end end end # ModifyEsVipSecurityGroup请求参数结构体 class ModifyEsVipSecurityGroupRequest < TencentCloud::Common::AbstractModel # @param InstanceId: es集群的实例id # @type InstanceId: String # @param SecurityGroupIds: 安全组id列表 # @type SecurityGroupIds: Array attr_accessor :InstanceId, :SecurityGroupIds def initialize(instanceid=nil, securitygroupids=nil) @InstanceId = instanceid @SecurityGroupIds = securitygroupids end def deserialize(params) @InstanceId = params['InstanceId'] @SecurityGroupIds = params['SecurityGroupIds'] end end # ModifyEsVipSecurityGroup返回参数结构体 class ModifyEsVipSecurityGroupResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 集群中一种节点类型(如热数据节点,冷数据节点,专用主节点等)的规格描述信息,包括节点类型,节点个数,节点规格,磁盘类型,磁盘大小等, Type不指定时默认为热数据节点;如果节点为master节点,则DiskType和DiskSize参数会被忽略(主节点无数据盘) class NodeInfo < TencentCloud::Common::AbstractModel # @param NodeNum: 节点数量 # @type NodeNum: Integer # @param NodeType: 节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param Type: 节点类型
  • hotData: 热数据节点
  • #
  • warmData: 冷数据节点
  • #
  • dedicatedMaster: 专用主节点
  • # 默认值为hotData # @type Type: String # @param DiskType: 节点磁盘类型
  • CLOUD_SSD:SSD云硬盘
  • CLOUD_PREMIUM:高硬能云硬盘
  • 默认值CLOUD_SSD # @type DiskType: String # @param DiskSize: 节点磁盘容量(单位GB) # @type DiskSize: Integer # @param LocalDiskInfo: 节点本地盘信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type LocalDiskInfo: :class:`Tencentcloud::Es.v20180416.models.LocalDiskInfo` # @param DiskCount: 节点磁盘块数 # @type DiskCount: Integer # @param DiskEncrypt: 节点磁盘是否加密 0: 不加密,1: 加密;默认不加密 # @type DiskEncrypt: Integer # @param CpuNum: cpu数目 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CpuNum: Integer # @param MemSize: 内存大小,单位GB # 注意:此字段可能返回 null,表示取不到有效值。 # @type MemSize: Integer # @param DiskEnhance: / # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiskEnhance: Integer attr_accessor :NodeNum, :NodeType, :Type, :DiskType, :DiskSize, :LocalDiskInfo, :DiskCount, :DiskEncrypt, :CpuNum, :MemSize, :DiskEnhance def initialize(nodenum=nil, nodetype=nil, type=nil, disktype=nil, disksize=nil, localdiskinfo=nil, diskcount=nil, diskencrypt=nil, cpunum=nil, memsize=nil, diskenhance=nil) @NodeNum = nodenum @NodeType = nodetype @Type = type @DiskType = disktype @DiskSize = disksize @LocalDiskInfo = localdiskinfo @DiskCount = diskcount @DiskEncrypt = diskencrypt @CpuNum = cpunum @MemSize = memsize @DiskEnhance = diskenhance end def deserialize(params) @NodeNum = params['NodeNum'] @NodeType = params['NodeType'] @Type = params['Type'] @DiskType = params['DiskType'] @DiskSize = params['DiskSize'] unless params['LocalDiskInfo'].nil? @LocalDiskInfo = LocalDiskInfo.new @LocalDiskInfo.deserialize(params['LocalDiskInfo']) end @DiskCount = params['DiskCount'] @DiskEncrypt = params['DiskEncrypt'] @CpuNum = params['CpuNum'] @MemSize = params['MemSize'] @DiskEnhance = params['DiskEnhance'] end end # 节点维度视图数据 class NodeView < TencentCloud::Common::AbstractModel # @param NodeId: 节点ID # @type NodeId: String # @param NodeIp: 节点IP # @type NodeIp: String # @param Visible: 节点是否可见 # @type Visible: Float # @param Break: 是否熔断 # @type Break: Float # @param DiskSize: 节点总磁盘大小 # @type DiskSize: Integer # @param DiskUsage: 磁盘使用率 # @type DiskUsage: Float # @param MemSize: 节点内存大小,单位GB # @type MemSize: Integer # @param MemUsage: 内存使用率 # @type MemUsage: Float # @param CpuNum: 节点cpu个数 # @type CpuNum: Integer # @param CpuUsage: cpu使用率 # @type CpuUsage: Float # @param Zone: 可用区 # @type Zone: String # @param NodeRole: 节点角色 # @type NodeRole: String # @param NodeHttpIp: 节点HTTP IP # @type NodeHttpIp: String # @param JvmMemUsage: JVM内存使用率 # @type JvmMemUsage: Float # @param ShardNum: 节点分片数 # @type ShardNum: Integer # @param DiskIds: 节点上磁盘ID列表 # @type DiskIds: Array # @param Hidden: 是否为隐藏可用区 # @type Hidden: Boolean # @param IsCoordinationNode: 是否充当协调节点的角色 # @type IsCoordinationNode: Boolean # @param CVMStatus: CVM运行状态 # @type CVMStatus: String # @param CVMDisasterRecoverGroupId: cvm绑定的置放群组的id # 注意:此字段可能返回 null,表示取不到有效值。 # @type CVMDisasterRecoverGroupId: String # @param CVMDisasterRecoverGroupStatus: cvm绑定置放群组的状态。2: 已绑定;1: 绑定中;0: 未开启 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CVMDisasterRecoverGroupStatus: Integer attr_accessor :NodeId, :NodeIp, :Visible, :Break, :DiskSize, :DiskUsage, :MemSize, :MemUsage, :CpuNum, :CpuUsage, :Zone, :NodeRole, :NodeHttpIp, :JvmMemUsage, :ShardNum, :DiskIds, :Hidden, :IsCoordinationNode, :CVMStatus, :CVMDisasterRecoverGroupId, :CVMDisasterRecoverGroupStatus def initialize(nodeid=nil, nodeip=nil, visible=nil, _break=nil, disksize=nil, diskusage=nil, memsize=nil, memusage=nil, cpunum=nil, cpuusage=nil, zone=nil, noderole=nil, nodehttpip=nil, jvmmemusage=nil, shardnum=nil, diskids=nil, hidden=nil, iscoordinationnode=nil, cvmstatus=nil, cvmdisasterrecovergroupid=nil, cvmdisasterrecovergroupstatus=nil) @NodeId = nodeid @NodeIp = nodeip @Visible = visible @Break = _break @DiskSize = disksize @DiskUsage = diskusage @MemSize = memsize @MemUsage = memusage @CpuNum = cpunum @CpuUsage = cpuusage @Zone = zone @NodeRole = noderole @NodeHttpIp = nodehttpip @JvmMemUsage = jvmmemusage @ShardNum = shardnum @DiskIds = diskids @Hidden = hidden @IsCoordinationNode = iscoordinationnode @CVMStatus = cvmstatus @CVMDisasterRecoverGroupId = cvmdisasterrecovergroupid @CVMDisasterRecoverGroupStatus = cvmdisasterrecovergroupstatus end def deserialize(params) @NodeId = params['NodeId'] @NodeIp = params['NodeIp'] @Visible = params['Visible'] @Break = params['Break'] @DiskSize = params['DiskSize'] @DiskUsage = params['DiskUsage'] @MemSize = params['MemSize'] @MemUsage = params['MemUsage'] @CpuNum = params['CpuNum'] @CpuUsage = params['CpuUsage'] @Zone = params['Zone'] @NodeRole = params['NodeRole'] @NodeHttpIp = params['NodeHttpIp'] @JvmMemUsage = params['JvmMemUsage'] @ShardNum = params['ShardNum'] @DiskIds = params['DiskIds'] @Hidden = params['Hidden'] @IsCoordinationNode = params['IsCoordinationNode'] @CVMStatus = params['CVMStatus'] @CVMDisasterRecoverGroupId = params['CVMDisasterRecoverGroupId'] @CVMDisasterRecoverGroupStatus = params['CVMDisasterRecoverGroupStatus'] end end # ES集群操作详细信息 class Operation < TencentCloud::Common::AbstractModel # @param Id: 操作唯一id # @type Id: Integer # @param StartTime: 操作开始时间 # @type StartTime: String # @param Type: 操作类型 # @type Type: String # @param Detail: 操作详情 # @type Detail: :class:`Tencentcloud::Es.v20180416.models.OperationDetail` # @param Result: 操作结果 # @type Result: String # @param Tasks: 流程任务信息 # @type Tasks: Array # @param Progress: 操作进度 # @type Progress: Float # @param SubAccountUin: 操作者Uin # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubAccountUin: String attr_accessor :Id, :StartTime, :Type, :Detail, :Result, :Tasks, :Progress, :SubAccountUin def initialize(id=nil, starttime=nil, type=nil, detail=nil, result=nil, tasks=nil, progress=nil, subaccountuin=nil) @Id = id @StartTime = starttime @Type = type @Detail = detail @Result = result @Tasks = tasks @Progress = progress @SubAccountUin = subaccountuin end def deserialize(params) @Id = params['Id'] @StartTime = params['StartTime'] @Type = params['Type'] unless params['Detail'].nil? @Detail = OperationDetail.new @Detail.deserialize(params['Detail']) end @Result = params['Result'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| taskdetail_tmp = TaskDetail.new taskdetail_tmp.deserialize(i) @Tasks << taskdetail_tmp end end @Progress = params['Progress'] @SubAccountUin = params['SubAccountUin'] end end # 操作详情 class OperationDetail < TencentCloud::Common::AbstractModel # @param OldInfo: 实例原始配置信息 # @type OldInfo: Array # @param NewInfo: 实例更新后配置信息 # @type NewInfo: Array attr_accessor :OldInfo, :NewInfo def initialize(oldinfo=nil, newinfo=nil) @OldInfo = oldinfo @NewInfo = newinfo end def deserialize(params) unless params['OldInfo'].nil? @OldInfo = [] params['OldInfo'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @OldInfo << keyvalue_tmp end end unless params['NewInfo'].nil? @NewInfo = [] params['NewInfo'].each do |i| keyvalue_tmp = KeyValue.new keyvalue_tmp.deserialize(i) @NewInfo << keyvalue_tmp end end end end # 集群可运维时间 class OperationDuration < TencentCloud::Common::AbstractModel # @param Periods: 维护周期,表示周一到周日,可取值[0, 6] # 注意:此字段可能返回 null,表示取不到有效值。 # @type Periods: Array # @param TimeStart: 维护开始时间 # @type TimeStart: String # @param TimeEnd: 维护结束时间 # @type TimeEnd: String # @param TimeZone: 时区,以UTC形式表示 # @type TimeZone: String attr_accessor :Periods, :TimeStart, :TimeEnd, :TimeZone def initialize(periods=nil, timestart=nil, timeend=nil, timezone=nil) @Periods = periods @TimeStart = timestart @TimeEnd = timeend @TimeZone = timezone end def deserialize(params) @Periods = params['Periods'] @TimeStart = params['TimeStart'] @TimeEnd = params['TimeEnd'] @TimeZone = params['TimeZone'] end end # 集群可运维时间 class OperationDurationUpdated < TencentCloud::Common::AbstractModel # @param Periods: 维护周期,表示周一到周日,可取值[0, 6] # @type Periods: Array # @param TimeStart: 维护开始时间 # @type TimeStart: String # @param TimeEnd: 维护结束时间 # @type TimeEnd: String # @param TimeZone: 时区,以UTC形式表示 # @type TimeZone: String # @param MoreInstances: ES集群ID数组 # @type MoreInstances: Array attr_accessor :Periods, :TimeStart, :TimeEnd, :TimeZone, :MoreInstances def initialize(periods=nil, timestart=nil, timeend=nil, timezone=nil, moreinstances=nil) @Periods = periods @TimeStart = timestart @TimeEnd = timeend @TimeZone = timezone @MoreInstances = moreinstances end def deserialize(params) @Periods = params['Periods'] @TimeStart = params['TimeStart'] @TimeEnd = params['TimeEnd'] @TimeZone = params['TimeZone'] @MoreInstances = params['MoreInstances'] end end # 可选web组件信息 class OptionalWebServiceInfo < TencentCloud::Common::AbstractModel # @param Type: 类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Type: String # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param PublicUrl: 公网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type PublicUrl: String # @param PrivateUrl: 内网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivateUrl: String # @param PublicAccess: 公网访问权限 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PublicAccess: String # @param PrivateAccess: 内网访问权限 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivateAccess: String # @param Version: 版本号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Version: String # @param PrivateVip: web服务内网vip # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivateVip: String # @param CustomPrivateUrl: 自定义cerebro内网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type CustomPrivateUrl: String attr_accessor :Type, :Status, :PublicUrl, :PrivateUrl, :PublicAccess, :PrivateAccess, :Version, :PrivateVip, :CustomPrivateUrl def initialize(type=nil, status=nil, publicurl=nil, privateurl=nil, publicaccess=nil, privateaccess=nil, version=nil, privatevip=nil, customprivateurl=nil) @Type = type @Status = status @PublicUrl = publicurl @PrivateUrl = privateurl @PublicAccess = publicaccess @PrivateAccess = privateaccess @Version = version @PrivateVip = privatevip @CustomPrivateUrl = customprivateurl end def deserialize(params) @Type = params['Type'] @Status = params['Status'] @PublicUrl = params['PublicUrl'] @PrivateUrl = params['PrivateUrl'] @PublicAccess = params['PublicAccess'] @PrivateAccess = params['PrivateAccess'] @Version = params['Version'] @PrivateVip = params['PrivateVip'] @CustomPrivateUrl = params['CustomPrivateUrl'] end end # 节点出站访问信息 class OutboundPublicAcl < TencentCloud::Common::AbstractModel # @param NodeType: 允许节点出站访问的节点类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NodeType: String # @param WhiteHostList: 允许节点出站访问的白名单 # 注意:此字段可能返回 null,表示取不到有效值。 # @type WhiteHostList: Array attr_accessor :NodeType, :WhiteHostList def initialize(nodetype=nil, whitehostlist=nil) @NodeType = nodetype @WhiteHostList = whitehostlist end def deserialize(params) @NodeType = params['NodeType'] @WhiteHostList = params['WhiteHostList'] end end # 任务进度详情 class ProcessDetail < TencentCloud::Common::AbstractModel # @param Completed: 已完成数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Completed: Integer # @param Remain: 剩余数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Remain: Integer # @param Total: 总数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Total: Integer # @param TaskType: 任务类型: # 60:重启型任务 # 70:分片迁移型任务 # 80:节点变配任务 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TaskType: Integer attr_accessor :Completed, :Remain, :Total, :TaskType def initialize(completed=nil, remain=nil, total=nil, tasktype=nil) @Completed = completed @Remain = remain @Total = total @TaskType = tasktype end def deserialize(params) @Completed = params['Completed'] @Remain = params['Remain'] @Total = params['Total'] @TaskType = params['TaskType'] end end # RestartInstance请求参数结构体 class RestartInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param ForceRestart: 是否强制重启
  • true:强制重启
  • false:不强制重启
  • 默认false # @type ForceRestart: Boolean # @param RestartMode: 重启模式:0 滚动重启; 1 全量重启 # @type RestartMode: Integer # @param UpgradeKernel: 重启时选择是否升级内核patch版本 # @type UpgradeKernel: Boolean attr_accessor :InstanceId, :ForceRestart, :RestartMode, :UpgradeKernel def initialize(instanceid=nil, forcerestart=nil, restartmode=nil, upgradekernel=nil) @InstanceId = instanceid @ForceRestart = forcerestart @RestartMode = restartmode @UpgradeKernel = upgradekernel end def deserialize(params) @InstanceId = params['InstanceId'] @ForceRestart = params['ForceRestart'] @RestartMode = params['RestartMode'] @UpgradeKernel = params['UpgradeKernel'] end end # RestartInstance返回参数结构体 class RestartInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # RestartKibana请求参数结构体 class RestartKibanaRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String attr_accessor :InstanceId def initialize(instanceid=nil) @InstanceId = instanceid end def deserialize(params) @InstanceId = params['InstanceId'] end end # RestartKibana返回参数结构体 class RestartKibanaResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # RestartLogstashInstance请求参数结构体 class RestartLogstashInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param Type: 重启类型,0全量重启,1滚动重启 # @type Type: Integer attr_accessor :InstanceId, :Type def initialize(instanceid=nil, type=nil) @InstanceId = instanceid @Type = type end def deserialize(params) @InstanceId = params['InstanceId'] @Type = params['Type'] end end # RestartLogstashInstance返回参数结构体 class RestartLogstashInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # RestartNodes请求参数结构体 class RestartNodesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例ID # @type InstanceId: String # @param NodeNames: 节点名称列表 # @type NodeNames: Array # @param ForceRestart: 是否强制重启 # @type ForceRestart: Boolean # @param RestartMode: 可选重启模式"in-place","blue-green",分别表示重启,蓝绿重启;默认值为"in-place" # @type RestartMode: String # @param IsOffline: 节点状态,在蓝绿模式中使用;离线节点蓝绿有风险 # @type IsOffline: Boolean # @param CvmDelayOnlineTime: cvm延迟上架时间 # @type CvmDelayOnlineTime: Integer # @param ShardAllocationConcurrents: 分片迁移并发数 # @type ShardAllocationConcurrents: Integer # @param ShardAllocationBytes: 分片迁移并发速度 # @type ShardAllocationBytes: Integer # @param EnableScheduleRecoverGroup: 是否开启置放群组异步任务 # @type EnableScheduleRecoverGroup: Boolean # @param EnableScheduleOperationDuration: 置放群组异步任务时间段 # @type EnableScheduleOperationDuration: :class:`Tencentcloud::Es.v20180416.models.EnableScheduleOperationDuration` attr_accessor :InstanceId, :NodeNames, :ForceRestart, :RestartMode, :IsOffline, :CvmDelayOnlineTime, :ShardAllocationConcurrents, :ShardAllocationBytes, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration def initialize(instanceid=nil, nodenames=nil, forcerestart=nil, restartmode=nil, isoffline=nil, cvmdelayonlinetime=nil, shardallocationconcurrents=nil, shardallocationbytes=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil) @InstanceId = instanceid @NodeNames = nodenames @ForceRestart = forcerestart @RestartMode = restartmode @IsOffline = isoffline @CvmDelayOnlineTime = cvmdelayonlinetime @ShardAllocationConcurrents = shardallocationconcurrents @ShardAllocationBytes = shardallocationbytes @EnableScheduleRecoverGroup = enableschedulerecovergroup @EnableScheduleOperationDuration = enablescheduleoperationduration end def deserialize(params) @InstanceId = params['InstanceId'] @NodeNames = params['NodeNames'] @ForceRestart = params['ForceRestart'] @RestartMode = params['RestartMode'] @IsOffline = params['IsOffline'] @CvmDelayOnlineTime = params['CvmDelayOnlineTime'] @ShardAllocationConcurrents = params['ShardAllocationConcurrents'] @ShardAllocationBytes = params['ShardAllocationBytes'] @EnableScheduleRecoverGroup = params['EnableScheduleRecoverGroup'] unless params['EnableScheduleOperationDuration'].nil? @EnableScheduleOperationDuration = EnableScheduleOperationDuration.new @EnableScheduleOperationDuration.deserialize(params['EnableScheduleOperationDuration']) end end end # RestartNodes返回参数结构体 class RestartNodesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # RestoreClusterSnapshot请求参数结构体 class RestoreClusterSnapshotRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例Id,格式:es-xxxx # @type InstanceId: String # @param RepositoryName: 仓库名称 # @type RepositoryName: String # @param SnapshotName: 集群快照名称 # @type SnapshotName: String # @param TargetInstanceId: 目标集群实例Id,格式:es-xxxx,如果是恢复到本地,则和InstanceId一致 # @type TargetInstanceId: String # @param Password: elastic用户名对应的密码信息 # @type Password: String # @param IndexSettings: 要在所有恢复的索引中添加或更改的设置的逗号分隔列表。使用此参数可以在恢复快照时覆盖索引设置。 # @type IndexSettings: String # @param IncludeGlobalState: 不应从快照还原的以逗号分隔的索引设置列表。 # @type IncludeGlobalState: Array # @param Indices: 需要恢复的索引名称,非必填,为空则表示恢复所有 # 支持传多个索引名称 # @type Indices: String # @param Partial: 如果为 false,则如果快照中包含的一个或多个索引没有所有主分片可用,则整个恢复操作将失败。默认为 false, # 如果为 true,则允许恢复具有不可用分片的索引的部分快照。只有成功包含在快照中的分片才会被恢复。所有丢失的碎片将被重新创建为空 # @type Partial: String attr_accessor :InstanceId, :RepositoryName, :SnapshotName, :TargetInstanceId, :Password, :IndexSettings, :IncludeGlobalState, :Indices, :Partial def initialize(instanceid=nil, repositoryname=nil, snapshotname=nil, targetinstanceid=nil, password=nil, indexsettings=nil, includeglobalstate=nil, indices=nil, partial=nil) @InstanceId = instanceid @RepositoryName = repositoryname @SnapshotName = snapshotname @TargetInstanceId = targetinstanceid @Password = password @IndexSettings = indexsettings @IncludeGlobalState = includeglobalstate @Indices = indices @Partial = partial end def deserialize(params) @InstanceId = params['InstanceId'] @RepositoryName = params['RepositoryName'] @SnapshotName = params['SnapshotName'] @TargetInstanceId = params['TargetInstanceId'] @Password = params['Password'] @IndexSettings = params['IndexSettings'] @IncludeGlobalState = params['IncludeGlobalState'] @Indices = params['Indices'] @Partial = params['Partial'] end end # RestoreClusterSnapshot返回参数结构体 class RestoreClusterSnapshotResponse < TencentCloud::Common::AbstractModel # @param InstanceId: 集群实例id # @type InstanceId: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :InstanceId, :RequestId def initialize(instanceid=nil, requestid=nil) @InstanceId = instanceid @RequestId = requestid end def deserialize(params) @InstanceId = params['InstanceId'] @RequestId = params['RequestId'] end end # SaveAndDeployLogstashPipeline请求参数结构体 class SaveAndDeployLogstashPipelineRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param Pipeline: 实例管道信息 # @type Pipeline: :class:`Tencentcloud::Es.v20180416.models.LogstashPipeline` # @param OpType: 操作类型
  • 1:只保存
  • 2:保存并部署
  • # @type OpType: Integer attr_accessor :InstanceId, :Pipeline, :OpType def initialize(instanceid=nil, pipeline=nil, optype=nil) @InstanceId = instanceid @Pipeline = pipeline @OpType = optype end def deserialize(params) @InstanceId = params['InstanceId'] unless params['Pipeline'].nil? @Pipeline = LogstashPipeline.new @Pipeline.deserialize(params['Pipeline']) end @OpType = params['OpType'] end end # SaveAndDeployLogstashPipeline返回参数结构体 class SaveAndDeployLogstashPipelineResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 创建serverless索引时创建数据接入 class ServerlessDi < TencentCloud::Common::AbstractModel # @param DiSourceType: 数据链路采集源类型,如cvm_collector、tke_collector # @type DiSourceType: String # @param DiSourceCvm: cvm数据源 # @type DiSourceCvm: :class:`Tencentcloud::Es.v20180416.models.DiSourceCvm` # @param DiSourceTke: tke数据源 # @type DiSourceTke: :class:`Tencentcloud::Es.v20180416.models.DiSourceTke` attr_accessor :DiSourceType, :DiSourceCvm, :DiSourceTke def initialize(disourcetype=nil, disourcecvm=nil, disourcetke=nil) @DiSourceType = disourcetype @DiSourceCvm = disourcecvm @DiSourceTke = disourcetke end def deserialize(params) @DiSourceType = params['DiSourceType'] unless params['DiSourceCvm'].nil? @DiSourceCvm = DiSourceCvm.new @DiSourceCvm.deserialize(params['DiSourceCvm']) end unless params['DiSourceTke'].nil? @DiSourceTke = DiSourceTke.new @DiSourceTke.deserialize(params['DiSourceTke']) end end end # 索引元数据字段 class ServerlessIndexMetaField < TencentCloud::Common::AbstractModel # @param AppId: 索引所属集群APP ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type AppId: Integer # @param IndexName: 索引名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexName: String # @param IndexDocs: 索引文档数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexDocs: Integer # @param IndexStorage: 索引存储大小,单位Byte # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexStorage: Integer # @param IndexCreateTime: 索引创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexCreateTime: String # @param InstanceId: 索引实例ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type InstanceId: String # @param IndexOptionsField: 索引自治字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexOptionsField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexOptionsField` # @param IndexSettingsField: 索引配置字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexSettingsField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexSettingsField` # @param IndexNetworkField: 索引所属连接相关信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexNetworkField: :class:`Tencentcloud::Es.v20180416.models.ServerlessIndexNetworkField` # @param KibanaUrl: Kibana公网域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaUrl: String # @param KibanaPrivateUrl: Kibana内网域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPrivateUrl: String # @param IndexAccessUrl: 索引内网访问地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexAccessUrl: String # @param Status: 状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param SpaceId: 索引空间ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type SpaceId: String # @param SpaceName: 索引空间名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SpaceName: String # @param StorageType: 存储类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type StorageType: Integer # @param TagList: 标签信息 # @type TagList: Array # @param IndexTraffic: 3782478.47 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexTraffic: Float attr_accessor :AppId, :IndexName, :IndexDocs, :IndexStorage, :IndexCreateTime, :InstanceId, :IndexOptionsField, :IndexSettingsField, :IndexNetworkField, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :Status, :SpaceId, :SpaceName, :StorageType, :TagList, :IndexTraffic def initialize(appid=nil, indexname=nil, indexdocs=nil, indexstorage=nil, indexcreatetime=nil, instanceid=nil, indexoptionsfield=nil, indexsettingsfield=nil, indexnetworkfield=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, status=nil, spaceid=nil, spacename=nil, storagetype=nil, taglist=nil, indextraffic=nil) @AppId = appid @IndexName = indexname @IndexDocs = indexdocs @IndexStorage = indexstorage @IndexCreateTime = indexcreatetime @InstanceId = instanceid @IndexOptionsField = indexoptionsfield @IndexSettingsField = indexsettingsfield @IndexNetworkField = indexnetworkfield @KibanaUrl = kibanaurl @KibanaPrivateUrl = kibanaprivateurl @IndexAccessUrl = indexaccessurl @Status = status @SpaceId = spaceid @SpaceName = spacename @StorageType = storagetype @TagList = taglist @IndexTraffic = indextraffic end def deserialize(params) @AppId = params['AppId'] @IndexName = params['IndexName'] @IndexDocs = params['IndexDocs'] @IndexStorage = params['IndexStorage'] @IndexCreateTime = params['IndexCreateTime'] @InstanceId = params['InstanceId'] unless params['IndexOptionsField'].nil? @IndexOptionsField = ServerlessIndexOptionsField.new @IndexOptionsField.deserialize(params['IndexOptionsField']) end unless params['IndexSettingsField'].nil? @IndexSettingsField = ServerlessIndexSettingsField.new @IndexSettingsField.deserialize(params['IndexSettingsField']) end unless params['IndexNetworkField'].nil? @IndexNetworkField = ServerlessIndexNetworkField.new @IndexNetworkField.deserialize(params['IndexNetworkField']) end @KibanaUrl = params['KibanaUrl'] @KibanaPrivateUrl = params['KibanaPrivateUrl'] @IndexAccessUrl = params['IndexAccessUrl'] @Status = params['Status'] @SpaceId = params['SpaceId'] @SpaceName = params['SpaceName'] @StorageType = params['StorageType'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end @IndexTraffic = params['IndexTraffic'] end end # Serverless实例,网络、索引、kibana等连接信息 class ServerlessIndexNetworkField < TencentCloud::Common::AbstractModel # @param Region: 地域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param Zone: 区域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Zone: String # @param VpcUid: vpc唯一ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcUid: String # @param SubnetUid: 子网唯一ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetUid: String # @param Username: 用户名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Username: String # @param Password: 密码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Password: String attr_accessor :Region, :Zone, :VpcUid, :SubnetUid, :Username, :Password def initialize(region=nil, zone=nil, vpcuid=nil, subnetuid=nil, username=nil, password=nil) @Region = region @Zone = zone @VpcUid = vpcuid @SubnetUid = subnetuid @Username = username @Password = password end def deserialize(params) @Region = params['Region'] @Zone = params['Zone'] @VpcUid = params['VpcUid'] @SubnetUid = params['SubnetUid'] @Username = params['Username'] @Password = params['Password'] end end # 索引自治字段 class ServerlessIndexOptionsField < TencentCloud::Common::AbstractModel # @param ExpireMaxAge: 过期时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ExpireMaxAge: String # @param TimestampField: 时间分区字段 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TimestampField: String # @param SinkCycleAge: 标准存储时长 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SinkCycleAge: String # @param StandardStorageAge: 标准存储时长 # 注意:此字段可能返回 null,表示取不到有效值。 # @type StandardStorageAge: String attr_accessor :ExpireMaxAge, :TimestampField, :SinkCycleAge, :StandardStorageAge def initialize(expiremaxage=nil, timestampfield=nil, sinkcycleage=nil, standardstorageage=nil) @ExpireMaxAge = expiremaxage @TimestampField = timestampfield @SinkCycleAge = sinkcycleage @StandardStorageAge = standardstorageage end def deserialize(params) @ExpireMaxAge = params['ExpireMaxAge'] @TimestampField = params['TimestampField'] @SinkCycleAge = params['SinkCycleAge'] @StandardStorageAge = params['StandardStorageAge'] end end # 索引配置字段 class ServerlessIndexSettingsField < TencentCloud::Common::AbstractModel # @param NumberOfShards: 索引主分片数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type NumberOfShards: String # @param RefreshInterval: 索引刷新频率 # 注意:此字段可能返回 null,表示取不到有效值。 # @type RefreshInterval: String attr_accessor :NumberOfShards, :RefreshInterval def initialize(numberofshards=nil, refreshinterval=nil) @NumberOfShards = numberofshards @RefreshInterval = refreshinterval end def deserialize(params) @NumberOfShards = params['NumberOfShards'] @RefreshInterval = params['RefreshInterval'] end end # Serverless索引空间信息 class ServerlessSpace < TencentCloud::Common::AbstractModel # @param SpaceId: Serverless索引空间ID # @type SpaceId: String # @param SpaceName: Serverless索引空间名 # @type SpaceName: String # @param Status: Serverless索引空间状态,0正常,-1已删除 # @type Status: Integer # @param CreateTime: 创建日期 # @type CreateTime: String # @param IndexCount: 空间内索引数量 # @type IndexCount: Integer # @param KibanaUrl: kibana公网uri # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaUrl: String # @param KibanaPrivateUrl: kibana内网url # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPrivateUrl: String # @param IndexAccessUrl: 空间内网访问地址 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndexAccessUrl: String # @param KibanaPublicAcl: 空间白名单 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl` # @param KibanaEmbedUrl: 空间检索分析域名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaEmbedUrl: String # @param DiDataList: 数据联路 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DiDataList: :class:`Tencentcloud::Es.v20180416.models.DiData` # @param VpcInfo: 空间vpc信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcInfo: Array # @param Region: 地域 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Region: String # @param Zone: 可用区 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Zone: String # @param EnableKibanaPublicAccess: kibana公网开关,0关闭,1开启 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnableKibanaPublicAccess: Integer # @param EnableKibanaPrivateAccess: kibana内网开关,0关闭,1开启 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EnableKibanaPrivateAccess: Integer # @param AppId: 空间所属appid # 注意:此字段可能返回 null,表示取不到有效值。 # @type AppId: Integer # @param KibanaLanguage: //默认en, 可选zh-CN # 注意:此字段可能返回 null,表示取不到有效值。 # @type KibanaLanguage: String # @param ClusterType: 0 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClusterType: Integer # @param TagList: key:value # 注意:此字段可能返回 null,表示取不到有效值。 # @type TagList: Array attr_accessor :SpaceId, :SpaceName, :Status, :CreateTime, :IndexCount, :KibanaUrl, :KibanaPrivateUrl, :IndexAccessUrl, :KibanaPublicAcl, :KibanaEmbedUrl, :DiDataList, :VpcInfo, :Region, :Zone, :EnableKibanaPublicAccess, :EnableKibanaPrivateAccess, :AppId, :KibanaLanguage, :ClusterType, :TagList def initialize(spaceid=nil, spacename=nil, status=nil, createtime=nil, indexcount=nil, kibanaurl=nil, kibanaprivateurl=nil, indexaccessurl=nil, kibanapublicacl=nil, kibanaembedurl=nil, didatalist=nil, vpcinfo=nil, region=nil, zone=nil, enablekibanapublicaccess=nil, enablekibanaprivateaccess=nil, appid=nil, kibanalanguage=nil, clustertype=nil, taglist=nil) @SpaceId = spaceid @SpaceName = spacename @Status = status @CreateTime = createtime @IndexCount = indexcount @KibanaUrl = kibanaurl @KibanaPrivateUrl = kibanaprivateurl @IndexAccessUrl = indexaccessurl @KibanaPublicAcl = kibanapublicacl @KibanaEmbedUrl = kibanaembedurl @DiDataList = didatalist @VpcInfo = vpcinfo @Region = region @Zone = zone @EnableKibanaPublicAccess = enablekibanapublicaccess @EnableKibanaPrivateAccess = enablekibanaprivateaccess @AppId = appid @KibanaLanguage = kibanalanguage @ClusterType = clustertype @TagList = taglist end def deserialize(params) @SpaceId = params['SpaceId'] @SpaceName = params['SpaceName'] @Status = params['Status'] @CreateTime = params['CreateTime'] @IndexCount = params['IndexCount'] @KibanaUrl = params['KibanaUrl'] @KibanaPrivateUrl = params['KibanaPrivateUrl'] @IndexAccessUrl = params['IndexAccessUrl'] unless params['KibanaPublicAcl'].nil? @KibanaPublicAcl = EsAcl.new @KibanaPublicAcl.deserialize(params['KibanaPublicAcl']) end @KibanaEmbedUrl = params['KibanaEmbedUrl'] unless params['DiDataList'].nil? @DiDataList = DiData.new @DiDataList.deserialize(params['DiDataList']) end unless params['VpcInfo'].nil? @VpcInfo = [] params['VpcInfo'].each do |i| vpcinfo_tmp = VpcInfo.new vpcinfo_tmp.deserialize(i) @VpcInfo << vpcinfo_tmp end end @Region = params['Region'] @Zone = params['Zone'] @EnableKibanaPublicAccess = params['EnableKibanaPublicAccess'] @EnableKibanaPrivateAccess = params['EnableKibanaPrivateAccess'] @AppId = params['AppId'] @KibanaLanguage = params['KibanaLanguage'] @ClusterType = params['ClusterType'] unless params['TagList'].nil? @TagList = [] params['TagList'].each do |i| taginfo_tmp = TagInfo.new taginfo_tmp.deserialize(i) @TagList << taginfo_tmp end end end end # ServerlessSpaceUser class ServerlessSpaceUser < TencentCloud::Common::AbstractModel # @param Username: 用户名 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Username: String # @param Password: 用户密码 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Password: String # @param CreateTime: 创建时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateTime: String # @param Status: 用户状态 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Status: Integer # @param IndicesScope: 有权限的索引数组 # 注意:此字段可能返回 null,表示取不到有效值。 # @type IndicesScope: Array # @param PrivilegeType: 权限类型 # 注意:此字段可能返回 null,表示取不到有效值。 # @type PrivilegeType: Integer attr_accessor :Username, :Password, :CreateTime, :Status, :IndicesScope, :PrivilegeType def initialize(username=nil, password=nil, createtime=nil, status=nil, indicesscope=nil, privilegetype=nil) @Username = username @Password = password @CreateTime = createtime @Status = status @IndicesScope = indicesscope @PrivilegeType = privilegetype end def deserialize(params) @Username = params['Username'] @Password = params['Password'] @CreateTime = params['CreateTime'] @Status = params['Status'] @IndicesScope = params['IndicesScope'] @PrivilegeType = params['PrivilegeType'] end end # 智能运维集群配置详情 class SettingDetail < TencentCloud::Common::AbstractModel # @param Key: 配置key # @type Key: String # @param Value: 配置当前值 # @type Value: String # @param Advise: 配置处理建议 # @type Advise: String attr_accessor :Key, :Value, :Advise def initialize(key=nil, value=nil, advise=nil) @Key = key @Value = value @Advise = advise end def deserialize(params) @Key = params['Key'] @Value = params['Value'] @Advise = params['Advise'] end end # 集群快照数据结构 class Snapshots < TencentCloud::Common::AbstractModel # @param SnapshotName: 快照名称 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SnapshotName: String # @param Uuid: 快照Uuid # 注意:此字段可能返回 null,表示取不到有效值。 # @type Uuid: String # @param Version: 该快照所属集群的版本号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Version: String # @param Indices: 备份的索引列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Indices: Array # @param DataStreams: 备份的datastream列表 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DataStreams: Array # @param State: 备份的状态 # FAILED 备份失败 # IN_PROGRESS 备份执行中 # PARTIAL 备份部分成功,部分失败,备份失败的索引和原因会在Failures字段中展示 # SUCCESS 备份成功 # 注意:此字段可能返回 null,表示取不到有效值。 # @type State: String # @param StartTime: 快照备份的开始时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type StartTime: String # @param EndTime: 快照备份的结束时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type EndTime: String # @param DurationInMillis: 快照备份的耗时时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DurationInMillis: Integer # @param TotalShards: 备份的总分片数 # 注意:此字段可能返回 null,表示取不到有效值。 # @type TotalShards: Integer # @param FailedShards: 备份失败的分片数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FailedShards: Integer # @param SuccessfulShards: 备份成功的分片数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SuccessfulShards: Integer # @param Failures: 备份失败的索引分片和失败原因 # 注意:此字段可能返回 null,表示取不到有效值。 # @type Failures: Array attr_accessor :SnapshotName, :Uuid, :Version, :Indices, :DataStreams, :State, :StartTime, :EndTime, :DurationInMillis, :TotalShards, :FailedShards, :SuccessfulShards, :Failures def initialize(snapshotname=nil, uuid=nil, version=nil, indices=nil, datastreams=nil, state=nil, starttime=nil, endtime=nil, durationinmillis=nil, totalshards=nil, failedshards=nil, successfulshards=nil, failures=nil) @SnapshotName = snapshotname @Uuid = uuid @Version = version @Indices = indices @DataStreams = datastreams @State = state @StartTime = starttime @EndTime = endtime @DurationInMillis = durationinmillis @TotalShards = totalshards @FailedShards = failedshards @SuccessfulShards = successfulshards @Failures = failures end def deserialize(params) @SnapshotName = params['SnapshotName'] @Uuid = params['Uuid'] @Version = params['Version'] @Indices = params['Indices'] @DataStreams = params['DataStreams'] @State = params['State'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @DurationInMillis = params['DurationInMillis'] @TotalShards = params['TotalShards'] @FailedShards = params['FailedShards'] @SuccessfulShards = params['SuccessfulShards'] unless params['Failures'].nil? @Failures = [] params['Failures'].each do |i| failures_tmp = Failures.new failures_tmp.deserialize(i) @Failures << failures_tmp end end end end # StartLogstashPipelines请求参数结构体 class StartLogstashPipelinesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param PipelineIds: 管道ID列表 # @type PipelineIds: Array attr_accessor :InstanceId, :PipelineIds def initialize(instanceid=nil, pipelineids=nil) @InstanceId = instanceid @PipelineIds = pipelineids end def deserialize(params) @InstanceId = params['InstanceId'] @PipelineIds = params['PipelineIds'] end end # StartLogstashPipelines返回参数结构体 class StartLogstashPipelinesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # StopLogstashPipelines请求参数结构体 class StopLogstashPipelinesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param PipelineIds: 管道ID列表 # @type PipelineIds: Array attr_accessor :InstanceId, :PipelineIds def initialize(instanceid=nil, pipelineids=nil) @InstanceId = instanceid @PipelineIds = pipelineids end def deserialize(params) @InstanceId = params['InstanceId'] @PipelineIds = params['PipelineIds'] end end # StopLogstashPipelines返回参数结构体 class StopLogstashPipelinesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # 实例操作记录流程任务中的子任务信息(如升级检查任务中的各个检查项) class SubTaskDetail < TencentCloud::Common::AbstractModel # @param Name: 子任务名 # @type Name: String # @param Result: 子任务结果 # @type Result: Boolean # @param ErrMsg: 子任务错误信息 # @type ErrMsg: String # @param Type: 子任务类型 # @type Type: String # @param Status: 子任务状态,0处理中 1成功 -1失败 # @type Status: Integer # @param FailedIndices: 升级检查失败的索引名 # @type FailedIndices: Array # @param FinishTime: 子任务结束时间 # @type FinishTime: String # @param Level: 子任务等级,1警告 2失败 # @type Level: Integer attr_accessor :Name, :Result, :ErrMsg, :Type, :Status, :FailedIndices, :FinishTime, :Level def initialize(name=nil, result=nil, errmsg=nil, type=nil, status=nil, failedindices=nil, finishtime=nil, level=nil) @Name = name @Result = result @ErrMsg = errmsg @Type = type @Status = status @FailedIndices = failedindices @FinishTime = finishtime @Level = level end def deserialize(params) @Name = params['Name'] @Result = params['Result'] @ErrMsg = params['ErrMsg'] @Type = params['Type'] @Status = params['Status'] @FailedIndices = params['FailedIndices'] @FinishTime = params['FinishTime'] @Level = params['Level'] end end # 实例标签信息 class TagInfo < TencentCloud::Common::AbstractModel # @param TagKey: 标签键 # @type TagKey: String # @param TagValue: 标签值 # @type TagValue: String attr_accessor :TagKey, :TagValue def initialize(tagkey=nil, tagvalue=nil) @TagKey = tagkey @TagValue = tagvalue end def deserialize(params) @TagKey = params['TagKey'] @TagValue = params['TagValue'] end end # 实例操作记录中的流程任务信息 class TaskDetail < TencentCloud::Common::AbstractModel # @param Name: 任务名 # @type Name: String # @param Progress: 任务进度 # @type Progress: Float # @param FinishTime: 任务完成时间 # @type FinishTime: String # @param SubTasks: 子任务 # @type SubTasks: Array # @param ElapsedTime: 任务花费时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ElapsedTime: Integer # @param ProcessInfo: 任务进度详情 # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProcessInfo: :class:`Tencentcloud::Es.v20180416.models.ProcessDetail` attr_accessor :Name, :Progress, :FinishTime, :SubTasks, :ElapsedTime, :ProcessInfo def initialize(name=nil, progress=nil, finishtime=nil, subtasks=nil, elapsedtime=nil, processinfo=nil) @Name = name @Progress = progress @FinishTime = finishtime @SubTasks = subtasks @ElapsedTime = elapsedtime @ProcessInfo = processinfo end def deserialize(params) @Name = params['Name'] @Progress = params['Progress'] @FinishTime = params['FinishTime'] unless params['SubTasks'].nil? @SubTasks = [] params['SubTasks'].each do |i| subtaskdetail_tmp = SubTaskDetail.new subtaskdetail_tmp.deserialize(i) @SubTasks << subtaskdetail_tmp end end @ElapsedTime = params['ElapsedTime'] unless params['ProcessInfo'].nil? @ProcessInfo = ProcessDetail.new @ProcessInfo.deserialize(params['ProcessInfo']) end end end # UpdateDiagnoseSettings请求参数结构体 class UpdateDiagnoseSettingsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param Status: 0:开启智能运维;-1:关闭智能运维 # @type Status: Integer # @param CronTime: 智能运维每天定时巡检时间,时间格式为HH:00:00,例如15:00:00 # @type CronTime: String attr_accessor :InstanceId, :Status, :CronTime def initialize(instanceid=nil, status=nil, crontime=nil) @InstanceId = instanceid @Status = status @CronTime = crontime end def deserialize(params) @InstanceId = params['InstanceId'] @Status = params['Status'] @CronTime = params['CronTime'] end end # UpdateDiagnoseSettings返回参数结构体 class UpdateDiagnoseSettingsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateDictionaries请求参数结构体 class UpdateDictionariesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param IkMainDicts: 安装时填IK分词主词典COS地址,删除时填词典名如test.dic # @type IkMainDicts: Array # @param IkStopwords: 安装时填IK分词停用词词典COS地址,删除时填词典名如test.dic # @type IkStopwords: Array # @param Synonym: 安装时填同义词词典COS地址,删除时填词典名如test.dic # @type Synonym: Array # @param QQDict: 安装时填QQ分词词典COS地址,删除时填词典名如test.dic # @type QQDict: Array # @param UpdateType: 0:安装;1:删除。默认值0 # @type UpdateType: Integer # @param ForceRestart: 是否强制重启集群。默认值false # @type ForceRestart: Boolean attr_accessor :InstanceId, :IkMainDicts, :IkStopwords, :Synonym, :QQDict, :UpdateType, :ForceRestart def initialize(instanceid=nil, ikmaindicts=nil, ikstopwords=nil, synonym=nil, qqdict=nil, updatetype=nil, forcerestart=nil) @InstanceId = instanceid @IkMainDicts = ikmaindicts @IkStopwords = ikstopwords @Synonym = synonym @QQDict = qqdict @UpdateType = updatetype @ForceRestart = forcerestart end def deserialize(params) @InstanceId = params['InstanceId'] @IkMainDicts = params['IkMainDicts'] @IkStopwords = params['IkStopwords'] @Synonym = params['Synonym'] @QQDict = params['QQDict'] @UpdateType = params['UpdateType'] @ForceRestart = params['ForceRestart'] end end # UpdateDictionaries返回参数结构体 class UpdateDictionariesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateIndex请求参数结构体 class UpdateIndexRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES集群ID # @type InstanceId: String # @param IndexType: 更新的索引类型。auto:自治索引;normal:普通索引 # @type IndexType: String # @param IndexName: 更新的索引名 # @type IndexName: String # @param UpdateMetaJson: 更新的索引元数据JSON,如mappings、settings # @type UpdateMetaJson: String # @param Username: 集群访问用户名 # @type Username: String # @param Password: 集群访问密码 # @type Password: String # @param RolloverBackingIndex: 是否滚动后备索引 # @type RolloverBackingIndex: Boolean attr_accessor :InstanceId, :IndexType, :IndexName, :UpdateMetaJson, :Username, :Password, :RolloverBackingIndex def initialize(instanceid=nil, indextype=nil, indexname=nil, updatemetajson=nil, username=nil, password=nil, rolloverbackingindex=nil) @InstanceId = instanceid @IndexType = indextype @IndexName = indexname @UpdateMetaJson = updatemetajson @Username = username @Password = password @RolloverBackingIndex = rolloverbackingindex end def deserialize(params) @InstanceId = params['InstanceId'] @IndexType = params['IndexType'] @IndexName = params['IndexName'] @UpdateMetaJson = params['UpdateMetaJson'] @Username = params['Username'] @Password = params['Password'] @RolloverBackingIndex = params['RolloverBackingIndex'] end end # UpdateIndex返回参数结构体 class UpdateIndexResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateInstance请求参数结构体 class UpdateInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param InstanceName: 实例名称(1-50 个英文、汉字、数字、连接线-或下划线_) # @type InstanceName: String # @param NodeNum: 已废弃请使用NodeInfoList # 节点个数(2-50个) # @type NodeNum: Integer # @param EsConfig: ES配置项(JSON格式字符串) # @type EsConfig: String # @param Password: 默认用户elastic的密码(8到16位,至少包括两项([a-z,A-Z],[0-9]和[-!@#$%&^*+=_:;,.?]的特殊符号) # @type Password: String # @param EsAcl: 可视化组件(Kibana、Cerebro)的公网访问策略 # @type EsAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl` # @param DiskSize: 已废弃请使用NodeInfoList # 磁盘大小(单位GB) # @type DiskSize: Integer # @param NodeType: 已废弃请使用NodeInfoList # 节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type NodeType: String # @param MasterNodeNum: 已废弃请使用NodeInfoList # 专用主节点个数(只支持3个或5个) # @type MasterNodeNum: Integer # @param MasterNodeType: 已废弃请使用NodeInfoList # 专用主节点规格
  • ES.S1.SMALL2:1核2G
  • ES.S1.MEDIUM4:2核4G
  • ES.S1.MEDIUM8:2核8G
  • ES.S1.LARGE16:4核16G
  • ES.S1.2XLARGE32:8核32G
  • ES.S1.4XLARGE32:16核32G
  • ES.S1.4XLARGE64:16核64G
  • # @type MasterNodeType: String # @param MasterNodeDiskSize: 已废弃请使用NodeInfoList # 专用主节点磁盘大小(单位GB系统默认配置为50GB,暂不支持自定义) # @type MasterNodeDiskSize: Integer # @param ForceRestart: 更新配置时是否强制重启
  • true强制重启
  • false不强制重启
  • 当前仅更新EsConfig时需要设置,默认值为false # @type ForceRestart: Boolean # @param CosBackup: COS自动备份信息 # @type CosBackup: :class:`Tencentcloud::Es.v20180416.models.CosBackup` # @param NodeInfoList: 节点信息列表,可以只传递要更新的节点及其对应的规格信息。支持的操作包括
  • 修改一种节点的个数
  • 修改一种节点的节点规格及磁盘大小
  • 增加一种节点类型(需要同时指定该节点的类型,个数,规格,磁盘等信息)
  • 上述操作一次只能进行一种,且磁盘类型不支持修改 # @type NodeInfoList: Array # @param PublicAccess: ES集群公网访问状态 # OPEN 开启 # CLOSE 关闭 # @type PublicAccess: String # @param EsPublicAcl: 公网访问控制列表 # @type EsPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsPublicAcl` # @param KibanaPublicAccess: Kibana公网访问状态 # OPEN 开启 # CLOSE 关闭 # @type KibanaPublicAccess: String # @param KibanaPrivateAccess: Kibana内网访问状态 # OPEN 开启 # CLOSE 关闭 # @type KibanaPrivateAccess: String # @param BasicSecurityType: ES 6.8及以上版本基础版开启或关闭用户认证 # @type BasicSecurityType: Integer # @param KibanaPrivatePort: Kibana内网端口 # @type KibanaPrivatePort: Integer # @param ScaleType: 0: 蓝绿变更方式扩容,集群不重启 (默认) 1: 磁盘解挂载扩容,集群滚动重启 # @type ScaleType: Integer # @param MultiZoneInfo: 多可用区部署 # @type MultiZoneInfo: Array # @param SceneType: 场景化模板类型 -1:不启用 1:通用 2:日志 3:搜索 # @type SceneType: Integer # @param KibanaConfig: Kibana配置项(JSON格式字符串) # @type KibanaConfig: String # @param WebNodeTypeInfo: 可视化节点配置 # @type WebNodeTypeInfo: :class:`Tencentcloud::Es.v20180416.models.WebNodeTypeInfo` # @param SwitchPrivateLink: 切换到新网络架构 # @type SwitchPrivateLink: String # @param EnableCerebro: 启用Cerebro # @type EnableCerebro: Boolean # @param CerebroPublicAccess: Cerebro公网访问状态 # OPEN 开启 # CLOSE 关闭 # @type CerebroPublicAccess: String # @param CerebroPrivateAccess: Cerebro内网访问状态 # OPEN 开启 # CLOSE 关闭 # @type CerebroPrivateAccess: String # @param EsConfigSet: 新增或修改的配置组信息 # @type EsConfigSet: :class:`Tencentcloud::Es.v20180416.models.EsConfigSetInfo` # @param OperationDuration: 可维护时间段 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDurationUpdated` # @param KibanaAlteringPublicAccess: 是否开启Alerting 外网告警输出: # OPEN 开启 # CLOSE 关闭 # @type KibanaAlteringPublicAccess: String # @param KibanaPrivateDomain: kibana内网自定义域名 # @type KibanaPrivateDomain: String # @param CerebroPrivateDomain: cerebro内网自定义域名 # @type CerebroPrivateDomain: String # @param Protocol: 变更为https集群,默认是http # @type Protocol: String # @param OutboundPublicAcls: 节点出站访问详细信息 # @type OutboundPublicAcls: Array # @param OutboundPublicAccess: 节点出站访问操作 # OPEN 开启 # CLOSE 关闭 # @type OutboundPublicAccess: String # @param CvmDelayOnlineTime: cvm延迟上架参数 # @type CvmDelayOnlineTime: Integer # @param ShardAllocationConcurrents: 分片迁移并发数 # @type ShardAllocationConcurrents: Integer # @param ShardAllocationBytes: 分片迁移并发速度 # @type ShardAllocationBytes: Integer # @param ReadWriteMode: 读写分离模式:-1-不开启,1-本地读写分离,2-远端读写分离 # @type ReadWriteMode: Integer # @param EnableScheduleRecoverGroup: 是否开启置放群组异步任务 # @type EnableScheduleRecoverGroup: Boolean # @param EnableScheduleOperationDuration: 置放群组异步任务可维护时间段 # @type EnableScheduleOperationDuration: :class:`Tencentcloud::Es.v20180416.models.EnableScheduleOperationDuration` attr_accessor :InstanceId, :InstanceName, :NodeNum, :EsConfig, :Password, :EsAcl, :DiskSize, :NodeType, :MasterNodeNum, :MasterNodeType, :MasterNodeDiskSize, :ForceRestart, :CosBackup, :NodeInfoList, :PublicAccess, :EsPublicAcl, :KibanaPublicAccess, :KibanaPrivateAccess, :BasicSecurityType, :KibanaPrivatePort, :ScaleType, :MultiZoneInfo, :SceneType, :KibanaConfig, :WebNodeTypeInfo, :SwitchPrivateLink, :EnableCerebro, :CerebroPublicAccess, :CerebroPrivateAccess, :EsConfigSet, :OperationDuration, :KibanaAlteringPublicAccess, :KibanaPrivateDomain, :CerebroPrivateDomain, :Protocol, :OutboundPublicAcls, :OutboundPublicAccess, :CvmDelayOnlineTime, :ShardAllocationConcurrents, :ShardAllocationBytes, :ReadWriteMode, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration def initialize(instanceid=nil, instancename=nil, nodenum=nil, esconfig=nil, password=nil, esacl=nil, disksize=nil, nodetype=nil, masternodenum=nil, masternodetype=nil, masternodedisksize=nil, forcerestart=nil, cosbackup=nil, nodeinfolist=nil, publicaccess=nil, espublicacl=nil, kibanapublicaccess=nil, kibanaprivateaccess=nil, basicsecuritytype=nil, kibanaprivateport=nil, scaletype=nil, multizoneinfo=nil, scenetype=nil, kibanaconfig=nil, webnodetypeinfo=nil, switchprivatelink=nil, enablecerebro=nil, cerebropublicaccess=nil, cerebroprivateaccess=nil, esconfigset=nil, operationduration=nil, kibanaalteringpublicaccess=nil, kibanaprivatedomain=nil, cerebroprivatedomain=nil, protocol=nil, outboundpublicacls=nil, outboundpublicaccess=nil, cvmdelayonlinetime=nil, shardallocationconcurrents=nil, shardallocationbytes=nil, readwritemode=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil) @InstanceId = instanceid @InstanceName = instancename @NodeNum = nodenum @EsConfig = esconfig @Password = password @EsAcl = esacl @DiskSize = disksize @NodeType = nodetype @MasterNodeNum = masternodenum @MasterNodeType = masternodetype @MasterNodeDiskSize = masternodedisksize @ForceRestart = forcerestart @CosBackup = cosbackup @NodeInfoList = nodeinfolist @PublicAccess = publicaccess @EsPublicAcl = espublicacl @KibanaPublicAccess = kibanapublicaccess @KibanaPrivateAccess = kibanaprivateaccess @BasicSecurityType = basicsecuritytype @KibanaPrivatePort = kibanaprivateport @ScaleType = scaletype @MultiZoneInfo = multizoneinfo @SceneType = scenetype @KibanaConfig = kibanaconfig @WebNodeTypeInfo = webnodetypeinfo @SwitchPrivateLink = switchprivatelink @EnableCerebro = enablecerebro @CerebroPublicAccess = cerebropublicaccess @CerebroPrivateAccess = cerebroprivateaccess @EsConfigSet = esconfigset @OperationDuration = operationduration @KibanaAlteringPublicAccess = kibanaalteringpublicaccess @KibanaPrivateDomain = kibanaprivatedomain @CerebroPrivateDomain = cerebroprivatedomain @Protocol = protocol @OutboundPublicAcls = outboundpublicacls @OutboundPublicAccess = outboundpublicaccess @CvmDelayOnlineTime = cvmdelayonlinetime @ShardAllocationConcurrents = shardallocationconcurrents @ShardAllocationBytes = shardallocationbytes @ReadWriteMode = readwritemode @EnableScheduleRecoverGroup = enableschedulerecovergroup @EnableScheduleOperationDuration = enablescheduleoperationduration end def deserialize(params) @InstanceId = params['InstanceId'] @InstanceName = params['InstanceName'] @NodeNum = params['NodeNum'] @EsConfig = params['EsConfig'] @Password = params['Password'] unless params['EsAcl'].nil? @EsAcl = EsAcl.new @EsAcl.deserialize(params['EsAcl']) end @DiskSize = params['DiskSize'] @NodeType = params['NodeType'] @MasterNodeNum = params['MasterNodeNum'] @MasterNodeType = params['MasterNodeType'] @MasterNodeDiskSize = params['MasterNodeDiskSize'] @ForceRestart = params['ForceRestart'] unless params['CosBackup'].nil? @CosBackup = CosBackup.new @CosBackup.deserialize(params['CosBackup']) end unless params['NodeInfoList'].nil? @NodeInfoList = [] params['NodeInfoList'].each do |i| nodeinfo_tmp = NodeInfo.new nodeinfo_tmp.deserialize(i) @NodeInfoList << nodeinfo_tmp end end @PublicAccess = params['PublicAccess'] unless params['EsPublicAcl'].nil? @EsPublicAcl = EsPublicAcl.new @EsPublicAcl.deserialize(params['EsPublicAcl']) end @KibanaPublicAccess = params['KibanaPublicAccess'] @KibanaPrivateAccess = params['KibanaPrivateAccess'] @BasicSecurityType = params['BasicSecurityType'] @KibanaPrivatePort = params['KibanaPrivatePort'] @ScaleType = params['ScaleType'] unless params['MultiZoneInfo'].nil? @MultiZoneInfo = [] params['MultiZoneInfo'].each do |i| zonedetail_tmp = ZoneDetail.new zonedetail_tmp.deserialize(i) @MultiZoneInfo << zonedetail_tmp end end @SceneType = params['SceneType'] @KibanaConfig = params['KibanaConfig'] unless params['WebNodeTypeInfo'].nil? @WebNodeTypeInfo = WebNodeTypeInfo.new @WebNodeTypeInfo.deserialize(params['WebNodeTypeInfo']) end @SwitchPrivateLink = params['SwitchPrivateLink'] @EnableCerebro = params['EnableCerebro'] @CerebroPublicAccess = params['CerebroPublicAccess'] @CerebroPrivateAccess = params['CerebroPrivateAccess'] unless params['EsConfigSet'].nil? @EsConfigSet = EsConfigSetInfo.new @EsConfigSet.deserialize(params['EsConfigSet']) end unless params['OperationDuration'].nil? @OperationDuration = OperationDurationUpdated.new @OperationDuration.deserialize(params['OperationDuration']) end @KibanaAlteringPublicAccess = params['KibanaAlteringPublicAccess'] @KibanaPrivateDomain = params['KibanaPrivateDomain'] @CerebroPrivateDomain = params['CerebroPrivateDomain'] @Protocol = params['Protocol'] unless params['OutboundPublicAcls'].nil? @OutboundPublicAcls = [] params['OutboundPublicAcls'].each do |i| outboundpublicacl_tmp = OutboundPublicAcl.new outboundpublicacl_tmp.deserialize(i) @OutboundPublicAcls << outboundpublicacl_tmp end end @OutboundPublicAccess = params['OutboundPublicAccess'] @CvmDelayOnlineTime = params['CvmDelayOnlineTime'] @ShardAllocationConcurrents = params['ShardAllocationConcurrents'] @ShardAllocationBytes = params['ShardAllocationBytes'] @ReadWriteMode = params['ReadWriteMode'] @EnableScheduleRecoverGroup = params['EnableScheduleRecoverGroup'] unless params['EnableScheduleOperationDuration'].nil? @EnableScheduleOperationDuration = EnableScheduleOperationDuration.new @EnableScheduleOperationDuration.deserialize(params['EnableScheduleOperationDuration']) end end end # UpdateInstance返回参数结构体 class UpdateInstanceResponse < TencentCloud::Common::AbstractModel # @param DealName: 订单号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DealName: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealName, :RequestId def initialize(dealname=nil, requestid=nil) @DealName = dealname @RequestId = requestid end def deserialize(params) @DealName = params['DealName'] @RequestId = params['RequestId'] end end # UpdateJdk请求参数结构体 class UpdateJdkRequest < TencentCloud::Common::AbstractModel # @param InstanceId: ES实例ID # @type InstanceId: String # @param Jdk: Jdk类型,支持kona和oracle # @type Jdk: String # @param Gc: Gc类型,支持g1和cms # @type Gc: String # @param ForceRestart: 是否强制重启 # @type ForceRestart: Boolean attr_accessor :InstanceId, :Jdk, :Gc, :ForceRestart def initialize(instanceid=nil, jdk=nil, gc=nil, forcerestart=nil) @InstanceId = instanceid @Jdk = jdk @Gc = gc @ForceRestart = forcerestart end def deserialize(params) @InstanceId = params['InstanceId'] @Jdk = params['Jdk'] @Gc = params['Gc'] @ForceRestart = params['ForceRestart'] end end # UpdateJdk返回参数结构体 class UpdateJdkResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateLogstashInstance请求参数结构体 class UpdateLogstashInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param NodeNum: 实例节点数量 # @type NodeNum: Integer # @param YMLConfig: 实例YML配置 # @type YMLConfig: String # @param BindedES: 实例绑定的ES集群信息 # @type BindedES: :class:`Tencentcloud::Es.v20180416.models.LogstashBindedES` # @param InstanceName: 实例名称 # @type InstanceName: String # @param ExtendedFiles: 扩展文件列表 # @type ExtendedFiles: Array # @param NodeType: 实例规格 # @type NodeType: String # @param DiskSize: 节点磁盘容量 # @type DiskSize: Integer # @param OperationDuration: 可维护时间段 # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDurationUpdated` attr_accessor :InstanceId, :NodeNum, :YMLConfig, :BindedES, :InstanceName, :ExtendedFiles, :NodeType, :DiskSize, :OperationDuration def initialize(instanceid=nil, nodenum=nil, ymlconfig=nil, bindedes=nil, instancename=nil, extendedfiles=nil, nodetype=nil, disksize=nil, operationduration=nil) @InstanceId = instanceid @NodeNum = nodenum @YMLConfig = ymlconfig @BindedES = bindedes @InstanceName = instancename @ExtendedFiles = extendedfiles @NodeType = nodetype @DiskSize = disksize @OperationDuration = operationduration end def deserialize(params) @InstanceId = params['InstanceId'] @NodeNum = params['NodeNum'] @YMLConfig = params['YMLConfig'] unless params['BindedES'].nil? @BindedES = LogstashBindedES.new @BindedES.deserialize(params['BindedES']) end @InstanceName = params['InstanceName'] unless params['ExtendedFiles'].nil? @ExtendedFiles = [] params['ExtendedFiles'].each do |i| logstashextendedfile_tmp = LogstashExtendedFile.new logstashextendedfile_tmp.deserialize(i) @ExtendedFiles << logstashextendedfile_tmp end end @NodeType = params['NodeType'] @DiskSize = params['DiskSize'] unless params['OperationDuration'].nil? @OperationDuration = OperationDurationUpdated.new @OperationDuration.deserialize(params['OperationDuration']) end end end # UpdateLogstashInstance返回参数结构体 class UpdateLogstashInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateLogstashPipelineDesc请求参数结构体 class UpdateLogstashPipelineDescRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param PipelineId: 实例管道ID # @type PipelineId: String # @param PipelineDesc: 管道描述信息 # @type PipelineDesc: String attr_accessor :InstanceId, :PipelineId, :PipelineDesc def initialize(instanceid=nil, pipelineid=nil, pipelinedesc=nil) @InstanceId = instanceid @PipelineId = pipelineid @PipelineDesc = pipelinedesc end def deserialize(params) @InstanceId = params['InstanceId'] @PipelineId = params['PipelineId'] @PipelineDesc = params['PipelineDesc'] end end # UpdateLogstashPipelineDesc返回参数结构体 class UpdateLogstashPipelineDescResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdatePlugins请求参数结构体 class UpdatePluginsRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param InstallPluginList: 需要安装的插件名列表 # @type InstallPluginList: Array # @param RemovePluginList: 需要卸载的插件名列表 # @type RemovePluginList: Array # @param ForceRestart: 是否强制重启,默认值false # @type ForceRestart: Boolean # @param ForceUpdate: 是否重新安装,默认值false # @type ForceUpdate: Boolean # @param PluginType: 0:系统插件 # @type PluginType: Integer attr_accessor :InstanceId, :InstallPluginList, :RemovePluginList, :ForceRestart, :ForceUpdate, :PluginType def initialize(instanceid=nil, installpluginlist=nil, removepluginlist=nil, forcerestart=nil, forceupdate=nil, plugintype=nil) @InstanceId = instanceid @InstallPluginList = installpluginlist @RemovePluginList = removepluginlist @ForceRestart = forcerestart @ForceUpdate = forceupdate @PluginType = plugintype end def deserialize(params) @InstanceId = params['InstanceId'] @InstallPluginList = params['InstallPluginList'] @RemovePluginList = params['RemovePluginList'] @ForceRestart = params['ForceRestart'] @ForceUpdate = params['ForceUpdate'] @PluginType = params['PluginType'] end end # UpdatePlugins返回参数结构体 class UpdatePluginsResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateRequestTargetNodeTypes请求参数结构体 class UpdateRequestTargetNodeTypesRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param TargetNodeTypes: 接收请求的目标节点类型列表 # @type TargetNodeTypes: Array attr_accessor :InstanceId, :TargetNodeTypes def initialize(instanceid=nil, targetnodetypes=nil) @InstanceId = instanceid @TargetNodeTypes = targetnodetypes end def deserialize(params) @InstanceId = params['InstanceId'] @TargetNodeTypes = params['TargetNodeTypes'] end end # UpdateRequestTargetNodeTypes返回参数结构体 class UpdateRequestTargetNodeTypesResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateServerlessInstance请求参数结构体 class UpdateServerlessInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: Serveless实例ID # @type InstanceId: String # @param UpdateMetaJson: 更新的索引元数据JSON,如mappings、settings # @type UpdateMetaJson: String # @param Password: 实例访问密码 # @type Password: String # @param KibanaPrivateAccess: 开启kibana内网访问,如OPEN、CLOSE # @type KibanaPrivateAccess: String # @param KibanaPublicAccess: 开启kibana外网访问,如OPEN、CLOSE # @type KibanaPublicAccess: String # @param KibanaPublicAcl: 访问控制列表 # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.KibanaPublicAcl` attr_accessor :InstanceId, :UpdateMetaJson, :Password, :KibanaPrivateAccess, :KibanaPublicAccess, :KibanaPublicAcl def initialize(instanceid=nil, updatemetajson=nil, password=nil, kibanaprivateaccess=nil, kibanapublicaccess=nil, kibanapublicacl=nil) @InstanceId = instanceid @UpdateMetaJson = updatemetajson @Password = password @KibanaPrivateAccess = kibanaprivateaccess @KibanaPublicAccess = kibanapublicaccess @KibanaPublicAcl = kibanapublicacl end def deserialize(params) @InstanceId = params['InstanceId'] @UpdateMetaJson = params['UpdateMetaJson'] @Password = params['Password'] @KibanaPrivateAccess = params['KibanaPrivateAccess'] @KibanaPublicAccess = params['KibanaPublicAccess'] unless params['KibanaPublicAcl'].nil? @KibanaPublicAcl = KibanaPublicAcl.new @KibanaPublicAcl.deserialize(params['KibanaPublicAcl']) end end end # UpdateServerlessInstance返回参数结构体 class UpdateServerlessInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpdateServerlessSpace请求参数结构体 class UpdateServerlessSpaceRequest < TencentCloud::Common::AbstractModel # @param SpaceId: Serveless索引空间ID # @type SpaceId: String # @param SpaceName: Serveless索引空间名 # @type SpaceName: String # @param KibanaPrivateAccess: kibana内网开关 # @type KibanaPrivateAccess: String # @param KibanaPublicAccess: kibana公网开关 # @type KibanaPublicAccess: String # @param KibanaPublicAcl: kibana公网白名单 # @type KibanaPublicAcl: :class:`Tencentcloud::Es.v20180416.models.EsAcl` attr_accessor :SpaceId, :SpaceName, :KibanaPrivateAccess, :KibanaPublicAccess, :KibanaPublicAcl def initialize(spaceid=nil, spacename=nil, kibanaprivateaccess=nil, kibanapublicaccess=nil, kibanapublicacl=nil) @SpaceId = spaceid @SpaceName = spacename @KibanaPrivateAccess = kibanaprivateaccess @KibanaPublicAccess = kibanapublicaccess @KibanaPublicAcl = kibanapublicacl end def deserialize(params) @SpaceId = params['SpaceId'] @SpaceName = params['SpaceName'] @KibanaPrivateAccess = params['KibanaPrivateAccess'] @KibanaPublicAccess = params['KibanaPublicAccess'] unless params['KibanaPublicAcl'].nil? @KibanaPublicAcl = EsAcl.new @KibanaPublicAcl.deserialize(params['KibanaPublicAcl']) end end end # UpdateServerlessSpace返回参数结构体 class UpdateServerlessSpaceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpgradeInstance请求参数结构体 class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param EsVersion: 目标ES版本,支持:”6.4.3“, "6.8.2","7.5.1", "7.10.1", "7.14.2" # @type EsVersion: String # @param CheckOnly: 是否只做升级检查,默认值为false # @type CheckOnly: Boolean # @param LicenseType: 目标商业特性版本:
  • oss 开源版
  • basic 基础版
  • 当前仅在5.6.4升级6.x版本时使用,默认值为basic # @type LicenseType: String # @param BasicSecurityType: 6.8(及以上版本)基础版是否开启xpack security认证
  • 1:不开启
  • 2:开启
  • # @type BasicSecurityType: Integer # @param UpgradeMode: 升级方式:
  • scale 蓝绿变更
  • restart 滚动重启
  • 默认值为scale # @type UpgradeMode: String # @param CosBackup: 升级版本前是否对集群进行备份,默认不备份 # @type CosBackup: Boolean # @param SkipCheckForceRestart: 滚动模式时,是否跳过检查,进行强制重启。默认值为false # @type SkipCheckForceRestart: Boolean # @param CvmDelayOnlineTime: cvm延迟上架参数 # @type CvmDelayOnlineTime: Integer # @param ShardAllocationConcurrents: 分片迁移并发数 # @type ShardAllocationConcurrents: Integer # @param ShardAllocationBytes: 分片迁移并发速度 # @type ShardAllocationBytes: Integer # @param EnableScheduleRecoverGroup: 是否开启置放群组异步任务 # @type EnableScheduleRecoverGroup: Boolean # @param EnableScheduleOperationDuration: 置放群组异步任务时间段 # @type EnableScheduleOperationDuration: :class:`Tencentcloud::Es.v20180416.models.EnableScheduleOperationDuration` attr_accessor :InstanceId, :EsVersion, :CheckOnly, :LicenseType, :BasicSecurityType, :UpgradeMode, :CosBackup, :SkipCheckForceRestart, :CvmDelayOnlineTime, :ShardAllocationConcurrents, :ShardAllocationBytes, :EnableScheduleRecoverGroup, :EnableScheduleOperationDuration def initialize(instanceid=nil, esversion=nil, checkonly=nil, licensetype=nil, basicsecuritytype=nil, upgrademode=nil, cosbackup=nil, skipcheckforcerestart=nil, cvmdelayonlinetime=nil, shardallocationconcurrents=nil, shardallocationbytes=nil, enableschedulerecovergroup=nil, enablescheduleoperationduration=nil) @InstanceId = instanceid @EsVersion = esversion @CheckOnly = checkonly @LicenseType = licensetype @BasicSecurityType = basicsecuritytype @UpgradeMode = upgrademode @CosBackup = cosbackup @SkipCheckForceRestart = skipcheckforcerestart @CvmDelayOnlineTime = cvmdelayonlinetime @ShardAllocationConcurrents = shardallocationconcurrents @ShardAllocationBytes = shardallocationbytes @EnableScheduleRecoverGroup = enableschedulerecovergroup @EnableScheduleOperationDuration = enablescheduleoperationduration end def deserialize(params) @InstanceId = params['InstanceId'] @EsVersion = params['EsVersion'] @CheckOnly = params['CheckOnly'] @LicenseType = params['LicenseType'] @BasicSecurityType = params['BasicSecurityType'] @UpgradeMode = params['UpgradeMode'] @CosBackup = params['CosBackup'] @SkipCheckForceRestart = params['SkipCheckForceRestart'] @CvmDelayOnlineTime = params['CvmDelayOnlineTime'] @ShardAllocationConcurrents = params['ShardAllocationConcurrents'] @ShardAllocationBytes = params['ShardAllocationBytes'] @EnableScheduleRecoverGroup = params['EnableScheduleRecoverGroup'] unless params['EnableScheduleOperationDuration'].nil? @EnableScheduleOperationDuration = EnableScheduleOperationDuration.new @EnableScheduleOperationDuration.deserialize(params['EnableScheduleOperationDuration']) end end end # UpgradeInstance返回参数结构体 class UpgradeInstanceResponse < TencentCloud::Common::AbstractModel # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :RequestId def initialize(requestid=nil) @RequestId = requestid end def deserialize(params) @RequestId = params['RequestId'] end end # UpgradeLicense请求参数结构体 class UpgradeLicenseRequest < TencentCloud::Common::AbstractModel # @param InstanceId: 实例ID # @type InstanceId: String # @param LicenseType: License类型
  • oss:开源版
  • basic:基础版
  • platinum:白金版
  • 默认值platinum # @type LicenseType: String # @param AutoVoucher: 是否自动使用代金券
  • 0:不自动使用
  • 1:自动使用
  • 默认值0 # @type AutoVoucher: Integer # @param VoucherIds: 代金券ID列表(目前仅支持指定一张代金券) # @type VoucherIds: Array # @param BasicSecurityType: 6.8(及以上版本)基础版是否开启xpack security认证
  • 1:不开启
  • 2:开启
  • 不传参时会默认维持原状,传参时需注意只能由不开启变为开启,无法由开启变为不开启
  • # @type BasicSecurityType: Integer # @param ForceRestart: 是否强制重启
  • true强制重启
  • false不强制重启
  • 默认值false # @type ForceRestart: Boolean attr_accessor :InstanceId, :LicenseType, :AutoVoucher, :VoucherIds, :BasicSecurityType, :ForceRestart def initialize(instanceid=nil, licensetype=nil, autovoucher=nil, voucherids=nil, basicsecuritytype=nil, forcerestart=nil) @InstanceId = instanceid @LicenseType = licensetype @AutoVoucher = autovoucher @VoucherIds = voucherids @BasicSecurityType = basicsecuritytype @ForceRestart = forcerestart end def deserialize(params) @InstanceId = params['InstanceId'] @LicenseType = params['LicenseType'] @AutoVoucher = params['AutoVoucher'] @VoucherIds = params['VoucherIds'] @BasicSecurityType = params['BasicSecurityType'] @ForceRestart = params['ForceRestart'] end end # UpgradeLicense返回参数结构体 class UpgradeLicenseResponse < TencentCloud::Common::AbstractModel # @param DealName: 订单号 # 注意:此字段可能返回 null,表示取不到有效值。 # @type DealName: String # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 # @type RequestId: String attr_accessor :DealName, :RequestId def initialize(dealname=nil, requestid=nil) @DealName = dealname @RequestId = requestid end def deserialize(params) @DealName = params['DealName'] @RequestId = params['RequestId'] end end # vpc信息 class VpcInfo < TencentCloud::Common::AbstractModel # @param VpcId: vpcId信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcId: String # @param SubnetId: SubnetId信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetId: String # @param VpcUid: VpcUid信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type VpcUid: Integer # @param SubnetUid: SubnetUid 信息 # 注意:此字段可能返回 null,表示取不到有效值。 # @type SubnetUid: Integer # @param AvailableIpAddressCount: 可用ip数量 # 注意:此字段可能返回 null,表示取不到有效值。 # @type AvailableIpAddressCount: Integer attr_accessor :VpcId, :SubnetId, :VpcUid, :SubnetUid, :AvailableIpAddressCount def initialize(vpcid=nil, subnetid=nil, vpcuid=nil, subnetuid=nil, availableipaddresscount=nil) @VpcId = vpcid @SubnetId = subnetid @VpcUid = vpcuid @SubnetUid = subnetuid @AvailableIpAddressCount = availableipaddresscount end def deserialize(params) @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @VpcUid = params['VpcUid'] @SubnetUid = params['SubnetUid'] @AvailableIpAddressCount = params['AvailableIpAddressCount'] end end # 可视化节点配置 class WebNodeTypeInfo < TencentCloud::Common::AbstractModel # @param NodeNum: 可视化节点个数,固定为1 # @type NodeNum: Integer # @param NodeType: 可视化节点规格 # @type NodeType: String attr_accessor :NodeNum, :NodeType def initialize(nodenum=nil, nodetype=nil) @NodeNum = nodenum @NodeType = nodetype end def deserialize(params) @NodeNum = params['NodeNum'] @NodeType = params['NodeType'] end end # 多可用区部署时可用区的详细信息 class ZoneDetail < TencentCloud::Common::AbstractModel # @param Zone: 可用区 # @type Zone: String # @param SubnetId: 子网ID # @type SubnetId: String attr_accessor :Zone, :SubnetId def initialize(zone=nil, subnetid=nil) @Zone = zone @SubnetId = subnetid end def deserialize(params) @Zone = params['Zone'] @SubnetId = params['SubnetId'] end end end end end