Table of Contents

Interface IApplianceVlans

Namespace
Meraki.Api.Interfaces.Products.Appliance
Assembly
Meraki.Api.dll
public interface IApplianceVlans

Methods

CreateNetworkApplianceVlanAsync(string, VlanCreationRequest, CancellationToken)

Add a VLAN

[Post("/networks/{networkId}/appliance/vlans")]
Task<Vlan> CreateNetworkApplianceVlanAsync(string networkId, VlanCreationRequest vlanCreationRequest, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

vlanCreationRequest VlanCreationRequest
cancellationToken CancellationToken

Returns

Task<Vlan>

DeleteNetworkApplianceVlanAsync(string, string, CancellationToken)

Delete a VLAN from a network

[Delete("/networks/{networkId}/appliance/vlans/{vlanId}")]
Task DeleteNetworkApplianceVlanAsync(string networkId, string vlanId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

vlanId string

The VLAN id

cancellationToken CancellationToken

Returns

Task

GetNetworkApplianceVlanAsync(string, string, CancellationToken)

Return a VLAN

[Get("/networks/{networkId}/appliance/vlans/{vlanId}")]
Task<Vlan> GetNetworkApplianceVlanAsync(string networkId, string vlanId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

vlanId string

The VLAN id

cancellationToken CancellationToken

Returns

Task<Vlan>

GetNetworkApplianceVlansAsync(string, CancellationToken)

List the VLANs for an MX network

[Get("/networks/{networkId}/appliance/vlans")]
Task<List<Vlan>> GetNetworkApplianceVlansAsync(string networkId, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

cancellationToken CancellationToken

Returns

Task<List<Vlan>>

UpdateNetworkApplianceVlanAsync(string, string, VlanSpec, CancellationToken)

Update a VLAN

[Put("/networks/{networkId}/appliance/vlans/{vlanId}")]
Task<Vlan> UpdateNetworkApplianceVlanAsync(string networkId, string vlanId, VlanSpec vlanSpec, CancellationToken cancellationToken = default)

Parameters

networkId string

The network id

vlanId string

The VLAN id

vlanSpec VlanSpec
cancellationToken CancellationToken

Returns

Task<Vlan>