你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LogAnalyticsOperationsExtensions.GetWafLogAnalyticsMetricsAsync 方法

定义

获取 AFD 配置文件的 Waf 相关日志分析报告。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.WafMetricsResponse> GetWafLogAnalyticsMetricsAsync (this Microsoft.Azure.Management.Cdn.ILogAnalyticsOperations operations, string resourceGroupName, string profileName, System.Collections.Generic.IList<string> metrics, DateTime dateTimeBegin, DateTime dateTimeEnd, string granularity, System.Collections.Generic.IList<string> actions = default, System.Collections.Generic.IList<string> groupBy = default, System.Collections.Generic.IList<string> ruleTypes = default, System.Threading.CancellationToken cancellationToken = default);
static member GetWafLogAnalyticsMetricsAsync : Microsoft.Azure.Management.Cdn.ILogAnalyticsOperations * string * string * System.Collections.Generic.IList<string> * DateTime * DateTime * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.WafMetricsResponse>
<Extension()>
Public Function GetWafLogAnalyticsMetricsAsync (operations As ILogAnalyticsOperations, resourceGroupName As String, profileName As String, metrics As IList(Of String), dateTimeBegin As DateTime, dateTimeEnd As DateTime, granularity As String, Optional actions As IList(Of String) = Nothing, Optional groupBy As IList(Of String) = Nothing, Optional ruleTypes As IList(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WafMetricsResponse)

参数

operations
ILogAnalyticsOperations

此扩展方法的操作组。

resourceGroupName
String

Azure 订阅中资源组的名称。

profileName
String

资源组中唯一的 CDN 配置文件的名称。

metrics
IList<String>
dateTimeBegin
DateTime
dateTimeEnd
DateTime
granularity
String

可能的值包括:“PT5M”、“PT1H”、“P1D”

actions
IList<String>
groupBy
IList<String>
ruleTypes
IList<String>
cancellationToken
CancellationToken

取消标记。

返回

适用于