Interface ISwitchDhcpServerPolicyArpInspectionTrustedServers
- Namespace
- Meraki.Api.Interfaces.Products.Switch
- Assembly
- Meraki.Api.dll
Get Network Switch Dhcp Server Policy Arp Inspection Trusted Servers
public interface ISwitchDhcpServerPolicyArpInspectionTrustedServers
- Extension Methods
Methods
CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string, TrustedServerCreateRequest, CancellationToken)
Add a server to be trusted by Dynamic ARP Inspection on this network
[Post("/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers")]
Task<TrustedServer> CreateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string networkId, TrustedServerCreateRequest trustedServer, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network ID
trustedServer
TrustedServerCreateRequestcancellationToken
CancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string, string, CancellationToken)
Remove a server from being trusted by Dynamic ARP Inspection on this network
[Delete("/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers/{trustedServerId}")]
Task DeleteNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string networkId, string trustedServerId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
trustedServerId
stringThe trusted server
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersAsync(string, int?, string?, string?, CancellationToken)
Return the list of servers trusted by Dynamic ARP Inspection on this network. These are also known as allowed snoop entries
[Get("/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers")]
Task<List<TrustedServer>> GetNetworkSwitchDhcpServerPolicyArpInspectionTrustedServersAsync(string networkId, int? perPage, string? startingAfter, string? endingBefore, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe Network ID
perPage
int?The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.
startingAfter
stringA token used by the server to indicate the start of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
endingBefore
stringA token used by the server to indicate the end of the page. Often this is a timestamp or an ID but it is not limited to those. This parameter should not be defined by client applications. The link for the first, last, prev, or next page in the HTTP Link header should define it.
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string, string, TrustedServerUpdateRequest, CancellationToken)
Update a server that is trusted by Dynamic ARP Inspection on this network
[Put("/networks/{networkId}/switch/dhcpServerPolicy/arpInspection/trustedServers/{trustedServerId}")]
Task<TrustedServer> UpdateNetworkSwitchDhcpServerPolicyArpInspectionTrustedServerAsync(string networkId, string trustedServerId, TrustedServerUpdateRequest trustedServer, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network ID
trustedServerId
stringThe Trusted Server ID
trustedServer
TrustedServerUpdateRequestcancellationToken
CancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call