UNPKG

n8n-nodes-arubacentralnextgen

Version:

n8n community node for Aruba Central NextGen API integration with modern monitoring and management capabilities

72 lines (71 loc) 1.96 kB
"use strict"; // descriptions/monitoring/devices.descriptions.ts Object.defineProperty(exports, "__esModule", { value: true }); exports.deviceFields = exports.deviceOperations = void 0; exports.deviceOperations = { displayName: 'Operation', name: 'operation', type: 'options', noDataExpression: true, displayOptions: { show: { domain: ['monitoring'], resource: ['devices'], }, }, default: 'getAllDevices', options: [ { name: 'Get All Devices', value: 'getAllDevices', description: 'Get a list of all devices', action: 'Get all devices', }, { name: 'Get Device Inventory', value: 'getDeviceInventory', description: 'Get device inventory details', action: 'Get device inventory', }, // Add other device operations here ], }; // Fields for device operations exports.deviceFields = [ // Return all option { displayName: 'Return All', name: 'returnAll', type: 'boolean', default: false, description: 'Whether to return all results or only up to a given limit', displayOptions: { show: { domain: ['monitoring'], resource: ['devices'], operation: ['getAllDevices'], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 20, description: 'Max number of results to return', typeOptions: { minValue: 1, maxValue: 100, }, displayOptions: { show: { domain: ['monitoring'], resource: ['devices'], operation: ['getAllDevices'], returnAll: [false], }, }, }, // Add other device fields here // ... ];