100 lines
3.3 KiB
C#
100 lines
3.3 KiB
C#
|
|
/*
|
|||
|
|
* 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 CcnRoute : AbstractModel
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 路由策略ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("RouteId")]
|
|||
|
|
public string RouteId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 目的端
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("DestinationCidrBlock")]
|
|||
|
|
public string DestinationCidrBlock{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 下一跳类型(关联实例类型),所有类型:VPC、DIRECTCONNECT
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceType")]
|
|||
|
|
public string InstanceType{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 下一跳(关联实例)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceId")]
|
|||
|
|
public string InstanceId{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 下一跳名称(关联实例名称)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceName")]
|
|||
|
|
public string InstanceName{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 下一跳所属地域(关联实例所属地域)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceRegion")]
|
|||
|
|
public string InstanceRegion{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("UpdateTime")]
|
|||
|
|
public string UpdateTime{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 路由是否启用
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("Enabled")]
|
|||
|
|
public bool? Enabled{ get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联实例所属UIN(根账号)
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("InstanceUin")]
|
|||
|
|
public string InstanceUin{ 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 + "RouteId", this.RouteId);
|
|||
|
|
this.SetParamSimple(map, prefix + "DestinationCidrBlock", this.DestinationCidrBlock);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceType", this.InstanceType);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceId", this.InstanceId);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceName", this.InstanceName);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceRegion", this.InstanceRegion);
|
|||
|
|
this.SetParamSimple(map, prefix + "UpdateTime", this.UpdateTime);
|
|||
|
|
this.SetParamSimple(map, prefix + "Enabled", this.Enabled);
|
|||
|
|
this.SetParamSimple(map, prefix + "InstanceUin", this.InstanceUin);
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
|