C# Class CSP_Web.Controllers.SubscriptionController

Inheritance: Controller
Show file Open project: Microsoft/CSP-Explorer

Public Methods

Method Description
GetUsage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.JsonResult
Index ( string SubscriptionId ) : System.Web.Mvc.ActionResult
SubscriptionController ( IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService ) : System
Usage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
GetMeter ( string MeterId ) : Meter

Method Details

GetUsage() public method

public GetUsage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.JsonResult
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
return System.Web.Mvc.JsonResult

Index() public method

public Index ( string SubscriptionId ) : System.Web.Mvc.ActionResult
SubscriptionId string
return System.Web.Mvc.ActionResult

SubscriptionController() public method

public SubscriptionController ( IResellerService ResellerService, IGraphService GraphService, ICRESTService CrestService ) : System
ResellerService IResellerService
GraphService IGraphService
CrestService ICRESTService
return System

Usage() public method

public Usage ( string SubscriptionId, System.DateTime StartDate = null, System.DateTime EndDate = null, string Granularity = "daily", bool ShowDetails = false, int Count = 1000 ) : System.Web.Mvc.ActionResult
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
return System.Web.Mvc.ActionResult