code: public AdvisorInner update(String resourceGroupName, String serverName, String advisorName, AutoExecuteStatus autoExecuteStatus) {
          return updateWithServiceResponseAsync(resourceGroupName, serverName, advisorName, autoExecuteStatus).toBlocking().single().body();
      }
docs: Updates a server advisor.
  
  @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
  @param serverName The name of the server.
  @param advisorName The name of the Server Advisor.
  @param autoExecuteStatus Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'. Possible values include: 'Enabled', 'Disabled', 'Default'
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the AdvisorInner object if successful.