Partilhar via


ProfileResource.GetLogAnalyticsMetricsAsync Método

Definição

Sobrecargas

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Obter relatório de log para o perfil AFD

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics de operação
GetLogAnalyticsMetricsAsync(IEnumerable<LogMetric>, DateTimeOffset, DateTimeOffset, LogMetricsGranularity, IEnumerable<String>, IEnumerable<String>, IEnumerable<LogMetricsGroupBy>, IEnumerable<String>, IEnumerable<String>, CancellationToken)

Obter relatório de log para o perfil AFD

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics de operação

GetLogAnalyticsMetricsAsync(ProfileResourceGetLogAnalyticsMetricsOptions, CancellationToken)

Obter relatório de log para o perfil AFD

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics de operação
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))

Parâmetros

options
ProfileResourceGetLogAnalyticsMetricsOptions

Um recipiente de propriedades que contém todos os parâmetros desse método, exceto o qualificador LRO e o parâmetro de contexto de solicitação.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

options é nulo.

Aplica-se a

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

Obter relatório de log para o perfil AFD

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}/getLogAnalyticsMetrics
  • IdLogAnalytics_GetLogAnalyticsMetrics de operação
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))

Parâmetros

metrics
IEnumerable<LogMetric>

O ArrayOfLogMetric a ser usado.

dateTimeBegin
DateTimeOffset

O DateTime a ser usado.

dateTimeEnd
DateTimeOffset

O DateTime a ser usado.

granularity
LogMetricsGranularity

O LogMetricsGranularity a ser usado.

customDomains
IEnumerable<String>

O ArrayOfGet11ItemsItem a ser usado.

protocols
IEnumerable<String>

O ArrayOfGet12ItemsItem a ser usado.

groupBy
IEnumerable<LogMetricsGroupBy>

O ArrayOfLogMetricsGroupBy a ser usado.

continents
IEnumerable<String>

O ArrayOfGet9ItemsItem a ser usado.

countryOrRegions
IEnumerable<String>

O ArrayOfGet10ItemsItem a ser usado.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

metrics, customDomains ou protocols é nulo.

Aplica-se a