C# Class Microsoft.Azure.Devices.Applications.RemoteMonitoring.DeviceAdmin.Infrastructure.Repository.ActionRepository

Repository storing available actions for rules.
Inheritance: IActionRepository
Exibir arquivo Open project: Azure/azure-iot-remote-monitoring

Public Methods

Method Description
ActionRepository ( HttpMessageHandler handler = null ) : Newtonsoft.Json
AddActionEndpoint ( string actionId, string endpoint ) : Task
ExecuteLogicAppAsync ( string actionId, string deviceId, string measurementName, double measuredValue ) : Task
GetAllActionIdsAsync ( ) : Task>

Method Details

ActionRepository() public method

public ActionRepository ( HttpMessageHandler handler = null ) : Newtonsoft.Json
handler System.Net.Http.HttpMessageHandler
return Newtonsoft.Json

AddActionEndpoint() public method

public AddActionEndpoint ( string actionId, string endpoint ) : Task
actionId string
endpoint string
return Task

ExecuteLogicAppAsync() public method

public ExecuteLogicAppAsync ( string actionId, string deviceId, string measurementName, double measuredValue ) : Task
actionId string
deviceId string
measurementName string
measuredValue double
return Task

GetAllActionIdsAsync() public method

public GetAllActionIdsAsync ( ) : Task>
return Task>