Freigeben über


AnnotationsOperationsExtensions.CreateAsync Methode

Definition

Erstellen Sie eine Anmerkung einer Application Insights-Komponente.

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

Parameter

operations
IAnnotationsOperations

Die Vorgangsgruppe für diese Erweiterungsmethode.

resourceGroupName
String

Der Name der Ressourcengruppe. Für den Namen wird die Groß-/Kleinschreibung nicht beachtet.

resourceName
String

Der Name der Application Insights-Komponentenressource.

annotationProperties
Annotation

Eigenschaften, die angegeben werden müssen, um eine Anmerkung einer Application Insights-Komponente zu erstellen.

cancellationToken
CancellationToken

Das Abbruchtoken.

Gibt zurück

Gilt für: