C# 클래스 CSP_CREST.Services.CRESTService

상속: ICRESTService
파일 보기 프로젝트 열기: Microsoft/CSP-Explorer

공개 메소드들

메소드 설명
AcquireTokenForCustomer ( string customerId ) : Token
AcquireTokenForCustomerAsync ( string customerId ) : Task
AcquireTokenForReseller ( ) : Token
AcquireTokenForResellerAsync ( ) : Task
GetCustomer ( string CustomerAADId ) : Customer
GetCustomerAsync ( string CustomerAADId ) : Task
GetEntitlements ( string CustomerId ) : List
GetEntitlements ( string CustomerId, Token cus_token ) : List
GetEntitlementsAsync ( string CustomerId ) : Task>
GetEntitlementsAsync ( string CustomerId, Token cus_token ) : Task>
GetRateCard ( ) : RateCard
GetRateCardAsync ( ) : Task
GetReseller ( ) : Customer
GetResellerAsync ( ) : Task
GetSubscription ( string SubscriptionId ) : Subscription
GetSubscriptionAsync ( string SubscriptionId ) : Task
GetSubscriptionsByCustomer ( string CustomerId ) : List
GetSubscriptionsByCustomerAsync ( string CustomerId ) : Task>
GetUsage ( string SubscriptionId, System.DateTime StartDate, System.DateTime EndDate, string Granularity, bool ShowDetails, int Count ) : UsageRecord
GetUsage ( string SubscriptionId, bool showDetails = false ) : UsageRecord
GetUsageAsync ( string SubscriptionId, System.DateTime StartDate, System.DateTime EndDate, string Granularity, bool ShowDetails, int Count ) : Task
GetUsageAsync ( string SubscriptionId, bool showDetails = false ) : Task
Initialize ( ) : void
Initialize ( string OAuthToken, string ResellerId ) : void

메소드 상세

AcquireTokenForCustomer() 공개 메소드

public AcquireTokenForCustomer ( string customerId ) : Token
customerId string
리턴 CSP_CREST.Entities.Token

AcquireTokenForCustomerAsync() 공개 메소드

public AcquireTokenForCustomerAsync ( string customerId ) : Task
customerId string
리턴 Task

AcquireTokenForReseller() 공개 메소드

public AcquireTokenForReseller ( ) : Token
리턴 CSP_CREST.Entities.Token

AcquireTokenForResellerAsync() 공개 메소드

public AcquireTokenForResellerAsync ( ) : Task
리턴 Task

GetCustomer() 공개 메소드

public GetCustomer ( string CustomerAADId ) : Customer
CustomerAADId string
리턴 CSP_CREST.Entities.Customer

GetCustomerAsync() 공개 메소드

public GetCustomerAsync ( string CustomerAADId ) : Task
CustomerAADId string
리턴 Task

GetEntitlements() 공개 메소드

public GetEntitlements ( string CustomerId ) : List
CustomerId string
리턴 List

GetEntitlements() 공개 메소드

public GetEntitlements ( string CustomerId, Token cus_token ) : List
CustomerId string
cus_token CSP_CREST.Entities.Token
리턴 List

GetEntitlementsAsync() 공개 메소드

public GetEntitlementsAsync ( string CustomerId ) : Task>
CustomerId string
리턴 Task>

GetEntitlementsAsync() 공개 메소드

public GetEntitlementsAsync ( string CustomerId, Token cus_token ) : Task>
CustomerId string
cus_token CSP_CREST.Entities.Token
리턴 Task>

GetRateCard() 공개 메소드

public GetRateCard ( ) : RateCard
리턴 CSP_CREST.Entities.RateCard

GetRateCardAsync() 공개 메소드

public GetRateCardAsync ( ) : Task
리턴 Task

GetReseller() 공개 메소드

public GetReseller ( ) : Customer
리턴 CSP_CREST.Entities.Customer

GetResellerAsync() 공개 메소드

public GetResellerAsync ( ) : Task
리턴 Task

GetSubscription() 공개 메소드

public GetSubscription ( string SubscriptionId ) : Subscription
SubscriptionId string
리턴 CSP_CREST.Entities.Subscription

GetSubscriptionAsync() 공개 메소드

public GetSubscriptionAsync ( string SubscriptionId ) : Task
SubscriptionId string
리턴 Task

GetSubscriptionsByCustomer() 공개 메소드

public GetSubscriptionsByCustomer ( string CustomerId ) : List
CustomerId string
리턴 List

GetSubscriptionsByCustomerAsync() 공개 메소드

public GetSubscriptionsByCustomerAsync ( string CustomerId ) : Task>
CustomerId string
리턴 Task>

GetUsage() 공개 메소드

public GetUsage ( string SubscriptionId, System.DateTime StartDate, System.DateTime EndDate, string Granularity, bool ShowDetails, int Count ) : UsageRecord
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
리턴 CSP_CREST.Entities.UsageRecord

GetUsage() 공개 메소드

public GetUsage ( string SubscriptionId, bool showDetails = false ) : UsageRecord
SubscriptionId string
showDetails bool
리턴 CSP_CREST.Entities.UsageRecord

GetUsageAsync() 공개 메소드

public GetUsageAsync ( string SubscriptionId, System.DateTime StartDate, System.DateTime EndDate, string Granularity, bool ShowDetails, int Count ) : Task
SubscriptionId string
StartDate System.DateTime
EndDate System.DateTime
Granularity string
ShowDetails bool
Count int
리턴 Task

GetUsageAsync() 공개 메소드

public GetUsageAsync ( string SubscriptionId, bool showDetails = false ) : Task
SubscriptionId string
showDetails bool
리턴 Task

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Initialize() 공개 메소드

public Initialize ( string OAuthToken, string ResellerId ) : void
OAuthToken string
ResellerId string
리턴 void