Documentation ¶
Index ¶
- func PossibleValuesForProductTransferValidationErrorCode() []string
- func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
- func ValidateInvoiceSectionBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionProductID(input interface{}, key string) (warnings []string, errors []error)
- type BillingSubscriptionsTransferOperationResponse
- type BillingSubscriptionsValidateTransferOperationResponse
- type BillingsClient
- func (c BillingsClient) BillingSubscriptionsTransfer(ctx context.Context, id InvoiceSectionBillingSubscriptionId, ...) (result BillingSubscriptionsTransferOperationResponse, err error)
- func (c BillingsClient) BillingSubscriptionsTransferThenPoll(ctx context.Context, id InvoiceSectionBillingSubscriptionId, ...) error
- func (c BillingsClient) BillingSubscriptionsValidateTransfer(ctx context.Context, id InvoiceSectionBillingSubscriptionId, ...) (result BillingSubscriptionsValidateTransferOperationResponse, err error)
- func (c BillingsClient) ProductsValidateTransfer(ctx context.Context, id InvoiceSectionProductId, ...) (result ProductsValidateTransferOperationResponse, err error)
- type InvoiceSectionBillingSubscriptionId
- func NewInvoiceSectionBillingSubscriptionID(billingAccountName string, billingProfileName string, ...) InvoiceSectionBillingSubscriptionId
- func ParseInvoiceSectionBillingSubscriptionID(input string) (*InvoiceSectionBillingSubscriptionId, error)
- func ParseInvoiceSectionBillingSubscriptionIDInsensitively(input string) (*InvoiceSectionBillingSubscriptionId, error)
- type InvoiceSectionProductId
- type ProductTransferValidationErrorCode
- type ProductsValidateTransferOperationResponse
- type SubscriptionTransferValidationErrorCode
- type TransferBillingSubscriptionRequestProperties
- type TransferBillingSubscriptionResult
- type TransferBillingSubscriptionResultProperties
- type TransferProductRequestProperties
- type ValidateProductTransferEligibilityError
- type ValidateProductTransferEligibilityResult
- type ValidateSubscriptionTransferEligibilityError
- type ValidateSubscriptionTransferEligibilityResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForProductTransferValidationErrorCode ¶
func PossibleValuesForProductTransferValidationErrorCode() []string
func PossibleValuesForSubscriptionTransferValidationErrorCode ¶
func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
func ValidateInvoiceSectionBillingSubscriptionID ¶
func ValidateInvoiceSectionBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateInvoiceSectionBillingSubscriptionID checks that 'input' can be parsed as a Invoice Section Billing Subscription ID
func ValidateInvoiceSectionProductID ¶
func ValidateInvoiceSectionProductID(input interface{}, key string) (warnings []string, errors []error)
ValidateInvoiceSectionProductID checks that 'input' can be parsed as a Invoice Section Product ID
Types ¶
type BillingSubscriptionsValidateTransferOperationResponse ¶
type BillingSubscriptionsValidateTransferOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ValidateSubscriptionTransferEligibilityResult }
type BillingsClient ¶
type BillingsClient struct {
Client *resourcemanager.Client
}
func NewBillingsClientWithBaseURI ¶
func NewBillingsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingsClient, error)
func (BillingsClient) BillingSubscriptionsTransfer ¶
func (c BillingsClient) BillingSubscriptionsTransfer(ctx context.Context, id InvoiceSectionBillingSubscriptionId, input TransferBillingSubscriptionRequestProperties) (result BillingSubscriptionsTransferOperationResponse, err error)
BillingSubscriptionsTransfer ...
func (BillingsClient) BillingSubscriptionsTransferThenPoll ¶
func (c BillingsClient) BillingSubscriptionsTransferThenPoll(ctx context.Context, id InvoiceSectionBillingSubscriptionId, input TransferBillingSubscriptionRequestProperties) error
BillingSubscriptionsTransferThenPoll performs BillingSubscriptionsTransfer then polls until it's completed
func (BillingsClient) BillingSubscriptionsValidateTransfer ¶
func (c BillingsClient) BillingSubscriptionsValidateTransfer(ctx context.Context, id InvoiceSectionBillingSubscriptionId, input TransferBillingSubscriptionRequestProperties) (result BillingSubscriptionsValidateTransferOperationResponse, err error)
BillingSubscriptionsValidateTransfer ...
func (BillingsClient) ProductsValidateTransfer ¶
func (c BillingsClient) ProductsValidateTransfer(ctx context.Context, id InvoiceSectionProductId, input TransferProductRequestProperties) (result ProductsValidateTransferOperationResponse, err error)
ProductsValidateTransfer ...
type InvoiceSectionBillingSubscriptionId ¶
type InvoiceSectionBillingSubscriptionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string BillingSubscriptionName string }
InvoiceSectionBillingSubscriptionId is a struct representing the Resource ID for a Invoice Section Billing Subscription
func NewInvoiceSectionBillingSubscriptionID ¶
func NewInvoiceSectionBillingSubscriptionID(billingAccountName string, billingProfileName string, invoiceSectionName string, billingSubscriptionName string) InvoiceSectionBillingSubscriptionId
NewInvoiceSectionBillingSubscriptionID returns a new InvoiceSectionBillingSubscriptionId struct
func ParseInvoiceSectionBillingSubscriptionID ¶
func ParseInvoiceSectionBillingSubscriptionID(input string) (*InvoiceSectionBillingSubscriptionId, error)
ParseInvoiceSectionBillingSubscriptionID parses 'input' into a InvoiceSectionBillingSubscriptionId
func ParseInvoiceSectionBillingSubscriptionIDInsensitively ¶
func ParseInvoiceSectionBillingSubscriptionIDInsensitively(input string) (*InvoiceSectionBillingSubscriptionId, error)
ParseInvoiceSectionBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionBillingSubscriptionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionBillingSubscriptionId) FromParseResult ¶
func (id *InvoiceSectionBillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionBillingSubscriptionId) ID ¶
func (id InvoiceSectionBillingSubscriptionId) ID() string
ID returns the formatted Invoice Section Billing Subscription ID
func (InvoiceSectionBillingSubscriptionId) Segments ¶
func (id InvoiceSectionBillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section Billing Subscription ID
func (InvoiceSectionBillingSubscriptionId) String ¶
func (id InvoiceSectionBillingSubscriptionId) String() string
String returns a human-readable description of this Invoice Section Billing Subscription ID
type InvoiceSectionProductId ¶
type InvoiceSectionProductId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string ProductName string }
InvoiceSectionProductId is a struct representing the Resource ID for a Invoice Section Product
func NewInvoiceSectionProductID ¶
func NewInvoiceSectionProductID(billingAccountName string, billingProfileName string, invoiceSectionName string, productName string) InvoiceSectionProductId
NewInvoiceSectionProductID returns a new InvoiceSectionProductId struct
func ParseInvoiceSectionProductID ¶
func ParseInvoiceSectionProductID(input string) (*InvoiceSectionProductId, error)
ParseInvoiceSectionProductID parses 'input' into a InvoiceSectionProductId
func ParseInvoiceSectionProductIDInsensitively ¶
func ParseInvoiceSectionProductIDInsensitively(input string) (*InvoiceSectionProductId, error)
ParseInvoiceSectionProductIDInsensitively parses 'input' case-insensitively into a InvoiceSectionProductId note: this method should only be used for API response data and not user input
func (*InvoiceSectionProductId) FromParseResult ¶
func (id *InvoiceSectionProductId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionProductId) ID ¶
func (id InvoiceSectionProductId) ID() string
ID returns the formatted Invoice Section Product ID
func (InvoiceSectionProductId) Segments ¶
func (id InvoiceSectionProductId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section Product ID
func (InvoiceSectionProductId) String ¶
func (id InvoiceSectionProductId) String() string
String returns a human-readable description of this Invoice Section Product ID
type ProductTransferValidationErrorCode ¶
type ProductTransferValidationErrorCode string
const ( ProductTransferValidationErrorCodeCrossBillingAccountNotAllowed ProductTransferValidationErrorCode = "CrossBillingAccountNotAllowed" ProductTransferValidationErrorCodeDestinationBillingProfilePastDue ProductTransferValidationErrorCode = "DestinationBillingProfilePastDue" ProductTransferValidationErrorCodeInsufficientPermissionOnDestination ProductTransferValidationErrorCode = "InsufficientPermissionOnDestination" ProductTransferValidationErrorCodeInsufficientPermissionOnSource ProductTransferValidationErrorCode = "InsufficientPermissionOnSource" ProductTransferValidationErrorCodeInvalidSource ProductTransferValidationErrorCode = "InvalidSource" ProductTransferValidationErrorCodeNotAvailableForDestinationMarket ProductTransferValidationErrorCode = "NotAvailableForDestinationMarket" ProductTransferValidationErrorCodeOneTimePurchaseProductTransferNotAllowed ProductTransferValidationErrorCode = "OneTimePurchaseProductTransferNotAllowed" ProductTransferValidationErrorCodeProductNotActive ProductTransferValidationErrorCode = "ProductNotActive" ProductTransferValidationErrorCodeProductTypeNotSupported ProductTransferValidationErrorCode = "ProductTypeNotSupported" )
func (*ProductTransferValidationErrorCode) UnmarshalJSON ¶
func (s *ProductTransferValidationErrorCode) UnmarshalJSON(bytes []byte) error
type ProductsValidateTransferOperationResponse ¶
type ProductsValidateTransferOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ValidateProductTransferEligibilityResult }
type SubscriptionTransferValidationErrorCode ¶
type SubscriptionTransferValidationErrorCode string
const ( SubscriptionTransferValidationErrorCodeBillingAccountInactive SubscriptionTransferValidationErrorCode = "BillingAccountInactive" 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" SubscriptionTransferValidationErrorCodeMarketplaceNotEnabledOnDestination SubscriptionTransferValidationErrorCode = "MarketplaceNotEnabledOnDestination" SubscriptionTransferValidationErrorCodeNotAvailableForDestinationMarket SubscriptionTransferValidationErrorCode = "NotAvailableForDestinationMarket" 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 TransferBillingSubscriptionResult ¶
type TransferBillingSubscriptionResult struct {
Properties *TransferBillingSubscriptionResultProperties `json:"properties,omitempty"`
}
type TransferBillingSubscriptionResultProperties ¶
type TransferBillingSubscriptionResultProperties struct {
BillingSubscriptionName *string `json:"billingSubscriptionName,omitempty"`
}
type ValidateProductTransferEligibilityError ¶
type ValidateProductTransferEligibilityError struct { Code *ProductTransferValidationErrorCode `json:"code,omitempty"` Details *string `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type ValidateProductTransferEligibilityResult ¶
type ValidateProductTransferEligibilityResult struct { ErrorDetails *ValidateProductTransferEligibilityError `json:"errorDetails,omitempty"` IsTransferEligible *bool `json:"isTransferEligible,omitempty"` }
type ValidateSubscriptionTransferEligibilityError ¶
type ValidateSubscriptionTransferEligibilityError struct { Code *SubscriptionTransferValidationErrorCode `json:"code,omitempty"` Details *string `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type ValidateSubscriptionTransferEligibilityResult ¶
type ValidateSubscriptionTransferEligibilityResult struct { ErrorDetails *ValidateSubscriptionTransferEligibilityError `json:"errorDetails,omitempty"` IsTransferEligible *bool `json:"isTransferEligible,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_invoicesectionbillingsubscription.go
- id_invoicesectionproduct.go
- method_billingsubscriptionstransfer.go
- method_billingsubscriptionsvalidatetransfer.go
- method_productsvalidatetransfer.go
- model_transferbillingsubscriptionrequestproperties.go
- model_transferbillingsubscriptionresult.go
- model_transferbillingsubscriptionresultproperties.go
- model_transferproductrequestproperties.go
- model_validateproducttransfereligibilityerror.go
- model_validateproducttransfereligibilityresult.go
- model_validatesubscriptiontransfereligibilityerror.go
- model_validatesubscriptiontransfereligibilityresult.go
- version.go