/* * 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 HaVip : AbstractModel { /// /// `HAVIP`的`ID`,是`HAVIP`的唯一标识。 /// [JsonProperty("HaVipId")] public string HaVipId{ get; set; } /// /// `HAVIP`名称。 /// [JsonProperty("HaVipName")] public string HaVipName{ get; set; } /// /// 虚拟IP地址。 /// [JsonProperty("Vip")] public string Vip{ get; set; } /// /// `HAVIP`所在私有网络`ID`。 /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// `HAVIP`所在子网`ID`。 /// [JsonProperty("SubnetId")] public string SubnetId{ get; set; } /// /// `HAVIP`关联弹性网卡`ID`。 /// [JsonProperty("NetworkInterfaceId")] public string NetworkInterfaceId{ get; set; } /// /// 被绑定的实例`ID`。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 绑定`EIP`。 /// [JsonProperty("AddressIp")] public string AddressIp{ get; set; } /// /// 状态: ///
  • `AVAILABLE`:运行中
  • ///
  • `UNBIND`:未绑定
  • ///
    [JsonProperty("State")] public string State{ get; set; } /// /// 创建时间。 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 使用havip的业务标识。 /// [JsonProperty("Business")] public string Business{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "HaVipId", this.HaVipId); this.SetParamSimple(map, prefix + "HaVipName", this.HaVipName); this.SetParamSimple(map, prefix + "Vip", this.Vip); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "SubnetId", this.SubnetId); this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "AddressIp", this.AddressIp); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "Business", this.Business); } } }