4.0.0 • Published 5 years ago

@datafire/azure_applicationinsights_componentannotations_api v4.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/azure_applicationinsights_componentannotations_api

Client library for ApplicationInsightsManagementClient

Installation and Usage

npm install --save @datafire/azure_applicationinsights_componentannotations_api
let azure_applicationinsights_componentannotations_api = require('@datafire/azure_applicationinsights_componentannotations_api').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

Azure Application Insights client for Annotations for a component.

Actions

Annotations_List

Gets the list of annotations for a component for given time range

azure_applicationinsights_componentannotations_api.Annotations_List({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": "",
  "resourceName": "",
  "start": "",
  "end": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group. The name is case insensitive.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.
    • resourceName required string: The name of the Application Insights component resource.
    • start required string: The start time to query from for annotations, cannot be older than 90 days from current date.
    • end required string: The end time to query for annotations.

Output

Annotations_Create

Create an Annotation of an Application Insights component.

azure_applicationinsights_componentannotations_api.Annotations_Create({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": "",
  "resourceName": "",
  "AnnotationProperties": {}
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group. The name is case insensitive.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.
    • resourceName required string: The name of the Application Insights component resource.
    • AnnotationProperties required Annotation

Output

Annotations_Delete

Delete an Annotation of an Application Insights component.

azure_applicationinsights_componentannotations_api.Annotations_Delete({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": "",
  "resourceName": "",
  "annotationId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group. The name is case insensitive.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.
    • resourceName required string: The name of the Application Insights component resource.
    • annotationId required string: The unique annotation ID. This is unique within a Application Insights component.

Output

Output schema unknown

Annotations_Get

Get the annotation for given id.

azure_applicationinsights_componentannotations_api.Annotations_Get({
  "resourceGroupName": "",
  "api-version": "",
  "subscriptionId": "",
  "resourceName": "",
  "annotationId": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group. The name is case insensitive.
    • api-version required string: The API version to use for this operation.
    • subscriptionId required string: The ID of the target subscription.
    • resourceName required string: The name of the Application Insights component resource.
    • annotationId required string: The unique annotation ID. This is unique within a Application Insights component.

Output

Definitions

Annotation

  • Annotation object: Annotation associated with an application insights resource.
    • AnnotationName string: Name of annotation
    • Category string: Category of annotation, free form
    • EventTime string: Time when event occurred
    • Id string: Unique Id for annotation
    • Properties string: Serialized JSON object for detailed properties
    • RelatedAnnotation string: Related parent annotation if any

AnnotationError

  • AnnotationError object: Error associated with trying to create annotation with Id that already exist
    • code string: Error detail code and explanation
    • innererror InnerError
    • message string: Error message

AnnotationsListResult

  • AnnotationsListResult object: Annotations list result.
    • value array: An array of annotations.

InnerError

  • InnerError object: Inner error
    • diagnosticcontext string: Provides correlation for request
    • time string: Request time