AnnotationsOperationsExtensions.ListAsync Method

Definition

Gets the list of annotations for a component for given time range

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))

Parameters

operations
IAnnotationsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

resourceName
String

The name of the Application Insights component resource.

start
String

The start time to query from for annotations, cannot be older than 90 days from current date.

end
String

The end time to query for annotations.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to