Condividi tramite


ProfileResource.GetWafLogAnalyticsRankings Method

Definition

Overloads

GetWafLogAnalyticsRankings(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
GetWafLogAnalyticsRankings(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

GetWafLogAnalyticsRankings(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 Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse> GetWafLogAnalyticsRankings (Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsRankings : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>
override this.GetWafLogAnalyticsRankings : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsRankingsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>
Public Overridable Function GetWafLogAnalyticsRankings (options As ProfileResourceGetWafLogAnalyticsRankingsOptions, Optional cancellationToken As CancellationToken = Nothing) As 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

GetWafLogAnalyticsRankings(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 Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse> GetWafLogAnalyticsRankings (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 GetWafLogAnalyticsRankings : 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 -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>
override this.GetWafLogAnalyticsRankings : 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 -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafRankingsResponse>
Public Overridable Function GetWafLogAnalyticsRankings (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 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