@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Security Center
@base https://management.azure.com
@version 2019-08-01
@auth OAuth2
@common_fields {solutionName: any # The name of the IoT Security solution.}
@endpoints 7
@toc subscriptions(7)

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels
@desc Use this method to get IoT security Analytics metrics in an array.
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default
@desc Use this method to get IoT Security Analytics metrics.
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts
@desc Use this method to get the aggregated alert list of yours IoT Security solution.
@optional {$top: any # Number of results to retrieve.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}
@desc Use this method to get a single the aggregated alert of yours IoT Security solution. This aggregation is performed by alert name.
@required {aggregatedAlertName: any # Identifier of the aggregated alert.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedAlerts/{aggregatedAlertName}/dismiss
@desc Use this method to dismiss an aggregated IoT Security Solution Alert.
@required {aggregatedAlertName: any # Identifier of the aggregated alert.}
@returns(200) This aggregate alert is permanently dismissed.

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations/{aggregatedRecommendationName}
@desc Use this method to get the aggregated security analytics recommendation of yours IoT Security solution. This aggregation is performed by recommendation name.
@required {aggregatedRecommendationName: any # Name of the recommendation aggregated for this query.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}/analyticsModels/default/aggregatedRecommendations
@desc Use this method to get the list of aggregated security analytics recommendations of yours IoT Security solution.
@optional {$top: any # Number of results to retrieve.}
@returns(200) OK

@end
