n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
93 lines (92 loc) • 2.54 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStatsDescription = void 0;
/**
* Parameters for getStats operation
*/
exports.getStatsDescription = [
{
displayName: 'Return All',
name: 'returnAll',
type: 'boolean',
default: false,
description: 'Whether to return all results or only up to a given limit',
displayOptions: {
show: {
operation: ['getStats'],
resource: ['gateway'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
operation: ['getStats'],
resource: ['gateway'],
domain: ['monitoring'],
returnAll: [false],
},
},
},
{
displayName: 'Serial',
name: 'serial',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
resource: ['gateway'],
domain: ['monitoring'],
operation: ['getStats'],
},
},
description: 'Filter by Gateway serial',
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['gateway'],
domain: ['monitoring'],
operation: ['getStats'],
},
},
options: [
{
displayName: 'Uplink_id',
name: 'uplink_id',
type: 'string',
default: '',
description: 'Filter by map ID.This field has been DEPRECATED.',
},
{
displayName: 'Map_name',
name: 'map_name',
type: 'string',
default: '',
description: 'Filter by tunnel map name.',
},
{
displayName: 'Interval',
name: 'interval',
type: 'string',
default: '',
description: 'Filter by interval (5minutes or 1hour or 1day or 1week).',
},
],
},
];