/* * 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 Machine : AbstractModel { /// /// 主机名称。 /// [JsonProperty("MachineName")] public string MachineName{ get; set; } /// /// 主机系统。 /// [JsonProperty("MachineOs")] public string MachineOs{ get; set; } /// /// 主机状态。 ///
  • OFFLINE: 离线
  • ///
  • ONLINE: 在线
  • ///
  • MACHINE_STOPPED: 已关机
  • ///
    [JsonProperty("MachineStatus")] public string MachineStatus{ get; set; } /// /// 云镜客户端唯一Uuid,若客户端长时间不在线将返回空字符。 /// [JsonProperty("Uuid")] public string Uuid{ get; set; } /// /// CVM或BM机器唯一Uuid。 /// [JsonProperty("Quuid")] public string Quuid{ get; set; } /// /// 漏洞数。 /// [JsonProperty("VulNum")] public long? VulNum{ get; set; } /// /// 主机IP。 /// [JsonProperty("MachineIp")] public string MachineIp{ get; set; } /// /// 是否是专业版。 ///
  • true: 是
  • ///
  • false:否
  • ///
    [JsonProperty("IsProVersion")] public bool? IsProVersion{ get; set; } /// /// 主机外网IP。 /// [JsonProperty("MachineWanIp")] public string MachineWanIp{ get; set; } /// /// 主机状态。 ///
  • POSTPAY: 表示后付费,即按量计费
  • ///
  • PREPAY: 表示预付费,即包年包月
  • ///
    [JsonProperty("PayMode")] public string PayMode{ get; set; } /// /// 木马数。 /// [JsonProperty("MalwareNum")] public long? MalwareNum{ get; set; } /// /// 标签信息 /// [JsonProperty("Tag")] public MachineTag[] Tag{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "MachineName", this.MachineName); this.SetParamSimple(map, prefix + "MachineOs", this.MachineOs); this.SetParamSimple(map, prefix + "MachineStatus", this.MachineStatus); this.SetParamSimple(map, prefix + "Uuid", this.Uuid); this.SetParamSimple(map, prefix + "Quuid", this.Quuid); this.SetParamSimple(map, prefix + "VulNum", this.VulNum); this.SetParamSimple(map, prefix + "MachineIp", this.MachineIp); this.SetParamSimple(map, prefix + "IsProVersion", this.IsProVersion); this.SetParamSimple(map, prefix + "MachineWanIp", this.MachineWanIp); this.SetParamSimple(map, prefix + "PayMode", this.PayMode); this.SetParamSimple(map, prefix + "MalwareNum", this.MalwareNum); this.SetParamArrayObj(map, prefix + "Tag.", this.Tag); } } }