90 lines
2.9 KiB
C#
90 lines
2.9 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 PrivateIpAddressSpecification : AbstractModel
|
||
{
|
||
|
||
/// <summary>
|
||
/// 内网IP地址。
|
||
/// </summary>
|
||
[JsonProperty("PrivateIpAddress")]
|
||
public string PrivateIpAddress{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 是否是主IP。
|
||
/// </summary>
|
||
[JsonProperty("Primary")]
|
||
public bool? Primary{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 公网IP地址。
|
||
/// </summary>
|
||
[JsonProperty("PublicIpAddress")]
|
||
public string PublicIpAddress{ get; set; }
|
||
|
||
/// <summary>
|
||
/// EIP实例ID,例如:eip-11112222。
|
||
/// </summary>
|
||
[JsonProperty("AddressId")]
|
||
public string AddressId{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 内网IP描述信息。
|
||
/// </summary>
|
||
[JsonProperty("Description")]
|
||
public string Description{ get; set; }
|
||
|
||
/// <summary>
|
||
/// 公网IP是否被封堵。
|
||
/// </summary>
|
||
[JsonProperty("IsWanIpBlocked")]
|
||
public bool? IsWanIpBlocked{ get; set; }
|
||
|
||
/// <summary>
|
||
/// IP状态:
|
||
/// PENDING:生产中
|
||
/// MIGRATING:迁移中
|
||
/// DELETING:删除中
|
||
/// AVAILABLE:可用的
|
||
/// </summary>
|
||
[JsonProperty("State")]
|
||
public string State{ 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 + "PrivateIpAddress", this.PrivateIpAddress);
|
||
this.SetParamSimple(map, prefix + "Primary", this.Primary);
|
||
this.SetParamSimple(map, prefix + "PublicIpAddress", this.PublicIpAddress);
|
||
this.SetParamSimple(map, prefix + "AddressId", this.AddressId);
|
||
this.SetParamSimple(map, prefix + "Description", this.Description);
|
||
this.SetParamSimple(map, prefix + "IsWanIpBlocked", this.IsWanIpBlocked);
|
||
this.SetParamSimple(map, prefix + "State", this.State);
|
||
}
|
||
}
|
||
}
|
||
|