code: public AutoscalePolicyMetadata getAutoscalePolicyOnServer(Server server) {
          return
              autoscalePolicyClient
                  .getAutoscalePolicyOnServer(
                      serverService
                          .findByRef(server)
                          .getId()
                  );
      }
docs: get autoscale policy on server
  
  @param server server
  @return AutoscalePolicyMetadata