Partager via


Annotations class

Classe représentant des annotations.

Constructeurs

Annotations(ApplicationInsightsManagementClientContext)

Créez des annotations.

Méthodes

create(string, string, Annotation, RequestOptionsBase)

Créez une annotation d’un composant Application Insights.

create(string, string, Annotation, RequestOptionsBase, ServiceCallback<Annotation[]>)
create(string, string, Annotation, ServiceCallback<Annotation[]>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez une annotation d’un composant Application Insights.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Obtenez l’annotation pour l’ID donné.

get(string, string, string, RequestOptionsBase, ServiceCallback<Annotation[]>)
get(string, string, string, ServiceCallback<Annotation[]>)
list(string, string, string, string, RequestOptionsBase)

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

list(string, string, string, string, RequestOptionsBase, ServiceCallback<AnnotationsListResult>)
list(string, string, string, string, ServiceCallback<AnnotationsListResult>)

Détails du constructeur

Annotations(ApplicationInsightsManagementClientContext)

Créez des annotations.

new Annotations(client: ApplicationInsightsManagementClientContext)

Paramètres

client
ApplicationInsightsManagementClientContext

Référence au client de service.

Détails de la méthode

create(string, string, Annotation, RequestOptionsBase)

Créez une annotation d’un composant Application Insights.

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, options?: RequestOptionsBase): Promise<AnnotationsCreateResponse>

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationProperties
Annotation

Propriétés qui doivent être spécifiées pour créer une annotation d’un composant Application Insights.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.AnnotationsCreateResponse>

create(string, string, Annotation, RequestOptionsBase, ServiceCallback<Annotation[]>)

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, options: RequestOptionsBase, callback: ServiceCallback<Annotation[]>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationProperties
Annotation

Propriétés qui doivent être spécifiées pour créer une annotation d’un composant Application Insights.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Annotation[]>

Rappel

create(string, string, Annotation, ServiceCallback<Annotation[]>)

function create(resourceGroupName: string, resourceName: string, annotationProperties: Annotation, callback: ServiceCallback<Annotation[]>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationProperties
Annotation

Propriétés qui doivent être spécifiées pour créer une annotation d’un composant Application Insights.

callback

ServiceCallback<Annotation[]>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez une annotation d’un composant Application Insights.

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, resourceName: string, annotationId: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

callback

ServiceCallback<void>

Rappel

get(string, string, string, RequestOptionsBase)

Obtenez l’annotation pour l’ID donné.

function get(resourceGroupName: string, resourceName: string, annotationId: string, options?: RequestOptionsBase): Promise<AnnotationsGetResponse>

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.AnnotationsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<Annotation[]>)

function get(resourceGroupName: string, resourceName: string, annotationId: string, options: RequestOptionsBase, callback: ServiceCallback<Annotation[]>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Annotation[]>

Rappel

get(string, string, string, ServiceCallback<Annotation[]>)

function get(resourceGroupName: string, resourceName: string, annotationId: string, callback: ServiceCallback<Annotation[]>)

Paramètres

resourceGroupName

string

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

resourceName

string

Nom de la ressource du composant Application Insights.

annotationId

string

ID d’annotation unique. Il s’agit d’un composant Application Insights unique.

callback

ServiceCallback<Annotation[]>

Rappel

list(string, string, string, string, RequestOptionsBase)

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

function list(resourceGroupName: string, resourceName: string, start: string, end: string, options?: RequestOptionsBase): Promise<AnnotationsListResponse>

Paramètres

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 effectuer une requête pour 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.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.AnnotationsListResponse>

list(string, string, string, string, RequestOptionsBase, ServiceCallback<AnnotationsListResult>)

function list(resourceGroupName: string, resourceName: string, start: string, end: string, options: RequestOptionsBase, callback: ServiceCallback<AnnotationsListResult>)

Paramètres

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 effectuer une requête pour 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.

options
RequestOptionsBase

Paramètres facultatifs

list(string, string, string, string, ServiceCallback<AnnotationsListResult>)

function list(resourceGroupName: string, resourceName: string, start: string, end: string, callback: ServiceCallback<AnnotationsListResult>)

Paramètres

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 effectuer une requête pour 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.