Interface IAppliancePorts
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
public interface IAppliancePorts
Methods
GetNetworkAppliancePortAsync(string, string, CancellationToken)
Return per-port VLAN settings for a single MX port.
[Get("/networks/{networkId}/appliance/ports/{portId}")]
Task<AppliancePort> GetNetworkAppliancePortAsync(string networkId, string portId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
portIdstringThe appliance port id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkAppliancePortsAsync(string, CancellationToken)
List per-port VLAN settings for all ports of a MX.
[Get("/networks/{networkId}/appliance/ports")]
Task<List<AppliancePort>> GetNetworkAppliancePortsAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkAppliancePortAsync(string, string, AppliancePortUpdateRequest, CancellationToken)
Update the per-port VLAN settings for a single MX port.
[Put("/networks/{networkId}/appliance/ports/{portId}")]
Task<AppliancePort> UpdateNetworkAppliancePortAsync(string networkId, string portId, AppliancePortUpdateRequest appliancePort, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
portIdstringThe appliance port id
appliancePortAppliancePortUpdateRequestBody for updating the per-port VLAN settings
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call