Partager via


ProfileResource.GetWafLogAnalyticsMetricsAsync Méthode

Définition

Surcharges

GetWafLogAnalyticsMetricsAsync(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken)

Obtenir le rapport Log Analytics lié à Waf pour le profil AFD.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics d’opération
GetWafLogAnalyticsMetricsAsync(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, WafGranularity, IEnumerable<WafAction>, IEnumerable<WafRankingGroupBy>, IEnumerable<WafRuleType>, CancellationToken)

Obtenir le rapport Log Analytics lié à Waf pour le profil AFD.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics d’opération

GetWafLogAnalyticsMetricsAsync(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken)

Obtenir le rapport Log Analytics lié à Waf pour le profil AFD.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics d’opération
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))

Paramètres

options
ProfileResourceGetWafLogAnalyticsMetricsOptions

Conteneur de propriétés qui contient tous les paramètres de cette méthode, à l’exception du qualificateur LRO et du paramètre de contexte de requête.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

options a la valeur null.

S’applique à

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

Obtenir le rapport Log Analytics lié à Waf pour le profil AFD.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
  • IdLogAnalytics_GetWafLogAnalyticsMetrics d’opération
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))

Paramètres

metrics
IEnumerable<WafMetric>

ArrayOfWafMetric à utiliser.

dateTimeBegin
DateTimeOffset

DateTime à utiliser.

dateTimeEnd
DateTimeOffset

DateTime à utiliser.

granularity
WafGranularity

WafGranularity à utiliser.

actions
IEnumerable<WafAction>

ArrayOfWafAction à utiliser.

groupBy
IEnumerable<WafRankingGroupBy>

ArrayOfWafRankingGroupBy à utiliser.

ruleTypes
IEnumerable<WafRuleType>

ArrayOfWafRuleType à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

metrics a la valeur null.

S’applique à