Share via


ProfileResource.GetWafLogAnalyticsRankingsAsync Method

Definition

Overloads

GetWafLogAnalyticsRankingsAsync(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, Int32, IEnumerable<WafRankingType>, IEnumerable<WafAction>, IEnumerable<WafRuleType>, CancellationToken)

Get WAF log analytics charts for AFD profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings
  • Operation Id: LogAnalytics_GetWafLogAnalyticsRankings
GetWafLogAnalyticsRankingsAsync(ProfileResourceGetWafLogAnalyticsRankingsOptions, CancellationToken)

Get WAF log analytics charts for AFD profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings
  • Operation Id: LogAnalytics_GetWafLogAnalyticsRankings
  • Default Api Version: 2024-02-01

GetWafLogAnalyticsRankingsAsync(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, Int32, IEnumerable<WafRankingType>, IEnumerable<WafAction>, IEnumerable<WafRuleType>, CancellationToken)

Source:
ProfileResource.cs
Source:
ProfileResource.cs

Get WAF log analytics charts for AFD profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings
  • Operation Id: LogAnalytics_GetWafLogAnalyticsRankings
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>> GetWafLogAnalyticsRankingsAsync (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafMetric> metrics, DateTimeOffset dateTimeBegin, DateTimeOffset dateTimeEnd, int maxRanking, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafRankingType> rankings, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafAction> actions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.WafRuleType> ruleTypes = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsRankingsAsync : seq<Azure.ResourceManager.Cdn.Models.WafMetric> * DateTimeOffset * DateTimeOffset * int * seq<Azure.ResourceManager.Cdn.Models.WafRankingType> * seq<Azure.ResourceManager.Cdn.Models.WafAction> * seq<Azure.ResourceManager.Cdn.Models.WafRuleType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>>
override this.GetWafLogAnalyticsRankingsAsync : seq<Azure.ResourceManager.Cdn.Models.WafMetric> * DateTimeOffset * DateTimeOffset * int * seq<Azure.ResourceManager.Cdn.Models.WafRankingType> * seq<Azure.ResourceManager.Cdn.Models.WafAction> * seq<Azure.ResourceManager.Cdn.Models.WafRuleType> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>>
Public Overridable Function GetWafLogAnalyticsRankingsAsync (metrics As IEnumerable(Of WafMetric), dateTimeBegin As DateTimeOffset, dateTimeEnd As DateTimeOffset, maxRanking As Integer, rankings As IEnumerable(Of WafRankingType), Optional actions As IEnumerable(Of WafAction) = Nothing, Optional ruleTypes As IEnumerable(Of WafRuleType) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WafRankingsResponse))

Parameters

metrics
IEnumerable<WafMetric>

The ArrayOfWafMetric to use.

dateTimeBegin
DateTimeOffset

The DateTime to use.

dateTimeEnd
DateTimeOffset

The DateTime to use.

maxRanking
Int32

The Integer to use.

rankings
IEnumerable<WafRankingType>

The ArrayOfWafRankingType to use.

actions
IEnumerable<WafAction>

The ArrayOfWafAction to use.

ruleTypes
IEnumerable<WafRuleType>

The ArrayOfWafRuleType to use.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

metrics or rankings is null.

Applies to

GetWafLogAnalyticsRankingsAsync(ProfileResourceGetWafLogAnalyticsRankingsOptions, CancellationToken)

Source:
ProfileResource.cs
Source:
ProfileResource.cs

Get WAF log analytics charts for AFD profile

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsRankings
  • Operation Id: LogAnalytics_GetWafLogAnalyticsRankings
  • Default Api Version: 2024-02-01
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>> GetWafLogAnalyticsRankingsAsync (Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsRankingsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>>
override this.GetWafLogAnalyticsRankingsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>>
Public Overridable Function GetWafLogAnalyticsRankingsAsync (options As ProfileResourceGetWafLogAnalyticsRankingsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of WafRankingsResponse))

Parameters

options
ProfileResourceGetWafLogAnalyticsRankingsOptions

A property bag which contains all the parameters of this method except the LRO qualifier and request context parameter.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

options is null.

Applies to