/* * 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 EmrProductConfigOutter : AbstractModel { /// /// 软件信息 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SoftInfo")] public string[] SoftInfo{ get; set; } /// /// Master节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MasterNodeSize")] public long? MasterNodeSize{ get; set; } /// /// Core节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CoreNodeSize")] public long? CoreNodeSize{ get; set; } /// /// Task节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TaskNodeSize")] public long? TaskNodeSize{ get; set; } /// /// Common节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ComNodeSize")] public long? ComNodeSize{ get; set; } /// /// Master节点资源 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("MasterResource")] public OutterResource MasterResource{ get; set; } /// /// Core节点资源 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CoreResource")] public OutterResource CoreResource{ get; set; } /// /// Task节点资源 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TaskResource")] public OutterResource TaskResource{ get; set; } /// /// Common节点资源 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ComResource")] public OutterResource ComResource{ get; set; } /// /// 是否使用COS /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("OnCos")] public bool? OnCos{ get; set; } /// /// 收费类型 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ChargeType")] public long? ChargeType{ get; set; } /// /// Router节点个数 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("RouterNodeSize")] public long? RouterNodeSize{ get; set; } /// /// 是否支持HA /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SupportHA")] public bool? SupportHA{ get; set; } /// /// 是否支持安全模式 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SecurityOn")] public bool? SecurityOn{ get; set; } /// /// 安全组名称 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("SecurityGroup")] public string SecurityGroup{ get; set; } /// /// 是否开启Cbs加密 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CbsEncrypt")] public long? CbsEncrypt{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "SoftInfo.", this.SoftInfo); this.SetParamSimple(map, prefix + "MasterNodeSize", this.MasterNodeSize); this.SetParamSimple(map, prefix + "CoreNodeSize", this.CoreNodeSize); this.SetParamSimple(map, prefix + "TaskNodeSize", this.TaskNodeSize); this.SetParamSimple(map, prefix + "ComNodeSize", this.ComNodeSize); this.SetParamObj(map, prefix + "MasterResource.", this.MasterResource); this.SetParamObj(map, prefix + "CoreResource.", this.CoreResource); this.SetParamObj(map, prefix + "TaskResource.", this.TaskResource); this.SetParamObj(map, prefix + "ComResource.", this.ComResource); this.SetParamSimple(map, prefix + "OnCos", this.OnCos); this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType); this.SetParamSimple(map, prefix + "RouterNodeSize", this.RouterNodeSize); this.SetParamSimple(map, prefix + "SupportHA", this.SupportHA); this.SetParamSimple(map, prefix + "SecurityOn", this.SecurityOn); this.SetParamSimple(map, prefix + "SecurityGroup", this.SecurityGroup); this.SetParamSimple(map, prefix + "CbsEncrypt", this.CbsEncrypt); } } }