@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Microsoft Defender for Cloud
@base https://management.azure.com
@version 2015-06-01-preview
@auth OAuth2
@endpoints 7
@toc subscriptions(7)

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/tasks
@desc Recommended tasks that will help improve the security of the subscription proactively
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks
@desc Recommended tasks that will help improve the security of the subscription proactively
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}
@desc Recommended tasks that will help improve the security of the subscription proactively
@required {taskName: any # Name of the task object, will be a GUID}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}
@desc Recommended tasks that will help improve the security of the subscription proactively
@required {taskName: any # Name of the task object, will be a GUID, taskUpdateActionType: any # Type of the action to do on the task}
@returns(204) No Content

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks
@desc Recommended tasks that will help improve the security of the subscription proactively
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}
@desc Recommended tasks that will help improve the security of the subscription proactively
@required {taskName: any # Name of the task object, will be a GUID}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/locations/{ascLocation}/tasks/{taskName}/{taskUpdateActionType}
@desc Recommended tasks that will help improve the security of the subscription proactively
@required {taskName: any # Name of the task object, will be a GUID, taskUpdateActionType: any # Type of the action to do on the task}
@returns(204) No Content

@end
