代码修改后的版本,全部提交

This commit is contained in:
ss001
2026-02-07 15:48:27 +08:00
parent cccbaa37c9
commit c2cda58c65
15604 changed files with 2455502 additions and 0 deletions

View File

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