Documentation ¶
Index ¶
- func PossibleValuesForBillingSubscriptionStatusType() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCustomerBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateCustomerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error)
- type Amount
- type BillingAccountId
- type BillingProfileId
- type BillingSubscription
- type BillingSubscriptionOperationPredicate
- type BillingSubscriptionProperties
- type BillingSubscriptionStatusType
- type BillingSubscriptionsClient
- func (c BillingSubscriptionsClient) Get(ctx context.Context, id InvoiceSectionBillingSubscriptionId) (result GetOperationResponse, err error)
- func (c BillingSubscriptionsClient) GetByCustomer(ctx context.Context, id CustomerBillingSubscriptionId) (result GetByCustomerOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
- func (c BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c BillingSubscriptionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
- func (c BillingSubscriptionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error)
- func (c BillingSubscriptionsClient) ListByCustomer(ctx context.Context, id CustomerId) (result ListByCustomerOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByCustomerComplete(ctx context.Context, id CustomerId) (ListByCustomerCompleteResult, error)
- func (c BillingSubscriptionsClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, ...) (result ListByCustomerCompleteResult, err error)
- func (c BillingSubscriptionsClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId) (result ListByInvoiceSectionOperationResponse, err error)
- func (c BillingSubscriptionsClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId) (ListByInvoiceSectionCompleteResult, error)
- func (c BillingSubscriptionsClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error)
- type CustomerBillingSubscriptionId
- func NewCustomerBillingSubscriptionID(billingAccountName string, customerName string, billingSubscriptionName string) CustomerBillingSubscriptionId
- func ParseCustomerBillingSubscriptionID(input string) (*CustomerBillingSubscriptionId, error)
- func ParseCustomerBillingSubscriptionIDInsensitively(input string) (*CustomerBillingSubscriptionId, error)
- type CustomerId
- type GetByCustomerOperationResponse
- type GetOperationResponse
- type InvoiceSectionBillingSubscriptionId
- func NewInvoiceSectionBillingSubscriptionID(billingAccountName string, billingProfileName string, ...) InvoiceSectionBillingSubscriptionId
- func ParseInvoiceSectionBillingSubscriptionID(input string) (*InvoiceSectionBillingSubscriptionId, error)
- func ParseInvoiceSectionBillingSubscriptionIDInsensitively(input string) (*InvoiceSectionBillingSubscriptionId, error)
- type InvoiceSectionId
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountOperationResponse
- type ListByBillingProfileCompleteResult
- type ListByBillingProfileOperationResponse
- type ListByCustomerCompleteResult
- type ListByCustomerOperationResponse
- type ListByInvoiceSectionCompleteResult
- type ListByInvoiceSectionOperationResponse
- type Reseller
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingSubscriptionStatusType ¶
func PossibleValuesForBillingSubscriptionStatusType() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateCustomerBillingSubscriptionID ¶
func ValidateCustomerBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateCustomerBillingSubscriptionID checks that 'input' can be parsed as a Customer Billing Subscription ID
func ValidateCustomerID ¶
ValidateCustomerID checks that 'input' can be parsed as a Customer ID
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 ValidateInvoiceSectionID ¶
ValidateInvoiceSectionID checks that 'input' can be parsed as a Invoice Section ID
Types ¶
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type 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"` Type *string `json:"type,omitempty"` }
type BillingSubscriptionOperationPredicate ¶
func (BillingSubscriptionOperationPredicate) Matches ¶
func (p BillingSubscriptionOperationPredicate) Matches(input BillingSubscription) bool
type BillingSubscriptionProperties ¶
type BillingSubscriptionProperties struct { BillingProfileDisplayName *string `json:"billingProfileDisplayName,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` CustomerDisplayName *string `json:"customerDisplayName,omitempty"` CustomerId *string `json:"customerId,omitempty"` DisplayName *string `json:"displayName,omitempty"` InvoiceSectionDisplayName *string `json:"invoiceSectionDisplayName,omitempty"` InvoiceSectionId *string `json:"invoiceSectionId,omitempty"` LastMonthCharges *Amount `json:"lastMonthCharges,omitempty"` MonthToDateCharges *Amount `json:"monthToDateCharges,omitempty"` Reseller *Reseller `json:"reseller,omitempty"` SkuDescription *string `json:"skuDescription,omitempty"` SkuId *string `json:"skuId,omitempty"` SubscriptionBillingStatus *BillingSubscriptionStatusType `json:"subscriptionBillingStatus,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` }
type BillingSubscriptionStatusType ¶
type BillingSubscriptionStatusType string
const ( BillingSubscriptionStatusTypeAbandoned BillingSubscriptionStatusType = "Abandoned" BillingSubscriptionStatusTypeActive BillingSubscriptionStatusType = "Active" BillingSubscriptionStatusTypeDeleted BillingSubscriptionStatusType = "Deleted" BillingSubscriptionStatusTypeInactive BillingSubscriptionStatusType = "Inactive" BillingSubscriptionStatusTypeWarning BillingSubscriptionStatusType = "Warning" )
func (*BillingSubscriptionStatusType) UnmarshalJSON ¶
func (s *BillingSubscriptionStatusType) UnmarshalJSON(bytes []byte) error
type BillingSubscriptionsClient ¶
type BillingSubscriptionsClient struct {
Client *resourcemanager.Client
}
func NewBillingSubscriptionsClientWithBaseURI ¶
func NewBillingSubscriptionsClientWithBaseURI(sdkApi sdkEnv.Api) (*BillingSubscriptionsClient, error)
func (BillingSubscriptionsClient) Get ¶
func (c BillingSubscriptionsClient) Get(ctx context.Context, id InvoiceSectionBillingSubscriptionId) (result GetOperationResponse, err error)
Get ...
func (BillingSubscriptionsClient) GetByCustomer ¶
func (c BillingSubscriptionsClient) GetByCustomer(ctx context.Context, id CustomerBillingSubscriptionId) (result GetByCustomerOperationResponse, err error)
GetByCustomer ...
func (BillingSubscriptionsClient) ListByBillingAccount ¶
func (c BillingSubscriptionsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (BillingSubscriptionsClient) ListByBillingAccountComplete ¶
func (c BillingSubscriptionsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c BillingSubscriptionsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, predicate BillingSubscriptionOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionsClient) ListByBillingProfile ¶
func (c BillingSubscriptionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error)
ListByBillingProfile ...
func (BillingSubscriptionsClient) ListByBillingProfileComplete ¶ added in v0.20240226.1173038
func (c BillingSubscriptionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error)
ListByBillingProfileComplete retrieves all the results into a single object
func (BillingSubscriptionsClient) ListByBillingProfileCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c BillingSubscriptionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, predicate BillingSubscriptionOperationPredicate) (result ListByBillingProfileCompleteResult, err error)
ListByBillingProfileCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionsClient) ListByCustomer ¶
func (c BillingSubscriptionsClient) ListByCustomer(ctx context.Context, id CustomerId) (result ListByCustomerOperationResponse, err error)
ListByCustomer ...
func (BillingSubscriptionsClient) ListByCustomerComplete ¶
func (c BillingSubscriptionsClient) ListByCustomerComplete(ctx context.Context, id CustomerId) (ListByCustomerCompleteResult, error)
ListByCustomerComplete retrieves all the results into a single object
func (BillingSubscriptionsClient) ListByCustomerCompleteMatchingPredicate ¶
func (c BillingSubscriptionsClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, predicate BillingSubscriptionOperationPredicate) (result ListByCustomerCompleteResult, err error)
ListByCustomerCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BillingSubscriptionsClient) ListByInvoiceSection ¶
func (c BillingSubscriptionsClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId) (result ListByInvoiceSectionOperationResponse, err error)
ListByInvoiceSection ...
func (BillingSubscriptionsClient) ListByInvoiceSectionComplete ¶ added in v0.20240226.1173038
func (c BillingSubscriptionsClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId) (ListByInvoiceSectionCompleteResult, error)
ListByInvoiceSectionComplete retrieves all the results into a single object
func (BillingSubscriptionsClient) ListByInvoiceSectionCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c BillingSubscriptionsClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, predicate BillingSubscriptionOperationPredicate) (result ListByInvoiceSectionCompleteResult, err error)
ListByInvoiceSectionCompleteMatchingPredicate retrieves all the results and then applies the predicate
type CustomerBillingSubscriptionId ¶
type CustomerBillingSubscriptionId struct { BillingAccountName string CustomerName string BillingSubscriptionName string }
CustomerBillingSubscriptionId is a struct representing the Resource ID for a Customer Billing Subscription
func NewCustomerBillingSubscriptionID ¶
func NewCustomerBillingSubscriptionID(billingAccountName string, customerName string, billingSubscriptionName string) CustomerBillingSubscriptionId
NewCustomerBillingSubscriptionID returns a new CustomerBillingSubscriptionId struct
func ParseCustomerBillingSubscriptionID ¶
func ParseCustomerBillingSubscriptionID(input string) (*CustomerBillingSubscriptionId, error)
ParseCustomerBillingSubscriptionID parses 'input' into a CustomerBillingSubscriptionId
func ParseCustomerBillingSubscriptionIDInsensitively ¶
func ParseCustomerBillingSubscriptionIDInsensitively(input string) (*CustomerBillingSubscriptionId, error)
ParseCustomerBillingSubscriptionIDInsensitively parses 'input' case-insensitively into a CustomerBillingSubscriptionId note: this method should only be used for API response data and not user input
func (*CustomerBillingSubscriptionId) FromParseResult ¶
func (id *CustomerBillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (CustomerBillingSubscriptionId) ID ¶
func (id CustomerBillingSubscriptionId) ID() string
ID returns the formatted Customer Billing Subscription ID
func (CustomerBillingSubscriptionId) Segments ¶
func (id CustomerBillingSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Customer Billing Subscription ID
func (CustomerBillingSubscriptionId) String ¶
func (id CustomerBillingSubscriptionId) String() string
String returns a human-readable description of this Customer Billing Subscription ID
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 GetByCustomerOperationResponse ¶
type GetByCustomerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscription }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *BillingSubscription }
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 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 ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByBillingProfileCompleteResult ¶ added in v0.20240226.1173038
type ListByBillingProfileCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByBillingProfileOperationResponse ¶
type ListByBillingProfileOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByCustomerCompleteResult ¶
type ListByCustomerCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByCustomerOperationResponse ¶
type ListByCustomerOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
type ListByInvoiceSectionCompleteResult ¶ added in v0.20240226.1173038
type ListByInvoiceSectionCompleteResult struct { LatestHttpResponse *http.Response Items []BillingSubscription }
type ListByInvoiceSectionOperationResponse ¶
type ListByInvoiceSectionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BillingSubscription }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingprofile.go
- id_customer.go
- id_customerbillingsubscription.go
- id_invoicesection.go
- id_invoicesectionbillingsubscription.go
- method_get.go
- method_getbycustomer.go
- method_listbybillingaccount.go
- method_listbybillingprofile.go
- method_listbycustomer.go
- method_listbyinvoicesection.go
- model_amount.go
- model_billingsubscription.go
- model_billingsubscriptionproperties.go
- model_reseller.go
- predicates.go
- version.go