Documentation ¶
Index ¶
- func ValidateBillingPeriodID(input interface{}, key string) (warnings []string, errors []error)
- type BillingPeriodId
- type MeterDetailsV2
- type PriceSheet20220601Client
- func (c PriceSheet20220601Client) PriceSheetsGet(ctx context.Context, id commonids.SubscriptionId, ...) (result PriceSheetsGetOperationResponse, err error)
- func (c PriceSheet20220601Client) PriceSheetsGetByBillingPeriod(ctx context.Context, id BillingPeriodId, ...) (result PriceSheetsGetByBillingPeriodOperationResponse, err error)
- type PriceSheetModelV2
- type PriceSheetPropertiesV2
- type PriceSheetResultV2
- type PriceSheetsGetByBillingPeriodOperationOptions
- type PriceSheetsGetByBillingPeriodOperationResponse
- type PriceSheetsGetOperationOptions
- type PriceSheetsGetOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBillingPeriodID ¶
ValidateBillingPeriodID checks that 'input' can be parsed as a Billing Period ID
Types ¶
type BillingPeriodId ¶
BillingPeriodId is a struct representing the Resource ID for a Billing Period
func NewBillingPeriodID ¶
func NewBillingPeriodID(subscriptionId string, billingPeriodName string) BillingPeriodId
NewBillingPeriodID returns a new BillingPeriodId struct
func ParseBillingPeriodID ¶
func ParseBillingPeriodID(input string) (*BillingPeriodId, error)
ParseBillingPeriodID parses 'input' into a BillingPeriodId
func ParseBillingPeriodIDInsensitively ¶
func ParseBillingPeriodIDInsensitively(input string) (*BillingPeriodId, error)
ParseBillingPeriodIDInsensitively parses 'input' case-insensitively into a BillingPeriodId note: this method should only be used for API response data and not user input
func (BillingPeriodId) ID ¶
func (id BillingPeriodId) ID() string
ID returns the formatted Billing Period ID
func (BillingPeriodId) Segments ¶
func (id BillingPeriodId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Period ID
func (BillingPeriodId) String ¶
func (id BillingPeriodId) String() string
String returns a human-readable description of this Billing Period ID
type MeterDetailsV2 ¶
type MeterDetailsV2 struct { MeterCategory *string `json:"meterCategory,omitempty"` MeterLocation *string `json:"meterLocation,omitempty"` MeterName *string `json:"meterName,omitempty"` MeterSubCategory *string `json:"meterSubCategory,omitempty"` PretaxStandardRate *float64 `json:"pretaxStandardRate,omitempty"` ServiceName *string `json:"serviceName,omitempty"` ServiceTier *string `json:"serviceTier,omitempty"` TotalIncludedQuantity *float64 `json:"totalIncludedQuantity,omitempty"` Unit *string `json:"unit,omitempty"` }
type PriceSheet20220601Client ¶
type PriceSheet20220601Client struct { Client autorest.Client // contains filtered or unexported fields }
func NewPriceSheet20220601ClientWithBaseURI ¶
func NewPriceSheet20220601ClientWithBaseURI(endpoint string) PriceSheet20220601Client
func (PriceSheet20220601Client) PriceSheetsGet ¶
func (c PriceSheet20220601Client) PriceSheetsGet(ctx context.Context, id commonids.SubscriptionId, options PriceSheetsGetOperationOptions) (result PriceSheetsGetOperationResponse, err error)
PriceSheetsGet ...
func (PriceSheet20220601Client) PriceSheetsGetByBillingPeriod ¶
func (c PriceSheet20220601Client) PriceSheetsGetByBillingPeriod(ctx context.Context, id BillingPeriodId, options PriceSheetsGetByBillingPeriodOperationOptions) (result PriceSheetsGetByBillingPeriodOperationResponse, err error)
PriceSheetsGetByBillingPeriod ...
type PriceSheetModelV2 ¶
type PriceSheetModelV2 struct { Download *MeterDetailsV2 `json:"download,omitempty"` NextLink *string `json:"nextLink,omitempty"` Pricesheets *[]PriceSheetPropertiesV2 `json:"pricesheets,omitempty"` }
type PriceSheetPropertiesV2 ¶
type PriceSheetPropertiesV2 struct { BillingPeriodId *string `json:"billingPeriodId,omitempty"` CurrencyCode *string `json:"currencyCode,omitempty"` IncludedQuantity *float64 `json:"includedQuantity,omitempty"` MeterDetails *MeterDetailsV2 `json:"meterDetails,omitempty"` MeterId *string `json:"meterId,omitempty"` OfferId *string `json:"offerId,omitempty"` PartNumber *string `json:"partNumber,omitempty"` UnitOfMeasure *string `json:"unitOfMeasure,omitempty"` UnitPrice *float64 `json:"unitPrice,omitempty"` }
type PriceSheetResultV2 ¶
type PriceSheetsGetByBillingPeriodOperationOptions ¶
func DefaultPriceSheetsGetByBillingPeriodOperationOptions ¶
func DefaultPriceSheetsGetByBillingPeriodOperationOptions() PriceSheetsGetByBillingPeriodOperationOptions
type PriceSheetsGetByBillingPeriodOperationResponse ¶
type PriceSheetsGetByBillingPeriodOperationResponse struct { HttpResponse *http.Response Model *PriceSheetResultV2 }
type PriceSheetsGetOperationOptions ¶
func DefaultPriceSheetsGetOperationOptions ¶
func DefaultPriceSheetsGetOperationOptions() PriceSheetsGetOperationOptions
type PriceSheetsGetOperationResponse ¶
type PriceSheetsGetOperationResponse struct { HttpResponse *http.Response Model *PriceSheetResultV2 }