/* * 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.Yunjing.V20180228.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeMachineInfoResponse : AbstractModel { /// /// 机器ip。 /// [JsonProperty("MachineIp")] public string MachineIp{ get; set; } /// /// 受云镜保护天数。 /// [JsonProperty("ProtectDays")] public ulong? ProtectDays{ get; set; } /// /// 操作系统。 /// [JsonProperty("MachineOs")] public string MachineOs{ get; set; } /// /// 主机名称。 /// [JsonProperty("MachineName")] public string MachineName{ get; set; } /// /// 在线状态。 ///
  • ONLINE: 在线
  • ///
  • OFFLINE:离线
  • ///
    [JsonProperty("MachineStatus")] public string MachineStatus{ get; set; } /// /// CVM或BM主机唯一标识。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 主机外网IP。 /// [JsonProperty("MachineWanIp")] public string MachineWanIp{ get; set; } /// /// CVM或BM主机唯一Uuid。 /// [JsonProperty("Quuid")] public string Quuid{ get; set; } /// /// 云镜客户端唯一Uuid。 /// [JsonProperty("Uuid")] public string Uuid{ get; set; } /// /// 是否开通专业版。 ///
  • true:是
  • ///
  • false:否
  • ///
    [JsonProperty("IsProVersion")] public bool? IsProVersion{ get; set; } /// /// 专业版开通时间。 /// [JsonProperty("ProVersionOpenDate")] public string ProVersionOpenDate{ get; set; } /// /// 云主机类型。 ///
  • CVM: 虚拟主机
  • ///
  • BM: 黑石物理机
  • ///
    [JsonProperty("MachineType")] public string MachineType{ get; set; } /// /// 机器所属地域。如:ap-guangzhou,ap-shanghai /// [JsonProperty("MachineRegion")] public string MachineRegion{ get; set; } /// /// 主机状态。 ///
  • POSTPAY: 表示后付费,即按量计费
  • ///
  • PREPAY: 表示预付费,即包年包月
  • ///
    [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 免费木马剩余检测数量。 /// [JsonProperty("FreeMalwaresLeft")] public ulong? FreeMalwaresLeft{ get; set; } /// /// 免费漏洞剩余检测数量。 /// [JsonProperty("FreeVulsLeft")] public ulong? FreeVulsLeft{ get; set; } /// /// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 /// [JsonProperty("RequestId")] public string RequestId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "MachineIp", this.MachineIp); this.SetParamSimple(map, prefix + "ProtectDays", this.ProtectDays); this.SetParamSimple(map, prefix + "MachineOs", this.MachineOs); this.SetParamSimple(map, prefix + "MachineName", this.MachineName); this.SetParamSimple(map, prefix + "MachineStatus", this.MachineStatus); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "MachineWanIp", this.MachineWanIp); this.SetParamSimple(map, prefix + "Quuid", this.Quuid); this.SetParamSimple(map, prefix + "Uuid", this.Uuid); this.SetParamSimple(map, prefix + "IsProVersion", this.IsProVersion); this.SetParamSimple(map, prefix + "ProVersionOpenDate", this.ProVersionOpenDate); this.SetParamSimple(map, prefix + "MachineType", this.MachineType); this.SetParamSimple(map, prefix + "MachineRegion", this.MachineRegion); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "FreeMalwaresLeft", this.FreeMalwaresLeft); this.SetParamSimple(map, prefix + "FreeVulsLeft", this.FreeVulsLeft); this.SetParamSimple(map, prefix + "RequestId", this.RequestId); } } }