/* * Copyright (c) 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. */ namespace TencentCloud.Es.V20180416.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class InstanceInfo : AbstractModel { /// /// 实例ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 实例名称 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 地域 /// [JsonProperty("Region")] public string Region{ get; set; } /// /// 可用区 /// [JsonProperty("Zone")] public string Zone{ get; set; } /// /// 用户ID /// [JsonProperty("AppId")] public ulong? AppId{ get; set; } /// /// 用户UIN /// [JsonProperty("Uin")] public string Uin{ get; set; } /// /// 实例所属VPC的UID /// [JsonProperty("VpcUid")] public string VpcUid{ get; set; } /// /// 实例所属子网的UID /// [JsonProperty("SubnetUid")] public string SubnetUid{ get; set; } /// /// 实例状态,0:处理中,1:正常,-1停止,-2:销毁中,-3:已销毁 /// [JsonProperty("Status")] public long? Status{ get; set; } /// /// 实例计费模式。取值范围: PREPAID:表示预付费,即包年包月 POSTPAID_BY_HOUR:表示后付费,即按量计费 CDHPAID:CDH付费,即只对CDH计费,不对CDH上的实例计费。 /// [JsonProperty("ChargeType")] public string ChargeType{ get; set; } /// /// 包年包月购买时长,单位:月 /// [JsonProperty("ChargePeriod")] public ulong? ChargePeriod{ get; set; } /// /// 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 默认取值:NOTIFY_AND_AUTO_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 /// [JsonProperty("RenewFlag")] public string RenewFlag{ get; set; } /// /// 节点规格
  • 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
  • ///
    [JsonProperty("NodeType")] public string NodeType{ get; set; } /// /// 节点个数 /// [JsonProperty("NodeNum")] public ulong? NodeNum{ get; set; } /// /// 节点CPU核数 /// [JsonProperty("CpuNum")] public ulong? CpuNum{ get; set; } /// /// 节点内存大小,单位GB /// [JsonProperty("MemSize")] public ulong? MemSize{ get; set; } /// /// 节点磁盘类型 /// [JsonProperty("DiskType")] public string DiskType{ get; set; } /// /// 节点磁盘大小,单位GB /// [JsonProperty("DiskSize")] public ulong? DiskSize{ get; set; } /// /// ES域名 /// [JsonProperty("EsDomain")] public string EsDomain{ get; set; } /// /// ES VIP /// [JsonProperty("EsVip")] public string EsVip{ get; set; } /// /// ES端口 /// [JsonProperty("EsPort")] public ulong? EsPort{ get; set; } /// /// Kibana访问url /// [JsonProperty("KibanaUrl")] public string KibanaUrl{ get; set; } /// /// ES版本号 /// [JsonProperty("EsVersion")] public string EsVersion{ get; set; } /// /// ES配置项 /// [JsonProperty("EsConfig")] public string EsConfig{ get; set; } /// /// Kibana访问控制配置 /// [JsonProperty("EsAcl")] public EsAcl EsAcl{ get; set; } /// /// 实例创建时间 /// [JsonProperty("CreateTime")] public string CreateTime{ get; set; } /// /// 实例最后修改操作时间 /// [JsonProperty("UpdateTime")] public string UpdateTime{ get; set; } /// /// 实例到期时间 /// [JsonProperty("Deadline")] public string Deadline{ get; set; } /// /// 实例类型(实例类型标识,当前只有1,2两种) /// [JsonProperty("InstanceType")] public ulong? InstanceType{ get; set; } /// /// Ik分词器配置 /// [JsonProperty("IkConfig")] public EsDictionaryInfo IkConfig{ get; set; } /// /// 专用主节点配置 /// [JsonProperty("MasterNodeInfo")] public MasterNodeInfo MasterNodeInfo{ get; set; } /// /// cos自动备份配置 /// [JsonProperty("CosBackup")] public CosBackup CosBackup{ get; set; } /// /// 是否允许cos自动备份 /// [JsonProperty("AllowCosBackup")] public bool? AllowCosBackup{ get; set; } /// /// 实例拥有的标签列表 /// [JsonProperty("TagList")] public TagInfo[] TagList{ get; set; } /// /// License类型
  • oss:开源版
  • basic:基础版
  • platinum:白金版
  • 默认值platinum ///
    [JsonProperty("LicenseType")] public string LicenseType{ get; set; } /// /// 是否为冷热集群
  • true: 冷热集群
  • false: 非冷热集群
  • /// 注意:此字段可能返回 null,表示取不到有效值。 ///
    [JsonProperty("EnableHotWarmMode")] public bool? EnableHotWarmMode{ get; set; } /// /// 冷节点规格
  • 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,表示取不到有效值。 ///
    [JsonProperty("WarmNodeType")] public string WarmNodeType{ get; set; } /// /// 冷节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WarmNodeNum")] public ulong? WarmNodeNum{ get; set; } /// /// 冷节点CPU核数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WarmCpuNum")] public ulong? WarmCpuNum{ get; set; } /// /// 冷节点内存内存大小,单位GB /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WarmMemSize")] public ulong? WarmMemSize{ get; set; } /// /// 冷节点磁盘类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WarmDiskType")] public string WarmDiskType{ get; set; } /// /// 冷节点磁盘大小,单位GB /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("WarmDiskSize")] public ulong? WarmDiskSize{ get; set; } /// /// 集群节点信息列表 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("NodeInfoList")] public NodeInfo[] NodeInfoList{ get; set; } /// /// Es公网地址 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("EsPublicUrl")] public string EsPublicUrl{ get; set; } /// /// 多可用区网络信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MultiZoneInfo")] public ZoneDetail[] MultiZoneInfo{ get; set; } /// /// 部署模式
  • 0:单可用区
  • 1:多可用区
  • /// 注意:此字段可能返回 null,表示取不到有效值。 ///
    [JsonProperty("DeployMode")] public ulong? DeployMode{ get; set; } /// /// ES公网访问状态
  • OPEN:开启
  • CLOSE:关闭 /// 注意:此字段可能返回 null,表示取不到有效值。 ///
  • [JsonProperty("PublicAccess")] public string PublicAccess{ get; set; } /// /// ES公网访问控制配置 /// [JsonProperty("EsPublicAcl")] public EsAcl EsPublicAcl{ get; set; } /// /// Kibana内网地址 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("KibanaPrivateUrl")] public string KibanaPrivateUrl{ get; set; } /// /// Kibana公网访问状态
  • OPEN:开启
  • CLOSE:关闭 /// 注意:此字段可能返回 null,表示取不到有效值。 ///
  • [JsonProperty("KibanaPublicAccess")] public string KibanaPublicAccess{ get; set; } /// /// Kibana内网访问状态
  • OPEN:开启
  • CLOSE:关闭 /// 注意:此字段可能返回 null,表示取不到有效值。 ///
  • [JsonProperty("KibanaPrivateAccess")] public string KibanaPrivateAccess{ get; set; } /// /// 6.8(及以上版本)基础版是否开启xpack security认证
  • 1:不开启
  • 2:开启
  • /// 注意:此字段可能返回 null,表示取不到有效值。 ///
    [JsonProperty("SecurityType")] public ulong? SecurityType{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "Region", this.Region); this.SetParamSimple(map, prefix + "Zone", this.Zone); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "Uin", this.Uin); this.SetParamSimple(map, prefix + "VpcUid", this.VpcUid); this.SetParamSimple(map, prefix + "SubnetUid", this.SubnetUid); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType); this.SetParamSimple(map, prefix + "ChargePeriod", this.ChargePeriod); this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag); this.SetParamSimple(map, prefix + "NodeType", this.NodeType); this.SetParamSimple(map, prefix + "NodeNum", this.NodeNum); this.SetParamSimple(map, prefix + "CpuNum", this.CpuNum); this.SetParamSimple(map, prefix + "MemSize", this.MemSize); this.SetParamSimple(map, prefix + "DiskType", this.DiskType); this.SetParamSimple(map, prefix + "DiskSize", this.DiskSize); this.SetParamSimple(map, prefix + "EsDomain", this.EsDomain); this.SetParamSimple(map, prefix + "EsVip", this.EsVip); this.SetParamSimple(map, prefix + "EsPort", this.EsPort); this.SetParamSimple(map, prefix + "KibanaUrl", this.KibanaUrl); this.SetParamSimple(map, prefix + "EsVersion", this.EsVersion); this.SetParamSimple(map, prefix + "EsConfig", this.EsConfig); this.SetParamObj(map, prefix + "EsAcl.", this.EsAcl); this.SetParamSimple(map, prefix + "CreateTime", this.CreateTime); this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime); this.SetParamSimple(map, prefix + "Deadline", this.Deadline); this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); this.SetParamObj(map, prefix + "IkConfig.", this.IkConfig); this.SetParamObj(map, prefix + "MasterNodeInfo.", this.MasterNodeInfo); this.SetParamObj(map, prefix + "CosBackup.", this.CosBackup); this.SetParamSimple(map, prefix + "AllowCosBackup", this.AllowCosBackup); this.SetParamArrayObj(map, prefix + "TagList.", this.TagList); this.SetParamSimple(map, prefix + "LicenseType", this.LicenseType); this.SetParamSimple(map, prefix + "EnableHotWarmMode", this.EnableHotWarmMode); this.SetParamSimple(map, prefix + "WarmNodeType", this.WarmNodeType); this.SetParamSimple(map, prefix + "WarmNodeNum", this.WarmNodeNum); this.SetParamSimple(map, prefix + "WarmCpuNum", this.WarmCpuNum); this.SetParamSimple(map, prefix + "WarmMemSize", this.WarmMemSize); this.SetParamSimple(map, prefix + "WarmDiskType", this.WarmDiskType); this.SetParamSimple(map, prefix + "WarmDiskSize", this.WarmDiskSize); this.SetParamArrayObj(map, prefix + "NodeInfoList.", this.NodeInfoList); this.SetParamSimple(map, prefix + "EsPublicUrl", this.EsPublicUrl); this.SetParamArrayObj(map, prefix + "MultiZoneInfo.", this.MultiZoneInfo); this.SetParamSimple(map, prefix + "DeployMode", this.DeployMode); this.SetParamSimple(map, prefix + "PublicAccess", this.PublicAccess); this.SetParamObj(map, prefix + "EsPublicAcl.", this.EsPublicAcl); this.SetParamSimple(map, prefix + "KibanaPrivateUrl", this.KibanaPrivateUrl); this.SetParamSimple(map, prefix + "KibanaPublicAccess", this.KibanaPublicAccess); this.SetParamSimple(map, prefix + "KibanaPrivateAccess", this.KibanaPrivateAccess); this.SetParamSimple(map, prefix + "SecurityType", this.SecurityType); } } }