ProfileResource.GetLogAnalyticsMetrics 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
GetLogAnalyticsMetrics(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken) |
Get log report for AFD profile
|
GetLogAnalyticsMetrics(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken) |
Get log report for AFD profile
|
GetLogAnalyticsMetrics(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken)
- Source:
- ProfileResource.cs
- Source:
- ProfileResource.cs
Get log report for AFD profile
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
- Operation Id: LogAnalytics_GetLogAnalyticsMetrics
public virtual Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse> GetLogAnalyticsMetrics (System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.LogMetric> metrics, DateTimeOffset dateTimeBegin, DateTimeOffset dateTimeEnd, Azure.ResourceManager.Cdn.Models.LogMetricsGranularity granularity, System.Collections.Generic.IEnumerable<string> customDomains, System.Collections.Generic.IEnumerable<string> protocols, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Cdn.Models.LogMetricsGroupBy> groupBy = default, System.Collections.Generic.IEnumerable<string> continents = default, System.Collections.Generic.IEnumerable<string> countryOrRegions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogAnalyticsMetrics : seq<Azure.ResourceManager.Cdn.Models.LogMetric> * DateTimeOffset * DateTimeOffset * Azure.ResourceManager.Cdn.Models.LogMetricsGranularity * seq<string> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.LogMetricsGroupBy> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>
override this.GetLogAnalyticsMetrics : seq<Azure.ResourceManager.Cdn.Models.LogMetric> * DateTimeOffset * DateTimeOffset * Azure.ResourceManager.Cdn.Models.LogMetricsGranularity * seq<string> * seq<string> * seq<Azure.ResourceManager.Cdn.Models.LogMetricsGroupBy> * seq<string> * seq<string> * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>
Public Overridable Function GetLogAnalyticsMetrics (metrics As IEnumerable(Of LogMetric), dateTimeBegin As DateTimeOffset, dateTimeEnd As DateTimeOffset, granularity As LogMetricsGranularity, customDomains As IEnumerable(Of String), protocols As IEnumerable(Of String), Optional groupBy As IEnumerable(Of LogMetricsGroupBy) = Nothing, Optional continents As IEnumerable(Of String) = Nothing, Optional countryOrRegions As IEnumerable(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MetricsResponse)
Parameters
- metrics
- IEnumerable<LogMetric>
The ArrayOfLogMetric to use.
- dateTimeBegin
- DateTimeOffset
The DateTime to use.
- dateTimeEnd
- DateTimeOffset
The DateTime to use.
- granularity
- LogMetricsGranularity
The LogMetricsGranularity to use.
- customDomains
- IEnumerable<String>
The ArrayOfGet11ItemsItem to use.
- protocols
- IEnumerable<String>
The ArrayOfGet12ItemsItem to use.
- groupBy
- IEnumerable<LogMetricsGroupBy>
The ArrayOfLogMetricsGroupBy to use.
- continents
- IEnumerable<String>
The ArrayOfGet9ItemsItem to use.
- countryOrRegions
- IEnumerable<String>
The ArrayOfGet10ItemsItem to use.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
metrics
, customDomains
or protocols
is null.
Applies to
GetLogAnalyticsMetrics(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)
- Source:
- ProfileResource.cs
- Source:
- ProfileResource.cs
Get log report for AFD profile
- Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
- Operation Id: LogAnalytics_GetLogAnalyticsMetrics
- Default Api Version: 2024-02-01
public virtual Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse> GetLogAnalyticsMetrics (Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogAnalyticsMetrics : Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>
override this.GetLogAnalyticsMetrics : Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>
Public Overridable Function GetLogAnalyticsMetrics (options As ProfileResourceGetLogAnalyticsMetricsOptions, Optional cancellationToken As CancellationToken = Nothing) As Response(Of MetricsResponse)
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.