n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
99 lines (98 loc) • 3.02 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMcsDescription = void 0;
/**
* Parameters for getMcs operation
*/
exports.getMcsDescription = [
{
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: ['getMcs'],
resource: ['mobilitycontroller'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
operation: ['getMcs'],
resource: ['mobilitycontroller'],
domain: ['monitoring'],
returnAll: [false],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['mobilitycontroller'],
domain: ['monitoring'],
operation: ['getMcs'],
},
},
options: [
{
displayName: 'Status',
name: 'status',
type: 'string',
default: '',
description: 'Filter by Mobility Controller status',
},
{
displayName: 'Macaddr',
name: 'macaddr',
type: 'string',
default: '',
description: 'Filter by Mobility Controller MAC address',
},
{
displayName: 'Model',
name: 'model',
type: 'string',
default: '',
description: 'Filter by Mobility Controller 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 Mobility Controllers',
},
{
displayName: 'Sort',
name: 'sort',
type: 'string',
default: '',
description: "Sort parameter may be one of +serial, -serial, +macaddr, -macaddr. Default is '+serial'",
},
],
},
];