/* * 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.Ecm.V20190719.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class Address : AbstractModel { /// /// EIP的ID,是EIP的唯一标识。 /// [JsonProperty("AddressId")] public string AddressId{ get; set; } /// /// EIP名称。 /// [JsonProperty("AddressName")] public string AddressName{ get; set; } /// /// EIP状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡) /// [JsonProperty("AddressStatus")] public string AddressStatus{ get; set; } /// /// 外网IP地址 /// [JsonProperty("AddressIp")] public string AddressIp{ get; set; } /// /// 绑定的资源实例ID。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InstanceId")] public string InstanceId{ get; set; } /// /// 创建时间。ISO 8601 格式:YYYY-MM-DDTHH:mm:ss.sssZ /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 绑定的弹性网卡ID /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("NetworkInterfaceId")] public string NetworkInterfaceId{ get; set; } /// /// 绑定的资源内网ip /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("PrivateAddressIp")] public string PrivateAddressIp{ get; set; } /// /// 资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离状态 /// [JsonProperty("IsArrears")] public bool? IsArrears{ get; set; } /// /// 资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态 /// [JsonProperty("IsBlocked")] public bool? IsBlocked{ get; set; } /// /// eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式 /// [JsonProperty("IsEipDirectConnection")] public bool? IsEipDirectConnection{ get; set; } /// /// eip资源类型,包括"CalcIP","WanIP","EIP","AnycastEIP"。其中"CalcIP"表示设备ip,“WanIP”表示普通公网ip,“EIP”表示弹性公网ip,“AnycastEip”表示加速EIP /// [JsonProperty("AddressType")] public string AddressType{ get; set; } /// /// eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放 /// [JsonProperty("CascadeRelease")] public bool? CascadeRelease{ get; set; } /// /// 运营商,CTCC电信,CUCC联通,CMCC移动 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("InternetServiceProvider")] public string InternetServiceProvider{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "AddressId", this.AddressId); this.SetParamSimple(map, prefix + "AddressName", this.AddressName); this.SetParamSimple(map, prefix + "AddressStatus", this.AddressStatus); this.SetParamSimple(map, prefix + "AddressIp", this.AddressIp); this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "NetworkInterfaceId", this.NetworkInterfaceId); this.SetParamSimple(map, prefix + "PrivateAddressIp", this.PrivateAddressIp); this.SetParamSimple(map, prefix + "IsArrears", this.IsArrears); this.SetParamSimple(map, prefix + "IsBlocked", this.IsBlocked); this.SetParamSimple(map, prefix + "IsEipDirectConnection", this.IsEipDirectConnection); this.SetParamSimple(map, prefix + "AddressType", this.AddressType); this.SetParamSimple(map, prefix + "CascadeRelease", this.CascadeRelease); this.SetParamSimple(map, prefix + "InternetServiceProvider", this.InternetServiceProvider); } } }