public virtual MonitoringApi GetMonitoringApi() { var morapi = JobStorage.Current.GetMonitoringApi().GetStatistics(); var mormodel = new MonitoringApi() { DeletedJobs = morapi.Deleted.ToString(), SucceededListCount = morapi.Succeeded.ToString(), FailedCount = morapi.Failed.ToString(), ProcessingCount = morapi.Processing.ToString(), ScheduledCount = morapi.Scheduled.ToString(), EnqueuedCount = morapi.Enqueued.ToString(), Queues = morapi.Queues.ToString() }; return(mormodel); }
public GetIntersightMonitoringHealthStatus() { ApiInstance = new MonitoringApi(Config); MethodName = "GetMonitoringHealthStatusListWithHttpInfo"; }