Files
g.hnyhua.cn/TencentCloud/Dc/V20180410/Models/DirectConnect.cs
2026-02-07 15:48:27 +08:00

241 lines
9.6 KiB
C#
Raw Blame History

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