/* * 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.Gaap.V20180529.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class DescribeRealServersRequest : AbstractModel { /// /// 查询源站的所属项目ID,-1表示所有项目 /// [JsonProperty("ProjectId")] public long? ProjectId{ get; set; } /// /// 需要查询的源站IP或域名,支持模糊匹配 /// [JsonProperty("SearchValue")] public string SearchValue{ get; set; } /// /// 偏移量,默认值是0 /// [JsonProperty("Offset")] public ulong? Offset{ get; set; } /// /// 返回数量,默认为20个,最大值为50个 /// [JsonProperty("Limit")] public ulong? Limit{ get; set; } /// /// 标签列表,当存在该字段时,拉取对应标签下的资源列表。 /// 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,源站会被拉取出来。 /// [JsonProperty("TagSet")] public TagPair[] TagSet{ get; set; } /// /// 过滤条件。filter的name取值(RealServerName,RealServerIP) /// [JsonProperty("Filters")] public Filter[] Filters{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "ProjectId", this.ProjectId); this.SetParamSimple(map, prefix + "SearchValue", this.SearchValue); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamArrayObj(map, prefix + "TagSet.", this.TagSet); this.SetParamArrayObj(map, prefix + "Filters.", this.Filters); } } }