code: public ServiceFuture<Void> publishAsync(String resourceGroupName, String automationAccountName, String runbookName, final ServiceCallback<Void> serviceCallback) {
          return ServiceFuture.fromHeaderResponse(publishWithServiceResponseAsync(resourceGroupName, automationAccountName, runbookName), serviceCallback);
      }
docs: Publish runbook draft.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param runbookName The parameters supplied to the publish runbook operation.
  @param serviceCallback the async ServiceCallback to handle successful and failed responses.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the {@link ServiceFuture} object