/* * 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.Dc.V20180410.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DirectConnect : AbstractModel { /// /// 物理专线ID。 /// [JsonProperty("DirectConnectId")] public string DirectConnectId{ get; set; } /// /// 物理专线的名称。 /// [JsonProperty("DirectConnectName")] public string DirectConnectName{ get; set; } /// /// 物理专线的接入点ID。 /// [JsonProperty("AccessPointId")] public string AccessPointId{ get; set; } /// /// 物理专线的状态。 /// 申请中:PENDING /// 申请驳回:REJECTED /// 待付款:TOPAY /// 已付款:PAID /// 建设中:ALLOCATED /// 已开通:AVAILABLE /// 删除中 :DELETING /// 已删除:DELETED 。 /// [JsonProperty("State")] public string State{ get; set; } /// /// 物理专线创建时间。 /// [JsonProperty("CreatedTime")] public string CreatedTime{ get; set; } /// /// 物理专线的开通时间。 /// [JsonProperty("EnabledTime")] public string EnabledTime{ get; set; } /// /// 提供接入物理专线的运营商。ChinaTelecom:中国电信, ChinaMobile:中国移动,ChinaUnicom:中国联通, In-houseWiring:楼内线,ChinaOther:中国其他, InternationalOperator:境外其他。 /// [JsonProperty("LineOperator")] public string LineOperator{ get; set; } /// /// 本地数据中心的地理位置。 /// [JsonProperty("Location")] public string Location{ get; set; } /// /// 物理专线接入接口带宽,单位为Mbps。 /// [JsonProperty("Bandwidth")] public long? Bandwidth{ get; set; } /// /// 用户侧物理专线接入端口类型,取值:100Base-T:百兆电口,1000Base-T(默认值):千兆电口,1000Base-LX:千兆单模光口(10千米),10GBase-T:万兆电口10GBase-LR:万兆单模光口(10千米),默认值,千兆单模光口(10千米) /// [JsonProperty("PortType")] public string PortType{ get; set; } /// /// 运营商或者服务商为物理专线提供的电路编码。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CircuitCode")] public string CircuitCode{ get; set; } /// /// 冗余物理专线的ID。 /// [JsonProperty("RedundantDirectConnectId")] public string RedundantDirectConnectId{ get; set; } /// /// 物理专线调试VLAN。默认开启VLAN,自动分配VLAN。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("Vlan")] public long? Vlan{ get; set; } /// /// 物理专线调试腾讯侧互联IP。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TencentAddress")] public string TencentAddress{ get; set; } /// /// 物理专线调试用户侧互联IP。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CustomerAddress")] public string CustomerAddress{ get; set; } /// /// 物理专线申请者姓名。默认从账户体系获取。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CustomerName")] public string CustomerName{ get; set; } /// /// 物理专线申请者联系邮箱。默认从账户体系获取。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CustomerContactMail")] public string CustomerContactMail{ get; set; } /// /// 物理专线申请者联系号码。默认从账户体系获取。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("CustomerContactNumber")] public string CustomerContactNumber{ get; set; } /// /// 物理专线的过期时间。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ExpiredTime")] public string ExpiredTime{ get; set; } /// /// 物理专线计费类型。 NON_RECURRING_CHARGE:一次性接入费用;PREPAID_BY_YEAR:按年预付费。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ChargeType")] public string ChargeType{ get; set; } /// /// 报障联系人。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("FaultReportContactPerson")] public string FaultReportContactPerson{ get; set; } /// /// 报障联系电话。 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("FaultReportContactNumber")] public string FaultReportContactNumber{ get; set; } /// /// 标签键值对 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("TagSet")] public Tag[] TagSet{ get; set; } /// /// 物理专线的接入点类型。 /// [JsonProperty("AccessPointType")] public string AccessPointType{ get; set; } /// /// IDC所在城市 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("IdcCity")] public string IdcCity{ get; set; } /// /// 计费状态 /// 注意:此字段可能返回 null,表示取不到有效值。 /// [JsonProperty("ChargeState")] public string ChargeState{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "DirectConnectId", this.DirectConnectId); this.SetParamSimple(map, prefix + "DirectConnectName", this.DirectConnectName); this.SetParamSimple(map, prefix + "AccessPointId", this.AccessPointId); this.SetParamSimple(map, prefix + "State", this.State); this.SetParamSimple(map, prefix + "CreatedTime", this.CreatedTime); this.SetParamSimple(map, prefix + "EnabledTime", this.EnabledTime); this.SetParamSimple(map, prefix + "LineOperator", this.LineOperator); this.SetParamSimple(map, prefix + "Location", this.Location); this.SetParamSimple(map, prefix + "Bandwidth", this.Bandwidth); this.SetParamSimple(map, prefix + "PortType", this.PortType); this.SetParamSimple(map, prefix + "CircuitCode", this.CircuitCode); this.SetParamSimple(map, prefix + "RedundantDirectConnectId", this.RedundantDirectConnectId); this.SetParamSimple(map, prefix + "Vlan", this.Vlan); this.SetParamSimple(map, prefix + "TencentAddress", this.TencentAddress); this.SetParamSimple(map, prefix + "CustomerAddress", this.CustomerAddress); this.SetParamSimple(map, prefix + "CustomerName", this.CustomerName); this.SetParamSimple(map, prefix + "CustomerContactMail", this.CustomerContactMail); this.SetParamSimple(map, prefix + "CustomerContactNumber", this.CustomerContactNumber); this.SetParamSimple(map, prefix + "ExpiredTime", this.ExpiredTime); this.SetParamSimple(map, prefix + "ChargeType", this.ChargeType); this.SetParamSimple(map, prefix + "FaultReportContactPerson", this.FaultReportContactPerson); this.SetParamSimple(map, prefix + "FaultReportContactNumber", this.FaultReportContactNumber); this.SetParamArrayObj(map, prefix + "TagSet.", this.TagSet); this.SetParamSimple(map, prefix + "AccessPointType", this.AccessPointType); this.SetParamSimple(map, prefix + "IdcCity", this.IdcCity); this.SetParamSimple(map, prefix + "ChargeState", this.ChargeState); } } }