Documentation ¶
Index ¶
- func PossibleValuesForAutoRenew() []string
- func PossibleValuesForBillingSubscriptionStatus() []string
- func PossibleValuesForSubscriptionEnrollmentAccountStatus() []string
- func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type Amount
- type AutoRenew
- type BillingAccountId
- type BillingSubscription
- type BillingSubscriptionId
- type BillingSubscriptionMergeRequest
- type BillingSubscriptionOperationPredicate
- type BillingSubscriptionProperties
- func (o *BillingSubscriptionProperties) GetPurchaseDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionProperties) GetTermEndDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionProperties) GetTermStartDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionProperties) SetPurchaseDateAsTime(input time.Time)
- func (o *BillingSubscriptionProperties) SetTermEndDateAsTime(input time.Time)
- func (o *BillingSubscriptionProperties) SetTermStartDateAsTime(input time.Time)
- type BillingSubscriptionSplitRequest
- type BillingSubscriptionStatus
- type BillingSubscriptionsClient
- func (c BillingSubscriptionsClient) BillingSubscriptionsMerge(ctx context.Context, id BillingSubscriptionId, ...) (result BillingSubscriptionsMergeOperationResponse, err error)
- func (c BillingSubscriptionsClient) BillingSubscriptionsMergeThenPoll(ctx context.Context, id BillingSubscriptionId, ...) error
- func (c BillingSubscriptionsClient) BillingSubscriptionsMove(ctx context.Context, id BillingSubscriptionId, ...) (result BillingSubscriptionsMoveOperationResponse, err error)
- func (c BillingSubscriptionsClient) BillingSubscriptionsMoveThenPoll(ctx context.Context, id BillingSubscriptionId, ...) error
- func (c BillingSubscriptionsClient) BillingSubscriptionsSplit(ctx context.Context, id BillingSubscriptionId, ...) (result BillingSubscriptionsSplitOperationResponse, err error)
- func (c BillingSubscriptionsClient) BillingSubscriptionsSplitThenPoll(ctx context.Context, id BillingSubscriptionId, ...) error
- func (c BillingSubscriptionsClient) BillingSubscriptionsValidateMoveEligibility(ctx context.Context, id BillingSubscriptionId, ...) (result BillingSubscriptionsValidateMoveEligibilityOperationResponse, err error)
- func (c BillingSubscriptionsClient) Delete(ctx context.Context, id BillingSubscriptionId) (result DeleteOperationResponse, err error)
- func (c BillingSubscriptionsClient) DeleteThenPoll(ctx context.Context, id BillingSubscriptionId) error
- func (c BillingSubscriptionsClient) Get(ctx context.Context, id BillingSubscriptionId) (result GetOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
- func (c BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c BillingSubscriptionsClient) Update(ctx context.Context, id BillingSubscriptionId, input BillingSubscription) (result UpdateOperationResponse, err error)
- func (c BillingSubscriptionsClient) UpdateThenPoll(ctx context.Context, id BillingSubscriptionId, input BillingSubscription) error
- type BillingSubscriptionsMergeOperationResponse
- type BillingSubscriptionsMoveOperationResponse
- type BillingSubscriptionsSplitOperationResponse
- type BillingSubscriptionsValidateMoveEligibilityOperationResponse
- type DeleteOperationResponse
- type EnrollmentAccountSubscriptionDetails
- type GetOperationResponse
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountOperationResponse
- type MoveBillingSubscriptionRequest
- type NextBillingCycleDetails
- type RenewalTermDetails
- type Reseller
- type SubscriptionEnrollmentAccountStatus
- type SubscriptionTransferValidationErrorCode
- type UpdateOperationResponse
- type ValidateMoveBillingSubscriptionEligibilityError
- type ValidateMoveBillingSubscriptionEligibilityResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutoRenew ¶
func PossibleValuesForAutoRenew() []string
func PossibleValuesForBillingSubscriptionStatus ¶
func PossibleValuesForBillingSubscriptionStatus() []string
func PossibleValuesForSubscriptionEnrollmentAccountStatus ¶
func PossibleValuesForSubscriptionEnrollmentAccountStatus() []string
func PossibleValuesForSubscriptionTransferValidationErrorCode ¶
func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingSubscriptionID ¶
func ValidateBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingSubscriptionID checks that 'input' can be parsed as a Billing Subscription ID
Types ¶
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingSubscription ¶
type BillingSubscription struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingSubscriptionProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type BillingSubscriptionId ¶
BillingSubscriptionId is a struct representing the Resource ID for a Billing Subscription
func NewBillingSubscriptionID ¶
func NewBillingSubscriptionID(billingAccountName string, billingSubscriptionName string) BillingSubscriptionId
NewBillingSubscriptionID returns a new BillingSubscriptionId struct
func ParseBillingSubscriptionID ¶
func ParseBillingSubscriptionID(input string) (*BillingSubscriptionId, error)
ParseBillingSubscriptionID parses 'input' into a BillingSubscriptionId
func ParseBillingSubscriptionIDInsensitively ¶
func ParseBillingSubscriptionIDInsensitively(input string) (*BillingSubscriptionId, error)
ParseBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a BillingSubscriptionId note: this method should only be used for API response data and not user input
func (*BillingSubscriptionId) FromParseResult ¶
func (id *BillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (BillingSubscriptionId) ID ¶
func (id BillingSubscriptionId) ID() string
ID returns the formatted Billing Subscription ID
func (BillingSubscriptionId) Segments ¶
func (id BillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Subscription ID
func (BillingSubscriptionId) String ¶
func (id BillingSubscriptionId) String() string
String returns a human-readable description of this Billing Subscription ID
type BillingSubscriptionOperationPredicate ¶
func (BillingSubscriptionOperationPredicate) Matches ¶
func (p BillingSubscriptionOperationPredicate) Matches(input BillingSubscription) bool
type BillingSubscriptionProperties ¶
type BillingSubscriptionProperties struct { AutoRenew *AutoRenew `json:"autoRenew,omitempty"` BeneficiaryTenantId *string `json:"beneficiaryTenantId,omitempty"` BillingFrequency *string `json:"billingFrequency,omitempty"` BillingPolicies *map[string]string `json:"billingPolicies,omitempty"` BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` BillingProfileName *string `json:"billingProfileName,omitempty"` ConsumptionCostCenter *string `json:"consumptionCostCenter,omitempty"` CustomerDisplayName *string `json:"customerDisplayName,omitempty"` CustomerId *string `json:"customerId,omitempty"` CustomerName *string `json:"customerName,omitempty"` DisplayName *string `json:"displayName,omitempty"` EnrollmentAccountDisplayName *string `json:"enrollmentAccountDisplayName,omitempty"` EnrollmentAccountId *string `json:"enrollmentAccountId,omitempty"` EnrollmentAccountSubscriptionDetails *EnrollmentAccountSubscriptionDetails `json:"enrollmentAccountSubscriptionDetails,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` InvoiceSectionName *string `json:"invoiceSectionName,omitempty"` LastMonthCharges *Amount `json:"lastMonthCharges,omitempty"` MonthToDateCharges *Amount `json:"monthToDateCharges,omitempty"` NextBillingCycleDetails *NextBillingCycleDetails `json:"nextBillingCycleDetails,omitempty"` OfferId *string `json:"offerId,omitempty"` ProductCategory *string `json:"productCategory,omitempty"` ProductType *string `json:"productType,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` PurchaseDate *string `json:"purchaseDate,omitempty"` Quantity *int64 `json:"quantity,omitempty"` RenewalTermDetails *RenewalTermDetails `json:"renewalTermDetails,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` SkuDescription *string `json:"skuDescription,omitempty"` SkuId *string `json:"skuId,omitempty"` Status *BillingSubscriptionStatus `json:"status,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SuspensionReasons *[]string `json:"suspensionReasons,omitempty"` TermDuration *string `json:"termDuration,omitempty"` TermEndDate *string `json:"termEndDate,omitempty"` TermStartDate *string `json:"termStartDate,omitempty"` }
func (*BillingSubscriptionProperties) GetPurchaseDateAsTime ¶
func (o *BillingSubscriptionProperties) GetPurchaseDateAsTime() (*time.Time, error)
func (*BillingSubscriptionProperties) GetTermEndDateAsTime ¶
func (o *BillingSubscriptionProperties) GetTermEndDateAsTime() (*time.Time, error)
func (*BillingSubscriptionProperties) GetTermStartDateAsTime ¶
func (o *BillingSubscriptionProperties) GetTermStartDateAsTime() (*time.Time, error)
func (*BillingSubscriptionProperties) SetPurchaseDateAsTime ¶
func (o *BillingSubscriptionProperties) SetPurchaseDateAsTime(input time.Time)
func (*BillingSubscriptionProperties) SetTermEndDateAsTime ¶
func (o *BillingSubscriptionProperties) SetTermEndDateAsTime(input time.Time)
func (*BillingSubscriptionProperties) SetTermStartDateAsTime ¶
func (o *BillingSubscriptionProperties) SetTermStartDateAsTime(input time.Time)
type BillingSubscriptionSplitRequest ¶
type BillingSubscriptionSplitRequest struct { BillingFrequency *string `json:"billingFrequency,omitempty"` Quantity *int64 `json:"quantity,omitempty"` TargetProductTypeId *string `json:"targetProductTypeId,omitempty"` TargetSkuId *string `json:"targetSkuId,omitempty"` TermDuration *string `json:"termDuration,omitempty"` }
type BillingSubscriptionStatus ¶
type BillingSubscriptionStatus string
const ( BillingSubscriptionStatusActive BillingSubscriptionStatus = "Active" BillingSubscriptionStatusAutoRenew BillingSubscriptionStatus = "AutoRenew" BillingSubscriptionStatusCancelled BillingSubscriptionStatus = "Cancelled" BillingSubscriptionStatusDeleted BillingSubscriptionStatus = "Deleted" BillingSubscriptionStatusDisabled BillingSubscriptionStatus = "Disabled" BillingSubscriptionStatusExpired BillingSubscriptionStatus = "Expired" BillingSubscriptionStatusExpiring BillingSubscriptionStatus = "Expiring" BillingSubscriptionStatusSuspended BillingSubscriptionStatus = "Suspended" BillingSubscriptionStatusUnknown BillingSubscriptionStatus = "Unknown" BillingSubscriptionStatusWarned BillingSubscriptionStatus = "Warned" )
func (*BillingSubscriptionStatus) UnmarshalJSON ¶
func (s *BillingSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type BillingSubscriptionsClient ¶
type BillingSubscriptionsClient struct {
Client *resourcemanager.Client
}
func NewBillingSubscriptionsClientWithBaseURI ¶
func NewBillingSubscriptionsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingSubscriptionsClient, error)
func (BillingSubscriptionsClient) BillingSubscriptionsMerge ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsMerge(ctx context.Context, id BillingSubscriptionId, input BillingSubscriptionMergeRequest) (result BillingSubscriptionsMergeOperationResponse, err error)
BillingSubscriptionsMerge ...
func (BillingSubscriptionsClient) BillingSubscriptionsMergeThenPoll ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsMergeThenPoll(ctx context.Context, id BillingSubscriptionId, input BillingSubscriptionMergeRequest) error
BillingSubscriptionsMergeThenPoll performs BillingSubscriptionsMerge then polls until it's completed
func (BillingSubscriptionsClient) BillingSubscriptionsMove ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsMove(ctx context.Context, id BillingSubscriptionId, input MoveBillingSubscriptionRequest) (result BillingSubscriptionsMoveOperationResponse, err error)
BillingSubscriptionsMove ...
func (BillingSubscriptionsClient) BillingSubscriptionsMoveThenPoll ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsMoveThenPoll(ctx context.Context, id BillingSubscriptionId, input MoveBillingSubscriptionRequest) error
BillingSubscriptionsMoveThenPoll performs BillingSubscriptionsMove then polls until it's completed
func (BillingSubscriptionsClient) BillingSubscriptionsSplit ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsSplit(ctx context.Context, id BillingSubscriptionId, input BillingSubscriptionSplitRequest) (result BillingSubscriptionsSplitOperationResponse, err error)
BillingSubscriptionsSplit ...
func (BillingSubscriptionsClient) BillingSubscriptionsSplitThenPoll ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsSplitThenPoll(ctx context.Context, id BillingSubscriptionId, input BillingSubscriptionSplitRequest) error
BillingSubscriptionsSplitThenPoll performs BillingSubscriptionsSplit then polls until it's completed
func (BillingSubscriptionsClient) BillingSubscriptionsValidateMoveEligibility ¶
func (c BillingSubscriptionsClient) BillingSubscriptionsValidateMoveEligibility(ctx context.Context, id BillingSubscriptionId, input MoveBillingSubscriptionRequest) (result BillingSubscriptionsValidateMoveEligibilityOperationResponse, err error)
BillingSubscriptionsValidateMoveEligibility ...
func (BillingSubscriptionsClient) Delete ¶
func (c BillingSubscriptionsClient) Delete(ctx context.Context, id BillingSubscriptionId) (result DeleteOperationResponse, err error)
Delete ...
func (BillingSubscriptionsClient) DeleteThenPoll ¶
func (c BillingSubscriptionsClient) DeleteThenPoll(ctx context.Context, id BillingSubscriptionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BillingSubscriptionsClient) Get ¶
func (c BillingSubscriptionsClient) Get(ctx context.Context, id BillingSubscriptionId) (result GetOperationResponse, err error)
Get ...
func (BillingSubscriptionsClient) ListByBillingAccount ¶
func (c BillingSubscriptionsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (BillingSubscriptionsClient) ListByBillingAccountComplete ¶
func (c BillingSubscriptionsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate BillingSubscriptionOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionsClient) Update ¶
func (c BillingSubscriptionsClient) Update(ctx context.Context, id BillingSubscriptionId, input BillingSubscription) (result UpdateOperationResponse, err error)
Update ...
func (BillingSubscriptionsClient) UpdateThenPoll ¶
func (c BillingSubscriptionsClient) UpdateThenPoll(ctx context.Context, id BillingSubscriptionId, input BillingSubscription) error
UpdateThenPoll performs Update then polls until it's completed
type BillingSubscriptionsValidateMoveEligibilityOperationResponse ¶
type BillingSubscriptionsValidateMoveEligibilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ValidateMoveBillingSubscriptionEligibilityResult }
type DeleteOperationResponse ¶
type EnrollmentAccountSubscriptionDetails ¶
type EnrollmentAccountSubscriptionDetails struct { EnrollmentAccountStartDate *string `json:"enrollmentAccountStartDate,omitempty"` SubscriptionEnrollmentAccountStatus *SubscriptionEnrollmentAccountStatus `json:"subscriptionEnrollmentAccountStatus,omitempty"` }
func (*EnrollmentAccountSubscriptionDetails) GetEnrollmentAccountStartDateAsTime ¶
func (o *EnrollmentAccountSubscriptionDetails) GetEnrollmentAccountStartDateAsTime() (*time.Time, error)
func (*EnrollmentAccountSubscriptionDetails) SetEnrollmentAccountStartDateAsTime ¶
func (o *EnrollmentAccountSubscriptionDetails) SetEnrollmentAccountStartDateAsTime(input time.Time)
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscription }
type ListByBillingAccountCompleteResult ¶
type ListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type NextBillingCycleDetails ¶
type NextBillingCycleDetails struct {
BillingFrequency *string `json:"billingFrequency,omitempty"`
}
type RenewalTermDetails ¶
type SubscriptionEnrollmentAccountStatus ¶
type SubscriptionEnrollmentAccountStatus string
const ( SubscriptionEnrollmentAccountStatusActive SubscriptionEnrollmentAccountStatus = "Active" SubscriptionEnrollmentAccountStatusCancelled SubscriptionEnrollmentAccountStatus = "Cancelled" SubscriptionEnrollmentAccountStatusDeleted SubscriptionEnrollmentAccountStatus = "Deleted" SubscriptionEnrollmentAccountStatusExpired SubscriptionEnrollmentAccountStatus = "Expired" SubscriptionEnrollmentAccountStatusTransferredOut SubscriptionEnrollmentAccountStatus = "TransferredOut" SubscriptionEnrollmentAccountStatusTransferring SubscriptionEnrollmentAccountStatus = "Transferring" )
func (*SubscriptionEnrollmentAccountStatus) UnmarshalJSON ¶
func (s *SubscriptionEnrollmentAccountStatus) UnmarshalJSON(bytes []byte) error
type SubscriptionTransferValidationErrorCode ¶
type SubscriptionTransferValidationErrorCode string
const ( SubscriptionTransferValidationErrorCodeAccountIsLocked SubscriptionTransferValidationErrorCode = "AccountIsLocked" SubscriptionTransferValidationErrorCodeAssetHasCap SubscriptionTransferValidationErrorCode = "AssetHasCap" SubscriptionTransferValidationErrorCodeAssetNotActive SubscriptionTransferValidationErrorCode = "AssetNotActive" SubscriptionTransferValidationErrorCodeBillingAccountInactive SubscriptionTransferValidationErrorCode = "BillingAccountInactive" SubscriptionTransferValidationErrorCodeBillingProfilePastDue SubscriptionTransferValidationErrorCode = "BillingProfilePastDue" SubscriptionTransferValidationErrorCodeCrossBillingAccountNotAllowed SubscriptionTransferValidationErrorCode = "CrossBillingAccountNotAllowed" SubscriptionTransferValidationErrorCodeDestinationBillingProfileInactive SubscriptionTransferValidationErrorCode = "DestinationBillingProfileInactive" SubscriptionTransferValidationErrorCodeDestinationBillingProfileNotFound SubscriptionTransferValidationErrorCode = "DestinationBillingProfileNotFound" SubscriptionTransferValidationErrorCodeDestinationBillingProfilePastDue SubscriptionTransferValidationErrorCode = "DestinationBillingProfilePastDue" SubscriptionTransferValidationErrorCodeDestinationInvoiceSectionInactive SubscriptionTransferValidationErrorCode = "DestinationInvoiceSectionInactive" SubscriptionTransferValidationErrorCodeDestinationInvoiceSectionNotFound SubscriptionTransferValidationErrorCode = "DestinationInvoiceSectionNotFound" SubscriptionTransferValidationErrorCodeInsufficientPermissionOnDestination SubscriptionTransferValidationErrorCode = "InsufficientPermissionOnDestination" SubscriptionTransferValidationErrorCodeInsufficientPermissionOnSource SubscriptionTransferValidationErrorCode = "InsufficientPermissionOnSource" SubscriptionTransferValidationErrorCodeInvalidDestination SubscriptionTransferValidationErrorCode = "InvalidDestination" SubscriptionTransferValidationErrorCodeInvalidSource SubscriptionTransferValidationErrorCode = "InvalidSource" SubscriptionTransferValidationErrorCodeInvoiceSectionIsRestricted SubscriptionTransferValidationErrorCode = "InvoiceSectionIsRestricted" SubscriptionTransferValidationErrorCodeMarketplaceNotEnabledOnDestination SubscriptionTransferValidationErrorCode = "MarketplaceNotEnabledOnDestination" SubscriptionTransferValidationErrorCodeProductInactive SubscriptionTransferValidationErrorCode = "ProductInactive" SubscriptionTransferValidationErrorCodeProductNotFound SubscriptionTransferValidationErrorCode = "ProductNotFound" SubscriptionTransferValidationErrorCodeProductTypeNotSupported SubscriptionTransferValidationErrorCode = "ProductTypeNotSupported" SubscriptionTransferValidationErrorCodeSourceBillingProfilePastDue SubscriptionTransferValidationErrorCode = "SourceBillingProfilePastDue" SubscriptionTransferValidationErrorCodeSourceInvoiceSectionInactive SubscriptionTransferValidationErrorCode = "SourceInvoiceSectionInactive" SubscriptionTransferValidationErrorCodeSubscriptionNotActive SubscriptionTransferValidationErrorCode = "SubscriptionNotActive" SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported SubscriptionTransferValidationErrorCode = "SubscriptionTypeNotSupported" )
func (*SubscriptionTransferValidationErrorCode) UnmarshalJSON ¶
func (s *SubscriptionTransferValidationErrorCode) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type ValidateMoveBillingSubscriptionEligibilityError ¶
type ValidateMoveBillingSubscriptionEligibilityError struct { Code *SubscriptionTransferValidationErrorCode `json:"code,omitempty"` Details *string `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type ValidateMoveBillingSubscriptionEligibilityResult ¶
type ValidateMoveBillingSubscriptionEligibilityResult struct { ErrorDetails *ValidateMoveBillingSubscriptionEligibilityError `json:"errorDetails,omitempty"` IsMoveEligible *bool `json:"isMoveEligible,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingsubscription.go
- method_billingsubscriptionsmerge.go
- method_billingsubscriptionsmove.go
- method_billingsubscriptionssplit.go
- method_billingsubscriptionsvalidatemoveeligibility.go
- method_delete.go
- method_get.go
- method_listbybillingaccount.go
- method_update.go
- model_amount.go
- model_billingsubscription.go
- model_billingsubscriptionmergerequest.go
- model_billingsubscriptionproperties.go
- model_billingsubscriptionsplitrequest.go
- model_enrollmentaccountsubscriptiondetails.go
- model_movebillingsubscriptionrequest.go
- model_nextbillingcycledetails.go
- model_renewaltermdetails.go
- model_reseller.go
- model_validatemovebillingsubscriptioneligibilityerror.go
- model_validatemovebillingsubscriptioneligibilityresult.go
- predicates.go
- version.go