Esempio n. 1
0
        /// <summary>
        /// Gets the compute limits.
        /// </summary>
        /// <returns>The compute limits</returns>
        public Task <ComputeLimits> GetComputeLimits(CancellationToken cancellationToken)
        {
            if (!HasComputeLimits)
            {
                return(null);
            }

            return(DataCenterService.GetComputeLimitsByLink(string.Format("{0}{1}", Configuration.BaseUri, computeLimitsLink.Value.Href), cancellationToken));
        }