UNPKG

n8n-nodes-arubacentral

Version:

n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities

144 lines (143 loc) 4.62 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.listSwitchesDescription = void 0; /** * Parameters for listSwitches operation */ exports.listSwitchesDescription = [ { 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: ['listSwitches'], resource: ['switch'], domain: ['monitoring'], }, }, }, { displayName: 'Limit', name: 'limit', type: 'number', default: 50, description: 'Max number of results to return', typeOptions: { minValue: 1, maxValue: 1000, }, displayOptions: { show: { operation: ['listSwitches'], resource: ['switch'], domain: ['monitoring'], returnAll: [false], }, }, }, { displayName: 'Additional Fields', name: 'additionalFields', type: 'collection', placeholder: 'Add Field', default: {}, displayOptions: { show: { operation: ['listSwitches'], resource: ['switch'], domain: ['monitoring'], }, }, options: [ { displayName: 'Group', name: 'group', type: 'string', default: '', description: 'Filter by group name', }, { displayName: 'Label', name: 'label', type: 'string', default: '', description: 'Filter by label name', }, { displayName: 'Stack ID', name: 'stack_id', type: 'string', default: '', description: 'Filter by switch stack ID', }, { displayName: 'Status', name: 'status', type: 'string', default: '', description: 'Filter by switch status', }, { displayName: 'Fields', name: 'fields', type: 'string', default: '', description: 'Comma separated list of fields to be returned', placeholder: 'status,macaddr,model,ip_address', }, { displayName: 'Calculate Total', name: 'calculate_total', type: 'boolean', default: false, description: 'Whether to calculate total switches', }, { displayName: 'Show Resource Details', name: 'show_resource_details', type: 'boolean', default: false, description: 'Whether to show detailed resource information like uptime, power consumption, etc.', }, { displayName: 'Calculate Client Count', name: 'calculate_client_count', type: 'boolean', default: false, description: 'Whether to calculate client count per switch', }, { displayName: 'Public IP Address', name: 'public_ip_address', type: 'string', default: '', description: 'Filter by public IP address', }, { displayName: 'Site', name: 'site', type: 'string', default: '', description: 'Filter by site name', }, { displayName: 'Sort', name: 'sort', type: 'options', options: [ { name: 'Serial (Ascending)', value: '+serial' }, { name: 'Serial (Descending)', value: '-serial' }, { name: 'Name (Ascending)', value: '+name' }, { name: 'Name (Descending)', value: '-name' }, { name: 'MAC Address (Ascending)', value: '+macaddr' }, { name: 'MAC Address (Descending)', value: '-macaddr' }, ], default: '', description: 'Sort parameter', }, ], }, ];