Files
g.hnyhua.cn/TencentCloud/Gaap/V20180529/Models/DescribeProxyGroupStatisticsRequest.cs

75 lines
2.6 KiB
C#
Raw Normal View History

/*
* 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 DescribeProxyGroupStatisticsRequest : AbstractModel
{
/// <summary>
/// 通道组ID
/// </summary>
[JsonProperty("GroupId")]
public string GroupId{ get; set; }
/// <summary>
/// 起始时间
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 结束时间
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets
/// </summary>
[JsonProperty("MetricNames")]
public string[] MetricNames{ get; set; }
/// <summary>
/// 监控粒度目前支持60300360086400单位秒。
/// 当时间范围不超过1天支持最小粒度60秒
/// 当时间范围不超过7天支持最小粒度3600秒
/// 当时间范围不超过30天支持最小粒度86400秒。
/// </summary>
[JsonProperty("Granularity")]
public ulong? Granularity{ 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 + "GroupId", this.GroupId);
this.SetParamSimple(map, prefix + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamArraySimple(map, prefix + "MetricNames.", this.MetricNames);
this.SetParamSimple(map, prefix + "Granularity", this.Granularity);
}
}
}