5.0.0 • Published 5 years ago
@datafire/azure_monitor_calculatebaseline_api v5.0.0
@datafire/azure_monitor_calculatebaseline_api
Client library for MonitorManagementClient
Installation and Usage
npm install --save @datafire/azure_monitor_calculatebaseline_apilet azure_monitor_calculatebaseline_api = require('@datafire/azure_monitor_calculatebaseline_api').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});Description
Actions
MetricBaseline_CalculateBaseline
Lists the baseline values for a resource.
azure_monitor_calculatebaseline_api.MetricBaseline_CalculateBaseline({
"resourceUri": "",
"api-version": "",
"TimeSeriesInformation": null
}, context)Input
- input
object- resourceUri required
string: The identifier of the resource. It has the following structure: subscriptions/{subscriptionName}/resourceGroups/{resourceGroupName}/providers/{providerName}/{resourceName}. For example: subscriptions/b368ca2f-e298-46b7-b0ab-012281956afa/resourceGroups/vms/providers/Microsoft.Compute/virtualMachines/vm1 - api-version required
string: Client Api Version. - TimeSeriesInformation required TimeSeriesInformation
- resourceUri required
Output
- output CalculateBaselineResponse
Definitions
Baseline
- Baseline
object: The baseline values for a single sensitivity value.- highThresholds required
array: The high thresholds of the baseline.- items
number: A single high threshold value.
- items
- lowThresholds required
array: The low thresholds of the baseline.- items
number: A single low threshold value.
- items
- sensitivity required
string(values: Low, Medium, High): The sensitivity of the baseline.
- highThresholds required
CalculateBaselineResponse
- CalculateBaselineResponse
object: The response to a calculate baseline call.- baseline required
array: The baseline values for each sensitivity.- items Baseline
- timestamps
array: The array of timestamps of the baselines.- items
string: The timestamp for the baseline value in ISO 8601 format.
- items
- type required
string: The resource type of the baseline resource.
- baseline required
ErrorResponse
- ErrorResponse
object: Describes the format of Error response.- code
string: Error code - message
string: Error message indicating why the operation failed.
- code
TimeSeriesInformation
- TimeSeriesInformation
object: The time series info needed for calculating the baseline.- sensitivities required
array: The list of sensitivities for calculating the baseline.- items
string: The requested sensitivity for calculating the baseline.
- items
- timestamps
array: The array of timestamps of the baselines.- items
string: The timestamp for the baseline value in ISO 8601 format.
- items
- values required
array: The metric values to calculate the baseline.- items
number: A single metric value.
- items
- sensitivities required