Метод | Описание | |
---|---|---|
AlertsRepository ( IConfigurationProvider configProvider, IBlobStorageClientFactory blobStorageClientFactory ) : Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Configurations |
Initializes a new instance of the AlertsRepository class.
|
|
LoadLatestAlertHistoryAsync ( System.DateTime minTime, int minResults ) : Task |
Loads the latest Device Alert History items.
|
Метод | Описание | |
---|---|---|
BuildModelForItem ( string ruleOutput, string deviceId, string value, string time ) : Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Models.AlertHistoryItemModel | ||
ProduceAlertHistoryItem ( System.Dynamic.ExpandoObject expandoObject ) : Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Models.AlertHistoryItemModel | ||
ProduceAlertHistoryItemsAsync ( Stream stream ) : List |
public AlertsRepository ( IConfigurationProvider configProvider, IBlobStorageClientFactory blobStorageClientFactory ) : Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Configurations | ||
configProvider | IConfigurationProvider | /// The IConfigurationProvider implementation with which the new /// instance will be initialized. /// |
blobStorageClientFactory | IBlobStorageClientFactory | |
Результат | Microsoft.Azure.Devices.Applications.RemoteMonitoring.Common.Configurations |
public LoadLatestAlertHistoryAsync ( System.DateTime minTime, int minResults ) : Task |
||
minTime | System.DateTime | /// The cutoff time for Device Alert History items that should be returned. /// |
minResults | int |
/// The minimum number of items that should be returned, if possible,
/// after |
Результат | Task |