Files
g.hnyhua.cn/TencentCloud/Ecdn/V20191012/Models/DescribeEcdnStatisticsRequest.cs
2026-02-07 15:48:27 +08:00

100 lines
3.9 KiB
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/*
* 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.Ecdn.V20191012.Models
{
using Newtonsoft.Json;
using System.Collections.Generic;
using TencentCloud.Common;
public class DescribeEcdnStatisticsRequest : AbstractModel
{
/// <summary>
/// 查询起始时间2019-12-13 00:00:00
/// </summary>
[JsonProperty("StartTime")]
public string StartTime{ get; set; }
/// <summary>
/// 查询结束时间2019-12-13 23:59:59
/// </summary>
[JsonProperty("EndTime")]
public string EndTime{ get; set; }
/// <summary>
/// 指定查询指标,支持的类型有:
/// flux流量单位为 byte
/// bandwidth带宽单位为 bps
/// request请求数单位为 次
/// delay响应时间单位为ms
/// 2xx返回 2xx 状态码汇总或者 2 开头状态码数据,单位为 个
/// 3xx返回 3xx 状态码汇总或者 3 开头状态码数据,单位为 个
/// 4xx返回 4xx 状态码汇总或者 4 开头状态码数据,单位为 个
/// 5xx返回 5xx 状态码汇总或者 5 开头状态码数据,单位为 个
/// static_request 静态请求数,单位为 次
/// static_flux静态流量单位为 byte
/// static_bandwidth 静态带宽,单位为 bps
/// dynamic_request动态请求数单位为 次
/// dynamic_flux动态流量单位为 byte
/// dynamic_bandwidth动态带宽单位为 bps
/// </summary>
[JsonProperty("Metrics")]
public string[] Metrics{ get; set; }
/// <summary>
/// 时间粒度,支持以下几种模式:
/// 1 天 151530601202401440
/// 2 ~ 3 天 1530601202401440
/// 4 ~ 7 天 30601202401440
/// 8 ~ 90 天 601202401440
/// </summary>
[JsonProperty("Interval")]
public long? Interval{ get; set; }
/// <summary>
/// 指定查询域名列表
///
/// 最多可一次性查询30个加速域名。
/// </summary>
[JsonProperty("Domains")]
public string[] Domains{ get; set; }
/// <summary>
/// 指定要查询的项目 ID[前往查看项目 ID](https://console.cloud.tencent.com/project)
/// 未填充域名情况下,指定项目查询,若填充了具体域名信息,以域名为主
/// </summary>
[JsonProperty("Projects")]
public long?[] Projects{ 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 + "StartTime", this.StartTime);
this.SetParamSimple(map, prefix + "EndTime", this.EndTime);
this.SetParamArraySimple(map, prefix + "Metrics.", this.Metrics);
this.SetParamSimple(map, prefix + "Interval", this.Interval);
this.SetParamArraySimple(map, prefix + "Domains.", this.Domains);
this.SetParamArraySimple(map, prefix + "Projects.", this.Projects);
}
}
}