@stordata/vsphere-soapify
Version:
A NodeJS abstraction layer for the vSphere SOAP API
20 lines (17 loc) • 467 B
JavaScript
;
const AlarmExpression = require('./AlarmExpression'),
PerfMetricId = require('./PerfMetricId');
module.exports = class MetricAlarmExpression extends AlarmExpression {
static mappings() {
return {
...super.mappings(),
metric: PerfMetricId,
operator: 'MetricAlarmOperator',
red: 'xsd:int',
redInterval: 'xsd:int',
type: 'xsd:string',
yellow: 'xsd:int',
yellowInterval: 'xsd:int'
};
}
};