n8n-nodes-arubacentral
Version:
n8n community node for Aruba Central API integration with comprehensive monitoring, configuration, and management capabilities
81 lines (79 loc) • 1.75 kB
text/typescript
import { INodeProperties } from 'n8n-workflow';
/**
* Parameters for getCxSwitchPortsBandwidthUsage operation
*/
export const getCxSwitchPortsBandwidthUsageDescription: INodeProperties[] = [
{
displayName: 'Serial',
name: 'serial',
type: 'string',
required: true,
default: '',
description: 'Serial number of the CX switch to get port bandwidth usage for',
displayOptions: {
show: {
operation: ['getCxSwitchPortsBandwidthUsage'],
resource: ['switch'],
domain: ['monitoring'],
},
},
},
{
displayName: 'From',
name: 'from_timestamp',
type: 'dateTime',
default: '',
description: 'Start time for data retrieval (defaults to current time minus 3 hours)',
displayOptions: {
show: {
operation: ['getCxSwitchPortsBandwidthUsage'],
resource: ['switch'],
domain: ['monitoring'],
},
},
},
{
displayName: 'To',
name: 'to_timestamp',
type: 'dateTime',
default: '',
description: 'End time for data retrieval (defaults to current time)',
displayOptions: {
show: {
operation: ['getCxSwitchPortsBandwidthUsage'],
resource: ['switch'],
domain: ['monitoring'],
},
},
},
{
displayName: 'Additional Fields',
name: 'additionalFields',
type: 'collection',
placeholder: 'Add Field',
default: {},
displayOptions: {
show: {
operation: ['getCxSwitchPortsBandwidthUsage'],
resource: ['switch'],
domain: ['monitoring'],
},
},
options: [
{
displayName: 'Port',
name: 'port',
type: 'string',
default: '',
description: 'Filter by port',
},
{
displayName: 'Show Uplink',
name: 'show_uplink',
type: 'boolean',
default: false,
description: 'Show usage for uplink ports only',
},
],
},
];