/* * 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.Cvm.V20170312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class HostItem : AbstractModel { /// /// cdh实例所在的位置。通过该参数可以指定实例所属可用区,所属项目等属性。 /// [JsonProperty("Placement")] public Placement Placement{ get; set; } /// /// cdh实例id /// [JsonProperty("HostId")] public string HostId{ get; set; } /// /// cdh实例类型 /// [JsonProperty("HostType")] public string HostType{ get; set; } /// /// cdh实例名称 /// [JsonProperty("HostName")] public string HostName{ get; set; } /// /// cdh实例付费模式 /// [JsonProperty("HostChargeType")] public string HostChargeType{ get; set; } /// /// cdh实例自动续费标记 /// [JsonProperty("RenewFlag")] public string RenewFlag{ get; set; } /// /// cdh实例创建时间 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// cdh实例过期时间 /// [JsonProperty("ExpiredTime")] public string ExpiredTime{ get; set; } /// /// cdh实例上已创建云子机的实例id列表 /// [JsonProperty("InstanceIds")] public string[] InstanceIds{ get; set; } /// /// cdh实例状态 /// [JsonProperty("HostState")] public string HostState{ get; set; } /// /// cdh实例ip /// [JsonProperty("HostIp")] public string HostIp{ get; set; } /// /// cdh实例资源信息 /// [JsonProperty("HostResource")] public HostResource HostResource{ get; set; } /// /// 专用宿主机所属的围笼ID。该字段仅对金融专区围笼内的专用宿主机有效。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CageId")] public string CageId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamObj(map, prefix + "Placement.", this.Placement); this.SetParamSimple(map, prefix + "HostId", this.HostId); this.SetParamSimple(map, prefix + "HostType", this.HostType); this.SetParamSimple(map, prefix + "HostName", this.HostName); this.SetParamSimple(map, prefix + "HostChargeType", this.HostChargeType); this.SetParamSimple(map, prefix + "RenewFlag", this.RenewFlag); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "ExpiredTime", this.ExpiredTime); this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds); this.SetParamSimple(map, prefix + "HostState", this.HostState); this.SetParamSimple(map, prefix + "HostIp", this.HostIp); this.SetParamObj(map, prefix + "HostResource.", this.HostResource); this.SetParamSimple(map, prefix + "CageId", this.CageId); } } }