n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
60 lines (58 loc) • 1.31 kB
text/typescript
import { INodeProperties } from 'n8n-workflow';
/**
* Parameters for getPortsBandwidthUsage operation
*/
export const getPortsBandwidthUsageDescription: INodeProperties[] = [
{
displayName: 'Serial',
name: 'serial',
type: 'string',
required: true,
default: '',
displayOptions: {
show: {
resource: ['gateway'],
domain: ['monitoring'],
operation: ['getPortsBandwidthUsage'],
},
},
description: 'Serial number of gateway to be queried',
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
resource: ['gateway'],
domain: ['monitoring'],
operation: ['getPortsBandwidthUsage'],
},
},
options: [
{
displayName: 'From Timestamp',
name: 'from_timestamp',
type: 'number',
default: '',
description: 'Need information from this timestamp. Timestamp is epoch in seconds.',
},
{
displayName: 'To Timestamp',
name: 'to_timestamp',
type: 'number',
default: '',
description: 'Need information to this timestamp. Timestamp is epoch in seconds.',
},
{
displayName: 'Port',
name: 'port',
type: 'string',
default: '',
description: 'Filter by Port (example GE0/0/1)',
},
],
},
];