n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
61 lines (59 loc) • 1.1 kB
text/typescript
// firmware/device/operations/getDevice.descriptions.ts - FIXED VERSION
import { INodeProperties } from 'n8n-workflow';
/**
* Parameters for the getDevice operation
*/
export const getDeviceDescription: INodeProperties[] = [
{
displayName: 'Serial Number',
name: 'serial',
type: 'string',
required: true,
default: '',
description: 'The serial number of the device',
displayOptions: {
show: {
operation: ['getDevice'],
resource: ['device'],
domain: ['firmware'],
},
},
},
{
displayName: 'Device Type',
name: 'deviceType',
type: 'options',
required: true,
default: 'HP',
description: 'Type of device to retrieve',
options: [
{
name: 'Access Points (IAP)',
value: 'IAP',
},
{
name: 'MAS Switches',
value: 'MAS',
},
{
name: 'Aruba Switches',
value: 'HP',
},
{
name: 'CX Switches',
value: 'CX',
},
{
name: 'Controllers',
value: 'CONTROLLER',
},
],
displayOptions: {
show: {
operation: ['getDevice'],
resource: ['device'],
domain: ['firmware'],
},
},
},
];