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
stringThe network id
vlanCreationRequest
VlanCreationRequestcancellationToken
CancellationToken
Returns
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
stringThe network id
vlanId
stringThe VLAN id
cancellationToken
CancellationToken
Returns
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
stringThe network id
vlanId
stringThe VLAN id
cancellationToken
CancellationToken
Returns
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
stringThe network id
cancellationToken
CancellationToken
Returns
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
stringThe network id
vlanId
stringThe VLAN id
vlanSpec
VlanSpeccancellationToken
CancellationToken