n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
64 lines (62 loc) • 1.21 kB
text/typescript
import { INodeProperties } from 'n8n-workflow';
/**
* Parameters for the getSwarms operation
*/
export const getSwarmsDescription: INodeProperties[] = [
{
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: ['firmware'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 20,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
maxValue: 1000,
},
displayOptions: {
show: {
operation: ['getSwarms'],
resource: ['swarm'],
domain: ['firmware'],
returnAll: [false],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
operation: ['getSwarms'],
resource: ['swarm'],
domain: ['firmware'],
},
},
options: [
{
displayName: 'Group Name',
name: 'group',
type: 'string',
default: '',
description: 'Filter devices by group name',
},
],
},
];