Annotations class
Classe représentant des annotations.
Constructeurs
| Annotations(Application |
Créez des annotations. |
Méthodes
Détails du constructeur
Annotations(ApplicationInsightsManagementClientContext)
Créez des annotations.
new Annotations(client: ApplicationInsightsManagementClientContext)
Paramètres
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<AnnotationsCreateResponse>
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
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
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<AnnotationsGetResponse>
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
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
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<AnnotationsListResponse>
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
- callback
Rappel
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.
- callback
Rappel