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

            return(response.ScalingHistory);
        }
Exemplo n.º 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;
            }
        }