/*
* 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 Ipv6Address : AbstractModel
{
///
/// `IPv6`地址,形如:`3402:4e00:20:100:0:8cd9:2a67:71f3`
///
[JsonProperty("Address")]
public string Address{ get; set; }
///
/// 是否是主`IP`。
///
[JsonProperty("Primary")]
public bool? Primary{ get; set; }
///
/// `EIP`实例`ID`,形如:`eip-hxlqja90`。
///
[JsonProperty("AddressId")]
public string AddressId{ get; set; }
///
/// 描述信息。
///
[JsonProperty("Description")]
public string Description{ get; set; }
///
/// 公网IP是否被封堵。
///
[JsonProperty("IsWanIpBlocked")]
public bool? IsWanIpBlocked{ get; set; }
///
/// `IPv6`地址状态:
/// `PENDING`:生产中
/// `MIGRATING`:迁移中
/// `DELETING`:删除中
/// `AVAILABLE`:可用的
///
[JsonProperty("State")]
public string State{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Address", this.Address);
this.SetParamSimple(map, prefix + "Primary", this.Primary);
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);
}
}
}