/* * 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 ModifyLoadBalancerRequest : AbstractModel { /// /// 负载均衡实例ID,可通过接口DescribeLoadBalancers查询。 /// [JsonProperty("LoadBalancerId")] public string LoadBalancerId{ get; set; } /// /// 负载均衡器名称,规则:1-20个英文、汉字、数字、连接线“-”或下划线“_”。 /// [JsonProperty("LoadBalancerName")] public string LoadBalancerName{ get; set; } /// /// 域名前缀,负载均衡的域名由用户输入的域名前缀与配置文件中的域名后缀一起组合而成,保证是唯一的域名。规则:1-20个小写英文字母、数字或连接线“-”。内网类型的负载均衡不能配置该字段。 /// [JsonProperty("DomainPrefix")] public string DomainPrefix{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "LoadBalancerId", this.LoadBalancerId); this.SetParamSimple(map, prefix + "LoadBalancerName", this.LoadBalancerName); this.SetParamSimple(map, prefix + "DomainPrefix", this.DomainPrefix); } } }