Documentation ¶
Index ¶
- func PossibleValuesForAutoRenew() []string
- func PossibleValuesForBillingSubscriptionOperationStatus() []string
- func PossibleValuesForBillingSubscriptionStatus() []string
- func PossibleValuesForCancellation() []string
- func PossibleValuesForCancellationReason() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSubscriptionEnrollmentAccountStatus() []string
- func PossibleValuesForSubscriptionStatusReason() []string
- func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
- func ValidateBillingAccountBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingSubscriptionAliasID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateEnrollmentAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- type AliasesCreateOrUpdateOperationResponse
- type AliasesGetOperationResponse
- type AliasesListByBillingAccountCompleteResult
- type AliasesListByBillingAccountCustomPager
- type AliasesListByBillingAccountOperationOptions
- type AliasesListByBillingAccountOperationResponse
- type Amount
- type AutoRenew
- type Beneficiary
- type BillingAccountBillingSubscriptionId
- func NewBillingAccountBillingSubscriptionID(billingAccountName string, billingSubscriptionName string) BillingAccountBillingSubscriptionId
- func ParseBillingAccountBillingSubscriptionID(input string) (*BillingAccountBillingSubscriptionId, error)
- func ParseBillingAccountBillingSubscriptionIDInsensitively(input string) (*BillingAccountBillingSubscriptionId, error)
- type BillingAccountId
- type BillingProfileBillingSubscriptionId
- func NewBillingProfileBillingSubscriptionID(billingAccountName string, billingProfileName string, ...) BillingProfileBillingSubscriptionId
- func ParseBillingProfileBillingSubscriptionID(input string) (*BillingProfileBillingSubscriptionId, error)
- func ParseBillingProfileBillingSubscriptionIDInsensitively(input string) (*BillingProfileBillingSubscriptionId, error)
- type BillingProfileCustomerId
- func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
- func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
- func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
- type BillingProfileId
- type BillingSubscription
- type BillingSubscriptionAlias
- type BillingSubscriptionAliasId
- func NewBillingSubscriptionAliasID(billingAccountName string, billingSubscriptionAliasName string) BillingSubscriptionAliasId
- func ParseBillingSubscriptionAliasID(input string) (*BillingSubscriptionAliasId, error)
- func ParseBillingSubscriptionAliasIDInsensitively(input string) (*BillingSubscriptionAliasId, error)
- type BillingSubscriptionAliasOperationPredicate
- type BillingSubscriptionAliasProperties
- func (o *BillingSubscriptionAliasProperties) GetPurchaseDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionAliasProperties) GetTermEndDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionAliasProperties) GetTermStartDateAsTime() (*time.Time, error)
- func (o *BillingSubscriptionAliasProperties) SetPurchaseDateAsTime(input time.Time)
- func (o *BillingSubscriptionAliasProperties) SetTermEndDateAsTime(input time.Time)
- func (o *BillingSubscriptionAliasProperties) SetTermStartDateAsTime(input time.Time)
- type BillingSubscriptionClient
- func (c BillingSubscriptionClient) AliasesCreateOrUpdate(ctx context.Context, id BillingSubscriptionAliasId, ...) (result AliasesCreateOrUpdateOperationResponse, err error)
- func (c BillingSubscriptionClient) AliasesCreateOrUpdateThenPoll(ctx context.Context, id BillingSubscriptionAliasId, ...) error
- func (c BillingSubscriptionClient) AliasesGet(ctx context.Context, id BillingSubscriptionAliasId) (result AliasesGetOperationResponse, err error)
- func (c BillingSubscriptionClient) AliasesListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result AliasesListByBillingAccountOperationResponse, err error)
- func (c BillingSubscriptionClient) AliasesListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (AliasesListByBillingAccountCompleteResult, error)
- func (c BillingSubscriptionClient) AliasesListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result AliasesListByBillingAccountCompleteResult, err error)
- func (c BillingSubscriptionClient) Cancel(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result CancelOperationResponse, err error)
- func (c BillingSubscriptionClient) CancelThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) error
- func (c BillingSubscriptionClient) Delete(ctx context.Context, id BillingAccountBillingSubscriptionId) (result DeleteOperationResponse, err error)
- func (c BillingSubscriptionClient) DeleteThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId) error
- func (c BillingSubscriptionClient) Get(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result GetOperationResponse, err error)
- func (c BillingSubscriptionClient) GetByBillingProfile(ctx context.Context, id BillingProfileBillingSubscriptionId, ...) (result GetByBillingProfileOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c BillingSubscriptionClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c BillingSubscriptionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error)
- func (c BillingSubscriptionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c BillingSubscriptionClient) ListByCustomer(ctx context.Context, id BillingProfileCustomerId, ...) (result ListByCustomerOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByCustomerAtBillingAccount(ctx context.Context, id CustomerId, ...) (result ListByCustomerAtBillingAccountOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByCustomerAtBillingAccountComplete(ctx context.Context, id CustomerId, ...) (ListByCustomerAtBillingAccountCompleteResult, error)
- func (c BillingSubscriptionClient) ListByCustomerAtBillingAccountCompleteMatchingPredicate(ctx context.Context, id CustomerId, ...) (result ListByCustomerAtBillingAccountCompleteResult, err error)
- func (c BillingSubscriptionClient) ListByCustomerComplete(ctx context.Context, id BillingProfileCustomerId, ...) (ListByCustomerCompleteResult, error)
- func (c BillingSubscriptionClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, ...) (result ListByCustomerCompleteResult, err error)
- func (c BillingSubscriptionClient) ListByEnrollmentAccount(ctx context.Context, id EnrollmentAccountId, ...) (result ListByEnrollmentAccountOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByEnrollmentAccountComplete(ctx context.Context, id EnrollmentAccountId, ...) (ListByEnrollmentAccountCompleteResult, error)
- func (c BillingSubscriptionClient) ListByEnrollmentAccountCompleteMatchingPredicate(ctx context.Context, id EnrollmentAccountId, ...) (result ListByEnrollmentAccountCompleteResult, err error)
- func (c BillingSubscriptionClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionOperationResponse, err error)
- func (c BillingSubscriptionClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, ...) (ListByInvoiceSectionCompleteResult, error)
- func (c BillingSubscriptionClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error)
- func (c BillingSubscriptionClient) Merge(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result MergeOperationResponse, err error)
- func (c BillingSubscriptionClient) MergeThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) error
- func (c BillingSubscriptionClient) Move(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result MoveOperationResponse, err error)
- func (c BillingSubscriptionClient) MoveThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) error
- func (c BillingSubscriptionClient) Split(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result SplitOperationResponse, err error)
- func (c BillingSubscriptionClient) SplitThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) error
- func (c BillingSubscriptionClient) Update(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result UpdateOperationResponse, err error)
- func (c BillingSubscriptionClient) UpdateThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) error
- func (c BillingSubscriptionClient) ValidateMoveEligibility(ctx context.Context, id BillingAccountBillingSubscriptionId, ...) (result ValidateMoveEligibilityOperationResponse, err error)
- type BillingSubscriptionMergeRequest
- type BillingSubscriptionOperationPredicate
- type BillingSubscriptionOperationStatus
- type BillingSubscriptionPatch
- 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 BillingSubscriptionStatusDetails
- type CancelOperationResponse
- type CancelSubscriptionRequest
- type Cancellation
- type CancellationReason
- type CustomerId
- type DeleteOperationResponse
- type EnrollmentAccountId
- type EnrollmentAccountSubscriptionDetails
- type GetByBillingProfileOperationOptions
- type GetByBillingProfileOperationResponse
- type GetOperationOptions
- type GetOperationResponse
- type InvoiceSectionId
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileCustomPager
- type ListByBillingProfileOperationOptions
- type ListByBillingProfileOperationResponse
- type ListByCustomerAtBillingAccountCompleteResult
- type ListByCustomerAtBillingAccountCustomPager
- type ListByCustomerAtBillingAccountOperationOptions
- type ListByCustomerAtBillingAccountOperationResponse
- type ListByCustomerCompleteResult
- type ListByCustomerCustomPager
- type ListByCustomerOperationOptions
- type ListByCustomerOperationResponse
- type ListByEnrollmentAccountCompleteResult
- type ListByEnrollmentAccountCustomPager
- type ListByEnrollmentAccountOperationOptions
- type ListByEnrollmentAccountOperationResponse
- type ListByInvoiceSectionCompleteResult
- type ListByInvoiceSectionCustomPager
- type ListByInvoiceSectionOperationOptions
- type ListByInvoiceSectionOperationResponse
- type MergeOperationResponse
- type MoveBillingSubscriptionEligibilityResult
- type MoveBillingSubscriptionErrorDetails
- type MoveBillingSubscriptionRequest
- type MoveOperationResponse
- type NextBillingCycleDetails
- type ProvisioningState
- type RenewalTermDetails
- type Reseller
- type SplitOperationResponse
- type SubscriptionEnrollmentAccountStatus
- type SubscriptionStatusReason
- type SubscriptionTransferValidationErrorCode
- type SystemOverrides
- type UpdateOperationResponse
- type ValidateMoveEligibilityOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutoRenew ¶
func PossibleValuesForAutoRenew() []string
func PossibleValuesForBillingSubscriptionOperationStatus ¶
func PossibleValuesForBillingSubscriptionOperationStatus() []string
func PossibleValuesForBillingSubscriptionStatus ¶
func PossibleValuesForBillingSubscriptionStatus() []string
func PossibleValuesForCancellation ¶
func PossibleValuesForCancellation() []string
func PossibleValuesForCancellationReason ¶
func PossibleValuesForCancellationReason() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSubscriptionEnrollmentAccountStatus ¶
func PossibleValuesForSubscriptionEnrollmentAccountStatus() []string
func PossibleValuesForSubscriptionStatusReason ¶
func PossibleValuesForSubscriptionStatusReason() []string
func PossibleValuesForSubscriptionTransferValidationErrorCode ¶
func PossibleValuesForSubscriptionTransferValidationErrorCode() []string
func ValidateBillingAccountBillingSubscriptionID ¶
func ValidateBillingAccountBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingAccountBillingSubscriptionID checks that 'input' can be parsed as a Billing Account Billing Subscription ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileBillingSubscriptionID ¶
func ValidateBillingProfileBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileBillingSubscriptionID checks that 'input' can be parsed as a Billing Profile Billing Subscription ID
func ValidateBillingProfileCustomerID ¶
func ValidateBillingProfileCustomerID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingProfileCustomerID checks that 'input' can be parsed as a Billing Profile Customer ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateBillingSubscriptionAliasID ¶
func ValidateBillingSubscriptionAliasID(input interface{}, key string) (warnings []string, errors []error)
ValidateBillingSubscriptionAliasID checks that 'input' can be parsed as a Billing Subscription Alias ID
func ValidateCustomerID ¶
ValidateCustomerID checks that 'input' can be parsed as a Customer ID
func ValidateEnrollmentAccountID ¶
ValidateEnrollmentAccountID checks that 'input' can be parsed as a Enrollment Account ID
func ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
Types ¶
type AliasesGetOperationResponse ¶
type AliasesGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscriptionAlias }
type AliasesListByBillingAccountCompleteResult ¶
type AliasesListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscriptionAlias }
type AliasesListByBillingAccountCustomPager ¶
func (*AliasesListByBillingAccountCustomPager) NextPageLink ¶
func (p *AliasesListByBillingAccountCustomPager) NextPageLink() *odata.Link
type AliasesListByBillingAccountOperationOptions ¶
type AliasesListByBillingAccountOperationOptions struct { Count *bool Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultAliasesListByBillingAccountOperationOptions ¶
func DefaultAliasesListByBillingAccountOperationOptions() AliasesListByBillingAccountOperationOptions
func (AliasesListByBillingAccountOperationOptions) ToHeaders ¶
func (o AliasesListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (AliasesListByBillingAccountOperationOptions) ToOData ¶
func (o AliasesListByBillingAccountOperationOptions) ToOData() *odata.Query
func (AliasesListByBillingAccountOperationOptions) ToQuery ¶
func (o AliasesListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type AliasesListByBillingAccountOperationResponse ¶
type AliasesListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscriptionAlias }
type Beneficiary ¶
type BillingAccountBillingSubscriptionId ¶
type BillingAccountBillingSubscriptionId struct { BillingAccountName string BillingSubscriptionName string }
BillingAccountBillingSubscriptionId is a struct representing the Resource ID for a Billing Account Billing Subscription
func NewBillingAccountBillingSubscriptionID ¶
func NewBillingAccountBillingSubscriptionID(billingAccountName string, billingSubscriptionName string) BillingAccountBillingSubscriptionId
NewBillingAccountBillingSubscriptionID returns a new BillingAccountBillingSubscriptionId struct
func ParseBillingAccountBillingSubscriptionID ¶
func ParseBillingAccountBillingSubscriptionID(input string) (*BillingAccountBillingSubscriptionId, error)
ParseBillingAccountBillingSubscriptionID parses 'input' into a BillingAccountBillingSubscriptionId
func ParseBillingAccountBillingSubscriptionIDInsensitively ¶
func ParseBillingAccountBillingSubscriptionIDInsensitively(input string) (*BillingAccountBillingSubscriptionId, error)
ParseBillingAccountBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a BillingAccountBillingSubscriptionId note: this method should only be used for API response data and not user input
func (*BillingAccountBillingSubscriptionId) FromParseResult ¶
func (id *BillingAccountBillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountBillingSubscriptionId) ID ¶
func (id BillingAccountBillingSubscriptionId) ID() string
ID returns the formatted Billing Account Billing Subscription ID
func (BillingAccountBillingSubscriptionId) Segments ¶
func (id BillingAccountBillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account Billing Subscription ID
func (BillingAccountBillingSubscriptionId) String ¶
func (id BillingAccountBillingSubscriptionId) String() string
String returns a human-readable description of this Billing Account Billing Subscription ID
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 BillingProfileBillingSubscriptionId ¶
type BillingProfileBillingSubscriptionId struct { BillingAccountName string BillingProfileName string BillingSubscriptionName string }
BillingProfileBillingSubscriptionId is a struct representing the Resource ID for a Billing Profile Billing Subscription
func NewBillingProfileBillingSubscriptionID ¶
func NewBillingProfileBillingSubscriptionID(billingAccountName string, billingProfileName string, billingSubscriptionName string) BillingProfileBillingSubscriptionId
NewBillingProfileBillingSubscriptionID returns a new BillingProfileBillingSubscriptionId struct
func ParseBillingProfileBillingSubscriptionID ¶
func ParseBillingProfileBillingSubscriptionID(input string) (*BillingProfileBillingSubscriptionId, error)
ParseBillingProfileBillingSubscriptionID parses 'input' into a BillingProfileBillingSubscriptionId
func ParseBillingProfileBillingSubscriptionIDInsensitively ¶
func ParseBillingProfileBillingSubscriptionIDInsensitively(input string) (*BillingProfileBillingSubscriptionId, error)
ParseBillingProfileBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a BillingProfileBillingSubscriptionId note: this method should only be used for API response data and not user input
func (*BillingProfileBillingSubscriptionId) FromParseResult ¶
func (id *BillingProfileBillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileBillingSubscriptionId) ID ¶
func (id BillingProfileBillingSubscriptionId) ID() string
ID returns the formatted Billing Profile Billing Subscription ID
func (BillingProfileBillingSubscriptionId) Segments ¶
func (id BillingProfileBillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Billing Subscription ID
func (BillingProfileBillingSubscriptionId) String ¶
func (id BillingProfileBillingSubscriptionId) String() string
String returns a human-readable description of this Billing Profile Billing Subscription ID
type BillingProfileCustomerId ¶
type BillingProfileCustomerId struct { BillingAccountName string BillingProfileName string CustomerName string }
BillingProfileCustomerId is a struct representing the Resource ID for a Billing Profile Customer
func NewBillingProfileCustomerID ¶
func NewBillingProfileCustomerID(billingAccountName string, billingProfileName string, customerName string) BillingProfileCustomerId
NewBillingProfileCustomerID returns a new BillingProfileCustomerId struct
func ParseBillingProfileCustomerID ¶
func ParseBillingProfileCustomerID(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerID parses 'input' into a BillingProfileCustomerId
func ParseBillingProfileCustomerIDInsensitively ¶
func ParseBillingProfileCustomerIDInsensitively(input string) (*BillingProfileCustomerId, error)
ParseBillingProfileCustomerIDInsensitively parses 'input' case-insensitively into a BillingProfileCustomerId note: this method should only be used for API response data and not user input
func (*BillingProfileCustomerId) FromParseResult ¶
func (id *BillingProfileCustomerId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileCustomerId) ID ¶
func (id BillingProfileCustomerId) ID() string
ID returns the formatted Billing Profile Customer ID
func (BillingProfileCustomerId) Segments ¶
func (id BillingProfileCustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile Customer ID
func (BillingProfileCustomerId) String ¶
func (id BillingProfileCustomerId) String() string
String returns a human-readable description of this Billing Profile Customer ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (*BillingProfileId) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type BillingSubscription ¶
type BillingSubscription struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingSubscriptionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingSubscriptionAlias ¶
type BillingSubscriptionAlias struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingSubscriptionAliasProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingSubscriptionAliasId ¶
type BillingSubscriptionAliasId struct { BillingAccountName string BillingSubscriptionAliasName string }
BillingSubscriptionAliasId is a struct representing the Resource ID for a Billing Subscription Alias
func NewBillingSubscriptionAliasID ¶
func NewBillingSubscriptionAliasID(billingAccountName string, billingSubscriptionAliasName string) BillingSubscriptionAliasId
NewBillingSubscriptionAliasID returns a new BillingSubscriptionAliasId struct
func ParseBillingSubscriptionAliasID ¶
func ParseBillingSubscriptionAliasID(input string) (*BillingSubscriptionAliasId, error)
ParseBillingSubscriptionAliasID parses 'input' into a BillingSubscriptionAliasId
func ParseBillingSubscriptionAliasIDInsensitively ¶
func ParseBillingSubscriptionAliasIDInsensitively(input string) (*BillingSubscriptionAliasId, error)
ParseBillingSubscriptionAliasIDInsensitively parses 'input' case-insensitively into a BillingSubscriptionAliasId note: this method should only be used for API response data and not user input
func (*BillingSubscriptionAliasId) FromParseResult ¶
func (id *BillingSubscriptionAliasId) FromParseResult(input resourceids.ParseResult) error
func (BillingSubscriptionAliasId) ID ¶
func (id BillingSubscriptionAliasId) ID() string
ID returns the formatted Billing Subscription Alias ID
func (BillingSubscriptionAliasId) Segments ¶
func (id BillingSubscriptionAliasId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Subscription Alias ID
func (BillingSubscriptionAliasId) String ¶
func (id BillingSubscriptionAliasId) String() string
String returns a human-readable description of this Billing Subscription Alias ID
type BillingSubscriptionAliasOperationPredicate ¶
func (BillingSubscriptionAliasOperationPredicate) Matches ¶
func (p BillingSubscriptionAliasOperationPredicate) Matches(input BillingSubscriptionAlias) bool
type BillingSubscriptionAliasProperties ¶
type BillingSubscriptionAliasProperties struct { AutoRenew *AutoRenew `json:"autoRenew,omitempty"` Beneficiary *Beneficiary `json:"beneficiary,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"` BillingSubscriptionId *string `json:"billingSubscriptionId,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"` OperationStatus *BillingSubscriptionOperationStatus `json:"operationStatus,omitempty"` ProductCategory *string `json:"productCategory,omitempty"` ProductType *string `json:"productType,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ProvisioningTenantId *string `json:"provisioningTenantId,omitempty"` PurchaseDate *string `json:"purchaseDate,omitempty"` Quantity *int64 `json:"quantity,omitempty"` RenewalTermDetails *RenewalTermDetails `json:"renewalTermDetails,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` SkuDescription *string `json:"skuDescription,omitempty"` SkuId *string `json:"skuId,omitempty"` Status *BillingSubscriptionStatus `json:"status,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SuspensionReasonDetails *[]BillingSubscriptionStatusDetails `json:"suspensionReasonDetails,omitempty"` SuspensionReasons *[]string `json:"suspensionReasons,omitempty"` SystemOverrides *SystemOverrides `json:"systemOverrides,omitempty"` TermDuration *string `json:"termDuration,omitempty"` TermEndDate *string `json:"termEndDate,omitempty"` TermStartDate *string `json:"termStartDate,omitempty"` }
func (*BillingSubscriptionAliasProperties) GetPurchaseDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) GetPurchaseDateAsTime() (*time.Time, error)
func (*BillingSubscriptionAliasProperties) GetTermEndDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) GetTermEndDateAsTime() (*time.Time, error)
func (*BillingSubscriptionAliasProperties) GetTermStartDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) GetTermStartDateAsTime() (*time.Time, error)
func (*BillingSubscriptionAliasProperties) SetPurchaseDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) SetPurchaseDateAsTime(input time.Time)
func (*BillingSubscriptionAliasProperties) SetTermEndDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) SetTermEndDateAsTime(input time.Time)
func (*BillingSubscriptionAliasProperties) SetTermStartDateAsTime ¶
func (o *BillingSubscriptionAliasProperties) SetTermStartDateAsTime(input time.Time)
type BillingSubscriptionClient ¶
type BillingSubscriptionClient struct {
Client *resourcemanager.Client
}
func NewBillingSubscriptionClientWithBaseURI ¶
func NewBillingSubscriptionClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingSubscriptionClient, error)
func (BillingSubscriptionClient) AliasesCreateOrUpdate ¶
func (c BillingSubscriptionClient) AliasesCreateOrUpdate(ctx context.Context, id BillingSubscriptionAliasId, input BillingSubscriptionAlias) (result AliasesCreateOrUpdateOperationResponse, err error)
AliasesCreateOrUpdate ...
func (BillingSubscriptionClient) AliasesCreateOrUpdateThenPoll ¶
func (c BillingSubscriptionClient) AliasesCreateOrUpdateThenPoll(ctx context.Context, id BillingSubscriptionAliasId, input BillingSubscriptionAlias) error
AliasesCreateOrUpdateThenPoll performs AliasesCreateOrUpdate then polls until it's completed
func (BillingSubscriptionClient) AliasesGet ¶
func (c BillingSubscriptionClient) AliasesGet(ctx context.Context, id BillingSubscriptionAliasId) (result AliasesGetOperationResponse, err error)
AliasesGet ...
func (BillingSubscriptionClient) AliasesListByBillingAccount ¶
func (c BillingSubscriptionClient) AliasesListByBillingAccount(ctx context.Context, id BillingAccountId, options AliasesListByBillingAccountOperationOptions) (result AliasesListByBillingAccountOperationResponse, err error)
AliasesListByBillingAccount ...
func (BillingSubscriptionClient) AliasesListByBillingAccountComplete ¶
func (c BillingSubscriptionClient) AliasesListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options AliasesListByBillingAccountOperationOptions) (AliasesListByBillingAccountCompleteResult, error)
AliasesListByBillingAccountComplete retrieves all the results into a single object
func (BillingSubscriptionClient) AliasesListByBillingAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) AliasesListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options AliasesListByBillingAccountOperationOptions, predicate BillingSubscriptionAliasOperationPredicate) (result AliasesListByBillingAccountCompleteResult, err error)
AliasesListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) Cancel ¶
func (c BillingSubscriptionClient) Cancel(ctx context.Context, id BillingAccountBillingSubscriptionId, input CancelSubscriptionRequest) (result CancelOperationResponse, err error)
Cancel ...
func (BillingSubscriptionClient) CancelThenPoll ¶
func (c BillingSubscriptionClient) CancelThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, input CancelSubscriptionRequest) error
CancelThenPoll performs Cancel then polls until it's completed
func (BillingSubscriptionClient) Delete ¶
func (c BillingSubscriptionClient) Delete(ctx context.Context, id BillingAccountBillingSubscriptionId) (result DeleteOperationResponse, err error)
Delete ...
func (BillingSubscriptionClient) DeleteThenPoll ¶
func (c BillingSubscriptionClient) DeleteThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId) error
DeleteThenPoll performs Delete then polls until it's completed
func (BillingSubscriptionClient) Get ¶
func (c BillingSubscriptionClient) Get(ctx context.Context, id BillingAccountBillingSubscriptionId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (BillingSubscriptionClient) GetByBillingProfile ¶
func (c BillingSubscriptionClient) GetByBillingProfile(ctx context.Context, id BillingProfileBillingSubscriptionId, options GetByBillingProfileOperationOptions) (result GetByBillingProfileOperationResponse, err error)
GetByBillingProfile ...
func (BillingSubscriptionClient) ListByBillingAccount ¶
func (c BillingSubscriptionClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (BillingSubscriptionClient) ListByBillingAccountComplete ¶
func (c BillingSubscriptionClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) ListByBillingProfile ¶
func (c BillingSubscriptionClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (BillingSubscriptionClient) ListByBillingProfileComplete ¶
func (c BillingSubscriptionClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByBillingProfileCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) ListByCustomer ¶
func (c BillingSubscriptionClient) ListByCustomer(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions) (result ListByCustomerOperationResponse, err error)
ListByCustomer ...
func (BillingSubscriptionClient) ListByCustomerAtBillingAccount ¶
func (c BillingSubscriptionClient) ListByCustomerAtBillingAccount(ctx context.Context, id CustomerId, options ListByCustomerAtBillingAccountOperationOptions) (result ListByCustomerAtBillingAccountOperationResponse, err error)
ListByCustomerAtBillingAccount ...
func (BillingSubscriptionClient) ListByCustomerAtBillingAccountComplete ¶
func (c BillingSubscriptionClient) ListByCustomerAtBillingAccountComplete(ctx context.Context, id CustomerId, options ListByCustomerAtBillingAccountOperationOptions) (ListByCustomerAtBillingAccountCompleteResult, error)
ListByCustomerAtBillingAccountComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByCustomerAtBillingAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByCustomerAtBillingAccountCompleteMatchingPredicate(ctx context.Context, id CustomerId, options ListByCustomerAtBillingAccountOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByCustomerAtBillingAccountCompleteResult, err error)
ListByCustomerAtBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) ListByCustomerComplete ¶
func (c BillingSubscriptionClient) ListByCustomerComplete(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions) (ListByCustomerCompleteResult, error)
ListByCustomerComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByCustomerCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id BillingProfileCustomerId, options ListByCustomerOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByCustomerCompleteResult, err error)
ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) ListByEnrollmentAccount ¶
func (c BillingSubscriptionClient) ListByEnrollmentAccount(ctx context.Context, id EnrollmentAccountId, options ListByEnrollmentAccountOperationOptions) (result ListByEnrollmentAccountOperationResponse, err error)
ListByEnrollmentAccount ...
func (BillingSubscriptionClient) ListByEnrollmentAccountComplete ¶
func (c BillingSubscriptionClient) ListByEnrollmentAccountComplete(ctx context.Context, id EnrollmentAccountId, options ListByEnrollmentAccountOperationOptions) (ListByEnrollmentAccountCompleteResult, error)
ListByEnrollmentAccountComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByEnrollmentAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByEnrollmentAccountCompleteMatchingPredicate(ctx context.Context, id EnrollmentAccountId, options ListByEnrollmentAccountOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByEnrollmentAccountCompleteResult, err error)
ListByEnrollmentAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) ListByInvoiceSection ¶
func (c BillingSubscriptionClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (result ListByInvoiceSectionOperationResponse, err error)
ListByInvoiceSection ...
func (BillingSubscriptionClient) ListByInvoiceSectionComplete ¶
func (c BillingSubscriptionClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions) (ListByInvoiceSectionCompleteResult, error)
ListByInvoiceSectionComplete retrieves all the results into a single object
func (BillingSubscriptionClient) ListByInvoiceSectionCompleteMatchingPredicate ¶
func (c BillingSubscriptionClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, options ListByInvoiceSectionOperationOptions, predicate BillingSubscriptionOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)
ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionClient) Merge ¶
func (c BillingSubscriptionClient) Merge(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionMergeRequest) (result MergeOperationResponse, err error)
Merge ...
func (BillingSubscriptionClient) MergeThenPoll ¶
func (c BillingSubscriptionClient) MergeThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionMergeRequest) error
MergeThenPoll performs Merge then polls until it's completed
func (BillingSubscriptionClient) Move ¶
func (c BillingSubscriptionClient) Move(ctx context.Context, id BillingAccountBillingSubscriptionId, input MoveBillingSubscriptionRequest) (result MoveOperationResponse, err error)
Move ...
func (BillingSubscriptionClient) MoveThenPoll ¶
func (c BillingSubscriptionClient) MoveThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, input MoveBillingSubscriptionRequest) error
MoveThenPoll performs Move then polls until it's completed
func (BillingSubscriptionClient) Split ¶
func (c BillingSubscriptionClient) Split(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionSplitRequest) (result SplitOperationResponse, err error)
Split ...
func (BillingSubscriptionClient) SplitThenPoll ¶
func (c BillingSubscriptionClient) SplitThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionSplitRequest) error
SplitThenPoll performs Split then polls until it's completed
func (BillingSubscriptionClient) Update ¶
func (c BillingSubscriptionClient) Update(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionPatch) (result UpdateOperationResponse, err error)
Update ...
func (BillingSubscriptionClient) UpdateThenPoll ¶
func (c BillingSubscriptionClient) UpdateThenPoll(ctx context.Context, id BillingAccountBillingSubscriptionId, input BillingSubscriptionPatch) error
UpdateThenPoll performs Update then polls until it's completed
func (BillingSubscriptionClient) ValidateMoveEligibility ¶
func (c BillingSubscriptionClient) ValidateMoveEligibility(ctx context.Context, id BillingAccountBillingSubscriptionId, input MoveBillingSubscriptionRequest) (result ValidateMoveEligibilityOperationResponse, err error)
ValidateMoveEligibility ...
type BillingSubscriptionOperationPredicate ¶
func (BillingSubscriptionOperationPredicate) Matches ¶
func (p BillingSubscriptionOperationPredicate) Matches(input BillingSubscription) bool
type BillingSubscriptionOperationStatus ¶
type BillingSubscriptionOperationStatus string
const ( BillingSubscriptionOperationStatusLockedForUpdate BillingSubscriptionOperationStatus = "LockedForUpdate" BillingSubscriptionOperationStatusNone BillingSubscriptionOperationStatus = "None" BillingSubscriptionOperationStatusOther BillingSubscriptionOperationStatus = "Other" )
func (*BillingSubscriptionOperationStatus) UnmarshalJSON ¶
func (s *BillingSubscriptionOperationStatus) UnmarshalJSON(bytes []byte) error
type BillingSubscriptionPatch ¶
type BillingSubscriptionPatch struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingSubscriptionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type BillingSubscriptionProperties ¶
type BillingSubscriptionProperties struct { AutoRenew *AutoRenew `json:"autoRenew,omitempty"` Beneficiary *Beneficiary `json:"beneficiary,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"` OperationStatus *BillingSubscriptionOperationStatus `json:"operationStatus,omitempty"` ProductCategory *string `json:"productCategory,omitempty"` ProductType *string `json:"productType,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ProvisioningTenantId *string `json:"provisioningTenantId,omitempty"` PurchaseDate *string `json:"purchaseDate,omitempty"` Quantity *int64 `json:"quantity,omitempty"` RenewalTermDetails *RenewalTermDetails `json:"renewalTermDetails,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` ResourceUri *string `json:"resourceUri,omitempty"` SkuDescription *string `json:"skuDescription,omitempty"` SkuId *string `json:"skuId,omitempty"` Status *BillingSubscriptionStatus `json:"status,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SuspensionReasonDetails *[]BillingSubscriptionStatusDetails `json:"suspensionReasonDetails,omitempty"` SuspensionReasons *[]string `json:"suspensionReasons,omitempty"` SystemOverrides *SystemOverrides `json:"systemOverrides,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" BillingSubscriptionStatusFailed BillingSubscriptionStatus = "Failed" BillingSubscriptionStatusOther BillingSubscriptionStatus = "Other" BillingSubscriptionStatusSuspended BillingSubscriptionStatus = "Suspended" BillingSubscriptionStatusUnknown BillingSubscriptionStatus = "Unknown" BillingSubscriptionStatusWarned BillingSubscriptionStatus = "Warned" )
func (*BillingSubscriptionStatus) UnmarshalJSON ¶
func (s *BillingSubscriptionStatus) UnmarshalJSON(bytes []byte) error
type BillingSubscriptionStatusDetails ¶
type BillingSubscriptionStatusDetails struct { EffectiveDate *string `json:"effectiveDate,omitempty"` Reason *SubscriptionStatusReason `json:"reason,omitempty"` }
func (*BillingSubscriptionStatusDetails) GetEffectiveDateAsTime ¶
func (o *BillingSubscriptionStatusDetails) GetEffectiveDateAsTime() (*time.Time, error)
func (*BillingSubscriptionStatusDetails) SetEffectiveDateAsTime ¶
func (o *BillingSubscriptionStatusDetails) SetEffectiveDateAsTime(input time.Time)
type CancelOperationResponse ¶
type CancelSubscriptionRequest ¶
type CancelSubscriptionRequest struct { CancellationReason CancellationReason `json:"cancellationReason"` CustomerId *string `json:"customerId,omitempty"` }
type Cancellation ¶
type Cancellation string
const ( CancellationAllowed Cancellation = "Allowed" CancellationNotAllowed Cancellation = "NotAllowed" )
func (*Cancellation) UnmarshalJSON ¶
func (s *Cancellation) UnmarshalJSON(bytes []byte) error
type CancellationReason ¶
type CancellationReason string
const ( CancellationReasonCompromise CancellationReason = "Compromise" CancellationReasonDispute CancellationReason = "Dispute" CancellationReasonOther CancellationReason = "Other" )
func (*CancellationReason) UnmarshalJSON ¶
func (s *CancellationReason) UnmarshalJSON(bytes []byte) error
type CustomerId ¶
CustomerId is a struct representing the Resource ID for a Customer
func NewCustomerID ¶
func NewCustomerID(billingAccountName string, customerName string) CustomerId
NewCustomerID returns a new CustomerId struct
func ParseCustomerID ¶
func ParseCustomerID(input string) (*CustomerId, error)
ParseCustomerID parses 'input' into a CustomerId
func ParseCustomerIDInsensitively ¶
func ParseCustomerIDInsensitively(input string) (*CustomerId, error)
ParseCustomerIDInsensitively parses 'input' case-insensitively into a CustomerId note: this method should only be used for API response data and not user input
func (*CustomerId) FromParseResult ¶
func (id *CustomerId) FromParseResult(input resourceids.ParseResult) error
func (CustomerId) Segments ¶
func (id CustomerId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Customer ID
func (CustomerId) String ¶
func (id CustomerId) String() string
String returns a human-readable description of this Customer ID
type DeleteOperationResponse ¶
type EnrollmentAccountId ¶
EnrollmentAccountId is a struct representing the Resource ID for a Enrollment Account
func NewEnrollmentAccountID ¶
func NewEnrollmentAccountID(billingAccountName string, enrollmentAccountName string) EnrollmentAccountId
NewEnrollmentAccountID returns a new EnrollmentAccountId struct
func ParseEnrollmentAccountID ¶
func ParseEnrollmentAccountID(input string) (*EnrollmentAccountId, error)
ParseEnrollmentAccountID parses 'input' into a EnrollmentAccountId
func ParseEnrollmentAccountIDInsensitively ¶
func ParseEnrollmentAccountIDInsensitively(input string) (*EnrollmentAccountId, error)
ParseEnrollmentAccountIDInsensitively parses 'input' case-insensitively into a EnrollmentAccountId note: this method should only be used for API response data and not user input
func (*EnrollmentAccountId) FromParseResult ¶
func (id *EnrollmentAccountId) FromParseResult(input resourceids.ParseResult) error
func (EnrollmentAccountId) ID ¶
func (id EnrollmentAccountId) ID() string
ID returns the formatted Enrollment Account ID
func (EnrollmentAccountId) Segments ¶
func (id EnrollmentAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Enrollment Account ID
func (EnrollmentAccountId) String ¶
func (id EnrollmentAccountId) String() string
String returns a human-readable description of this Enrollment Account ID
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 GetByBillingProfileOperationOptions ¶
type GetByBillingProfileOperationOptions struct {
Expand *string
}
func DefaultGetByBillingProfileOperationOptions ¶
func DefaultGetByBillingProfileOperationOptions() GetByBillingProfileOperationOptions
func (GetByBillingProfileOperationOptions) ToHeaders ¶
func (o GetByBillingProfileOperationOptions) ToHeaders() *client.Headers
func (GetByBillingProfileOperationOptions) ToOData ¶
func (o GetByBillingProfileOperationOptions) ToOData() *odata.Query
func (GetByBillingProfileOperationOptions) ToQuery ¶
func (o GetByBillingProfileOperationOptions) ToQuery() *client.QueryParams
type GetByBillingProfileOperationResponse ¶
type GetByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscription }
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscription }
type InvoiceSectionId ¶
type InvoiceSectionId struct { BillingAccountName string BillingProfileName string InvoiceSectionName string }
InvoiceSectionId is a struct representing the Resource ID for a Invoice Section
func NewInvoiceSectionID ¶
func NewInvoiceSectionID(billingAccountName string, billingProfileName string, invoiceSectionName string) InvoiceSectionId
NewInvoiceSectionID returns a new InvoiceSectionId struct
func ParseInvoiceSectionID ¶
func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionID parses 'input' into a InvoiceSectionId
func ParseInvoiceSectionIDInsensitively ¶
func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error)
ParseInvoiceSectionIDInsensitively parses 'input' case-insensitively into a InvoiceSectionId note: this method should only be used for API response data and not user input
func (*InvoiceSectionId) FromParseResult ¶
func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error
func (InvoiceSectionId) ID ¶
func (id InvoiceSectionId) ID() string
ID returns the formatted Invoice Section ID
func (InvoiceSectionId) Segments ¶
func (id InvoiceSectionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Invoice Section ID
func (InvoiceSectionId) String ¶
func (id InvoiceSectionId) String() string
String returns a human-readable description of this Invoice Section ID
type ListByBillingAccountCompleteResult ¶
type ListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByBillingAccountCustomPager ¶
func (*ListByBillingAccountCustomPager) NextPageLink ¶
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct { Count *bool Expand *string Filter *string IncludeDeleted *bool IncludeFailed *bool IncludeTenantSubscriptions *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByBillingProfileCompleteResult ¶
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByBillingProfileCustomPager ¶
func (*ListByBillingProfileCustomPager) NextPageLink ¶
func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileOperationOptions ¶
type ListByBillingProfileOperationOptions struct { Count *bool Expand *string Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingProfileOperationOptions ¶
func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions
func (ListByBillingProfileOperationOptions) ToHeaders ¶
func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers
func (ListByBillingProfileOperationOptions) ToOData ¶
func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query
func (ListByBillingProfileOperationOptions) ToQuery ¶
func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams
type ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByCustomerAtBillingAccountCompleteResult ¶
type ListByCustomerAtBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByCustomerAtBillingAccountCustomPager ¶
func (*ListByCustomerAtBillingAccountCustomPager) NextPageLink ¶
func (p *ListByCustomerAtBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByCustomerAtBillingAccountOperationOptions ¶
type ListByCustomerAtBillingAccountOperationOptions struct { Count *bool Expand *string Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByCustomerAtBillingAccountOperationOptions ¶
func DefaultListByCustomerAtBillingAccountOperationOptions() ListByCustomerAtBillingAccountOperationOptions
func (ListByCustomerAtBillingAccountOperationOptions) ToHeaders ¶
func (o ListByCustomerAtBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByCustomerAtBillingAccountOperationOptions) ToOData ¶
func (o ListByCustomerAtBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByCustomerAtBillingAccountOperationOptions) ToQuery ¶
func (o ListByCustomerAtBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByCustomerAtBillingAccountOperationResponse ¶
type ListByCustomerAtBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByCustomerCompleteResult ¶
type ListByCustomerCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByCustomerCustomPager ¶
func (*ListByCustomerCustomPager) NextPageLink ¶
func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link
type ListByCustomerOperationOptions ¶
type ListByCustomerOperationOptions struct { Count *bool Expand *string Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByCustomerOperationOptions ¶
func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions
func (ListByCustomerOperationOptions) ToHeaders ¶
func (o ListByCustomerOperationOptions) ToHeaders() *client.Headers
func (ListByCustomerOperationOptions) ToOData ¶
func (o ListByCustomerOperationOptions) ToOData() *odata.Query
func (ListByCustomerOperationOptions) ToQuery ¶
func (o ListByCustomerOperationOptions) ToQuery() *client.QueryParams
type ListByCustomerOperationResponse ¶
type ListByCustomerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByEnrollmentAccountCompleteResult ¶
type ListByEnrollmentAccountCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByEnrollmentAccountCustomPager ¶
func (*ListByEnrollmentAccountCustomPager) NextPageLink ¶
func (p *ListByEnrollmentAccountCustomPager) NextPageLink() *odata.Link
type ListByEnrollmentAccountOperationOptions ¶
type ListByEnrollmentAccountOperationOptions struct { Count *bool Filter *string OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByEnrollmentAccountOperationOptions ¶
func DefaultListByEnrollmentAccountOperationOptions() ListByEnrollmentAccountOperationOptions
func (ListByEnrollmentAccountOperationOptions) ToHeaders ¶
func (o ListByEnrollmentAccountOperationOptions) ToHeaders() *client.Headers
func (ListByEnrollmentAccountOperationOptions) ToOData ¶
func (o ListByEnrollmentAccountOperationOptions) ToOData() *odata.Query
func (ListByEnrollmentAccountOperationOptions) ToQuery ¶
func (o ListByEnrollmentAccountOperationOptions) ToQuery() *client.QueryParams
type ListByEnrollmentAccountOperationResponse ¶
type ListByEnrollmentAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByInvoiceSectionCompleteResult ¶
type ListByInvoiceSectionCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByInvoiceSectionCustomPager ¶
func (*ListByInvoiceSectionCustomPager) NextPageLink ¶
func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link
type ListByInvoiceSectionOperationOptions ¶
type ListByInvoiceSectionOperationOptions struct { Count *bool Expand *string Filter *string IncludeDeleted *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByInvoiceSectionOperationOptions ¶
func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions
func (ListByInvoiceSectionOperationOptions) ToHeaders ¶
func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers
func (ListByInvoiceSectionOperationOptions) ToOData ¶
func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query
func (ListByInvoiceSectionOperationOptions) ToQuery ¶
func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams
type ListByInvoiceSectionOperationResponse ¶
type ListByInvoiceSectionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type MergeOperationResponse ¶
type MoveBillingSubscriptionEligibilityResult ¶
type MoveBillingSubscriptionEligibilityResult struct { ErrorDetails *MoveBillingSubscriptionErrorDetails `json:"errorDetails,omitempty"` IsMoveEligible *bool `json:"isMoveEligible,omitempty"` }
type MoveBillingSubscriptionErrorDetails ¶
type MoveBillingSubscriptionErrorDetails struct { Code *SubscriptionTransferValidationErrorCode `json:"code,omitempty"` Details *string `json:"details,omitempty"` Message *string `json:"message,omitempty"` }
type MoveOperationResponse ¶
type NextBillingCycleDetails ¶
type NextBillingCycleDetails struct {
BillingFrequency *string `json:"billingFrequency,omitempty"`
}
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNew ProvisioningState = "New" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RenewalTermDetails ¶
type RenewalTermDetails struct { BillingFrequency *string `json:"billingFrequency,omitempty"` ProductId *string `json:"productId,omitempty"` ProductTypeId *string `json:"productTypeId,omitempty"` Quantity *int64 `json:"quantity,omitempty"` SkuId *string `json:"skuId,omitempty"` TermDuration *string `json:"termDuration,omitempty"` TermEndDate *string `json:"termEndDate,omitempty"` }
func (*RenewalTermDetails) GetTermEndDateAsTime ¶
func (o *RenewalTermDetails) GetTermEndDateAsTime() (*time.Time, error)
func (*RenewalTermDetails) SetTermEndDateAsTime ¶
func (o *RenewalTermDetails) SetTermEndDateAsTime(input time.Time)
type SplitOperationResponse ¶
type SubscriptionEnrollmentAccountStatus ¶
type SubscriptionEnrollmentAccountStatus string
const ( SubscriptionEnrollmentAccountStatusActive SubscriptionEnrollmentAccountStatus = "Active" SubscriptionEnrollmentAccountStatusCancelled SubscriptionEnrollmentAccountStatus = "Cancelled" SubscriptionEnrollmentAccountStatusDeleted SubscriptionEnrollmentAccountStatus = "Deleted" SubscriptionEnrollmentAccountStatusExpired SubscriptionEnrollmentAccountStatus = "Expired" SubscriptionEnrollmentAccountStatusInactive SubscriptionEnrollmentAccountStatus = "Inactive" SubscriptionEnrollmentAccountStatusTransferredOut SubscriptionEnrollmentAccountStatus = "TransferredOut" SubscriptionEnrollmentAccountStatusTransferring SubscriptionEnrollmentAccountStatus = "Transferring" )
func (*SubscriptionEnrollmentAccountStatus) UnmarshalJSON ¶
func (s *SubscriptionEnrollmentAccountStatus) UnmarshalJSON(bytes []byte) error
type SubscriptionStatusReason ¶
type SubscriptionStatusReason string
const ( SubscriptionStatusReasonCancelled SubscriptionStatusReason = "Cancelled" SubscriptionStatusReasonExpired SubscriptionStatusReason = "Expired" SubscriptionStatusReasonNone SubscriptionStatusReason = "None" SubscriptionStatusReasonOther SubscriptionStatusReason = "Other" SubscriptionStatusReasonPastDue SubscriptionStatusReason = "PastDue" SubscriptionStatusReasonPolicyViolation SubscriptionStatusReason = "PolicyViolation" SubscriptionStatusReasonSpendingLimitReached SubscriptionStatusReason = "SpendingLimitReached" SubscriptionStatusReasonSuspiciousActivity SubscriptionStatusReason = "SuspiciousActivity" SubscriptionStatusReasonTransferred SubscriptionStatusReason = "Transferred" )
func (*SubscriptionStatusReason) UnmarshalJSON ¶
func (s *SubscriptionStatusReason) 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" SubscriptionTransferValidationErrorCodeNoActiveAzurePlan SubscriptionTransferValidationErrorCode = "NoActiveAzurePlan" SubscriptionTransferValidationErrorCodeNone SubscriptionTransferValidationErrorCode = "None" SubscriptionTransferValidationErrorCodeOther SubscriptionTransferValidationErrorCode = "Other" SubscriptionTransferValidationErrorCodeProductInactive SubscriptionTransferValidationErrorCode = "ProductInactive" SubscriptionTransferValidationErrorCodeProductNotFound SubscriptionTransferValidationErrorCode = "ProductNotFound" SubscriptionTransferValidationErrorCodeProductTypeNotSupported SubscriptionTransferValidationErrorCode = "ProductTypeNotSupported" SubscriptionTransferValidationErrorCodeSourceBillingProfilePastDue SubscriptionTransferValidationErrorCode = "SourceBillingProfilePastDue" SubscriptionTransferValidationErrorCodeSourceInvoiceSectionInactive SubscriptionTransferValidationErrorCode = "SourceInvoiceSectionInactive" SubscriptionTransferValidationErrorCodeSubscriptionHasReservations SubscriptionTransferValidationErrorCode = "SubscriptionHasReservations" SubscriptionTransferValidationErrorCodeSubscriptionNotActive SubscriptionTransferValidationErrorCode = "SubscriptionNotActive" SubscriptionTransferValidationErrorCodeSubscriptionTypeNotSupported SubscriptionTransferValidationErrorCode = "SubscriptionTypeNotSupported" )
func (*SubscriptionTransferValidationErrorCode) UnmarshalJSON ¶
func (s *SubscriptionTransferValidationErrorCode) UnmarshalJSON(bytes []byte) error
type SystemOverrides ¶
type SystemOverrides struct { Cancellation *Cancellation `json:"cancellation,omitempty"` CancellationAllowedEndDate *string `json:"cancellationAllowedEndDate,omitempty"` }
func (*SystemOverrides) GetCancellationAllowedEndDateAsTime ¶
func (o *SystemOverrides) GetCancellationAllowedEndDateAsTime() (*time.Time, error)
func (*SystemOverrides) SetCancellationAllowedEndDateAsTime ¶
func (o *SystemOverrides) SetCancellationAllowedEndDateAsTime(input time.Time)
type UpdateOperationResponse ¶
type ValidateMoveEligibilityOperationResponse ¶
type ValidateMoveEligibilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MoveBillingSubscriptionEligibilityResult }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingaccountbillingsubscription.go
- id_billingprofile.go
- id_billingprofilebillingsubscription.go
- id_billingprofilecustomer.go
- id_billingsubscriptionalias.go
- id_customer.go
- id_enrollmentaccount.go
- id_invoicesection.go
- method_aliasescreateorupdate.go
- method_aliasesget.go
- method_aliaseslistbybillingaccount.go
- method_cancel.go
- method_delete.go
- method_get.go
- method_getbybillingprofile.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbycustomer.go
- method_listbycustomeratbillingaccount.go
- method_listbyenrollmentaccount.go
- method_listbyinvoicesection.go
- method_merge.go
- method_move.go
- method_split.go
- method_update.go
- method_validatemoveeligibility.go
- model_amount.go
- model_beneficiary.go
- model_billingsubscription.go
- model_billingsubscriptionalias.go
- model_billingsubscriptionaliasproperties.go
- model_billingsubscriptionmergerequest.go
- model_billingsubscriptionpatch.go
- model_billingsubscriptionproperties.go
- model_billingsubscriptionsplitrequest.go
- model_billingsubscriptionstatusdetails.go
- model_cancelsubscriptionrequest.go
- model_enrollmentaccountsubscriptiondetails.go
- model_movebillingsubscriptioneligibilityresult.go
- model_movebillingsubscriptionerrordetails.go
- model_movebillingsubscriptionrequest.go
- model_nextbillingcycledetails.go
- model_renewaltermdetails.go
- model_reseller.go
- model_systemoverrides.go
- predicates.go
- version.go