Interface ISmDevicesDeviceCommandLogs
- Namespace
- Meraki.Api.Interfaces.Products.Sm
- Assembly
- Meraki.Api.dll
public interface ISmDevicesDeviceCommandLogs
Methods
GetNetworkSmDeviceDeviceCommandLogsAsync(string, string, int?, string, string, CancellationToken)
Return historical records of commands sent to Systems Manager devices
[Get("/networks/{networkId}/sm/devices/{deviceId}/deviceCommandLogs")]
Task<List<CommandLogs>> GetNetworkSmDeviceDeviceCommandLogsAsync(string networkId, string deviceId, int? perPage = 1000, string startingAfter = null, string endingBefore = null, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
deviceIdstringThe device id
perPageint?The number of entries per page returned. Acceptable range is 3 - 1000. Default is 1000. (optional)
startingAfterstringA 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. (optional)
endingBeforestringA 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. (optional)
cancellationTokenCancellationToken
Returns
Exceptions
- ApiException
Thrown when fails to make API call