billingsubscriptions

package
v0.20240920.1135249 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2024 License: MPL-2.0 Imports: 14 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/billing/2021-10-01/billingsubscriptions Documentation

The billingsubscriptions SDK allows for interaction with Azure Resource Manager billing (API Version 2021-10-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/resource-manager/billing/2021-10-01/billingsubscriptions"

Client Initialization

client := billingsubscriptions.NewBillingSubscriptionsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: BillingSubscriptionsClient.BillingSubscriptionsMerge

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

payload := billingsubscriptions.BillingSubscriptionMergeRequest{
	// ...
}


if err := client.BillingSubscriptionsMergeThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingSubscriptionsClient.BillingSubscriptionsMove

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

payload := billingsubscriptions.MoveBillingSubscriptionRequest{
	// ...
}


if err := client.BillingSubscriptionsMoveThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingSubscriptionsClient.BillingSubscriptionsSplit

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

payload := billingsubscriptions.BillingSubscriptionSplitRequest{
	// ...
}


if err := client.BillingSubscriptionsSplitThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: BillingSubscriptionsClient.BillingSubscriptionsValidateMoveEligibility

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

payload := billingsubscriptions.MoveBillingSubscriptionRequest{
	// ...
}


read, err := client.BillingSubscriptionsValidateMoveEligibility(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingSubscriptionsClient.Delete

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: BillingSubscriptionsClient.Get

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: BillingSubscriptionsClient.ListByBillingAccount

ctx := context.TODO()
id := billingsubscriptions.NewBillingAccountID("billingAccountName")

// alternatively `client.ListByBillingAccount(ctx, id)` can be used to do batched pagination
items, err := client.ListByBillingAccountComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: BillingSubscriptionsClient.Update

ctx := context.TODO()
id := billingsubscriptions.NewBillingSubscriptionID("billingAccountName", "billingSubscriptionName")

payload := billingsubscriptions.BillingSubscription{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

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

func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)

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 Amount

type Amount struct {
	Currency *string  `json:"currency,omitempty"`
	Value    *float64 `json:"value,omitempty"`
}

type AutoRenew

type AutoRenew string
const (
	AutoRenewOff AutoRenew = "Off"
	AutoRenewOn  AutoRenew = "On"
)

func (*AutoRenew) UnmarshalJSON

func (s *AutoRenew) UnmarshalJSON(bytes []byte) error

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

type BillingSubscriptionId struct {
	BillingAccountName      string
	BillingSubscriptionName string
}

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 BillingSubscriptionMergeRequest

type BillingSubscriptionMergeRequest struct {
	Quantity                      *int64  `json:"quantity,omitempty"`
	TargetBillingSubscriptionName *string `json:"targetBillingSubscriptionName,omitempty"`
}

type BillingSubscriptionOperationPredicate

type BillingSubscriptionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (BillingSubscriptionOperationPredicate) Matches

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

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

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

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

BillingSubscriptionsValidateMoveEligibility ...

func (BillingSubscriptionsClient) Delete

Delete ...

func (BillingSubscriptionsClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (BillingSubscriptionsClient) Get

Get ...

func (BillingSubscriptionsClient) ListByBillingAccount

ListByBillingAccount ...

func (BillingSubscriptionsClient) ListByBillingAccountComplete

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

Update ...

func (BillingSubscriptionsClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type BillingSubscriptionsMergeOperationResponse

type BillingSubscriptionsMergeOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingSubscription
}

type BillingSubscriptionsMoveOperationResponse

type BillingSubscriptionsMoveOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingSubscription
}

type BillingSubscriptionsSplitOperationResponse

type BillingSubscriptionsSplitOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingSubscription
}

type BillingSubscriptionsValidateMoveEligibilityOperationResponse

type BillingSubscriptionsValidateMoveEligibilityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ValidateMoveBillingSubscriptionEligibilityResult
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

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 ListByBillingAccountCustomPager added in v0.20240628.1153531

type ListByBillingAccountCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link

type ListByBillingAccountOperationResponse

type ListByBillingAccountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]BillingSubscription
}

type MoveBillingSubscriptionRequest

type MoveBillingSubscriptionRequest struct {
	DestinationEnrollmentAccountId *string `json:"destinationEnrollmentAccountId,omitempty"`
	DestinationInvoiceSectionId    *string `json:"destinationInvoiceSectionId,omitempty"`
}

type NextBillingCycleDetails

type NextBillingCycleDetails struct {
	BillingFrequency *string `json:"billingFrequency,omitempty"`
}

type RenewalTermDetails

type RenewalTermDetails struct {
	BillingFrequency *string `json:"billingFrequency,omitempty"`
	ProductTypeId    *string `json:"productTypeId,omitempty"`
	Quantity         *int64  `json:"quantity,omitempty"`
	SkuId            *string `json:"skuId,omitempty"`
	TermDuration     *string `json:"termDuration,omitempty"`
}

type Reseller

type Reseller struct {
	Description *string `json:"description,omitempty"`
	ResellerId  *string `json:"resellerId,omitempty"`
}

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 UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BillingSubscription
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL