Documentation ¶
Index ¶
- func PossibleValuesForBillingFrequency() []string
- func ValidateBillingAccountBillingPeriodID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- type Balance
- type BalanceProperties
- type BalancePropertiesAdjustmentDetailsInlined
- type BalancePropertiesNewPurchasesDetailsInlined
- type BalancesClient
- func (c BalancesClient) GetByBillingAccount(ctx context.Context, id BillingAccountId) (result GetByBillingAccountOperationResponse, err error)
- func (c BalancesClient) GetForBillingPeriodByBillingAccount(ctx context.Context, id BillingAccountBillingPeriodId) (result GetForBillingPeriodByBillingAccountOperationResponse, err error)
- type BillingAccountBillingPeriodId
- func NewBillingAccountBillingPeriodID(billingAccountId string, billingPeriodName string) BillingAccountBillingPeriodId
- func ParseBillingAccountBillingPeriodID(input string) (*BillingAccountBillingPeriodId, error)
- func ParseBillingAccountBillingPeriodIDInsensitively(input string) (*BillingAccountBillingPeriodId, error)
- type BillingAccountId
- type BillingFrequency
- type GetByBillingAccountOperationResponse
- type GetForBillingPeriodByBillingAccountOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingFrequency ¶
func PossibleValuesForBillingFrequency() []string
func ValidateBillingAccountBillingPeriodID ¶
func ValidateBillingAccountBillingPeriodID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingAccountBillingPeriodID checks that 'input' can be parsed as a Billing Account Billing Period ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
Types ¶
type BalanceProperties ¶
type BalanceProperties struct { AdjustmentDetails *[]BalancePropertiesAdjustmentDetailsInlined `json:"adjustmentDetails,omitempty"` Adjustments *float64 `json:"adjustments,omitempty"` AzureMarketplaceServiceCharges *float64 `json:"azureMarketplaceServiceCharges,omitempty"` BeginningBalance *float64 `json:"beginningBalance,omitempty"` BillingFrequency *BillingFrequency `json:"billingFrequency,omitempty"` ChargesBilledSeparately *float64 `json:"chargesBilledSeparately,omitempty"` Currency *string `json:"currency,omitempty"` EndingBalance *float64 `json:"endingBalance,omitempty"` NewPurchases *float64 `json:"newPurchases,omitempty"` NewPurchasesDetails *[]BalancePropertiesNewPurchasesDetailsInlined `json:"newPurchasesDetails,omitempty"` PriceHidden *bool `json:"priceHidden,omitempty"` ServiceOverage *float64 `json:"serviceOverage,omitempty"` TotalOverage *float64 `json:"totalOverage,omitempty"` TotalUsage *float64 `json:"totalUsage,omitempty"` Utilized *float64 `json:"utilized,omitempty"` }
type BalancesClient ¶
type BalancesClient struct {
Client *resourcemanager.Client
}
func NewBalancesClientWithBaseURI ¶
func NewBalancesClientWithBaseURI(api environments.Api) (*BalancesClient, error)
func (BalancesClient) GetByBillingAccount ¶
func (c BalancesClient) GetByBillingAccount(ctx context.Context, id BillingAccountId) (result GetByBillingAccountOperationResponse, err error)
GetByBillingAccount ...
func (BalancesClient) GetForBillingPeriodByBillingAccount ¶
func (c BalancesClient) GetForBillingPeriodByBillingAccount(ctx context.Context, id BillingAccountBillingPeriodId) (result GetForBillingPeriodByBillingAccountOperationResponse, err error)
GetForBillingPeriodByBillingAccount ...
type BillingAccountBillingPeriodId ¶
BillingAccountBillingPeriodId is a struct representing the Resource ID for a Billing Account Billing Period
func NewBillingAccountBillingPeriodID ¶
func NewBillingAccountBillingPeriodID(billingAccountId string, billingPeriodName string) BillingAccountBillingPeriodId
NewBillingAccountBillingPeriodID returns a new BillingAccountBillingPeriodId struct
func ParseBillingAccountBillingPeriodID ¶
func ParseBillingAccountBillingPeriodID(input string) (*BillingAccountBillingPeriodId, error)
ParseBillingAccountBillingPeriodID parses 'input' into a BillingAccountBillingPeriodId
func ParseBillingAccountBillingPeriodIDInsensitively ¶
func ParseBillingAccountBillingPeriodIDInsensitively(input string) (*BillingAccountBillingPeriodId, error)
ParseBillingAccountBillingPeriodIDInsensitively parses 'input' case-insensitively into a BillingAccountBillingPeriodId note: this method should only be used for API response data and not user input
func (BillingAccountBillingPeriodId) ID ¶
func (id BillingAccountBillingPeriodId) ID() string
ID returns the formatted Billing Account Billing Period ID
func (BillingAccountBillingPeriodId) Segments ¶
func (id BillingAccountBillingPeriodId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account Billing Period ID
func (BillingAccountBillingPeriodId) String ¶
func (id BillingAccountBillingPeriodId) String() string
String returns a human-readable description of this Billing Account Billing Period ID
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountId string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountId string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingFrequency ¶
type BillingFrequency string
const ( BillingFrequencyMonth BillingFrequency = "Month" BillingFrequencyQuarter BillingFrequency = "Quarter" BillingFrequencyYear BillingFrequency = "Year" )
func (*BillingFrequency) UnmarshalJSON ¶
func (s *BillingFrequency) UnmarshalJSON(bytes []byte) error
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingaccountbillingperiod.go
- method_getbybillingaccount.go
- method_getforbillingperiodbybillingaccount.go
- model_balance.go
- model_balanceproperties.go
- model_balancepropertiesadjustmentdetailsinlined.go
- model_balancepropertiesnewpurchasesdetailsinlined.go
- version.go