@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AutomationManagement
@base https://management.azure.com
@version 2015-10-31
@auth OAuth2
@endpoints 7
@toc subscriptions(7)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
@desc Create the watcher identified by watcher name.
@required {watcherName: any # The watcher name., parameters: any # The create or update parameters for watcher.}
@returns(200) OK
@returns(201) Created

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
@desc Retrieve the watcher identified by watcher name.
@required {watcherName: any # The watcher name.}
@returns(200) OK

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
@desc Update the watcher identified by watcher name.
@required {watcherName: any # The watcher name., parameters: any # The update parameters for watcher.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}
@desc Delete the watcher by name.
@required {watcherName: any # The watcher name.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/start
@desc Resume the watcher identified by watcher name.
@required {watcherName: any # The watcher name.}
@returns(200) OK

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers/{watcherName}/stop
@desc Resume the watcher identified by watcher name.
@required {watcherName: any # The watcher name.}
@returns(200) OK

@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/watchers
@desc Retrieve a list of watchers.
@optional {$filter: any # The filter to apply on the operation.}
@returns(200) OK

@end
