setAutoRotationSetting(...args)

Configures auto-rotation behavior.

setAutoRotationSetting(rateLimit, onlyPortHasConfig)

Parameters

  • rateLimit (number) – Rotation interval (seconds).

  • onlyPortHasConfig (number) – 0 = all active ports, 1 = only ports with configs.

Return Value

number (0 = success)

Example

// example

sdk.setAutoRotationSetting(60, 1);

Last updated

Was this helpful?