n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
99 lines (98 loc) • 2.92 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSwarmsDescription = void 0;
/**
* Parameters for getSwarms operation
*/
exports.getSwarmsDescription = [
{
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: ['getSwarms'],
resource: ['swarm'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
operation: ['getSwarms'],
resource: ['swarm'],
domain: ['monitoring'],
returnAll: [false],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['swarm'],
domain: ['monitoring'],
operation: ['getSwarms'],
},
},
options: [
{
displayName: 'Status',
name: 'status',
type: 'string',
default: '',
description: 'Filter by Swarm status',
},
{
displayName: 'Public_ip_address',
name: 'public_ip_address',
type: 'string',
default: '',
description: 'Filter by public ip address',
},
{
displayName: 'Fields',
name: 'fields',
type: 'string',
default: '',
description: 'Comma separated list of fields to be returned. Valid fields are status, ip_address, public_ip_address, firmware_version',
},
{
displayName: 'Calculate_total',
name: 'calculate_total',
type: 'boolean',
default: false,
description: 'Whether to calculate total Swarms',
},
{
displayName: 'Sort',
name: 'sort',
type: 'string',
default: '',
description: 'Sort parameter may be one of +swarm_id, -swarm_id',
},
{
displayName: 'Swarm_name',
name: 'swarm_name',
type: 'string',
default: '',
description: 'Filter by swarm name',
},
],
},
];