@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AutomationManagement
@base https://management.azure.com
@version 2017-05-15-preview
@auth OAuth2
@endpoints 5
@toc subscriptions(5)

@endpoint PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
@desc Create a source control.
@required {sourceControlName: any # The source control name., parameters: any # The parameters supplied to the create or update source control operation.}
@returns(200) OK
@returns(201) Created

@endpoint PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
@desc Update a source control.
@required {sourceControlName: any # The source control name., parameters: any # The parameters supplied to the update source control operation.}
@returns(200) OK

@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/sourceControls/{sourceControlName}
@desc Delete the source control.
@required {sourceControlName: any # The name of source control.}
@returns(200) OK

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

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

@end
