/* * 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 DescribeTrafficMirrorReceiversRequest : AbstractModel { /// /// 流量镜像实例ID。 /// [JsonProperty("TrafficMirrorId")] public string TrafficMirrorId{ get; set; } /// /// 接收机黑石物理机实例ID数组。 /// [JsonProperty("InstanceIds")] public string[] InstanceIds{ get; set; } /// /// 接收机接收端口数组。 /// [JsonProperty("Ports")] public long?[] Ports{ get; set; } /// /// 接收机实例权重数组。 /// [JsonProperty("Weights")] public long?[] Weights{ get; set; } /// /// 分页的偏移量,也即从第几条记录开始查询 /// [JsonProperty("Offset")] public long? Offset{ get; set; } /// /// 单次查询返回的条目数,默认值:500。 /// [JsonProperty("Limit")] public long? Limit{ get; set; } /// /// 搜索instance或者alias /// [JsonProperty("VagueStr")] public string VagueStr{ get; set; } /// /// 搜索IP /// [JsonProperty("VagueIp")] public string VagueIp{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "TrafficMirrorId", this.TrafficMirrorId); this.SetParamArraySimple(map, prefix + "InstanceIds.", this.InstanceIds); this.SetParamArraySimple(map, prefix + "Ports.", this.Ports); this.SetParamArraySimple(map, prefix + "Weights.", this.Weights); this.SetParamSimple(map, prefix + "Offset", this.Offset); this.SetParamSimple(map, prefix + "Limit", this.Limit); this.SetParamSimple(map, prefix + "VagueStr", this.VagueStr); this.SetParamSimple(map, prefix + "VagueIp", this.VagueIp); } } }