Table of Contents

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 string

The network ID

trustedServer TrustedServerCreateRequest
cancellationToken CancellationToken

The cancellation token

Returns

Task<TrustedServer>

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 string

The network id

trustedServerId string

The trusted server

cancellationToken CancellationToken

Returns

Task

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 string

The Network ID

perPage int?

The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000.

startingAfter string

A 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 string

A 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

Task<List<TrustedServer>>

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 string

The network ID

trustedServerId string

The Trusted Server ID

trustedServer TrustedServerUpdateRequest
cancellationToken CancellationToken

The cancellation token

Returns

Task<TrustedServer>

Exceptions

ApiException

Thrown when fails to make API call