Files

121 lines
3.9 KiB
C#
Raw Permalink Normal View History

/*
* 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
{
/// <summary>
/// VPC实例ID。
/// </summary>
[JsonProperty("VpcId")]
public string VpcId{ get; set; }
/// <summary>
/// 子网实例ID。
/// </summary>
[JsonProperty("SubnetId")]
public string SubnetId{ get; set; }
/// <summary>
/// 云主机实例ID
/// </summary>
[JsonProperty("InstanceId")]
public string InstanceId{ get; set; }
/// <summary>
/// 云主机名称。
/// </summary>
[JsonProperty("InstanceName")]
public string InstanceName{ get; set; }
/// <summary>
/// 云主机状态。
/// </summary>
[JsonProperty("InstanceState")]
public string InstanceState{ get; set; }
/// <summary>
/// 实例的CPU核数单位核。
/// </summary>
[JsonProperty("CPU")]
public ulong? CPU{ get; set; }
/// <summary>
/// 实例内存容量单位GB。
/// </summary>
[JsonProperty("Memory")]
public ulong? Memory{ get; set; }
/// <summary>
/// 创建时间。
/// </summary>
[JsonProperty("CreatedTime")]
public string CreatedTime{ get; set; }
/// <summary>
/// 实例机型。
/// </summary>
[JsonProperty("InstanceType")]
public string InstanceType{ get; set; }
/// <summary>
/// 实例弹性网卡配额(包含主网卡)。
/// </summary>
[JsonProperty("EniLimit")]
public ulong? EniLimit{ get; set; }
/// <summary>
/// 实例弹性网卡内网IP配额包含主网卡
/// </summary>
[JsonProperty("EniIpLimit")]
public ulong? EniIpLimit{ get; set; }
/// <summary>
/// 实例已绑定弹性网卡的个数(包含主网卡)。
/// </summary>
[JsonProperty("InstanceEniCount")]
public ulong? InstanceEniCount{ 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 + "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);
}
}
}