IAzureCosmosDbGetAlertRules Method

Retrieves a list of AlertRuleDto by its companyId

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<List<AlertRuleDto>> GetAlertRules(
	Guid companyId,
	CancellationToken cancellationToken = default
)

Parameters

companyId  Guid
ID of the CompanyDto that the alert rule belongs to
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskListAlertRuleDto
Found List of AlertRuleDto, or if not found.

See Also