n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
183 lines (182 loc) • 5.88 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getApsDescription = void 0;
/**
* Parameters for getAps operation
*/
exports.getApsDescription = [
{
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: ['getAps'],
resource: ['ap'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Limit',
name: 'limit',
type: 'number',
default: 50,
description: 'Max number of results to return',
typeOptions: {
minValue: 1,
},
displayOptions: {
show: {
operation: ['getAps'],
resource: ['ap'],
domain: ['monitoring'],
returnAll: [false],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['ap'],
domain: ['monitoring'],
operation: ['getAps'],
},
},
options: [
{
displayName: 'Group',
name: 'group',
type: 'string',
default: '',
description: 'Filter by group name',
},
{
displayName: 'Swarm ID',
name: 'swarm_id',
type: 'string',
default: '',
description: 'Filter by Swarm ID. Field supported for AP clients only.',
},
{
displayName: 'Label',
name: 'label',
type: 'string',
default: '',
description: 'Filter by Label name',
},
{
displayName: 'Site',
name: 'site',
type: 'string',
default: '',
description: 'Filter by Site name',
},
{
displayName: 'Status',
name: 'status',
type: 'string',
default: '',
description: 'Filter by AP status',
},
{
displayName: 'Serial',
name: 'serial',
type: 'string',
default: '',
description: 'Filter by AP serial number',
},
{
displayName: 'Macaddr',
name: 'macaddr',
type: 'string',
default: '',
description: 'Filter by AP MAC address',
},
{
displayName: 'Model',
name: 'model',
type: 'string',
default: '',
description: 'Filter by AP Model',
},
{
displayName: 'Cluster_id',
name: 'cluster_id',
type: 'string',
default: '',
description: 'Filter by Mobility Controller serial number',
},
{
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, swarm_master, labels, radios, ap_deployment_mode, public_ip_address, site, last_modified, ap_group, subnet_mask, mesh_role.',
},
{
displayName: 'Calculate_total',
name: 'calculate_total',
type: 'boolean',
default: false,
description: 'Whether to calculate total APs',
},
{
displayName: 'Calculate_client_count',
name: 'calculate_client_count',
type: 'boolean',
default: false,
description: 'Whether to calculate client count per AP',
},
{
displayName: 'Calculate_ssid_count',
name: 'calculate_ssid_count',
type: 'boolean',
default: false,
description: 'Whether to calculate ssid count per AP',
},
{
displayName: 'Show_resource_details',
name: 'show_resource_details',
type: 'boolean',
default: false,
description: 'Whether to show AP cpu_utilization, uptime, mem_total, mem_free, mesh_role, mode',
},
{
displayName: 'Sort',
name: 'sort',
type: 'string',
default: '',
description: "Sort parameter may be one of +serial, -serial, +macaddr, -macaddr, +swarm_id, -swarm_id. Default is '+serial'.",
},
{
displayName: 'Offset',
name: 'offset',
type: 'number',
default: 0,
description: 'Pagination offset',
typeOptions: {
minValue: 0,
},
},
{
displayName: 'API Limit',
name: 'api_limit',
type: 'number',
default: 100,
description: 'Pagination limit. Default is 100 and max is 1000.',
typeOptions: {
minValue: 1,
maxValue: 1000,
},
},
],
},
];