Partilhar via


ProfileResource.GetWafLogAnalyticsMetricsAsync Método

Definição

Sobrecargas

GetWafLogAnalyticsMetricsAsync(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken)

Obtenha o relatório de análise de log relacionado ao Waf para o perfil AFD.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics de operação
GetWafLogAnalyticsMetricsAsync(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, WafGranularity, IEnumerable<WafAction>, IEnumerable<WafRankingGroupBy>, IEnumerable<WafRuleType>, CancellationToken)

Obtenha o relatório de análise de log relacionado ao Waf para o perfil AFD.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics de operação

GetWafLogAnalyticsMetricsAsync(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken)

Obtenha o relatório de análise de log relacionado ao Waf para o perfil AFD.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>> GetWafLogAnalyticsMetricsAsync (Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsMetricsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>>
override this.GetWafLogAnalyticsMetricsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>>
Public Overridable Function GetWafLogAnalyticsMetricsAsync (options As ProfileResourceGetWafLogAnalyticsMetricsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WafMetricsResponse))

Parâmetros

options
ProfileResourceGetWafLogAnalyticsMetricsOptions

Um recipiente de propriedades que contém todos os parâmetros desse método, exceto o qualificador LRO e o parâmetro de contexto de solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

options é nulo.

Aplica-se a

GetWafLogAnalyticsMetricsAsync(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, WafGranularity, IEnumerable<WafAction>, IEnumerable<WafRankingGroupBy>, IEnumerable<WafRuleType>, CancellationToken)

Obtenha o relatório de análise de log relacionado ao Waf para o perfil AFD.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>> GetWafLogAnalyticsMetricsAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafMetric> metrics, DateTimeOffset dateTimeBegin, DateTimeOffset dateTimeEnd, Azure.ResourceManager.Cdn.Models.WafGranularity granularity, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafAction> actions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafRankingGroupBy> groupBy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafRuleType> ruleTypes = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsMetricsAsync : seq<Azure.ResourceManager.Cdn.Models.WafMetric> * DateTimeOffset * DateTimeOffset * Azure.ResourceManager.Cdn.Models.WafGranularity * seq<Azure.ResourceManager.Cdn.Models.WafAction> * seq<Azure.ResourceManager.Cdn.Models.WafRankingGroupBy> * seq<Azure.ResourceManager.Cdn.Models.WafRuleType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>>
override this.GetWafLogAnalyticsMetricsAsync : seq<Azure.ResourceManager.Cdn.Models.WafMetric> * DateTimeOffset * DateTimeOffset * Azure.ResourceManager.Cdn.Models.WafGranularity * seq<Azure.ResourceManager.Cdn.Models.WafAction> * seq<Azure.ResourceManager.Cdn.Models.WafRankingGroupBy> * seq<Azure.ResourceManager.Cdn.Models.WafRuleType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>>
Public Overridable Function GetWafLogAnalyticsMetricsAsync (metrics As IEnumerable(Of WafMetric), dateTimeBegin As DateTimeOffset, dateTimeEnd As DateTimeOffset, granularity As WafGranularity, Optional actions As IEnumerable(Of WafAction) = Nothing, Optional groupBy As IEnumerable(Of WafRankingGroupBy) = Nothing, Optional ruleTypes As IEnumerable(Of WafRuleType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WafMetricsResponse))

Parâmetros

metrics
IEnumerable<WafMetric>

O ArrayOfWafMetric a ser usado.

dateTimeBegin
DateTimeOffset

O DateTime a ser usado.

dateTimeEnd
DateTimeOffset

O DateTime a ser usado.

granularity
WafGranularity

O WafGranularity a ser usado.

actions
IEnumerable<WafAction>

O ArrayOfWafAction a ser usado.

groupBy
IEnumerable<WafRankingGroupBy>

O ArrayOfWafRankingGroupBy a ser usado.

ruleTypes
IEnumerable<WafRuleType>

O ArrayOfWafRuleType a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

metrics é nulo.

Aplica-se a