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