Interface IApplianceWarmSpare
- Namespace
- Meraki.Api.Interfaces.Products.Appliance
- Assembly
- Meraki.Api.dll
public interface IApplianceWarmSpare
Methods
GetNetworkApplianceWarmSpareAsync(string, CancellationToken)
Return MX warm spare settings
[Get("/networks/{networkId}/appliance/warmSpare")]
Task<WarmSpare> GetNetworkApplianceWarmSpareAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call
SwapNetworkApplianceWarmSpareAsync(string, WarmSpare, CancellationToken)
Swap MX primary and warm spare appliances
[Post("/networks/{networkId}/appliance/warmSpare/swap")]
Task<WarmSpare> SwapNetworkApplianceWarmSpareAsync(string networkId, WarmSpare warmSpare, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
warmSpare
WarmSparecancellationToken
CancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkApplianceWarmSpareAsync(string, WarmSpareUpdateRequest, CancellationToken)
Update MX warm spare settings
[Put("/networks/{networkId}/appliance/warmSpare")]
Task<WarmSpare> UpdateNetworkApplianceWarmSpareAsync(string networkId, WarmSpareUpdateRequest updateWarmSpare, CancellationToken cancellationToken = default)
Parameters
networkId
stringThe network id
updateWarmSpare
WarmSpareUpdateRequestBody for updating warm spare settings
cancellationToken
CancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call