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 AvailableBalance ¶
type AvailableBalance struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AvailableBalanceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type AvailableBalanceProperties ¶
type AvailableBalanceProperties struct {
Amount *Amount `json:"amount,omitempty"`
}
type AvailableBalancesClient ¶
type AvailableBalancesClient struct {
Client *resourcemanager.Client
}
func NewAvailableBalancesClientWithBaseURI ¶
func NewAvailableBalancesClientWithBaseURI(sdkApi sdkEnv.Api) (*AvailableBalancesClient, error)
func (AvailableBalancesClient) Get ¶
func (c AvailableBalancesClient) Get(ctx context.Context, id BillingProfileId) (result GetOperationResponse, err error)
Get ...
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName 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) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
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 GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AvailableBalance }