private List <ScalingHistoryItem> DescribeScalingHistory() { ApDescribeScalingHistoryRequest request = new ApDescribeScalingHistoryRequest(Credentials); ApDescribeScalingHistoryResponse response = EndPoints.ApDashboardService.DescribeScalingHistory(request); return(response.ScalingHistory); }
public ApDescribeScalingHistoryResponse DescribeScalingHistory(ApDescribeScalingHistoryRequest request) { Log.Debug(this, "DescribeScalingHistory()"); try { Authenticate(request); ApDescribeScalingHistoryResponse response = new ApDescribeScalingHistoryResponse(); response.ScalingHistory = Database.GetInstance().ScalingHistory; return(response); } catch (Exception e) { Log.Error(this, e); throw e; } }