Runbooks (Azure SDK for Java Reference Documentation)
Leah Mitchell
Published Feb 16, 2026
Runbook.DefinitionStages.Blankdefine(String name)Begins definition for a new Runbook resource.
voiddelete(String resourceGroupName, String automationAccountName, String runbookName)Delete the runbook by name.
voiddeleteById(String id)Delete the runbook by name.
com.azure.core.http.rest.Response<Void>deleteByIdWithResponse(String id, com.azure.core.util.Context context)Delete the runbook by name.
com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)Delete the runbook by name.
Runbookget(String resourceGroupName, String automationAccountName, String runbookName)Retrieve the runbook identified by runbook name.
RunbookgetById(String id)Retrieve the runbook identified by runbook name.
com.azure.core.http.rest.Response<Runbook>getByIdWithResponse(String id, com.azure.core.util.Context context)Retrieve the runbook identified by runbook name.
StringgetContent(String resourceGroupName, String automationAccountName, String runbookName)Retrieve the content of runbook identified by runbook name.
com.azure.core.http.rest.Response<String>getContentWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)Retrieve the content of runbook identified by runbook name.
com.azure.core.http.rest.Response<Runbook>getWithResponse(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)Retrieve the runbook identified by runbook name.
com.azure.core.http.rest.PagedIterable<Runbook>listByAutomationAccount(String resourceGroupName, String automationAccountName)Retrieve a list of runbooks.
com.azure.core.http.rest.PagedIterable<Runbook>listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)Retrieve a list of runbooks.
voidpublish(String resourceGroupName, String automationAccountName, String runbookName)Publish runbook draft.
voidpublish(String resourceGroupName, String automationAccountName, String runbookName, com.azure.core.util.Context context)Publish runbook draft.