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 PossibleValuesForBillingPlan() []string + func PossibleValuesForPaymentStatus() []string + func PossibleValuesForSavingsPlanTerm() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateSavingsPlanOrderID(input interface{}, key string) (warnings []string, errors []error) + type BillingAccountId struct + BillingAccountName string + func NewBillingAccountID(billingAccountName string) BillingAccountId + func ParseBillingAccountID(input string) (*BillingAccountId, error) + func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error) + func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountId) ID() string + func (id BillingAccountId) Segments() []resourceids.Segment + func (id BillingAccountId) String() string + type BillingPlan string + const BillingPlanPOneM + func (s *BillingPlan) UnmarshalJSON(bytes []byte) error + type BillingPlanInformation struct + NextPaymentDueDate *string + PricingCurrencyTotal *Price + StartDate *string + Transactions *[]PaymentDetail + type ExtendedStatusInfo struct + Message *string + Properties *ExtendedStatusInfoProperties + StatusCode *string + type ExtendedStatusInfoProperties struct + SubscriptionId *string + type GetByBillingAccountOperationOptions struct + Expand *string + func DefaultGetByBillingAccountOperationOptions() GetByBillingAccountOperationOptions + func (o GetByBillingAccountOperationOptions) ToHeaders() *client.Headers + func (o GetByBillingAccountOperationOptions) ToOData() *odata.Query + func (o GetByBillingAccountOperationOptions) ToQuery() *client.QueryParams + type GetByBillingAccountOperationResponse struct + HttpResponse *http.Response + Model *SavingsPlanOrderModel + OData *odata.OData + type ListByBillingAccountCompleteResult struct + Items []SavingsPlanOrderModel + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + Filter *string + OrderBy *string + Skiptoken *int64 + func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions + func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query + func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams + type ListByBillingAccountOperationResponse struct + HttpResponse *http.Response + Model *[]SavingsPlanOrderModel + OData *odata.OData + type PaymentDetail struct + BillingCurrencyTotal *Price + DueDate *string + ExtendedStatusInfo *ExtendedStatusInfo + PaymentDate *string + PricingCurrencyTotal *Price + Status *PaymentStatus + type PaymentStatus string + const PaymentStatusCancelled + const PaymentStatusCompleted + const PaymentStatusFailed + const PaymentStatusPending + const PaymentStatusScheduled + const PaymentStatusSucceeded + func (s *PaymentStatus) UnmarshalJSON(bytes []byte) error + type Price struct + Amount *float64 + CurrencyCode *string + type SavingsPlanOrderClient struct + Client *resourcemanager.Client + func NewSavingsPlanOrderClientWithBaseURI(sdkApi sdkEnv.Api) (*SavingsPlanOrderClient, error) + func (c SavingsPlanOrderClient) GetByBillingAccount(ctx context.Context, id SavingsPlanOrderId, ...) (result GetByBillingAccountOperationResponse, err error) + func (c SavingsPlanOrderClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c SavingsPlanOrderClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c SavingsPlanOrderClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + type SavingsPlanOrderId struct + BillingAccountName string + SavingsPlanOrderId string + func NewSavingsPlanOrderID(billingAccountName string, savingsPlanOrderId string) SavingsPlanOrderId + func ParseSavingsPlanOrderID(input string) (*SavingsPlanOrderId, error) + func ParseSavingsPlanOrderIDInsensitively(input string) (*SavingsPlanOrderId, error) + func (id *SavingsPlanOrderId) FromParseResult(input resourceids.ParseResult) error + func (id SavingsPlanOrderId) ID() string + func (id SavingsPlanOrderId) Segments() []resourceids.Segment + func (id SavingsPlanOrderId) String() string + type SavingsPlanOrderModel struct + Id *string + Name *string + Properties *SavingsPlanOrderModelProperties + Sku Sku + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type SavingsPlanOrderModelOperationPredicate struct + Id *string + Name *string + Type *string + func (p SavingsPlanOrderModelOperationPredicate) Matches(input SavingsPlanOrderModel) bool + type SavingsPlanOrderModelProperties struct + BenefitStartTime *string + BillingAccountId *string + BillingPlan *BillingPlan + BillingProfileId *string + BillingScopeId *string + CustomerId *string + DisplayName *string + ExpiryDateTime *string + ExtendedStatusInfo *ExtendedStatusInfo + PlanInformation *BillingPlanInformation + ProductCode *string + ProvisioningState *string + SavingsPlans *[]string + Term *SavingsPlanTerm + func (o *SavingsPlanOrderModelProperties) GetBenefitStartTimeAsTime() (*time.Time, error) + func (o *SavingsPlanOrderModelProperties) GetExpiryDateTimeAsTime() (*time.Time, error) + func (o *SavingsPlanOrderModelProperties) SetBenefitStartTimeAsTime(input time.Time) + func (o *SavingsPlanOrderModelProperties) SetExpiryDateTimeAsTime(input time.Time) + type SavingsPlanTerm string + const SavingsPlanTermPFiveY + const SavingsPlanTermPOneY + const SavingsPlanTermPThreeY + func (s *SavingsPlanTerm) UnmarshalJSON(bytes []byte) error + type Sku struct + Name *string