ProfileResource.GetWafLogAnalyticsMetrics Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetWafLogAnalyticsMetrics(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken) |
Get Waf related log analytics report for AFD profile.
|
GetWafLogAnalyticsMetrics(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, WafGranularity, IEnumerable<WafAction>, IEnumerable<WafRankingGroupBy>, IEnumerable<WafRuleType>, CancellationToken) |
Get Waf related log analytics report for AFD profile.
|
GetWafLogAnalyticsMetrics(ProfileResourceGetWafLogAnalyticsMetricsOptions, CancellationToken)
- Source:
- ProfileResource.cs
- Source:
- ProfileResource.cs
Get Waf related log analytics report for AFD profile.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
- Operation Id: LogAnalytics_GetWafLogAnalyticsMetrics
- Default Api Version: 2024-02-01
public virtual Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse> GetWafLogAnalyticsMetrics (Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWafLogAnalyticsMetrics : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>
override this.GetWafLogAnalyticsMetrics : Azure.ResourceManager.Cdn.Models.ProfileResourceGetWafLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>
Public Overridable Function GetWafLogAnalyticsMetrics (options As ProfileResourceGetWafLogAnalyticsMetricsOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of WafMetricsResponse)
Parameters
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
GetWafLogAnalyticsMetrics(IEnumerable<WafMetric>, DateTimeOffset, DateTimeOffset, WafGranularity, IEnumerable<WafAction>, IEnumerable<WafRankingGroupBy>, IEnumerable<WafRuleType>, CancellationToken)
- Source:
- ProfileResource.cs
- Source:
- ProfileResource.cs
Get Waf related log analytics report for AFD profile.
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getWafLogAnalyticsMetrics
- Operation Id: LogAnalytics_GetWafLogAnalyticsMetrics
public virtual Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse> GetWafLogAnalyticsMetrics (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 GetWafLogAnalyticsMetrics : 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 -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>
override this.GetWafLogAnalyticsMetrics : 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 -> Azure.Response<Azure.ResourceManager.Cdn.Models.WafMetricsResponse>
Public Overridable Function GetWafLogAnalyticsMetrics (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 Response(Of WafMetricsResponse)
Parameters
- metrics
- IEnumerable<WafMetric>
The ArrayOfWafMetric to use.
- dateTimeBegin
- DateTimeOffset
The DateTime to use.
- dateTimeEnd
- DateTimeOffset
The DateTime to use.
- granularity
- WafGranularity
The WafGranularity to use.
- actions
- IEnumerable<WafAction>
The ArrayOfWafAction to use.
- groupBy
- IEnumerable<WafRankingGroupBy>
The ArrayOfWafRankingGroupBy to use.
- ruleTypes
- IEnumerable<WafRuleType>
The ArrayOfWafRuleType to use.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
metrics
is null.
Applies to
Azure SDK for .NET