Compartir a través de


AnnotationsOperationsExtensions.CreateAsync Método

Definición

Cree una anotación de un componente de Application Insights.

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

Parámetros

operations
IAnnotationsOperations

El grupo de operaciones de este método de extensión.

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.

annotationProperties
Annotation

Propiedades que deben especificarse para crear una anotación de un componente de Application Insights.

cancellationToken
CancellationToken

Token de cancelación.

Devoluciones

Se aplica a