private List <ScalingHistoryItem> DescribeScalingHistory()
        {
            ApDescribeScalingHistoryRequest  request  = new ApDescribeScalingHistoryRequest(Credentials);
            ApDescribeScalingHistoryResponse response = EndPoints.ApDashboardService.DescribeScalingHistory(request);

            return(response.ScalingHistory);
        }
示例#2
0
        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;
            }
        }