Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AggregatedCostClient struct + func NewAggregatedCostClient(subscriptionID string) AggregatedCostClient + func NewAggregatedCostClientWithBaseURI(baseURI string, subscriptionID string) AggregatedCostClient + func (client AggregatedCostClient) GetByManagementGroup(ctx context.Context, managementGroupID string, filter string) (result ManagementGroupAggregatedCostResult, err error) + func (client AggregatedCostClient) GetByManagementGroupPreparer(ctx context.Context, managementGroupID string, filter string) (*http.Request, error) + func (client AggregatedCostClient) GetByManagementGroupResponder(resp *http.Response) (result ManagementGroupAggregatedCostResult, err error) + func (client AggregatedCostClient) GetByManagementGroupSender(req *http.Request) (*http.Response, error) + func (client AggregatedCostClient) GetForBillingPeriodByManagementGroup(ctx context.Context, managementGroupID string, billingPeriodName string) (result ManagementGroupAggregatedCostResult, err error) + func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupPreparer(ctx context.Context, managementGroupID string, billingPeriodName string) (*http.Request, error) + func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupResponder(resp *http.Response) (result ManagementGroupAggregatedCostResult, err error) + func (client AggregatedCostClient) GetForBillingPeriodByManagementGroupSender(req *http.Request) (*http.Response, error) + type Amount struct + Currency *string + Value *decimal.Decimal + func (a Amount) MarshalJSON() ([]byte, error) + type AmountWithExchangeRate struct + Currency *string + ExchangeRate *decimal.Decimal + ExchangeRateMonth *float64 + Value *decimal.Decimal + func (awer AmountWithExchangeRate) MarshalJSON() ([]byte, error) + type Balance struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (b *Balance) UnmarshalJSON(body []byte) error + func (b Balance) MarshalJSON() ([]byte, error) + type BalanceProperties struct + AdjustmentDetails *[]BalancePropertiesAdjustmentDetailsItem + Adjustments *decimal.Decimal + AzureMarketplaceServiceCharges *decimal.Decimal + BeginningBalance *decimal.Decimal + BillingFrequency BillingFrequency + ChargesBilledSeparately *decimal.Decimal + Currency *string + EndingBalance *decimal.Decimal + NewPurchases *decimal.Decimal + NewPurchasesDetails *[]BalancePropertiesNewPurchasesDetailsItem + PriceHidden *bool + ServiceOverage *decimal.Decimal + TotalOverage *decimal.Decimal + TotalUsage *decimal.Decimal + Utilized *decimal.Decimal + func (bp BalanceProperties) MarshalJSON() ([]byte, error) + type BalancePropertiesAdjustmentDetailsItem struct + Name *string + Value *decimal.Decimal + func (bpDi BalancePropertiesAdjustmentDetailsItem) MarshalJSON() ([]byte, error) + type BalancePropertiesNewPurchasesDetailsItem struct + Name *string + Value *decimal.Decimal + func (bpPdi BalancePropertiesNewPurchasesDetailsItem) MarshalJSON() ([]byte, error) + type BalancesClient struct + func NewBalancesClient(subscriptionID string) BalancesClient + func NewBalancesClientWithBaseURI(baseURI string, subscriptionID string) BalancesClient + func (client BalancesClient) GetByBillingAccount(ctx context.Context, billingAccountID string) (result Balance, err error) + func (client BalancesClient) GetByBillingAccountPreparer(ctx context.Context, billingAccountID string) (*http.Request, error) + func (client BalancesClient) GetByBillingAccountResponder(resp *http.Response) (result Balance, err error) + func (client BalancesClient) GetByBillingAccountSender(req *http.Request) (*http.Response, error) + func (client BalancesClient) GetForBillingPeriodByBillingAccount(ctx context.Context, billingAccountID string, billingPeriodName string) (result Balance, err error) + func (client BalancesClient) GetForBillingPeriodByBillingAccountPreparer(ctx context.Context, billingAccountID string, billingPeriodName string) (*http.Request, error) + func (client BalancesClient) GetForBillingPeriodByBillingAccountResponder(resp *http.Response) (result Balance, err error) + func (client BalancesClient) GetForBillingPeriodByBillingAccountSender(req *http.Request) (*http.Response, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type BasicChargeSummary interface + AsChargeSummary func() (*ChargeSummary, bool) + AsLegacyChargeSummary func() (*LegacyChargeSummary, bool) + AsModernChargeSummary func() (*ModernChargeSummary, bool) + type BasicReservationRecommendation interface + AsLegacyReservationRecommendation func() (*LegacyReservationRecommendation, bool) + AsModernReservationRecommendation func() (*ModernReservationRecommendation, bool) + AsReservationRecommendation func() (*ReservationRecommendation, bool) + type BasicUsageDetail interface + AsLegacyUsageDetail func() (*LegacyUsageDetail, bool) + AsModernUsageDetail func() (*ModernUsageDetail, bool) + AsUsageDetail func() (*UsageDetail, bool) + type BillingFrequency string + const BillingFrequencyMonth + const BillingFrequencyQuarter + const BillingFrequencyYear + func PossibleBillingFrequencyValues() []BillingFrequency + type Bound string + const BoundLower + const BoundUpper + func PossibleBoundValues() []Bound + type Budget struct + ETag *string + ID *string + Name *string + Type *string + func (b *Budget) UnmarshalJSON(body []byte) error + func (b Budget) MarshalJSON() ([]byte, error) + type BudgetComparisonExpression struct + Name *string + Operator *string + Values *[]string + type BudgetFilter struct + And *[]BudgetFilterProperties + Dimensions *BudgetComparisonExpression + Not *BudgetFilterProperties + Tags *BudgetComparisonExpression + type BudgetFilterProperties struct + Dimensions *BudgetComparisonExpression + Tags *BudgetComparisonExpression + type BudgetProperties struct + Amount *decimal.Decimal + Category *string + CurrentSpend *CurrentSpend + Filter *BudgetFilter + ForecastSpend *ForecastSpend + Notifications map[string]*Notification + TimeGrain TimeGrainType + TimePeriod *BudgetTimePeriod + func (bp BudgetProperties) MarshalJSON() ([]byte, error) + type BudgetTimePeriod struct + EndDate *date.Time + StartDate *date.Time + type BudgetsClient struct + func NewBudgetsClient(subscriptionID string) BudgetsClient + func NewBudgetsClientWithBaseURI(baseURI string, subscriptionID string) BudgetsClient + func (client BudgetsClient) CreateOrUpdate(ctx context.Context, scope string, budgetName string, parameters Budget) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdatePreparer(ctx context.Context, scope string, budgetName string, parameters Budget) (*http.Request, error) + func (client BudgetsClient) CreateOrUpdateResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) CreateOrUpdateSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) Delete(ctx context.Context, scope string, budgetName string) (result autorest.Response, err error) + func (client BudgetsClient) DeletePreparer(ctx context.Context, scope string, budgetName string) (*http.Request, error) + func (client BudgetsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client BudgetsClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) Get(ctx context.Context, scope string, budgetName string) (result Budget, err error) + func (client BudgetsClient) GetPreparer(ctx context.Context, scope string, budgetName string) (*http.Request, error) + func (client BudgetsClient) GetResponder(resp *http.Response) (result Budget, err error) + func (client BudgetsClient) GetSender(req *http.Request) (*http.Response, error) + func (client BudgetsClient) List(ctx context.Context, scope string) (result BudgetsListResultPage, err error) + func (client BudgetsClient) ListComplete(ctx context.Context, scope string) (result BudgetsListResultIterator, err error) + func (client BudgetsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client BudgetsClient) ListResponder(resp *http.Response) (result BudgetsListResult, err error) + func (client BudgetsClient) ListSender(req *http.Request) (*http.Response, error) + type BudgetsListResult struct + NextLink *string + Value *[]Budget + func (blr BudgetsListResult) IsEmpty() bool + func (blr BudgetsListResult) MarshalJSON() ([]byte, error) + type BudgetsListResultIterator struct + func NewBudgetsListResultIterator(page BudgetsListResultPage) BudgetsListResultIterator + func (iter *BudgetsListResultIterator) Next() error + func (iter *BudgetsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter BudgetsListResultIterator) NotDone() bool + func (iter BudgetsListResultIterator) Response() BudgetsListResult + func (iter BudgetsListResultIterator) Value() Budget + type BudgetsListResultPage struct + func NewBudgetsListResultPage(cur BudgetsListResult, ...) BudgetsListResultPage + func (page *BudgetsListResultPage) Next() error + func (page *BudgetsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page BudgetsListResultPage) NotDone() bool + func (page BudgetsListResultPage) Response() BudgetsListResult + func (page BudgetsListResultPage) Values() []Budget + type ChargeSummary struct + Etag *string + ID *string + Kind KindBasicChargeSummary + Name *string + Tags map[string]*string + Type *string + func (cs ChargeSummary) AsBasicChargeSummary() (BasicChargeSummary, bool) + func (cs ChargeSummary) AsChargeSummary() (*ChargeSummary, bool) + func (cs ChargeSummary) AsLegacyChargeSummary() (*LegacyChargeSummary, bool) + func (cs ChargeSummary) AsModernChargeSummary() (*ModernChargeSummary, bool) + func (cs ChargeSummary) MarshalJSON() ([]byte, error) + type ChargeType string + const ChargeTypeActual + const ChargeTypeForecast + func PossibleChargeTypeValues() []ChargeType + type ChargesClient struct + func NewChargesClient(subscriptionID string) ChargesClient + func NewChargesClientWithBaseURI(baseURI string, subscriptionID string) ChargesClient + func (client ChargesClient) List(ctx context.Context, scope string, startDate string, endDate string, ...) (result ChargesListResult, err error) + func (client ChargesClient) ListPreparer(ctx context.Context, scope string, startDate string, endDate string, ...) (*http.Request, error) + func (client ChargesClient) ListResponder(resp *http.Response) (result ChargesListResult, err error) + func (client ChargesClient) ListSender(req *http.Request) (*http.Response, error) + type ChargesListResult struct + Value *[]BasicChargeSummary + func (clr *ChargesListResult) UnmarshalJSON(body []byte) error + func (clr ChargesListResult) MarshalJSON() ([]byte, error) + type CreditBalanceSummary struct + CurrentBalance *Amount + CurrentBalanceInBillingCurrency *AmountWithExchangeRate + EstimatedBalance *Amount + EstimatedBalanceInBillingCurrency *AmountWithExchangeRate + func (cbs CreditBalanceSummary) MarshalJSON() ([]byte, error) + type CreditSummary struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (cs *CreditSummary) UnmarshalJSON(body []byte) error + func (cs CreditSummary) MarshalJSON() ([]byte, error) + type CreditSummaryProperties struct + BalanceSummary *CreditBalanceSummary + BillingCurrency *string + CreditCurrency *string + ExpiredCredit *Amount + PendingCreditAdjustments *Amount + PendingEligibleCharges *Amount + Reseller *Reseller + func (csp CreditSummaryProperties) MarshalJSON() ([]byte, error) + type CreditsClient struct + func NewCreditsClient(subscriptionID string) CreditsClient + func NewCreditsClientWithBaseURI(baseURI string, subscriptionID string) CreditsClient + func (client CreditsClient) Get(ctx context.Context, scope string) (result CreditSummary, err error) + func (client CreditsClient) GetPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client CreditsClient) GetResponder(resp *http.Response) (result CreditSummary, err error) + func (client CreditsClient) GetSender(req *http.Request) (*http.Response, error) + type CultureCode string + const CultureCodeCsCz + const CultureCodeDaDk + const CultureCodeDeDe + const CultureCodeEnGb + const CultureCodeEnUs + const CultureCodeEsEs + const CultureCodeFrFr + const CultureCodeHuHu + const CultureCodeItIt + const CultureCodeJaJp + const CultureCodeKoKr + const CultureCodeNbNo + const CultureCodeNlNl + const CultureCodePlPl + const CultureCodePtBr + const CultureCodePtPt + const CultureCodeRuRu + const CultureCodeSvSe + const CultureCodeTrTr + const CultureCodeZhCn + const CultureCodeZhTw + func PossibleCultureCodeValues() []CultureCode + type CurrentSpend struct + Amount *decimal.Decimal + Unit *string + func (cs CurrentSpend) MarshalJSON() ([]byte, error) + type Datagrain string + const DatagrainDailyGrain + const DatagrainMonthlyGrain + func PossibleDatagrainValues() []Datagrain + type DownloadProperties struct + DownloadURL *string + ValidTill *string + func (dp DownloadProperties) MarshalJSON() ([]byte, error) + type ErrorDetails struct + Code *string + Message *string + func (ed ErrorDetails) MarshalJSON() ([]byte, error) + type ErrorResponse struct + Error *ErrorDetails + type EventProperties struct + Adjustments *Amount + AdjustmentsInBillingCurrency *AmountWithExchangeRate + BillingCurrency *string + Charges *Amount + ChargesInBillingCurrency *AmountWithExchangeRate + ClosedBalance *Amount + ClosedBalanceInBillingCurrency *AmountWithExchangeRate + CreditCurrency *string + CreditExpired *Amount + CreditExpiredInBillingCurrency *AmountWithExchangeRate + Description *string + EventType EventType + InvoiceNumber *string + NewCredit *Amount + NewCreditInBillingCurrency *AmountWithExchangeRate + Reseller *Reseller + TransactionDate *date.Time + func (ep EventProperties) MarshalJSON() ([]byte, error) + type EventSummary struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (es *EventSummary) UnmarshalJSON(body []byte) error + func (es EventSummary) MarshalJSON() ([]byte, error) + type EventType string + const EventTypeNewCredit + const EventTypePendingAdjustments + const EventTypePendingCharges + const EventTypePendingExpiredCredit + const EventTypePendingNewCredit + const EventTypeSettledCharges + const EventTypeUnKnown + func PossibleEventTypeValues() []EventType + type Events struct + NextLink *string + Value *[]EventSummary + func (e Events) IsEmpty() bool + func (e Events) MarshalJSON() ([]byte, error) + type EventsClient struct + func NewEventsClient(subscriptionID string) EventsClient + func NewEventsClientWithBaseURI(baseURI string, subscriptionID string) EventsClient + func (client EventsClient) List(ctx context.Context, startDate string, endDate string, scope string) (result EventsPage, err error) + func (client EventsClient) ListComplete(ctx context.Context, startDate string, endDate string, scope string) (result EventsIterator, err error) + func (client EventsClient) ListPreparer(ctx context.Context, startDate string, endDate string, scope string) (*http.Request, error) + func (client EventsClient) ListResponder(resp *http.Response) (result Events, err error) + func (client EventsClient) ListSender(req *http.Request) (*http.Response, error) + type EventsIterator struct + func NewEventsIterator(page EventsPage) EventsIterator + func (iter *EventsIterator) Next() error + func (iter *EventsIterator) NextWithContext(ctx context.Context) (err error) + func (iter EventsIterator) NotDone() bool + func (iter EventsIterator) Response() Events + func (iter EventsIterator) Value() EventSummary + type EventsPage struct + func NewEventsPage(cur Events, getNextPage func(context.Context, Events) (Events, error)) EventsPage + func (page *EventsPage) Next() error + func (page *EventsPage) NextWithContext(ctx context.Context) (err error) + func (page EventsPage) NotDone() bool + func (page EventsPage) Response() Events + func (page EventsPage) Values() []EventSummary + type Forecast struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (f *Forecast) UnmarshalJSON(body []byte) error + func (f Forecast) MarshalJSON() ([]byte, error) + type ForecastProperties struct + Charge *decimal.Decimal + ChargeType ChargeType + ConfidenceLevels *[]ForecastPropertiesConfidenceLevelsItem + Currency *string + Grain Grain + UsageDate *string + func (fp ForecastProperties) MarshalJSON() ([]byte, error) + type ForecastPropertiesConfidenceLevelsItem struct + Bound Bound + Percentage *decimal.Decimal + Value *decimal.Decimal + func (fpLi ForecastPropertiesConfidenceLevelsItem) MarshalJSON() ([]byte, error) + type ForecastSpend struct + Amount *decimal.Decimal + Unit *string + func (fs ForecastSpend) MarshalJSON() ([]byte, error) + type ForecastsClient struct + func NewForecastsClient(subscriptionID string) ForecastsClient + func NewForecastsClientWithBaseURI(baseURI string, subscriptionID string) ForecastsClient + func (client ForecastsClient) List(ctx context.Context, filter string) (result ForecastsListResult, err error) + func (client ForecastsClient) ListPreparer(ctx context.Context, filter string) (*http.Request, error) + func (client ForecastsClient) ListResponder(resp *http.Response) (result ForecastsListResult, err error) + func (client ForecastsClient) ListSender(req *http.Request) (*http.Response, error) + type ForecastsListResult struct + Value *[]Forecast + func (flr ForecastsListResult) MarshalJSON() ([]byte, error) + type Grain string + const GrainDaily + const GrainMonthly + const GrainYearly + func PossibleGrainValues() []Grain + type HighCasedErrorDetails struct + Code *string + Message *string + func (hced HighCasedErrorDetails) MarshalJSON() ([]byte, error) + type HighCasedErrorResponse struct + Error *HighCasedErrorDetails + type Kind string + const KindLegacy + const KindModern + const KindUsageDetail + func PossibleKindValues() []Kind + type KindBasicChargeSummary string + const KindBasicChargeSummaryKindChargeSummary + const KindBasicChargeSummaryKindLegacy + const KindBasicChargeSummaryKindModern + func PossibleKindBasicChargeSummaryValues() []KindBasicChargeSummary + type KindBasicReservationRecommendation string + const KindBasicReservationRecommendationKindLegacy + const KindBasicReservationRecommendationKindModern + const KindBasicReservationRecommendationKindReservationRecommendation + func PossibleKindBasicReservationRecommendationValues() []KindBasicReservationRecommendation + type LegacyChargeSummary struct + Etag *string + ID *string + Kind KindBasicChargeSummary + Name *string + Tags map[string]*string + Type *string + func (lcs *LegacyChargeSummary) UnmarshalJSON(body []byte) error + func (lcs LegacyChargeSummary) AsBasicChargeSummary() (BasicChargeSummary, bool) + func (lcs LegacyChargeSummary) AsChargeSummary() (*ChargeSummary, bool) + func (lcs LegacyChargeSummary) AsLegacyChargeSummary() (*LegacyChargeSummary, bool) + func (lcs LegacyChargeSummary) AsModernChargeSummary() (*ModernChargeSummary, bool) + func (lcs LegacyChargeSummary) MarshalJSON() ([]byte, error) + type LegacyChargeSummaryProperties struct + AzureCharges *decimal.Decimal + BillingPeriodID *string + ChargesBilledSeparately *decimal.Decimal + Currency *string + MarketplaceCharges *decimal.Decimal + UsageEnd *string + UsageStart *string + func (lcsp LegacyChargeSummaryProperties) MarshalJSON() ([]byte, error) + type LegacyReservationRecommendation struct + Etag *string + ID *string + Kind KindBasicReservationRecommendation + Location *string + Name *string + Sku *string + Tags map[string]*string + Type *string + func (lrr *LegacyReservationRecommendation) UnmarshalJSON(body []byte) error + func (lrr LegacyReservationRecommendation) AsBasicReservationRecommendation() (BasicReservationRecommendation, bool) + func (lrr LegacyReservationRecommendation) AsLegacyReservationRecommendation() (*LegacyReservationRecommendation, bool) + func (lrr LegacyReservationRecommendation) AsModernReservationRecommendation() (*ModernReservationRecommendation, bool) + func (lrr LegacyReservationRecommendation) AsReservationRecommendation() (*ReservationRecommendation, bool) + func (lrr LegacyReservationRecommendation) MarshalJSON() ([]byte, error) + type LegacyReservationRecommendationProperties struct + CostWithNoReservedInstances *decimal.Decimal + FirstUsageDate *date.Time + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *float64 + LookBackPeriod *string + MeterID *uuid.UUID + NetSavings *decimal.Decimal + NormalizedSize *string + RecommendedQuantity *decimal.Decimal + RecommendedQuantityNormalized *float64 + ResourceType *string + Scope *string + SkuProperties *[]SkuProperty + Term *string + TotalCostWithReservedInstances *decimal.Decimal + func (lrrp LegacyReservationRecommendationProperties) MarshalJSON() ([]byte, error) + type LegacyReservationTransaction struct + ID *string + Name *string + Tags *[]string + Type *string + func (lrt *LegacyReservationTransaction) UnmarshalJSON(body []byte) error + func (lrt LegacyReservationTransaction) MarshalJSON() ([]byte, error) + type LegacyReservationTransactionProperties struct + AccountName *string + AccountOwnerEmail *string + Amount *decimal.Decimal + ArmSkuName *string + BillingFrequency *string + CostCenter *string + Currency *string + CurrentEnrollment *string + DepartmentName *string + Description *string + EventDate *date.Time + EventType *string + PurchasingEnrollment *string + PurchasingSubscriptionGUID *uuid.UUID + PurchasingSubscriptionName *string + Quantity *decimal.Decimal + Region *string + ReservationOrderID *string + ReservationOrderName *string + Term *string + func (lrtp LegacyReservationTransactionProperties) MarshalJSON() ([]byte, error) + type LegacyUsageDetail struct + Etag *string + ID *string + Kind Kind + Name *string + Tags map[string]*string + Type *string + func (lud *LegacyUsageDetail) UnmarshalJSON(body []byte) error + func (lud LegacyUsageDetail) AsBasicUsageDetail() (BasicUsageDetail, bool) + func (lud LegacyUsageDetail) AsLegacyUsageDetail() (*LegacyUsageDetail, bool) + func (lud LegacyUsageDetail) AsModernUsageDetail() (*ModernUsageDetail, bool) + func (lud LegacyUsageDetail) AsUsageDetail() (*UsageDetail, bool) + func (lud LegacyUsageDetail) MarshalJSON() ([]byte, error) + type LegacyUsageDetailProperties struct + AccountName *string + AccountOwnerID *string + AdditionalInfo *string + BillingAccountID *string + BillingAccountName *string + BillingCurrency *string + BillingPeriodEndDate *date.Time + BillingPeriodStartDate *date.Time + BillingProfileID *string + BillingProfileName *string + ChargeType *string + ConsumedService *string + Cost *decimal.Decimal + CostCenter *string + Date *date.Time + EffectivePrice *decimal.Decimal + Frequency *string + InvoiceSection *string + IsAzureCreditEligible *bool + MeterDetails *MeterDetailsResponse + MeterID *uuid.UUID + OfferID *string + PartNumber *string + PlanName *string + Product *string + ProductOrderID *string + ProductOrderName *string + PublisherName *string + PublisherType *string + Quantity *decimal.Decimal + ReservationID *string + ReservationName *string + ResourceGroup *string + ResourceID *string + ResourceLocation *string + ResourceName *string + ServiceInfo1 *string + ServiceInfo2 *string + SubscriptionID *string + SubscriptionName *string + Term *string + UnitPrice *decimal.Decimal + func (ludp LegacyUsageDetailProperties) MarshalJSON() ([]byte, error) + type LookBackPeriod string + const LookBackPeriodLast07Days + const LookBackPeriodLast30Days + const LookBackPeriodLast60Days + func PossibleLookBackPeriodValues() []LookBackPeriod + type LotProperties struct + BillingCurrency *string + ClosedBalance *Amount + ClosedBalanceInBillingCurrency *AmountWithExchangeRate + CreditCurrency *string + ExpirationDate *date.Time + OriginalAmount *Amount + OriginalAmountInBillingCurrency *AmountWithExchangeRate + PoNumber *string + Reseller *Reseller + Source LotSource + StartDate *date.Time + func (lp LotProperties) MarshalJSON() ([]byte, error) + type LotSource string + const LotSourcePromotionalCredit + const LotSourcePurchasedCredit + func PossibleLotSourceValues() []LotSource + type LotSummary struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (ls *LotSummary) UnmarshalJSON(body []byte) error + func (ls LotSummary) MarshalJSON() ([]byte, error) + type Lots struct + NextLink *string + Value *[]LotSummary + func (l Lots) IsEmpty() bool + func (l Lots) MarshalJSON() ([]byte, error) + type LotsClient struct + func NewLotsClient(subscriptionID string) LotsClient + func NewLotsClientWithBaseURI(baseURI string, subscriptionID string) LotsClient + func (client LotsClient) List(ctx context.Context, scope string) (result LotsPage, err error) + func (client LotsClient) ListComplete(ctx context.Context, scope string) (result LotsIterator, err error) + func (client LotsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client LotsClient) ListResponder(resp *http.Response) (result Lots, err error) + func (client LotsClient) ListSender(req *http.Request) (*http.Response, error) + type LotsIterator struct + func NewLotsIterator(page LotsPage) LotsIterator + func (iter *LotsIterator) Next() error + func (iter *LotsIterator) NextWithContext(ctx context.Context) (err error) + func (iter LotsIterator) NotDone() bool + func (iter LotsIterator) Response() Lots + func (iter LotsIterator) Value() LotSummary + type LotsPage struct + func NewLotsPage(cur Lots, getNextPage func(context.Context, Lots) (Lots, error)) LotsPage + func (page *LotsPage) Next() error + func (page *LotsPage) NextWithContext(ctx context.Context) (err error) + func (page LotsPage) NotDone() bool + func (page LotsPage) Response() Lots + func (page LotsPage) Values() []LotSummary + type ManagementGroupAggregatedCostProperties struct + AzureCharges *decimal.Decimal + BillingPeriodID *string + ChargesBilledSeparately *decimal.Decimal + Children *[]ManagementGroupAggregatedCostResult + Currency *string + ExcludedSubscriptions *[]string + IncludedSubscriptions *[]string + MarketplaceCharges *decimal.Decimal + UsageEnd *date.Time + UsageStart *date.Time + func (mgacp ManagementGroupAggregatedCostProperties) MarshalJSON() ([]byte, error) + type ManagementGroupAggregatedCostResult struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (mgacr *ManagementGroupAggregatedCostResult) UnmarshalJSON(body []byte) error + func (mgacr ManagementGroupAggregatedCostResult) MarshalJSON() ([]byte, error) + type Marketplace struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (mVar *Marketplace) UnmarshalJSON(body []byte) error + func (mVar Marketplace) MarshalJSON() ([]byte, error) + type MarketplaceProperties struct + AccountName *string + AdditionalInfo *string + AdditionalProperties *string + BillingPeriodID *string + ConsumedQuantity *decimal.Decimal + ConsumedService *string + CostCenter *string + Currency *string + DepartmentName *string + InstanceID *string + InstanceName *string + IsEstimated *bool + IsRecurringCharge *bool + MeterID *uuid.UUID + OfferName *string + OrderNumber *string + PlanName *string + PretaxCost *decimal.Decimal + PublisherName *string + ResourceGroup *string + ResourceRate *decimal.Decimal + SubscriptionGUID *uuid.UUID + SubscriptionName *string + UnitOfMeasure *string + UsageEnd *date.Time + UsageStart *date.Time + func (mp MarketplaceProperties) MarshalJSON() ([]byte, error) + type MarketplacesClient struct + func NewMarketplacesClient(subscriptionID string) MarketplacesClient + func NewMarketplacesClientWithBaseURI(baseURI string, subscriptionID string) MarketplacesClient + func (client MarketplacesClient) List(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (result MarketplacesListResultPage, err error) + func (client MarketplacesClient) ListComplete(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (result MarketplacesListResultIterator, err error) + func (client MarketplacesClient) ListPreparer(ctx context.Context, scope string, filter string, top *int32, skiptoken string) (*http.Request, error) + func (client MarketplacesClient) ListResponder(resp *http.Response) (result MarketplacesListResult, err error) + func (client MarketplacesClient) ListSender(req *http.Request) (*http.Response, error) + type MarketplacesListResult struct + NextLink *string + Value *[]Marketplace + func (mlr MarketplacesListResult) IsEmpty() bool + func (mlr MarketplacesListResult) MarshalJSON() ([]byte, error) + type MarketplacesListResultIterator struct + func NewMarketplacesListResultIterator(page MarketplacesListResultPage) MarketplacesListResultIterator + func (iter *MarketplacesListResultIterator) Next() error + func (iter *MarketplacesListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter MarketplacesListResultIterator) NotDone() bool + func (iter MarketplacesListResultIterator) Response() MarketplacesListResult + func (iter MarketplacesListResultIterator) Value() Marketplace + type MarketplacesListResultPage struct + func NewMarketplacesListResultPage(cur MarketplacesListResult, ...) MarketplacesListResultPage + func (page *MarketplacesListResultPage) Next() error + func (page *MarketplacesListResultPage) NextWithContext(ctx context.Context) (err error) + func (page MarketplacesListResultPage) NotDone() bool + func (page MarketplacesListResultPage) Response() MarketplacesListResult + func (page MarketplacesListResultPage) Values() []Marketplace + type MeterDetails struct + MeterCategory *string + MeterLocation *string + MeterName *string + MeterSubCategory *string + PretaxStandardRate *decimal.Decimal + ServiceName *string + ServiceTier *string + TotalIncludedQuantity *decimal.Decimal + Unit *string + func (md MeterDetails) MarshalJSON() ([]byte, error) + type MeterDetailsResponse struct + MeterCategory *string + MeterName *string + MeterSubCategory *string + ServiceFamily *string + UnitOfMeasure *string + func (mdr MeterDetailsResponse) MarshalJSON() ([]byte, error) + type Metrictype string + const MetrictypeActualCostMetricType + const MetrictypeAmortizedCostMetricType + const MetrictypeUsageMetricType + func PossibleMetrictypeValues() []Metrictype + type ModernChargeSummary struct + Etag *string + ID *string + Kind KindBasicChargeSummary + Name *string + Tags map[string]*string + Type *string + func (mcs *ModernChargeSummary) UnmarshalJSON(body []byte) error + func (mcs ModernChargeSummary) AsBasicChargeSummary() (BasicChargeSummary, bool) + func (mcs ModernChargeSummary) AsChargeSummary() (*ChargeSummary, bool) + func (mcs ModernChargeSummary) AsLegacyChargeSummary() (*LegacyChargeSummary, bool) + func (mcs ModernChargeSummary) AsModernChargeSummary() (*ModernChargeSummary, bool) + func (mcs ModernChargeSummary) MarshalJSON() ([]byte, error) + type ModernChargeSummaryProperties struct + AzureCharges *Amount + BillingAccountID *string + BillingPeriodID *string + BillingProfileID *string + ChargesBilledSeparately *Amount + CustomerID *string + InvoiceSectionID *string + IsInvoiced *bool + MarketplaceCharges *Amount + UsageEnd *string + UsageStart *string + func (mcsp ModernChargeSummaryProperties) MarshalJSON() ([]byte, error) + type ModernReservationRecommendation struct + ETag *string + Etag *string + ID *string + Kind KindBasicReservationRecommendation + Location *string + Name *string + Sku *string + Tags map[string]*string + Type *string + func (mrr *ModernReservationRecommendation) UnmarshalJSON(body []byte) error + func (mrr ModernReservationRecommendation) AsBasicReservationRecommendation() (BasicReservationRecommendation, bool) + func (mrr ModernReservationRecommendation) AsLegacyReservationRecommendation() (*LegacyReservationRecommendation, bool) + func (mrr ModernReservationRecommendation) AsModernReservationRecommendation() (*ModernReservationRecommendation, bool) + func (mrr ModernReservationRecommendation) AsReservationRecommendation() (*ReservationRecommendation, bool) + func (mrr ModernReservationRecommendation) MarshalJSON() ([]byte, error) + type ModernReservationRecommendationProperties struct + CostWithNoReservedInstances *Amount + FirstUsageDate *date.Time + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *float64 + Location *string + LookBackPeriod *int32 + MeterID *uuid.UUID + NetSavings *Amount + NormalizedSize *string + RecommendedQuantity *decimal.Decimal + RecommendedQuantityNormalized *float64 + ResourceType *string + Scope *string + SkuName *string + SkuProperties *[]SkuProperty + SubscriptionID *string + Term *string + TotalCostWithReservedInstances *Amount + func (mrrp ModernReservationRecommendationProperties) MarshalJSON() ([]byte, error) + type ModernReservationTransaction struct + ID *string + Name *string + Tags *[]string + Type *string + func (mrt *ModernReservationTransaction) UnmarshalJSON(body []byte) error + func (mrt ModernReservationTransaction) MarshalJSON() ([]byte, error) + type ModernReservationTransactionProperties struct + Amount *decimal.Decimal + ArmSkuName *string + BillingFrequency *string + BillingProfileID *string + BillingProfileName *string + Currency *string + Description *string + EventDate *date.Time + EventType *string + Invoice *string + InvoiceID *string + InvoiceSectionID *string + InvoiceSectionName *string + PurchasingSubscriptionGUID *uuid.UUID + PurchasingSubscriptionName *string + Quantity *decimal.Decimal + Region *string + ReservationOrderID *string + ReservationOrderName *string + Term *string + func (mrtp ModernReservationTransactionProperties) MarshalJSON() ([]byte, error) + type ModernReservationTransactionsListResult struct + NextLink *string + Value *[]ModernReservationTransaction + func (mrtlr ModernReservationTransactionsListResult) IsEmpty() bool + func (mrtlr ModernReservationTransactionsListResult) MarshalJSON() ([]byte, error) + type ModernReservationTransactionsListResultIterator struct + func NewModernReservationTransactionsListResultIterator(page ModernReservationTransactionsListResultPage) ModernReservationTransactionsListResultIterator + func (iter *ModernReservationTransactionsListResultIterator) Next() error + func (iter *ModernReservationTransactionsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ModernReservationTransactionsListResultIterator) NotDone() bool + func (iter ModernReservationTransactionsListResultIterator) Response() ModernReservationTransactionsListResult + func (iter ModernReservationTransactionsListResultIterator) Value() ModernReservationTransaction + type ModernReservationTransactionsListResultPage struct + func NewModernReservationTransactionsListResultPage(cur ModernReservationTransactionsListResult, ...) ModernReservationTransactionsListResultPage + func (page *ModernReservationTransactionsListResultPage) Next() error + func (page *ModernReservationTransactionsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ModernReservationTransactionsListResultPage) NotDone() bool + func (page ModernReservationTransactionsListResultPage) Response() ModernReservationTransactionsListResult + func (page ModernReservationTransactionsListResultPage) Values() []ModernReservationTransaction + type ModernUsageDetail struct + Etag *string + ID *string + Kind Kind + Name *string + Tags map[string]*string + Type *string + func (mud *ModernUsageDetail) UnmarshalJSON(body []byte) error + func (mud ModernUsageDetail) AsBasicUsageDetail() (BasicUsageDetail, bool) + func (mud ModernUsageDetail) AsLegacyUsageDetail() (*LegacyUsageDetail, bool) + func (mud ModernUsageDetail) AsModernUsageDetail() (*ModernUsageDetail, bool) + func (mud ModernUsageDetail) AsUsageDetail() (*UsageDetail, bool) + func (mud ModernUsageDetail) MarshalJSON() ([]byte, error) + type ModernUsageDetailProperties struct + AdditionalInfo *string + BillingAccountID *string + BillingAccountName *string + BillingCurrencyCode *string + BillingPeriodEndDate *date.Time + BillingPeriodStartDate *date.Time + BillingProfileID *string + BillingProfileName *string + ChargeType *string + ConsumedService *string + CostCenter *string + CostInBillingCurrency *decimal.Decimal + CostInPricingCurrency *decimal.Decimal + CostInUSD *decimal.Decimal + CustomerName *string + CustomerTenantID *string + Date *date.Time + ExchangeRate *string + ExchangeRateDate *date.Time + ExchangeRatePricingToBilling *decimal.Decimal + Frequency *string + InstanceName *string + InvoiceID *string + InvoiceSectionID *string + InvoiceSectionName *string + IsAzureCreditEligible *bool + MarketPrice *decimal.Decimal + MeterCategory *string + MeterID *string + MeterName *string + MeterRegion *string + MeterSubCategory *string + PartnerEarnedCreditApplied *string + PartnerEarnedCreditRate *decimal.Decimal + PartnerName *string + PartnerTenantID *string + PayGPrice *decimal.Decimal + PaygCostInBillingCurrency *decimal.Decimal + PaygCostInUSD *decimal.Decimal + PreviousInvoiceID *string + PricingCurrencyCode *string + Product *string + ProductIdentifier *string + ProductOrderID *string + ProductOrderName *string + PublisherID *string + PublisherName *string + PublisherType *string + Quantity *decimal.Decimal + ResellerMpnID *string + ResellerName *string + ReservationID *string + ReservationName *string + ResourceGroup *string + ResourceLocation *string + ResourceLocationNormalized *string + ServiceFamily *string + ServiceInfo1 *string + ServiceInfo2 *string + ServicePeriodEndDate *date.Time + ServicePeriodStartDate *date.Time + SubscriptionGUID *string + SubscriptionName *string + Term *string + UnitOfMeasure *string + UnitPrice *decimal.Decimal + func (mudp ModernUsageDetailProperties) MarshalJSON() ([]byte, error) + type Notification struct + ContactEmails *[]string + ContactGroups *[]string + ContactRoles *[]string + Enabled *bool + Locale CultureCode + Operator OperatorType + Threshold *decimal.Decimal + ThresholdType ThresholdType + type Operation struct + Display *OperationDisplay + ID *string + Name *string + func (o Operation) MarshalJSON() ([]byte, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + func (o OperationDisplay) MarshalJSON() ([]byte, error) + type OperationListResult struct + NextLink *string + Value *[]Operation + func (olr OperationListResult) IsEmpty() bool + func (olr OperationListResult) MarshalJSON() ([]byte, error) + type OperationListResultIterator struct + func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator + func (iter *OperationListResultIterator) Next() error + func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListResultIterator) NotDone() bool + func (iter OperationListResultIterator) Response() OperationListResult + func (iter OperationListResultIterator) Value() Operation + type OperationListResultPage struct + func NewOperationListResultPage(cur OperationListResult, ...) OperationListResultPage + func (page *OperationListResultPage) Next() error + func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListResultPage) NotDone() bool + func (page OperationListResultPage) Response() OperationListResult + func (page OperationListResultPage) Values() []Operation + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type OperatorType string + const OperatorTypeEqualTo + const OperatorTypeGreaterThan + const OperatorTypeGreaterThanOrEqualTo + func PossibleOperatorTypeValues() []OperatorType + type PriceSheetClient struct + func NewPriceSheetClient(subscriptionID string) PriceSheetClient + func NewPriceSheetClientWithBaseURI(baseURI string, subscriptionID string) PriceSheetClient + func (client PriceSheetClient) Get(ctx context.Context, expand string, skiptoken string, top *int32) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriod(ctx context.Context, billingPeriodName string, expand string, skiptoken string, ...) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriodPreparer(ctx context.Context, billingPeriodName string, expand string, skiptoken string, ...) (*http.Request, error) + func (client PriceSheetClient) GetByBillingPeriodResponder(resp *http.Response) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetByBillingPeriodSender(req *http.Request) (*http.Response, error) + func (client PriceSheetClient) GetPreparer(ctx context.Context, expand string, skiptoken string, top *int32) (*http.Request, error) + func (client PriceSheetClient) GetResponder(resp *http.Response) (result PriceSheetResult, err error) + func (client PriceSheetClient) GetSender(req *http.Request) (*http.Response, error) + type PriceSheetModel struct + Download *MeterDetails + NextLink *string + Pricesheets *[]PriceSheetProperties + func (psm PriceSheetModel) MarshalJSON() ([]byte, error) + type PriceSheetProperties struct + BillingPeriodID *string + CurrencyCode *string + IncludedQuantity *decimal.Decimal + MeterDetails *MeterDetails + MeterID *uuid.UUID + OfferID *string + PartNumber *string + UnitOfMeasure *string + UnitPrice *decimal.Decimal + func (psp PriceSheetProperties) MarshalJSON() ([]byte, error) + type PriceSheetResult struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (psr *PriceSheetResult) UnmarshalJSON(body []byte) error + func (psr PriceSheetResult) MarshalJSON() ([]byte, error) + type ProxyResource struct + ETag *string + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type Reseller struct + ResellerDescription *string + ResellerID *string + func (r Reseller) MarshalJSON() ([]byte, error) + type ReservationDetail struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (rd *ReservationDetail) UnmarshalJSON(body []byte) error + func (rd ReservationDetail) MarshalJSON() ([]byte, error) + type ReservationDetailProperties struct + InstanceFlexibilityGroup *string + InstanceFlexibilityRatio *string + InstanceID *string + Kind *string + ReservationID *string + ReservationOrderID *string + ReservedHours *decimal.Decimal + SkuName *string + TotalReservedQuantity *decimal.Decimal + UsageDate *date.Time + UsedHours *decimal.Decimal + func (rdp ReservationDetailProperties) MarshalJSON() ([]byte, error) + type ReservationDetailsListResult struct + NextLink *string + Value *[]ReservationDetail + func (rdlr ReservationDetailsListResult) IsEmpty() bool + func (rdlr ReservationDetailsListResult) MarshalJSON() ([]byte, error) + type ReservationDetailsListResultIterator struct + func NewReservationDetailsListResultIterator(page ReservationDetailsListResultPage) ReservationDetailsListResultIterator + func (iter *ReservationDetailsListResultIterator) Next() error + func (iter *ReservationDetailsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ReservationDetailsListResultIterator) NotDone() bool + func (iter ReservationDetailsListResultIterator) Response() ReservationDetailsListResult + func (iter ReservationDetailsListResultIterator) Value() ReservationDetail + type ReservationDetailsListResultPage struct + func NewReservationDetailsListResultPage(cur ReservationDetailsListResult, ...) ReservationDetailsListResultPage + func (page *ReservationDetailsListResultPage) Next() error + func (page *ReservationDetailsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ReservationDetailsListResultPage) NotDone() bool + func (page ReservationDetailsListResultPage) Response() ReservationDetailsListResult + func (page ReservationDetailsListResultPage) Values() []ReservationDetail + type ReservationRecommendation struct + Etag *string + ID *string + Kind KindBasicReservationRecommendation + Location *string + Name *string + Sku *string + Tags map[string]*string + Type *string + func (rr ReservationRecommendation) AsBasicReservationRecommendation() (BasicReservationRecommendation, bool) + func (rr ReservationRecommendation) AsLegacyReservationRecommendation() (*LegacyReservationRecommendation, bool) + func (rr ReservationRecommendation) AsModernReservationRecommendation() (*ModernReservationRecommendation, bool) + func (rr ReservationRecommendation) AsReservationRecommendation() (*ReservationRecommendation, bool) + func (rr ReservationRecommendation) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsCalculatedSavingsProperties struct + OnDemandCost *float64 + OverageCost *float64 + Quantity *float64 + ReservationCost *float64 + ReservedUnitCount *float64 + Savings *float64 + TotalReservationCost *float64 + func (rrdcsp ReservationRecommendationDetailsCalculatedSavingsProperties) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsClient struct + func NewReservationRecommendationDetailsClient(subscriptionID string) ReservationRecommendationDetailsClient + func NewReservationRecommendationDetailsClientWithBaseURI(baseURI string, subscriptionID string) ReservationRecommendationDetailsClient + func (client ReservationRecommendationDetailsClient) Get(ctx context.Context, billingScope string, scope Scope14, region string, ...) (result ReservationRecommendationDetailsModel, err error) + func (client ReservationRecommendationDetailsClient) GetPreparer(ctx context.Context, billingScope string, scope Scope14, region string, ...) (*http.Request, error) + func (client ReservationRecommendationDetailsClient) GetResponder(resp *http.Response) (result ReservationRecommendationDetailsModel, err error) + func (client ReservationRecommendationDetailsClient) GetSender(req *http.Request) (*http.Response, error) + type ReservationRecommendationDetailsModel struct + ETag *string + Etag *string + ID *string + Location *string + Name *string + Sku *string + Tags map[string]*string + Type *string + func (rrdm *ReservationRecommendationDetailsModel) UnmarshalJSON(body []byte) error + func (rrdm ReservationRecommendationDetailsModel) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsProperties struct + Currency *string + Resource *ReservationRecommendationDetailsResourceProperties + ResourceGroup *string + Savings *ReservationRecommendationDetailsSavingsProperties + Scope *string + Usage *ReservationRecommendationDetailsUsageProperties + func (rrdp ReservationRecommendationDetailsProperties) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsResourceProperties struct + AppliedScopes *[]string + OnDemandRate *float64 + Product *string + Region *string + ReservationRate *float64 + ResourceType *string + func (rrdrp ReservationRecommendationDetailsResourceProperties) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsSavingsProperties struct + CalculatedSavings *[]ReservationRecommendationDetailsCalculatedSavingsProperties + LookBackPeriod *int32 + RecommendedQuantity *float64 + ReservationOrderTerm *string + SavingsType *string + UnitOfMeasure *string + func (rrdsp ReservationRecommendationDetailsSavingsProperties) MarshalJSON() ([]byte, error) + type ReservationRecommendationDetailsUsageProperties struct + FirstConsumptionDate *string + LastConsumptionDate *string + LookBackUnitType *string + UsageData *[]float64 + UsageGrain *string + func (rrdup ReservationRecommendationDetailsUsageProperties) MarshalJSON() ([]byte, error) + type ReservationRecommendationsClient struct + func NewReservationRecommendationsClient(subscriptionID string) ReservationRecommendationsClient + func NewReservationRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) ReservationRecommendationsClient + func (client ReservationRecommendationsClient) List(ctx context.Context, scope string, filter string) (result ReservationRecommendationsListResultPage, err error) + func (client ReservationRecommendationsClient) ListComplete(ctx context.Context, scope string, filter string) (result ReservationRecommendationsListResultIterator, err error) + func (client ReservationRecommendationsClient) ListPreparer(ctx context.Context, scope string, filter string) (*http.Request, error) + func (client ReservationRecommendationsClient) ListResponder(resp *http.Response) (result ReservationRecommendationsListResult, err error) + func (client ReservationRecommendationsClient) ListSender(req *http.Request) (*http.Response, error) + type ReservationRecommendationsListResult struct + NextLink *string + PreviousLink *string + TotalCost *string + Value *[]BasicReservationRecommendation + func (rrlr *ReservationRecommendationsListResult) UnmarshalJSON(body []byte) error + func (rrlr ReservationRecommendationsListResult) IsEmpty() bool + func (rrlr ReservationRecommendationsListResult) MarshalJSON() ([]byte, error) + type ReservationRecommendationsListResultIterator struct + func NewReservationRecommendationsListResultIterator(page ReservationRecommendationsListResultPage) ReservationRecommendationsListResultIterator + func (iter *ReservationRecommendationsListResultIterator) Next() error + func (iter *ReservationRecommendationsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ReservationRecommendationsListResultIterator) NotDone() bool + func (iter ReservationRecommendationsListResultIterator) Response() ReservationRecommendationsListResult + func (iter ReservationRecommendationsListResultIterator) Value() BasicReservationRecommendation + type ReservationRecommendationsListResultPage struct + func NewReservationRecommendationsListResultPage(cur ReservationRecommendationsListResult, ...) ReservationRecommendationsListResultPage + func (page *ReservationRecommendationsListResultPage) Next() error + func (page *ReservationRecommendationsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ReservationRecommendationsListResultPage) NotDone() bool + func (page ReservationRecommendationsListResultPage) Response() ReservationRecommendationsListResult + func (page ReservationRecommendationsListResultPage) Values() []BasicReservationRecommendation + type ReservationSummariesListResult struct + NextLink *string + Value *[]ReservationSummary + func (rslr ReservationSummariesListResult) IsEmpty() bool + func (rslr ReservationSummariesListResult) MarshalJSON() ([]byte, error) + type ReservationSummariesListResultIterator struct + func NewReservationSummariesListResultIterator(page ReservationSummariesListResultPage) ReservationSummariesListResultIterator + func (iter *ReservationSummariesListResultIterator) Next() error + func (iter *ReservationSummariesListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ReservationSummariesListResultIterator) NotDone() bool + func (iter ReservationSummariesListResultIterator) Response() ReservationSummariesListResult + func (iter ReservationSummariesListResultIterator) Value() ReservationSummary + type ReservationSummariesListResultPage struct + func NewReservationSummariesListResultPage(cur ReservationSummariesListResult, ...) ReservationSummariesListResultPage + func (page *ReservationSummariesListResultPage) Next() error + func (page *ReservationSummariesListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ReservationSummariesListResultPage) NotDone() bool + func (page ReservationSummariesListResultPage) Response() ReservationSummariesListResult + func (page ReservationSummariesListResultPage) Values() []ReservationSummary + type ReservationSummary struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (rs *ReservationSummary) UnmarshalJSON(body []byte) error + func (rs ReservationSummary) MarshalJSON() ([]byte, error) + type ReservationSummaryProperties struct + AvgUtilizationPercentage *decimal.Decimal + Kind *string + MaxUtilizationPercentage *decimal.Decimal + MinUtilizationPercentage *decimal.Decimal + PurchasedQuantity *decimal.Decimal + RemainingQuantity *decimal.Decimal + ReservationID *string + ReservationOrderID *string + ReservedHours *decimal.Decimal + SkuName *string + TotalReservedQuantity *decimal.Decimal + UsageDate *date.Time + UsedHours *decimal.Decimal + UsedQuantity *decimal.Decimal + UtilizedPercentage *decimal.Decimal + func (rsp ReservationSummaryProperties) MarshalJSON() ([]byte, error) + type ReservationTransaction struct + ID *string + Name *string + Tags *[]string + Type *string + func (rt *ReservationTransaction) UnmarshalJSON(body []byte) error + func (rt ReservationTransaction) MarshalJSON() ([]byte, error) + type ReservationTransactionResource struct + ID *string + Name *string + Tags *[]string + Type *string + func (rtr ReservationTransactionResource) MarshalJSON() ([]byte, error) + type ReservationTransactionsClient struct + func NewReservationTransactionsClient(subscriptionID string) ReservationTransactionsClient + func NewReservationTransactionsClientWithBaseURI(baseURI string, subscriptionID string) ReservationTransactionsClient + func (client ReservationTransactionsClient) List(ctx context.Context, billingAccountID string, filter string) (result ReservationTransactionsListResultPage, err error) + func (client ReservationTransactionsClient) ListByBillingProfile(ctx context.Context, billingAccountID string, billingProfileID string, ...) (result ModernReservationTransactionsListResultPage, err error) + func (client ReservationTransactionsClient) ListByBillingProfileComplete(ctx context.Context, billingAccountID string, billingProfileID string, ...) (result ModernReservationTransactionsListResultIterator, err error) + func (client ReservationTransactionsClient) ListByBillingProfilePreparer(ctx context.Context, billingAccountID string, billingProfileID string, ...) (*http.Request, error) + func (client ReservationTransactionsClient) ListByBillingProfileResponder(resp *http.Response) (result ModernReservationTransactionsListResult, err error) + func (client ReservationTransactionsClient) ListByBillingProfileSender(req *http.Request) (*http.Response, error) + func (client ReservationTransactionsClient) ListComplete(ctx context.Context, billingAccountID string, filter string) (result ReservationTransactionsListResultIterator, err error) + func (client ReservationTransactionsClient) ListPreparer(ctx context.Context, billingAccountID string, filter string) (*http.Request, error) + func (client ReservationTransactionsClient) ListResponder(resp *http.Response) (result ReservationTransactionsListResult, err error) + func (client ReservationTransactionsClient) ListSender(req *http.Request) (*http.Response, error) + type ReservationTransactionsListResult struct + NextLink *string + Value *[]ReservationTransaction + func (rtlr ReservationTransactionsListResult) IsEmpty() bool + func (rtlr ReservationTransactionsListResult) MarshalJSON() ([]byte, error) + type ReservationTransactionsListResultIterator struct + func NewReservationTransactionsListResultIterator(page ReservationTransactionsListResultPage) ReservationTransactionsListResultIterator + func (iter *ReservationTransactionsListResultIterator) Next() error + func (iter *ReservationTransactionsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ReservationTransactionsListResultIterator) NotDone() bool + func (iter ReservationTransactionsListResultIterator) Response() ReservationTransactionsListResult + func (iter ReservationTransactionsListResultIterator) Value() ReservationTransaction + type ReservationTransactionsListResultPage struct + func NewReservationTransactionsListResultPage(cur ReservationTransactionsListResult, ...) ReservationTransactionsListResultPage + func (page *ReservationTransactionsListResultPage) Next() error + func (page *ReservationTransactionsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ReservationTransactionsListResultPage) NotDone() bool + func (page ReservationTransactionsListResultPage) Response() ReservationTransactionsListResult + func (page ReservationTransactionsListResultPage) Values() []ReservationTransaction + type ReservationsDetailsClient struct + func NewReservationsDetailsClient(subscriptionID string) ReservationsDetailsClient + func NewReservationsDetailsClientWithBaseURI(baseURI string, subscriptionID string) ReservationsDetailsClient + func (client ReservationsDetailsClient) List(ctx context.Context, scope string, startDate string, endDate string, ...) (result ReservationDetailsListResultPage, err error) + func (client ReservationsDetailsClient) ListByReservationOrder(ctx context.Context, reservationOrderID string, filter string) (result ReservationDetailsListResultPage, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservation(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationDetailsListResultPage, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationComplete(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationDetailsListResultIterator, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationPreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) + func (client ReservationsDetailsClient) ListByReservationOrderComplete(ctx context.Context, reservationOrderID string, filter string) (result ReservationDetailsListResultIterator, err error) + func (client ReservationsDetailsClient) ListByReservationOrderPreparer(ctx context.Context, reservationOrderID string, filter string) (*http.Request, error) + func (client ReservationsDetailsClient) ListByReservationOrderResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) + func (client ReservationsDetailsClient) ListComplete(ctx context.Context, scope string, startDate string, endDate string, ...) (result ReservationDetailsListResultIterator, err error) + func (client ReservationsDetailsClient) ListPreparer(ctx context.Context, scope string, startDate string, endDate string, ...) (*http.Request, error) + func (client ReservationsDetailsClient) ListResponder(resp *http.Response) (result ReservationDetailsListResult, err error) + func (client ReservationsDetailsClient) ListSender(req *http.Request) (*http.Response, error) + type ReservationsSummariesClient struct + func NewReservationsSummariesClient(subscriptionID string) ReservationsSummariesClient + func NewReservationsSummariesClientWithBaseURI(baseURI string, subscriptionID string) ReservationsSummariesClient + func (client ReservationsSummariesClient) List(ctx context.Context, scope string, grain Datagrain, startDate string, ...) (result ReservationSummariesListResultPage, err error) + func (client ReservationsSummariesClient) ListByReservationOrder(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (result ReservationSummariesListResultPage, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservation(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationSummariesListResultPage, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationComplete(ctx context.Context, reservationOrderID string, reservationID string, ...) (result ReservationSummariesListResultIterator, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationPreparer(ctx context.Context, reservationOrderID string, reservationID string, ...) (*http.Request, error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListByReservationOrderAndReservationSender(req *http.Request) (*http.Response, error) + func (client ReservationsSummariesClient) ListByReservationOrderComplete(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (result ReservationSummariesListResultIterator, err error) + func (client ReservationsSummariesClient) ListByReservationOrderPreparer(ctx context.Context, reservationOrderID string, grain Datagrain, filter string) (*http.Request, error) + func (client ReservationsSummariesClient) ListByReservationOrderResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListByReservationOrderSender(req *http.Request) (*http.Response, error) + func (client ReservationsSummariesClient) ListComplete(ctx context.Context, scope string, grain Datagrain, startDate string, ...) (result ReservationSummariesListResultIterator, err error) + func (client ReservationsSummariesClient) ListPreparer(ctx context.Context, scope string, grain Datagrain, startDate string, ...) (*http.Request, error) + func (client ReservationsSummariesClient) ListResponder(resp *http.Response) (result ReservationSummariesListResult, err error) + func (client ReservationsSummariesClient) ListSender(req *http.Request) (*http.Response, error) + type Resource struct + Etag *string + ID *string + Name *string + Tags map[string]*string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type ResourceAttributes struct + Location *string + Sku *string + func (ra ResourceAttributes) MarshalJSON() ([]byte, error) + type Scope12 string + const Scope12Shared + const Scope12Single + func PossibleScope12Values() []Scope12 + type Scope14 string + const Scope14Shared + const Scope14Single + func PossibleScope14Values() []Scope14 + type SkuProperty struct + Name *string + Value *string + func (sp SkuProperty) MarshalJSON() ([]byte, error) + type Tag struct + Key *string + Value *[]string + type TagProperties struct + NextLink *string + PreviousLink *string + Tags *[]Tag + func (tp TagProperties) MarshalJSON() ([]byte, error) + type TagsClient struct + func NewTagsClient(subscriptionID string) TagsClient + func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient + func (client TagsClient) Get(ctx context.Context, scope string) (result TagsResult, err error) + func (client TagsClient) GetPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client TagsClient) GetResponder(resp *http.Response) (result TagsResult, err error) + func (client TagsClient) GetSender(req *http.Request) (*http.Response, error) + type TagsResult struct + ETag *string + ID *string + Name *string + Type *string + func (tr *TagsResult) UnmarshalJSON(body []byte) error + func (tr TagsResult) MarshalJSON() ([]byte, error) + type Term string + const TermP1Y + const TermP3Y + func PossibleTermValues() []Term + type ThresholdType string + const ThresholdTypeActual + func PossibleThresholdTypeValues() []ThresholdType + type TimeGrainType string + const TimeGrainTypeAnnually + const TimeGrainTypeBillingAnnual + const TimeGrainTypeBillingMonth + const TimeGrainTypeBillingQuarter + const TimeGrainTypeMonthly + const TimeGrainTypeQuarterly + func PossibleTimeGrainTypeValues() []TimeGrainType + type UsageDetail struct + Etag *string + ID *string + Kind Kind + Name *string + Tags map[string]*string + Type *string + func (ud UsageDetail) AsBasicUsageDetail() (BasicUsageDetail, bool) + func (ud UsageDetail) AsLegacyUsageDetail() (*LegacyUsageDetail, bool) + func (ud UsageDetail) AsModernUsageDetail() (*ModernUsageDetail, bool) + func (ud UsageDetail) AsUsageDetail() (*UsageDetail, bool) + func (ud UsageDetail) MarshalJSON() ([]byte, error) + type UsageDetailsClient struct + func NewUsageDetailsClient(subscriptionID string) UsageDetailsClient + func NewUsageDetailsClientWithBaseURI(baseURI string, subscriptionID string) UsageDetailsClient + func (client UsageDetailsClient) List(ctx context.Context, scope string, expand string, filter string, ...) (result UsageDetailsListResultPage, err error) + func (client UsageDetailsClient) ListComplete(ctx context.Context, scope string, expand string, filter string, ...) (result UsageDetailsListResultIterator, err error) + func (client UsageDetailsClient) ListPreparer(ctx context.Context, scope string, expand string, filter string, ...) (*http.Request, error) + func (client UsageDetailsClient) ListResponder(resp *http.Response) (result UsageDetailsListResult, err error) + func (client UsageDetailsClient) ListSender(req *http.Request) (*http.Response, error) + type UsageDetailsListResult struct + NextLink *string + Value *[]BasicUsageDetail + func (udlr *UsageDetailsListResult) UnmarshalJSON(body []byte) error + func (udlr UsageDetailsListResult) IsEmpty() bool + func (udlr UsageDetailsListResult) MarshalJSON() ([]byte, error) + type UsageDetailsListResultIterator struct + func NewUsageDetailsListResultIterator(page UsageDetailsListResultPage) UsageDetailsListResultIterator + func (iter *UsageDetailsListResultIterator) Next() error + func (iter *UsageDetailsListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter UsageDetailsListResultIterator) NotDone() bool + func (iter UsageDetailsListResultIterator) Response() UsageDetailsListResult + func (iter UsageDetailsListResultIterator) Value() BasicUsageDetail + type UsageDetailsListResultPage struct + func NewUsageDetailsListResultPage(cur UsageDetailsListResult, ...) UsageDetailsListResultPage + func (page *UsageDetailsListResultPage) Next() error + func (page *UsageDetailsListResultPage) NextWithContext(ctx context.Context) (err error) + func (page UsageDetailsListResultPage) NotDone() bool + func (page UsageDetailsListResultPage) Response() UsageDetailsListResult + func (page UsageDetailsListResultPage) Values() []BasicUsageDetail