Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
Types ¶
type AmountWithExchangeRate ¶
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountId string, billingProfileId string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type CreditBalanceSummary ¶
type CreditBalanceSummary struct { CurrentBalance *Amount `json:"currentBalance,omitempty"` EstimatedBalance *Amount `json:"estimatedBalance,omitempty"` EstimatedBalanceInBillingCurrency *AmountWithExchangeRate `json:"estimatedBalanceInBillingCurrency,omitempty"` }
type CreditSummary ¶
type CreditSummary struct { ETag *string `json:"eTag,omitempty"` Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CreditSummaryProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type CreditSummaryProperties ¶
type CreditSummaryProperties struct { BalanceSummary *CreditBalanceSummary `json:"balanceSummary,omitempty"` BillingCurrency *string `json:"billingCurrency,omitempty"` CreditCurrency *string `json:"creditCurrency,omitempty"` ETag *string `json:"eTag,omitempty"` ExpiredCredit *Amount `json:"expiredCredit,omitempty"` PendingCreditAdjustments *Amount `json:"pendingCreditAdjustments,omitempty"` PendingEligibleCharges *Amount `json:"pendingEligibleCharges,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` }
type CreditsClient ¶
func NewCreditsClientWithBaseURI ¶
func NewCreditsClientWithBaseURI(endpoint string) CreditsClient
func (CreditsClient) Get ¶
func (c CreditsClient) Get(ctx context.Context, id BillingProfileId) (result GetOperationResponse, err error)
Get ...
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *CreditSummary }