Partager via


ProfileResource.GetLogAnalyticsMetricsAsync Méthode

Définition

Surcharges

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Obtenir le rapport de journal pour le profil AFD

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics d’opération
GetLogAnalyticsMetricsAsync(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Obtenir le rapport de journal pour le profil AFD

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

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Obtenir le rapport de journal pour le profil AFD

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>> GetLogAnalyticsMetricsAsync (Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions options, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLogAnalyticsMetricsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>>
override this.GetLogAnalyticsMetricsAsync : Azure.ResourceManager.Cdn.Models.ProfileResourceGetLogAnalyticsMetricsOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>>
Public Overridable Function GetLogAnalyticsMetricsAsync (options As ProfileResourceGetLogAnalyticsMetricsOptions, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of MetricsResponse))

Paramètres

options
ProfileResourceGetLogAnalyticsMetricsOptions

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 à

GetLogAnalyticsMetricsAsync(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Obtenir le rapport de journal pour le profil AFD

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>> GetLogAnalyticsMetricsAsync (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 GetLogAnalyticsMetricsAsync : 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 -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>>
override this.GetLogAnalyticsMetricsAsync : 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 -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Cdn.Models.MetricsResponse>>
Public Overridable Function GetLogAnalyticsMetricsAsync (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 Task(Of Response(Of MetricsResponse))

Paramètres

metrics
IEnumerable<LogMetric>

ArrayOfLogMetric à utiliser.

dateTimeBegin
DateTimeOffset

DateTime à utiliser.

dateTimeEnd
DateTimeOffset

DateTime à utiliser.

granularity
LogMetricsGranularity

LogMetricsGranularity à utiliser.

customDomains
IEnumerable<String>

ArrayOfGet11ItemsItem à utiliser.

protocols
IEnumerable<String>

ArrayOfGet12ItemsItem à utiliser.

groupBy
IEnumerable<LogMetricsGroupBy>

ArrayOfLogMetricsGroupBy à utiliser.

continents
IEnumerable<String>

ArrayOfGet9ItemsItem à utiliser.

countryOrRegions
IEnumerable<String>

ArrayOfGet10ItemsItem à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

metrics, customDomains ou protocols a la valeur Null.

S’applique à