/* * 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.Bmlb.V20180625.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeLoadBalancersRequest : AbstractModel { /// /// 负载均衡器ID数组 /// [JsonProperty("LoadBalancerIds")] public string[] LoadBalancerIds{ get; set; } /// /// 负载均衡的类型 : open表示公网LB类型,internal表示内网LB类型 /// [JsonProperty("LoadBalancerType")] public string LoadBalancerType{ get; set; } /// /// 负载均衡器名称 /// [JsonProperty("LoadBalancerName")] public string LoadBalancerName{ get; set; } /// /// 负载均衡域名。规则:1-60个小写英文字母、数字、点号“.”或连接线“-”。内网类型的负载均衡不能配置该字段 /// [JsonProperty("Domain")] public string Domain{ get; set; } /// /// 负载均衡获得的公网IP地址,支持多个 /// [JsonProperty("LoadBalancerVips")] public string[] LoadBalancerVips{ get; set; } /// /// 数据偏移量,默认为0 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 返回数据长度,默认为20 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 模糊查找名称、域名、VIP /// [JsonProperty("SearchKey")] public string SearchKey{ get; set; } /// /// 排序字段,支持:loadBalancerName,createTime,domain,loadBalancerType /// [JsonProperty("OrderBy")] public string OrderBy{ get; set; } /// /// 1倒序,0顺序,默认顺序 /// [JsonProperty("OrderType")] public long? OrderType{ get; set; } /// /// 项目ID /// [JsonProperty("ProjectId")] public ulong? ProjectId{ get; set; } /// /// 是否筛选独占集群,0表示非独占集群,1表示四层独占集群,2表示七层独占集群,3表示四层和七层独占集群,4表示共享容灾 /// [JsonProperty("Exclusive")] public ulong? Exclusive{ get; set; } /// /// 该负载均衡对应的tgw集群(fullnat,tunnel,dnat) /// [JsonProperty("TgwSetType")] public string TgwSetType{ get; set; } /// /// 该负载均衡对应的所在的私有网络ID /// [JsonProperty("VpcId")] public string VpcId{ get; set; } /// /// 'CONFLIST' 查询带confId的LB列表,'CONFID' 查询某个confId绑定的LB列表 /// [JsonProperty("QueryType")] public string QueryType{ get; set; } /// /// 个性化配置ID /// [JsonProperty("ConfId")] public string ConfId{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamArraySimple(map, prefix + "LoadBalancerIds.", this.LoadBalancerIds); this.SetParamSimple(map, prefix + "LoadBalancerType", this.LoadBalancerType); this.SetParamSimple(map, prefix + "LoadBalancerName", this.LoadBalancerName); this.SetParamSimple(map, prefix + "Domain", this.Domain); this.SetParamArraySimple(map, prefix + "LoadBalancerVips.", this.LoadBalancerVips); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "SearchKey", this.SearchKey); this.SetParamSimple(map, prefix + "OrderBy", this.OrderBy); this.SetParamSimple(map, prefix + "OrderType", this.OrderType); this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "Exclusive", this.Exclusive); this.SetParamSimple(map, prefix + "TgwSetType", this.TgwSetType); this.SetParamSimple(map, prefix + "VpcId", this.VpcId); this.SetParamSimple(map, prefix + "QueryType", this.QueryType); this.SetParamSimple(map, prefix + "ConfId", this.ConfId); } } }