/*
* 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.Cvm.V20170312.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class ZoneInfo : AbstractModel
{
///
/// 可用区名称,例如,ap-guangzhou-3
/// 全网可用区名称如下:
/// ap-chongqing-1
/// ap-seoul-1
/// ap-chengdu-1
/// ap-chengdu-2
/// ap-hongkong-1
/// ap-hongkong-2
/// ap-shenzhen-fsi-1
/// ap-shenzhen-fsi-2
/// ap-shenzhen-fsi-3
/// ap-guangzhou-1(售罄)
/// ap-guangzhou-2(售罄)
/// ap-guangzhou-3
/// ap-guangzhou-4
/// ap-tokyo-1
/// ap-singapore-1
/// ap-shanghai-fsi-1
/// ap-shanghai-fsi-2
/// ap-shanghai-fsi-3
/// ap-bangkok-1
/// ap-shanghai-1(售罄)
/// ap-shanghai-2
/// ap-shanghai-3
/// ap-shanghai-4
/// ap-mumbai-1
/// ap-mumbai-2
/// eu-moscow-1
/// ap-beijing-1
/// ap-beijing-2
/// ap-beijing-3
/// ap-beijing-4
/// na-siliconvalley-1
/// na-siliconvalley-2
/// eu-frankfurt-1
/// na-toronto-1
/// na-ashburn-1
/// na-ashburn-2
/// ap-nanjing-1
/// ap-nanjing-2
///
[JsonProperty("Zone")]
public string Zone{ get; set; }
///
/// 可用区描述,例如,广州三区
///
[JsonProperty("ZoneName")]
public string ZoneName{ get; set; }
///
/// 可用区ID
///
[JsonProperty("ZoneId")]
public string ZoneId{ get; set; }
///
/// 可用区状态,包含AVAILABLE和UNAVAILABLE。AVAILABLE代表可用,UNAVAILABLE代表不可用。
///
[JsonProperty("ZoneState")]
public string ZoneState{ get; set; }
///
/// For internal usage only. DO NOT USE IT.
///
internal override void ToMap(Dictionary map, string prefix)
{
this.SetParamSimple(map, prefix + "Zone", this.Zone);
this.SetParamSimple(map, prefix + "ZoneName", this.ZoneName);
this.SetParamSimple(map, prefix + "ZoneId", this.ZoneId);
this.SetParamSimple(map, prefix + "ZoneState", this.ZoneState);
}
}
}