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