n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
106 lines (105 loc) • 3.21 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGatewaysDescription = void 0;
/**
* Parameters for getGateways operation
*/
exports.getGatewaysDescription = [
{
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: ['getGateways'],
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: ['getGateways'],
resource: ['gateway'],
domain: ['monitoring'],
returnAll: [false],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['gateway'],
domain: ['monitoring'],
operation: ['getGateways'],
},
},
options: [
{
displayName: 'Status',
name: 'status',
type: 'string',
default: '',
description: 'Filter by Gateway status',
},
{
displayName: 'Macaddr',
name: 'macaddr',
type: 'string',
default: '',
description: 'Filter by Gateway MAC address',
},
{
displayName: 'Model',
name: 'model',
type: 'string',
default: '',
description: 'Filter by Gateway Model',
},
{
displayName: 'Fields',
name: 'fields',
type: 'string',
default: '',
description: 'Comma separated list of fields to be returned. Valid fields are status, ip_address, model, firmware_version, labels, ap_count, usage',
},
{
displayName: 'Calculate_total',
name: 'calculate_total',
type: 'boolean',
default: false,
description: 'Whether to calculate total Gateways',
},
{
displayName: 'Sort',
name: 'sort',
type: 'string',
default: '',
description: "Sort parameter may be one of +serial, -serial, +macaddr, -macaddr. Default is '+serial'",
},
{
displayName: 'Device_type',
name: 'device_type',
type: 'string',
default: '',
description: 'Type of the device either mc or sp_gw',
},
],
},
];