Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface IVlanManager

interface IVlanManager
Extends com.amazon.apmf.IStandard Interface to manage a VLAN networks.

Methods

makeVlan()

IVlan* makeVlan(com.amazon.kepler.net.common.INetworkInterface* prime, string name, u32 id)
Create a VLAN network.

Parameters

prime
com.amazon.kepler.net.common.INetworkInterface* — Required INetworkInterface to be associated with VLAN.
name
string — Required the name of VLAN to create.
id
u32 — Required the identifier of VLAN to create.

Returns

IVlan* IVlan that contains VLAN network configuration.

Throws

Requires com.amazon.privilege.net-admin

makeIpVlan()

IVlan* makeIpVlan(com.amazon.kepler.net.common.INetworkInterface* prime, string name, IpVlanMode* mode, IpVlanFlag* flag)
Create a IPVLAN network.

Parameters

prime
com.amazon.kepler.net.common.INetworkInterface* — Required INetworkInterface to be associated with VLAN.
name
string — Required the name of VLAN to create.
mode
IpVlanMode* — Required IpVlanMode the mode of IPVLAN to create.
flag
IpVlanFlag* — Required IpVlanFlag the flag of IPVLAN to create.

Returns

IVlan* IVlan that contains VLAN network configuration. throws NotSupportedError if the feature is not supported. throws SecurityError if the app does not have the permission. throws InvalidArgumentError if the invalid prime or name is given. Requires com.amazon.privilege.net-admin

removeVlan()

void removeVlan(IVlan* vlan)
Remove a VLAN network.

Parameters

vlan
IVlan* — Required VLAN network to remove. throws NotSupportedError if the feature is not supported. throws SecurityError if the app does not have the permission. Requires com.amazon.privilege.net-admin

getAllVlans()

IVlan*[] getAllVlans()
Returns all IVlan in the system.

Returns

IVlan*[] The array of IVlan instance. Requires com.amazon.privilege.net-admin
Last modified on October 29, 2026