/* * 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.Vpc.V20170312.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class CvmInstance : AbstractModel { /// /// VPC实例ID。 /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 子网实例ID。 /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// 云主机实例ID /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 云主机名称。 /// [JsonProperty("InstanceName")] public string InstanceName{ get; set; } /// /// 云主机状态。 /// [JsonProperty("InstanceState")] public string InstanceState{ get; set; } /// /// 实例的CPU核数,单位:核。 /// [JsonProperty("CPU")] public ulong? CPU{ get; set; } /// /// 实例内存容量,单位:GB。 /// [JsonProperty("Memory")] public ulong? Memory{ get; set; } /// /// 创建时间。 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 实例机型。 /// [JsonProperty("InstanceType")] public string InstanceType{ get; set; } /// /// 实例弹性网卡配额(包含主网卡)。 /// [JsonProperty("EniLimit")] public ulong? EniLimit{ get; set; } /// /// 实例弹性网卡内网IP配额(包含主网卡)。 /// [JsonProperty("EniIpLimit")] public ulong? EniIpLimit{ get; set; } /// /// 实例已绑定弹性网卡的个数(包含主网卡)。 /// [JsonProperty("InstanceEniCount")] public ulong? InstanceEniCount{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName); this.SetParamSimple(map, prefix + "InstanceState", this.InstanceState); this.SetParamSimple(map, prefix + "CPU", this.CPU); this.SetParamSimple(map, prefix + "Memory", this.Memory); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType); this.SetParamSimple(map, prefix + "EniLimit", this.EniLimit); this.SetParamSimple(map, prefix + "EniIpLimit", this.EniIpLimit); this.SetParamSimple(map, prefix + "InstanceEniCount", this.InstanceEniCount); } } }