Skip to content
This repository was archived by the owner on May 5, 2023. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions lib/services/applicationinsights-query/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,23 @@ uid: azure-applicationinsights-query
summary: *content

---
# Microsoft Azure SDK for Node.js - ApplicationInsightsDataClient
**This SDK will be deprecated next year and will be replaced by a new TypeScript-based isomorphic SDK (found at https://github.com/Azure/azure-sdk-for-js) which works on Node.js and browsers.**
## Microsoft Azure SDK for Node.js - ApplicationInsightsDataClient
This project provides a Node.js package for accessing Azure. Right now it supports:
- **Node.js version 6.x.x or higher**

## Features
### Features


## How to Install
### How to Install

```bash
npm install azure-applicationinsights-query
```

## How to use
### How to use

### Authentication, client creation and get metrics as an example.
#### Authentication, client creation and get metrics as an example.

```javascript
const msRest = require("ms-rest");
Expand All @@ -44,6 +45,6 @@ client.metrics.get(appId, metricId, timespan, interval, aggregation, segment, to
console.dir(err, {depth: null, colors: true});
});

## Related projects
### Related projects

- [Microsoft Azure SDK for Node.js](https://github.com/Azure/azure-sdk-for-node)
4 changes: 2 additions & 2 deletions lib/services/applicationinsights-query/lib/models/column.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
class Column {
/**
* Create a Column.
* @member {string} [name] The name of this column.
* @member {string} [type] The data type of this column.
* @property {string} [name] The name of this column.
* @property {string} [type] The data type of this column.
*/
constructor() {
}
Expand Down
14 changes: 7 additions & 7 deletions lib/services/applicationinsights-query/lib/models/errorDetail.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
class ErrorDetail {
/**
* Create a ErrorDetail.
* @member {string} code The error's code.
* @member {string} message A human readable error message.
* @member {string} [target] Indicates which property in the request is
* @property {string} code The error's code.
* @property {string} message A human readable error message.
* @property {string} [target] Indicates which property in the request is
* responsible for the error.
* @member {string} [value] Indicates which value in 'target' is responsible
* @property {string} [value] Indicates which value in 'target' is
* responsible for the error.
* @property {array} [resources] Indicates resources which were responsible
* for the error.
* @member {array} [resources] Indicates resources which were responsible for
* the error.
* @member {object} [additionalProperties]
* @property {object} [additionalProperties]
*/
constructor() {
}
Expand Down
10 changes: 5 additions & 5 deletions lib/services/applicationinsights-query/lib/models/errorInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
class ErrorInfo {
/**
* Create a ErrorInfo.
* @member {string} code A machine readable error code.
* @member {string} message A human readable error message.
* @member {array} [details] error details.
* @member {object} [innererror] Inner error details if they exist.
* @member {object} [additionalProperties]
* @property {string} code A machine readable error code.
* @property {string} message A human readable error message.
* @property {array} [details] error details.
* @property {object} [innererror] Inner error details if they exist.
* @property {object} [additionalProperties]
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
class ErrorResponse {
/**
* Create a ErrorResponse.
* @member {object} error The error details.
* @member {string} [error.code] A machine readable error code.
* @member {string} [error.message] A human readable error message.
* @member {array} [error.details] error details.
* @member {object} [error.innererror] Inner error details if they exist.
* @member {object} [error.additionalProperties]
* @property {object} error The error details.
* @property {string} [error.code] A machine readable error code.
* @property {string} [error.message] A human readable error message.
* @property {array} [error.details] error details.
* @property {object} [error.innererror] Inner error details if they exist.
* @property {object} [error.additionalProperties]
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
class EventsAiInfo {
/**
* Create a EventsAiInfo.
* @member {string} [iKey] iKey of the app
* @member {string} [appName] Name of the application
* @member {string} [appId] ID of the application
* @member {string} [sdkVersion] SDK version of the application
* @property {string} [iKey] iKey of the app
* @property {string} [appName] Name of the application
* @property {string} [appId] ID of the application
* @property {string} [sdkVersion] SDK version of the application
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class EventsApplicationInfo {
/**
* Create a EventsApplicationInfo.
* @member {string} [version] Version of the application
* @property {string} [version] Version of the application
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
class EventsAvailabilityResultInfo {
/**
* Create a EventsAvailabilityResultInfo.
* @member {string} [name] The name of the availability result
* @member {string} [success] Indicates if the availability result was
* @property {string} [name] The name of the availability result
* @property {string} [success] Indicates if the availability result was
* successful
* @member {number} [duration] The duration of the availability result
* @member {string} [performanceBucket] The performance bucket of the
* @property {number} [duration] The duration of the availability result
* @property {string} [performanceBucket] The performance bucket of the
* availability result
* @member {string} [message] The message of the availability result
* @member {string} [location] The location of the availability result
* @member {string} [id] The ID of the availability result
* @member {string} [size] The size of the availability result
* @property {string} [message] The message of the availability result
* @property {string} [location] The location of the availability result
* @property {string} [id] The ID of the availability result
* @property {string} [size] The size of the availability result
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,22 @@ const models = require('./index');
class EventsAvailabilityResultResult extends models['EventsResultData'] {
/**
* Create a EventsAvailabilityResultResult.
* @member {object} [availabilityResult]
* @member {string} [availabilityResult.name] The name of the availability
* @property {object} [availabilityResult]
* @property {string} [availabilityResult.name] The name of the availability
* result
* @member {string} [availabilityResult.success] Indicates if the
* @property {string} [availabilityResult.success] Indicates if the
* availability result was successful
* @member {number} [availabilityResult.duration] The duration of the
* @property {number} [availabilityResult.duration] The duration of the
* availability result
* @member {string} [availabilityResult.performanceBucket] The performance
* @property {string} [availabilityResult.performanceBucket] The performance
* bucket of the availability result
* @member {string} [availabilityResult.message] The message of the
* @property {string} [availabilityResult.message] The message of the
* availability result
* @member {string} [availabilityResult.location] The location of the
* @property {string} [availabilityResult.location] The location of the
* availability result
* @member {string} [availabilityResult.id] The ID of the availability result
* @member {string} [availabilityResult.size] The size of the availability
* @property {string} [availabilityResult.id] The ID of the availability
* result
* @property {string} [availabilityResult.size] The size of the availability
* result
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@
class EventsBrowserTimingInfo {
/**
* Create a EventsBrowserTimingInfo.
* @member {string} [urlPath] The path of the URL
* @member {string} [urlHost] The host of the URL
* @member {string} [name] The name of the page
* @member {string} [url] The url of the page
* @member {number} [totalDuration] The total duration of the load
* @member {string} [performanceBucket] The performance bucket of the load
* @member {number} [networkDuration] The network duration of the load
* @member {number} [sendDuration] The send duration of the load
* @member {number} [receiveDuration] The receive duration of the load
* @member {number} [processingDuration] The processing duration of the load
* @property {string} [urlPath] The path of the URL
* @property {string} [urlHost] The host of the URL
* @property {string} [name] The name of the page
* @property {string} [url] The url of the page
* @property {number} [totalDuration] The total duration of the load
* @property {string} [performanceBucket] The performance bucket of the load
* @property {number} [networkDuration] The network duration of the load
* @property {number} [sendDuration] The send duration of the load
* @property {number} [receiveDuration] The receive duration of the load
* @property {number} [processingDuration] The processing duration of the
* load
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ const models = require('./index');
class EventsBrowserTimingResult extends models['EventsResultData'] {
/**
* Create a EventsBrowserTimingResult.
* @member {object} [browserTiming]
* @member {string} [browserTiming.urlPath] The path of the URL
* @member {string} [browserTiming.urlHost] The host of the URL
* @member {string} [browserTiming.name] The name of the page
* @member {string} [browserTiming.url] The url of the page
* @member {number} [browserTiming.totalDuration] The total duration of the
* @property {object} [browserTiming]
* @property {string} [browserTiming.urlPath] The path of the URL
* @property {string} [browserTiming.urlHost] The host of the URL
* @property {string} [browserTiming.name] The name of the page
* @property {string} [browserTiming.url] The url of the page
* @property {number} [browserTiming.totalDuration] The total duration of the
* load
* @member {string} [browserTiming.performanceBucket] The performance bucket
* of the load
* @member {number} [browserTiming.networkDuration] The network duration of
* @property {string} [browserTiming.performanceBucket] The performance
* bucket of the load
* @property {number} [browserTiming.networkDuration] The network duration of
* the load
* @member {number} [browserTiming.sendDuration] The send duration of the
* @property {number} [browserTiming.sendDuration] The send duration of the
* load
* @member {number} [browserTiming.receiveDuration] The receive duration of
* @property {number} [browserTiming.receiveDuration] The receive duration of
* the load
* @member {number} [browserTiming.processingDuration] The processing
* @property {number} [browserTiming.processingDuration] The processing
* duration of the load
* @member {object} [clientPerformance]
* @member {string} [clientPerformance.name] The name of the client
* @property {object} [clientPerformance]
* @property {string} [clientPerformance.name] The name of the client
* performance
*/
constructor() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
class EventsClientInfo {
/**
* Create a EventsClientInfo.
* @member {string} [model] Model of the client
* @member {string} [os] Operating system of the client
* @member {string} [type] Type of the client
* @member {string} [browser] Browser of the client
* @member {string} [ip] IP address of the client
* @member {string} [city] City of the client
* @member {string} [stateOrProvince] State or province of the client
* @member {string} [countryOrRegion] Country or region of the client
* @property {string} [model] Model of the client
* @property {string} [os] Operating system of the client
* @property {string} [type] Type of the client
* @property {string} [browser] Browser of the client
* @property {string} [ip] IP address of the client
* @property {string} [city] City of the client
* @property {string} [stateOrProvince] State or province of the client
* @property {string} [countryOrRegion] Country or region of the client
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class EventsClientPerformanceInfo {
/**
* Create a EventsClientPerformanceInfo.
* @member {string} [name] The name of the client performance
* @property {string} [name] The name of the client performance
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
class EventsCloudInfo {
/**
* Create a EventsCloudInfo.
* @member {string} [roleName] Role name of the cloud
* @member {string} [roleInstance] Role instance of the cloud
* @property {string} [roleName] Role name of the cloud
* @property {string} [roleInstance] Role instance of the cloud
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
class EventsCustomEventInfo {
/**
* Create a EventsCustomEventInfo.
* @member {string} [name] The name of the custom event
* @property {string} [name] The name of the custom event
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ const models = require('./index');
class EventsCustomEventResult extends models['EventsResultData'] {
/**
* Create a EventsCustomEventResult.
* @member {object} [customEvent]
* @member {string} [customEvent.name] The name of the custom event
* @property {object} [customEvent]
* @property {string} [customEvent.name] The name of the custom event
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@
class EventsCustomMetricInfo {
/**
* Create a EventsCustomMetricInfo.
* @member {string} [name] The name of the custom metric
* @member {number} [value] The value of the custom metric
* @member {number} [valueSum] The sum of the custom metric
* @member {number} [valueCount] The count of the custom metric
* @member {number} [valueMin] The minimum value of the custom metric
* @member {number} [valueMax] The maximum value of the custom metric
* @member {number} [valueStdDev] The standard deviation of the custom metric
* @property {string} [name] The name of the custom metric
* @property {number} [value] The value of the custom metric
* @property {number} [valueSum] The sum of the custom metric
* @property {number} [valueCount] The count of the custom metric
* @property {number} [valueMin] The minimum value of the custom metric
* @property {number} [valueMax] The maximum value of the custom metric
* @property {number} [valueStdDev] The standard deviation of the custom
* metric
*/
constructor() {
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,18 @@ const models = require('./index');
class EventsCustomMetricResult extends models['EventsResultData'] {
/**
* Create a EventsCustomMetricResult.
* @member {object} [customMetric]
* @member {string} [customMetric.name] The name of the custom metric
* @member {number} [customMetric.value] The value of the custom metric
* @member {number} [customMetric.valueSum] The sum of the custom metric
* @member {number} [customMetric.valueCount] The count of the custom metric
* @member {number} [customMetric.valueMin] The minimum value of the custom
* @property {object} [customMetric]
* @property {string} [customMetric.name] The name of the custom metric
* @property {number} [customMetric.value] The value of the custom metric
* @property {number} [customMetric.valueSum] The sum of the custom metric
* @property {number} [customMetric.valueCount] The count of the custom
* metric
* @member {number} [customMetric.valueMax] The maximum value of the custom
* @property {number} [customMetric.valueMin] The minimum value of the custom
* metric
* @member {number} [customMetric.valueStdDev] The standard deviation of the
* custom metric
* @property {number} [customMetric.valueMax] The maximum value of the custom
* metric
* @property {number} [customMetric.valueStdDev] The standard deviation of
* the custom metric
*/
constructor() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@
class EventsDependencyInfo {
/**
* Create a EventsDependencyInfo.
* @member {string} [target] The target of the dependency
* @member {string} [data] The data of the dependency
* @member {string} [success] Indicates if the dependency was successful
* @member {number} [duration] The duration of the dependency
* @member {string} [performanceBucket] The performance bucket of the
* @property {string} [target] The target of the dependency
* @property {string} [data] The data of the dependency
* @property {string} [success] Indicates if the dependency was successful
* @property {number} [duration] The duration of the dependency
* @property {string} [performanceBucket] The performance bucket of the
* dependency
* @member {string} [resultCode] The result code of the dependency
* @member {string} [type] The type of the dependency
* @member {string} [name] The name of the dependency
* @member {string} [id] The ID of the dependency
* @property {string} [resultCode] The result code of the dependency
* @property {string} [type] The type of the dependency
* @property {string} [name] The name of the dependency
* @property {string} [id] The ID of the dependency
*/
constructor() {
}
Expand Down
Loading