Freigeben über


ProfileResource.GetLogAnalyticsMetricsAsync Methode

Definition

Überlädt

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Abrufen des Protokollberichts für AFD-Profil

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • Vorgangs-IdLogAnalytics_GetLogAnalyticsMetrics
GetLogAnalyticsMetricsAsync(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Abrufen des Protokollberichts für AFD-Profil

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • Vorgangs-IdLogAnalytics_GetLogAnalyticsMetrics

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Abrufen des Protokollberichts für AFD-Profil

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • Vorgangs-IdLogAnalytics_GetLogAnalyticsMetrics
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))

Parameter

options
ProfileResourceGetLogAnalyticsMetricsOptions

Ein Eigenschaftenbehälter, der alle Parameter dieser Methode mit Ausnahme des LRO-Qualifizierers und des Anforderungskontextparameters enthält.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

options ist NULL.

Gilt für:

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

Abrufen des Protokollberichts für AFD-Profil

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • Vorgangs-IdLogAnalytics_GetLogAnalyticsMetrics
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))

Parameter

metrics
IEnumerable<LogMetric>

Die zu verwendende ArrayOfLogMetric.

dateTimeBegin
DateTimeOffset

Die zu verwendende DateTime.

dateTimeEnd
DateTimeOffset

Die zu verwendende DateTime.

granularity
LogMetricsGranularity

Die zu verwendende LogMetricsGranularität.

customDomains
IEnumerable<String>

Das zu verwendende ArrayOfGet11ItemsItem.The ArrayOfGet11ItemsItem to use.

protocols
IEnumerable<String>

Das zu verwendende ArrayOfGet12ItemsItem.The ArrayOfGet12ItemsItemsitem to use.

groupBy
IEnumerable<LogMetricsGroupBy>

Das zu verwendende ArrayOfLogMetricsGroupBy.The ArrayOfLogMetricsGroupBy to use.

continents
IEnumerable<String>

Das zu verwendende ArrayOfGet9ItemsItem.The ArrayOfGet9ItemsItem to use.

countryOrRegions
IEnumerable<String>

Das zu verwendende ArrayOfGet10ItemsItem.The ArrayOfGet10ItemsItem to use.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

metrics, customDomains oder protocols ist NULL.

Gilt für: