Compartir a través de


ApplicationInsightsComponentResource.CreateAnnotationsAsync Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/components/{resourceName}/Annotations
  • IdAnnotations_Create de operaciones
public virtual Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.Annotation> CreateAnnotationsAsync (Azure.ResourceManager.ApplicationInsights.Models.Annotation annotationProperties, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateAnnotationsAsync : Azure.ResourceManager.ApplicationInsights.Models.Annotation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.Annotation>
override this.CreateAnnotationsAsync : Azure.ResourceManager.ApplicationInsights.Models.Annotation * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.ApplicationInsights.Models.Annotation>
Public Overridable Function CreateAnnotationsAsync (annotationProperties As Annotation, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of Annotation)

Parámetros

annotationProperties
Annotation

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

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Colección asincrónica de que puede tomar varias solicitudes de Annotation servicio para iterar.

Excepciones

annotationProperties es null.

Se aplica a