lib/v20180416/models.rb in tencentcloud-sdk-es-1.0.233 vs lib/v20180416/models.rb in tencentcloud-sdk-es-1.0.234
- old
+ new
@@ -55,14 +55,22 @@
# @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
+ 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)
+ 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
@@ -78,10 +86,13 @@
@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']
@@ -100,10 +111,13 @@
@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
# ES cos自动备份信息
class CosBackup < TencentCloud::Common::AbstractModel
@@ -291,22 +305,27 @@
# CreateInstance返回参数结构体
class CreateInstanceResponse < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID
# @type InstanceId: String
+ # @param DealName: 订单号
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :InstanceId, :RequestId
+ attr_accessor :InstanceId, :DealName, :RequestId
- def initialize(instanceid=nil, requestid=nil)
+ 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
# DeleteInstance请求参数结构体
@@ -503,23 +522,26 @@
# @type OrderByType: Integer
# @param TagList: 节点标签信息列表
# @type TagList: Array
# @param IpList: 私有网络vip列表
# @type IpList: Array
+ # @param ZoneList: 可用区列表
+ # @type ZoneList: Array
- attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :TagList, :IpList
+ attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :TagList, :IpList, :ZoneList
- def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, taglist=nil, iplist=nil)
+ def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, taglist=nil, iplist=nil, zonelist=nil)
@Zone = zone
@InstanceIds = instanceids
@InstanceNames = instancenames
@Offset = offset
@Limit = limit
@OrderByKey = orderbykey
@OrderByType = orderbytype
@TagList = taglist
@IpList = iplist
+ @ZoneList = zonelist
end
def deserialize(params)
@Zone = params['Zone']
@InstanceIds = params['InstanceIds']
@@ -535,10 +557,11 @@
taginfo_tmp.deserialize(i)
@TagList << taginfo_tmp
end
end
@IpList = params['IpList']
+ @ZoneList = params['ZoneList']
end
end
# DescribeInstances返回参数结构体
class DescribeInstancesResponse < TencentCloud::Common::AbstractModel
@@ -908,26 +931,26 @@
# @param LicenseType: License类型<li>oss:开源版</li><li>basic:基础版</li><li>platinum:白金版</li>默认值platinum
# @type LicenseType: String
# @param EnableHotWarmMode: 是否为冷热集群<li>true: 冷热集群</li><li>false: 非冷热集群</li>
# 注意:此字段可能返回 null,表示取不到有效值。
# @type EnableHotWarmMode: Boolean
- # @param WarmNodeType: 冷节点规格<li>ES.S1.SMALL2:1核2G</li><li>ES.S1.MEDIUM4:2核4G</li><li>ES.S1.MEDIUM8:2核8G</li><li>ES.S1.LARGE16:4核16G</li><li>ES.S1.2XLARGE32:8核32G</li><li>ES.S1.4XLARGE32:16核32G</li><li>ES.S1.4XLARGE64:16核64G</li>
+ # @param WarmNodeType: 温节点规格<li>ES.S1.SMALL2:1核2G</li><li>ES.S1.MEDIUM4:2核4G</li><li>ES.S1.MEDIUM8:2核8G</li><li>ES.S1.LARGE16:4核16G</li><li>ES.S1.2XLARGE32:8核32G</li><li>ES.S1.4XLARGE32:16核32G</li><li>ES.S1.4XLARGE64:16核64G</li>
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmNodeType: String
- # @param WarmNodeNum: 冷节点个数
+ # @param WarmNodeNum: 温节点个数
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmNodeNum: Integer
- # @param WarmCpuNum: 冷节点CPU核数
+ # @param WarmCpuNum: 温节点CPU核数
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmCpuNum: Integer
- # @param WarmMemSize: 冷节点内存内存大小,单位GB
+ # @param WarmMemSize: 温节点内存内存大小,单位GB
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmMemSize: Integer
- # @param WarmDiskType: 冷节点磁盘类型
+ # @param WarmDiskType: 温节点磁盘类型
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmDiskType: String
- # @param WarmDiskSize: 冷节点磁盘大小,单位GB
+ # @param WarmDiskSize: 温节点磁盘大小,单位GB
# 注意:此字段可能返回 null,表示取不到有效值。
# @type WarmDiskSize: Integer
# @param NodeInfoList: 集群节点信息列表
# 注意:此字段可能返回 null,表示取不到有效值。
# @type NodeInfoList: Array
@@ -976,14 +999,50 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Protocol: String
# @param SecurityGroups: 安全组id
# 注意:此字段可能返回 null,表示取不到有效值。
# @type SecurityGroups: Array
+ # @param ColdNodeType: 冷节点规格<li>ES.S1.SMALL2:1核2G</li><li>ES.S1.MEDIUM4:2核4G</li><li>ES.S1.MEDIUM8:2核8G</li><li>ES.S1.LARGE16:4核16G</li><li>ES.S1.2XLARGE32:8核32G</li><li>ES.S1.4XLARGE32:16核32G</li><li>ES.S1.4XLARGE64:16核64G</li>
+ # 注意:此字段可能返回 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: 冻节点规格<li>ES.S1.SMALL2:1核2G</li><li>ES.S1.MEDIUM4:2核4G</li><li>ES.S1.MEDIUM8:2核8G</li><li>ES.S1.LARGE16:4核16G</li><li>ES.S1.2XLARGE32:8核32G</li><li>ES.S1.4XLARGE32:16核32G</li><li>ES.S1.4XLARGE64:16核64G</li>
+ # 注意:此字段可能返回 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
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :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
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcUid, :SubnetUid, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :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
- def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=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)
+ def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcuid=nil, subnetuid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=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)
@InstanceId = instanceid
@InstanceName = instancename
@Region = region
@Zone = zone
@AppId = appid
@@ -1039,10 +1098,22 @@
@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
end
def deserialize(params)
@InstanceId = params['InstanceId']
@InstanceName = params['InstanceName']
@@ -1143,10 +1214,22 @@
@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']
end
end
# ES集群日志详细信息
class InstanceLog < TencentCloud::Common::AbstractModel
@@ -1966,20 +2049,25 @@
end
end
# UpdateInstance返回参数结构体
class UpdateInstanceResponse < TencentCloud::Common::AbstractModel
+ # @param DealName: 订单号
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :RequestId
+ attr_accessor :DealName, :RequestId
- def initialize(requestid=nil)
+ def initialize(dealname=nil, requestid=nil)
+ @DealName = dealname
@RequestId = requestid
end
def deserialize(params)
+ @DealName = params['DealName']
@RequestId = params['RequestId']
end
end
# UpdateJdk请求参数结构体
@@ -2036,27 +2124,31 @@
# @type RemovePluginList: Array
# @param ForceRestart: 是否强制重启
# @type ForceRestart: Boolean
# @param ForceUpdate: 是否重新安装
# @type ForceUpdate: Boolean
+ # @param PluginType: 0:系统插件
+ # @type PluginType: Integer
- attr_accessor :InstanceId, :InstallPluginList, :RemovePluginList, :ForceRestart, :ForceUpdate
+ attr_accessor :InstanceId, :InstallPluginList, :RemovePluginList, :ForceRestart, :ForceUpdate, :PluginType
- def initialize(instanceid=nil, installpluginlist=nil, removepluginlist=nil, forcerestart=nil, forceupdate=nil)
+ 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
@@ -2198,19 +2290,24 @@
end
end
# UpgradeLicense返回参数结构体
class UpgradeLicenseResponse < TencentCloud::Common::AbstractModel
+ # @param DealName: 订单号
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DealName: String
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :RequestId
+ attr_accessor :DealName, :RequestId
- def initialize(requestid=nil)
+ def initialize(dealname=nil, requestid=nil)
+ @DealName = dealname
@RequestId = requestid
end
def deserialize(params)
+ @DealName = params['DealName']
@RequestId = params['RequestId']
end
end
# 可视化节点配置