Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForOperationStatusType() []string + func ValidateBillingAccountBillingPeriodID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingPeriodID(input interface{}, key string) (warnings []string, errors []error) + type BillingAccountBillingPeriodId struct + BillingAccountId string + BillingPeriodName string + func NewBillingAccountBillingPeriodID(billingAccountId string, billingPeriodName string) BillingAccountBillingPeriodId + func ParseBillingAccountBillingPeriodID(input string) (*BillingAccountBillingPeriodId, error) + func ParseBillingAccountBillingPeriodIDInsensitively(input string) (*BillingAccountBillingPeriodId, error) + func (id *BillingAccountBillingPeriodId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountBillingPeriodId) ID() string + func (id BillingAccountBillingPeriodId) Segments() []resourceids.Segment + func (id BillingAccountBillingPeriodId) String() string + type BillingPeriodId struct + BillingPeriodName string + SubscriptionId string + func NewBillingPeriodID(subscriptionId string, billingPeriodName string) BillingPeriodId + func ParseBillingPeriodID(input string) (*BillingPeriodId, error) + func ParseBillingPeriodIDInsensitively(input string) (*BillingPeriodId, error) + func (id *BillingPeriodId) FromParseResult(input resourceids.ParseResult) error + func (id BillingPeriodId) ID() string + func (id BillingPeriodId) Segments() []resourceids.Segment + func (id BillingPeriodId) String() string + type DownloadByBillingAccountPeriodOperationResponse struct + HttpResponse *http.Response + Model *OperationStatus + OData *odata.OData + Poller pollers.Poller + type GetByBillingPeriodOperationOptions struct + Expand *string + Top *int64 + func DefaultGetByBillingPeriodOperationOptions() GetByBillingPeriodOperationOptions + func (o GetByBillingPeriodOperationOptions) ToHeaders() *client.Headers + func (o GetByBillingPeriodOperationOptions) ToOData() *odata.Query + func (o GetByBillingPeriodOperationOptions) ToQuery() *client.QueryParams + type GetByBillingPeriodOperationResponse struct + HttpResponse *http.Response + Model *PriceSheetResult + OData *odata.OData + type GetOperationOptions struct + Expand *string + Top *int64 + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *PriceSheetResult + OData *odata.OData + type MeterDetails struct + MeterCategory *string + MeterLocation *string + MeterName *string + MeterSubCategory *string + PretaxStandardRate *float64 + ServiceName *string + ServiceTier *string + TotalIncludedQuantity *float64 + Unit *string + type OperationStatus struct + Properties *PricesheetDownloadProperties + Status *OperationStatusType + type OperationStatusType string + const OperationStatusTypeCompleted + const OperationStatusTypeFailed + const OperationStatusTypeRunning + func (s *OperationStatusType) UnmarshalJSON(bytes []byte) error + type PriceSheetClient struct + Client *resourcemanager.Client + func NewPriceSheetClientWithBaseURI(sdkApi sdkEnv.Api) (*PriceSheetClient, error) + func (c PriceSheetClient) DownloadByBillingAccountPeriod(ctx context.Context, id BillingAccountBillingPeriodId) (result DownloadByBillingAccountPeriodOperationResponse, err error) + func (c PriceSheetClient) DownloadByBillingAccountPeriodThenPoll(ctx context.Context, id BillingAccountBillingPeriodId) error + func (c PriceSheetClient) Get(ctx context.Context, id commonids.SubscriptionId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c PriceSheetClient) GetByBillingPeriod(ctx context.Context, id BillingPeriodId, ...) (result GetByBillingPeriodOperationResponse, err error) + type PriceSheetModel struct + Download *MeterDetails + NextLink *string + Pricesheets *[]PriceSheetProperties + type PriceSheetProperties struct + BillingPeriodId *string + CurrencyCode *string + IncludedQuantity *float64 + MeterDetails *MeterDetails + MeterId *string + OfferId *string + PartNumber *string + SavingsPlan *SavingsPlan + UnitOfMeasure *string + UnitPrice *float64 + type PriceSheetResult struct + Etag *string + Id *string + Name *string + Properties *PriceSheetModel + Tags *map[string]string + Type *string + type PricesheetDownloadProperties struct + DownloadURL *string + ValidTill *string + func (o *PricesheetDownloadProperties) GetValidTillAsTime() (*time.Time, error) + func (o *PricesheetDownloadProperties) SetValidTillAsTime(input time.Time) + type SavingsPlan struct + EffectivePrice *float64 + MarketPrice *float64 + Term *string