/* * 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.Emr.V20190103.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class ClusterInstancesInfo : AbstractModel { /// /// ID号 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Id")] public long? Id{ get; set; } /// /// 集群ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterId")] public string ClusterId{ get; set; } /// /// 标题 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Ftitle")] public string Ftitle{ get; set; } /// /// 集群名 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ClusterName")] public string ClusterName{ get; set; } /// /// 地域ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RegionId")] public long? RegionId{ get; set; } /// /// 地区ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ZoneId")] public long? ZoneId{ get; set; } /// /// 用户APPID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AppId")] public long? AppId{ get; set; } /// /// 用户UIN /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Uin")] public string Uin{ get; set; } /// /// 项目Id /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// 集群VPCID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("VpcId")] public long? VpcId{ get; set; } /// /// 子网ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SubnetId")] public long? SubnetId{ get; set; } /// /// 实例的状态码。取值范围: ///
  • 2:表示集群运行中。
  • ///
  • 3:表示集群创建中。
  • ///
  • 4:表示集群扩容中。
  • ///
  • 5:表示集群增加router节点中。
  • ///
  • 6:表示集群安装组件中。
  • ///
  • 7:表示集群执行命令中。
  • ///
  • 8:表示重启服务中。
  • ///
  • 9:表示进入维护中。
  • ///
  • 10:表示服务暂停中。
  • ///
  • 11:表示退出维护中。
  • ///
  • 12:表示退出暂停中。
  • ///
  • 13:表示配置下发中。
  • ///
  • 14:表示销毁集群中。
  • ///
  • 15:表示销毁core节点中。
  • ///
  • 16:销毁task节点中。
  • ///
  • 17:表示销毁router节点中。
  • ///
  • 18:表示更改webproxy密码中。
  • ///
  • 19:表示集群隔离中。
  • ///
  • 20:表示集群冲正中。
  • ///
  • 21:表示集群回收中。
  • ///
  • 22:表示变配等待中。
  • ///
  • 23:表示集群已隔离。
  • ///
  • 24:表示缩容节点中。
  • ///
  • 33:表示集群等待退费中。
  • ///
  • 34:表示集群已退费。
  • ///
  • 301:表示创建失败。
  • ///
  • 302:表示扩容失败。
  • /// 注意:此字段可能返回 null,表示取不到有效值。 ///
    [JsonProperty("Status")] public long? Status{ get; set; } /// /// 添加时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AddTime")] public string AddTime{ get; set; } /// /// 已经运行时间 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RunTime")] public string RunTime{ get; set; } /// /// 集群产品配置信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Config")] public EmrProductConfigOutter Config{ get; set; } /// /// 主节点外网IP /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MasterIp")] public string MasterIp{ get; set; } /// /// EMR版本 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("EmrVersion")] public string EmrVersion{ get; set; } /// /// 收费类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ChargeType")] public long? ChargeType{ get; set; } /// /// 交易版本 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TradeVersion")] public long? TradeVersion{ get; set; } /// /// 资源订单ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ResourceOrderId")] public long? ResourceOrderId{ get; set; } /// /// 是否计费集群 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IsTradeCluster")] public long? IsTradeCluster{ get; set; } /// /// 集群错误状态告警信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AlarmInfo")] public string AlarmInfo{ get; set; } /// /// 是否采用新架构 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IsWoodpeckerCluster")] public long? IsWoodpeckerCluster{ get; set; } /// /// 元数据库信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MetaDb")] public string MetaDb{ get; set; } /// /// 标签信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Tags")] public Tag[] Tags{ get; set; } /// /// Hive元数据信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("HiveMetaDb")] public string HiveMetaDb{ get; set; } /// /// 集群类型:EMR,CLICKHOUSE,DRUID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ServiceClass")] public string ServiceClass{ get; set; } /// /// 集群所有节点的别名序列化 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("AliasInfo")] public string AliasInfo{ get; set; } /// /// 集群版本Id /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ProductId")] public long? ProductId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Id", this.Id); this.SetParamSimple(map, prefix + "ClusterId", this.ClusterId); this.SetParamSimple(map, prefix + "Ftitle", this.Ftitle); this.SetParamSimple(map, prefix + "ClusterName", this.ClusterName); this.SetParamSimple(map, prefix + "RegionId", this.RegionId); this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId); this.SetParamSimple(map, prefix + "AppId", this.AppId); this.SetParamSimple(map, prefix + "Uin", this.Uin); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "Status", this.Status); this.SetParamSimple(map, prefix + "AddTime", this.AddTime); this.SetParamSimple(map, prefix + "RunTime", this.RunTime); this.SetParamObj(map, prefix + "Config.", this.Config); this.SetParamSimple(map, prefix + "MasterIp", this.MasterIp); this.SetParamSimple(map, prefix + "EmrVersion", this.EmrVersion); this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType); this.SetParamSimple(map, prefix + "TradeVersion", this.TradeVersion); this.SetParamSimple(map, prefix + "ResourceOrderId", this.ResourceOrderId); this.SetParamSimple(map, prefix + "IsTradeCluster", this.IsTradeCluster); this.SetParamSimple(map, prefix + "AlarmInfo", this.AlarmInfo); this.SetParamSimple(map, prefix + "IsWoodpeckerCluster", this.IsWoodpeckerCluster); this.SetParamSimple(map, prefix + "MetaDb", this.MetaDb); this.SetParamArrayObj(map, prefix + "Tags.", this.Tags); this.SetParamSimple(map, prefix + "HiveMetaDb", this.HiveMetaDb); this.SetParamSimple(map, prefix + "ServiceClass", this.ServiceClass); this.SetParamSimple(map, prefix + "AliasInfo", this.AliasInfo); this.SetParamSimple(map, prefix + "ProductId", this.ProductId); } } }