Compartir a través de


IAnnotationsOperations.ListWithHttpMessagesAsync Método

Definición

Obtiene la lista de anotaciones de un componente para un intervalo de tiempo determinado.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Annotation>>> ListWithHttpMessagesAsync (string resourceGroupName, string resourceName, string start, string end, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Annotation>>>
Public Function ListWithHttpMessagesAsync (resourceGroupName As String, resourceName As String, start As String, end As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of Annotation)))

Parámetros

resourceGroupName
String

Nombre del grupo de recursos. El nombre distingue mayúsculas de minúsculas.

resourceName
String

Nombre del recurso de componente de Application Insights.

start
String

La hora de inicio desde la que se va a consultar para las anotaciones, no puede tener más de 90 días a partir de la fecha actual.

end
String

Hora de finalización en la que se van a consultar las anotaciones.

customHeaders
Dictionary<String,List<String>>

Encabezados que se agregarán a la solicitud.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Excepciones

Se produce cuando la operación devolvió un código de estado no válido

Se produce cuando no se puede deserializar la respuesta

Se produce cuando un parámetro obligatorio es NULL

Se aplica a