ConoHaNet.OpenStackMember.GetCPUGraph C# (CSharp) Method

GetCPUGraph() public method

public GetCPUGraph ( string serverId, DateTime startDate = null, DateTime endDate = null, string mode = null ) : string
serverId string
startDate DateTime
endDate DateTime
mode string
return string
        public string GetCPUGraph(string serverId, DateTime? startDate = null, DateTime? endDate = null, string mode = null)
        {
            string startDate_unixtime = (startDate == null) ? string.Empty : toUnixTime((DateTime)startDate);
            string endDate_unixtime = (endDate == null) ? string.Empty : toUnixTime((DateTime)endDate);

            return ServersProvider.GetCPUGraph(serverId, startDate_unixtime, endDate_unixtime, mode, this.DefaultRegion, this.Identity);
        }
OpenStackMember