@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
@endpoints 6
@toc subscriptions(6)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/iotSecuritySolutions
@desc Use this method to get the list of IoT Security solutions by subscription.
@optional {$filter: any # Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions
@desc Use this method to get the list IoT Security solutions organized by resource group.
@optional {$filter: any # Filter the IoT Security solution with OData syntax. Supports filtering by iotHubs.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
@desc User this method to get details of a specific IoT Security solution based on solution name
@required {solutionName: any # The name of the IoT Security solution.}
@returns(200) OK

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
@desc Use this method to create or update yours IoT Security solution
@required {solutionName: any # The name of the IoT Security solution., iotSecuritySolutionData: map # The security solution data}
@returns(200) Updated
@returns(201) Created

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
@desc Use this method to update existing IoT Security solution tags or user defined resources. To update other fields use the CreateOrUpdate method.
@required {solutionName: any # The name of the IoT Security solution., updateIotSecuritySolutionData: map # The security solution data}
@returns(200) Updated

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/iotSecuritySolutions/{solutionName}
@desc Use this method to delete yours IoT Security solution
@required {solutionName: any # The name of the IoT Security solution.}
@returns(200) Security Solution deleted.
@returns(204) Security Solution does not exist.

@end
