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 PossibleValuesForAppliedScopeType() []string + func PossibleValuesForInstanceFlexibility() []string + func PossibleValuesForPaymentStatus() []string + func PossibleValuesForReservationBillingPlan() []string + func PossibleValuesForReservationStatusCode() []string + func ValidateReservationOrderID(input interface{}, key string) (warnings []string, errors []error) + type AppliedScopeType string + const AppliedScopeTypeManagementGroup + const AppliedScopeTypeShared + const AppliedScopeTypeSingle + func (s *AppliedScopeType) UnmarshalJSON(bytes []byte) error + type ExtendedStatusDefinitionProperties 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 *ReservationOrder + OData *odata.OData + type InstanceFlexibility string + const InstanceFlexibilityOff + const InstanceFlexibilityOn + func (s *InstanceFlexibility) UnmarshalJSON(bytes []byte) error + 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 RenewPropertiesResponse struct + BillingCurrencyTotal *Price + PricingCurrencyTotal *Price + PurchaseProperties *ReservationPurchaseRequest + type Reservation struct + Etag *int64 + Id *string + Location *string + Name *string + Properties *ReservationProperty + Sku *ReservationSkuProperty + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ReservationAppliedScopeProperties struct + DisplayName *string + ManagementGroupId *string + ResourceGroupId *string + SubscriptionId *string + TenantId *string + type ReservationBillingPlan string + const ReservationBillingPlanMonthly + const ReservationBillingPlanUpfront + func (s *ReservationBillingPlan) UnmarshalJSON(bytes []byte) error + type ReservationExtendedStatusInfo struct + Message *string + Properties *ExtendedStatusDefinitionProperties + StatusCode *ReservationStatusCode + type ReservationMergeProperties struct + MergeDestination *string + MergeSources *[]string + type ReservationOrder struct + Etag *int64 + Id *string + Name *string + Properties *ReservationOrderProperty + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type ReservationOrderBillingPlanInformation struct + NextPaymentDueDate *string + PricingCurrencyTotal *Price + StartDate *string + Transactions *[]ReservationPaymentDetail + type ReservationOrderClient struct + Client *resourcemanager.Client + func NewReservationOrderClientWithBaseURI(sdkApi sdkEnv.Api) (*ReservationOrderClient, error) + func (c ReservationOrderClient) GetByBillingAccount(ctx context.Context, id ReservationOrderId, ...) (result GetByBillingAccountOperationResponse, err error) + type ReservationOrderId struct + BillingAccountName string + ReservationOrderId string + func NewReservationOrderID(billingAccountName string, reservationOrderId string) ReservationOrderId + func ParseReservationOrderID(input string) (*ReservationOrderId, error) + func ParseReservationOrderIDInsensitively(input string) (*ReservationOrderId, error) + func (id *ReservationOrderId) FromParseResult(input resourceids.ParseResult) error + func (id ReservationOrderId) ID() string + func (id ReservationOrderId) Segments() []resourceids.Segment + func (id ReservationOrderId) String() string + type ReservationOrderProperty struct + BenefitStartTime *string + BillingAccountId *string + BillingPlan *ReservationBillingPlan + BillingProfileId *string + CreatedDateTime *string + CustomerId *string + DisplayName *string + EnrollmentId *string + ExpiryDate *string + ExpiryDateTime *string + ExtendedStatusInfo *ReservationExtendedStatusInfo + OriginalQuantity *int64 + PlanInformation *ReservationOrderBillingPlanInformation + ProductCode *string + ProvisioningState *string + RequestDateTime *string + Reservations *[]Reservation + ReviewDateTime *string + Term *string + func (o *ReservationOrderProperty) GetBenefitStartTimeAsTime() (*time.Time, error) + func (o *ReservationOrderProperty) GetCreatedDateTimeAsTime() (*time.Time, error) + func (o *ReservationOrderProperty) GetExpiryDateTimeAsTime() (*time.Time, error) + func (o *ReservationOrderProperty) GetRequestDateTimeAsTime() (*time.Time, error) + func (o *ReservationOrderProperty) GetReviewDateTimeAsTime() (*time.Time, error) + func (o *ReservationOrderProperty) SetBenefitStartTimeAsTime(input time.Time) + func (o *ReservationOrderProperty) SetCreatedDateTimeAsTime(input time.Time) + func (o *ReservationOrderProperty) SetExpiryDateTimeAsTime(input time.Time) + func (o *ReservationOrderProperty) SetRequestDateTimeAsTime(input time.Time) + func (o *ReservationOrderProperty) SetReviewDateTimeAsTime(input time.Time) + type ReservationPaymentDetail struct + BillingAccount *string + BillingCurrencyTotal *Price + DueDate *string + ExtendedStatusInfo *ReservationExtendedStatusInfo + PaymentDate *string + PricingCurrencyTotal *Price + Status *PaymentStatus + type ReservationProperty struct + AppliedScopeProperties *ReservationAppliedScopeProperties + AppliedScopeType *string + AppliedScopes *[]string + Archived *bool + BenefitStartTime *string + BillingPlan *ReservationBillingPlan + BillingScopeId *string + Capabilities *string + DisplayName *string + DisplayProvisioningState *string + EffectiveDateTime *string + ExpiryDate *string + ExpiryDateTime *string + ExtendedStatusInfo *ReservationExtendedStatusInfo + InstanceFlexibility *InstanceFlexibility + LastUpdatedDateTime *string + MergeProperties *ReservationMergeProperties + ProductCode *string + ProvisioningState *string + ProvisioningSubState *string + PurchaseDate *string + PurchaseDateTime *string + Quantity *float64 + Renew *bool + RenewDestination *string + RenewProperties *RenewPropertiesResponse + RenewSource *string + ReservedResourceType *string + ReviewDateTime *string + SkuDescription *string + SplitProperties *ReservationSplitProperties + SwapProperties *ReservationSwapProperties + Term *string + UserFriendlyAppliedScopeType *string + UserFriendlyRenewState *string + Utilization *ReservationPropertyUtilization + func (o *ReservationProperty) GetBenefitStartTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) GetEffectiveDateTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) GetExpiryDateTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) GetLastUpdatedDateTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) GetPurchaseDateTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) GetReviewDateTimeAsTime() (*time.Time, error) + func (o *ReservationProperty) SetBenefitStartTimeAsTime(input time.Time) + func (o *ReservationProperty) SetEffectiveDateTimeAsTime(input time.Time) + func (o *ReservationProperty) SetExpiryDateTimeAsTime(input time.Time) + func (o *ReservationProperty) SetLastUpdatedDateTimeAsTime(input time.Time) + func (o *ReservationProperty) SetPurchaseDateTimeAsTime(input time.Time) + func (o *ReservationProperty) SetReviewDateTimeAsTime(input time.Time) + type ReservationPropertyUtilization struct + Aggregates *[]ReservationUtilizationAggregates + Trend *string + type ReservationPurchaseRequest struct + Location *string + Properties *ReservationPurchaseRequestProperties + Sku *SkuName + type ReservationPurchaseRequestProperties struct + AppliedScopeProperties *ReservationAppliedScopeProperties + AppliedScopeType *AppliedScopeType + AppliedScopes *[]string + BillingPlan *ReservationBillingPlan + BillingScopeId *string + DisplayName *string + InstanceFlexibility *InstanceFlexibility + Quantity *int64 + Renew *bool + ReservedResourceProperties *ReservationPurchaseRequestPropertiesReservedResourceProperties + ReservedResourceType *string + ReviewDateTime *string + Term *string + func (o *ReservationPurchaseRequestProperties) GetReviewDateTimeAsTime() (*time.Time, error) + func (o *ReservationPurchaseRequestProperties) SetReviewDateTimeAsTime(input time.Time) + type ReservationPurchaseRequestPropertiesReservedResourceProperties struct + InstanceFlexibility *InstanceFlexibility + type ReservationSkuProperty struct + Name *string + type ReservationSplitProperties struct + SplitDestinations *[]string + SplitSource *string + type ReservationStatusCode string + const ReservationStatusCodeActive + const ReservationStatusCodeCapacityError + const ReservationStatusCodeCapacityRestricted + const ReservationStatusCodeCreditLineCheckFailed + const ReservationStatusCodeExchanged + const ReservationStatusCodeExpired + const ReservationStatusCodeMerged + const ReservationStatusCodeNoBenefit + const ReservationStatusCodeNoBenefitDueToSubscriptionDeletion + const ReservationStatusCodeNoBenefitDueToSubscriptionTransfer + const ReservationStatusCodeNone + const ReservationStatusCodePaymentInstrumentError + const ReservationStatusCodePending + const ReservationStatusCodeProcessing + const ReservationStatusCodePurchaseError + const ReservationStatusCodeRiskCheckFailed + const ReservationStatusCodeSplit + const ReservationStatusCodeSucceeded + const ReservationStatusCodeUnknownError + const ReservationStatusCodeWarning + func (s *ReservationStatusCode) UnmarshalJSON(bytes []byte) error + type ReservationSwapProperties struct + SwapDestination *string + SwapSource *string + type ReservationUtilizationAggregates struct + Grain *float64 + GrainUnit *string + Value *float64 + ValueUnit *string + type SkuName struct + Name *string