Partager via


AnnotationsOperationsExtensions.ListAsync Méthode

Définition

Obtient la liste des annotations pour un composant pour un intervalle de temps donné

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Annotation>> ListAsync (this Microsoft.Azure.Management.ApplicationInsights.Management.IAnnotationsOperations operations, string resourceGroupName, string resourceName, string start, string end, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.ApplicationInsights.Management.IAnnotationsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.ApplicationInsights.Management.Models.Annotation>>
<Extension()>
Public Function ListAsync (operations As IAnnotationsOperations, resourceGroupName As String, resourceName As String, start As String, end As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Annotation))

Paramètres

operations
IAnnotationsOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources. Le nom ne respecte pas la casse.

resourceName
String

Nom de la ressource du composant Application Insights.

start
String

L’heure de début à partir de laquelle interroger les annotations ne peut pas être antérieure à 90 jours à partir de la date actuelle.

end
String

Heure de fin de la requête pour les annotations.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à