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

@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/webhooks/generateUri
@desc Generates a Uri for use in creating a webhook.
@returns(200) OK

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

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

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

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

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

@end
