code: public Observable<ServerVulnerabilityAssessmentInner> createOrUpdateAsync(String resourceGroupName, String serverName, ServerVulnerabilityAssessmentInner parameters) {
          return createOrUpdateWithServiceResponseAsync(resourceGroupName, serverName, parameters).map(new Func1<ServiceResponse<ServerVulnerabilityAssessmentInner>, ServerVulnerabilityAssessmentInner>() {
              @Override
              public ServerVulnerabilityAssessmentInner call(ServiceResponse<ServerVulnerabilityAssessmentInner> response) {
                  return response.body();
              }
          });
      }
docs: Creates or updates the server's vulnerability assessment.
  
  @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 for which the vulnerability assessment is defined.
  @param parameters The requested resource.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the ServerVulnerabilityAssessmentInner object