Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForDocumentSource() []string + func PossibleValuesForDocumentType() []string + func PossibleValuesForInvoiceDocumentType() []string + func PossibleValuesForInvoiceStatus() []string + func PossibleValuesForInvoiceType() []string + func PossibleValuesForPaymentMethodFamily() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingAccountInvoiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingSubscriptionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingSubscriptionInvoiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateInvoiceID(input interface{}, key string) (warnings []string, errors []error) + type Amount struct + Currency *string + Value *float64 + type BillingAccountId struct + BillingAccountName string + func NewBillingAccountID(billingAccountName string) BillingAccountId + func ParseBillingAccountID(input string) (*BillingAccountId, error) + func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error) + func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountId) ID() string + func (id BillingAccountId) Segments() []resourceids.Segment + func (id BillingAccountId) String() string + type BillingAccountInvoiceId struct + BillingAccountName string + InvoiceName string + func NewBillingAccountInvoiceID(billingAccountName string, invoiceName string) BillingAccountInvoiceId + func ParseBillingAccountInvoiceID(input string) (*BillingAccountInvoiceId, error) + func ParseBillingAccountInvoiceIDInsensitively(input string) (*BillingAccountInvoiceId, error) + func (id *BillingAccountInvoiceId) FromParseResult(input resourceids.ParseResult) error + func (id BillingAccountInvoiceId) ID() string + func (id BillingAccountInvoiceId) Segments() []resourceids.Segment + func (id BillingAccountInvoiceId) String() string + type BillingProfileId struct + BillingAccountName string + BillingProfileName string + func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId + func ParseBillingProfileID(input string) (*BillingProfileId, error) + func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error) + func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileId) ID() string + func (id BillingProfileId) Segments() []resourceids.Segment + func (id BillingProfileId) String() string + type BillingSubscriptionId struct + SubscriptionId string + func NewBillingSubscriptionID(subscriptionId string) BillingSubscriptionId + func ParseBillingSubscriptionID(input string) (*BillingSubscriptionId, error) + func ParseBillingSubscriptionIDInsensitively(input string) (*BillingSubscriptionId, error) + func (id *BillingSubscriptionId) FromParseResult(input resourceids.ParseResult) error + func (id BillingSubscriptionId) ID() string + func (id BillingSubscriptionId) Segments() []resourceids.Segment + func (id BillingSubscriptionId) String() string + type BillingSubscriptionInvoiceId struct + InvoiceName string + SubscriptionId string + func NewBillingSubscriptionInvoiceID(subscriptionId string, invoiceName string) BillingSubscriptionInvoiceId + func ParseBillingSubscriptionInvoiceID(input string) (*BillingSubscriptionInvoiceId, error) + func ParseBillingSubscriptionInvoiceIDInsensitively(input string) (*BillingSubscriptionInvoiceId, error) + func (id *BillingSubscriptionInvoiceId) FromParseResult(input resourceids.ParseResult) error + func (id BillingSubscriptionInvoiceId) ID() string + func (id BillingSubscriptionInvoiceId) Segments() []resourceids.Segment + func (id BillingSubscriptionInvoiceId) String() string + type Document struct + Kind *DocumentType + Source *DocumentSource + Url *string + type DocumentSource string + const DocumentSourceDRS + const DocumentSourceENF + func (s *DocumentSource) UnmarshalJSON(bytes []byte) error + type DocumentType string + const DocumentTypeCreditNote + const DocumentTypeInvoice + const DocumentTypeTaxReceipt + const DocumentTypeVoidNote + func (s *DocumentType) UnmarshalJSON(bytes []byte) error + type DownloadBillingSubscriptionInvoiceOperationOptions struct + DownloadToken *string + func DefaultDownloadBillingSubscriptionInvoiceOperationOptions() DownloadBillingSubscriptionInvoiceOperationOptions + func (o DownloadBillingSubscriptionInvoiceOperationOptions) ToHeaders() *client.Headers + func (o DownloadBillingSubscriptionInvoiceOperationOptions) ToOData() *odata.Query + func (o DownloadBillingSubscriptionInvoiceOperationOptions) ToQuery() *client.QueryParams + type DownloadBillingSubscriptionInvoiceOperationResponse struct + HttpResponse *http.Response + Model *DownloadURL + OData *odata.OData + Poller pollers.Poller + type DownloadInvoiceOperationOptions struct + DownloadToken *string + func DefaultDownloadInvoiceOperationOptions() DownloadInvoiceOperationOptions + func (o DownloadInvoiceOperationOptions) ToHeaders() *client.Headers + func (o DownloadInvoiceOperationOptions) ToOData() *odata.Query + func (o DownloadInvoiceOperationOptions) ToQuery() *client.QueryParams + type DownloadInvoiceOperationResponse struct + HttpResponse *http.Response + Model *DownloadURL + OData *odata.OData + Poller pollers.Poller + type DownloadMultipleBillingProfileInvoicesOperationResponse struct + HttpResponse *http.Response + Model *DownloadURL + OData *odata.OData + Poller pollers.Poller + type DownloadMultipleBillingSubscriptionInvoicesOperationResponse struct + HttpResponse *http.Response + Model *DownloadURL + OData *odata.OData + Poller pollers.Poller + type DownloadURL struct + ExpiryTime *string + Url *string + func (o *DownloadURL) GetExpiryTimeAsTime() (*time.Time, error) + func (o *DownloadURL) SetExpiryTimeAsTime(input time.Time) + type GetByIdOperationResponse struct + HttpResponse *http.Response + Model *Invoice + OData *odata.OData + type GetBySubscriptionAndInvoiceIdOperationResponse struct + HttpResponse *http.Response + Model *Invoice + OData *odata.OData + type GetOperationResponse struct + HttpResponse *http.Response + Model *Invoice + OData *odata.OData + type Invoice struct + Id *string + Name *string + Properties *InvoiceProperties + Type *string + type InvoiceDocumentType string + const InvoiceDocumentTypeCreditNote + const InvoiceDocumentTypeInvoice + func (s *InvoiceDocumentType) UnmarshalJSON(bytes []byte) error + type InvoiceId struct + InvoiceName string + func NewInvoiceID(invoiceName string) InvoiceId + func ParseInvoiceID(input string) (*InvoiceId, error) + func ParseInvoiceIDInsensitively(input string) (*InvoiceId, error) + func (id *InvoiceId) FromParseResult(input resourceids.ParseResult) error + func (id InvoiceId) ID() string + func (id InvoiceId) Segments() []resourceids.Segment + func (id InvoiceId) String() string + type InvoiceOperationPredicate struct + Id *string + Name *string + Type *string + func (p InvoiceOperationPredicate) Matches(input Invoice) bool + type InvoiceProperties struct + AmountDue *Amount + AzurePrepaymentApplied *Amount + BilledAmount *Amount + BilledDocumentId *string + BillingProfileDisplayName *string + BillingProfileId *string + CreditAmount *Amount + CreditForDocumentId *string + DocumentType *InvoiceDocumentType + Documents *[]Document + DueDate *string + FreeAzureCreditApplied *Amount + InvoiceDate *string + InvoicePeriodEndDate *string + InvoicePeriodStartDate *string + InvoiceType *InvoiceType + IsMonthlyInvoice *bool + Payments *[]PaymentProperties + PurchaseOrderNumber *string + RebillDetails *map[string]RebillDetails + Status *InvoiceStatus + SubTotal *Amount + SubscriptionId *string + TaxAmount *Amount + TotalAmount *Amount + func (o *InvoiceProperties) GetDueDateAsTime() (*time.Time, error) + func (o *InvoiceProperties) GetInvoiceDateAsTime() (*time.Time, error) + func (o *InvoiceProperties) GetInvoicePeriodEndDateAsTime() (*time.Time, error) + func (o *InvoiceProperties) GetInvoicePeriodStartDateAsTime() (*time.Time, error) + func (o *InvoiceProperties) SetDueDateAsTime(input time.Time) + func (o *InvoiceProperties) SetInvoiceDateAsTime(input time.Time) + func (o *InvoiceProperties) SetInvoicePeriodEndDateAsTime(input time.Time) + func (o *InvoiceProperties) SetInvoicePeriodStartDateAsTime(input time.Time) + type InvoiceStatus string + const InvoiceStatusDue + const InvoiceStatusOverDue + const InvoiceStatusPaid + const InvoiceStatusVoid + func (s *InvoiceStatus) UnmarshalJSON(bytes []byte) error + type InvoiceType string + const InvoiceTypeAzureMarketplace + const InvoiceTypeAzureService + const InvoiceTypeAzureSupport + func (s *InvoiceType) UnmarshalJSON(bytes []byte) error + type InvoicesClient struct + Client *resourcemanager.Client + func NewInvoicesClientWithBaseURI(sdkApi sdkEnv.Api) (*InvoicesClient, error) + func (c InvoicesClient) DownloadBillingSubscriptionInvoice(ctx context.Context, id BillingSubscriptionInvoiceId, ...) (result DownloadBillingSubscriptionInvoiceOperationResponse, err error) + func (c InvoicesClient) DownloadBillingSubscriptionInvoiceThenPoll(ctx context.Context, id BillingSubscriptionInvoiceId, ...) error + func (c InvoicesClient) DownloadInvoice(ctx context.Context, id BillingAccountInvoiceId, ...) (result DownloadInvoiceOperationResponse, err error) + func (c InvoicesClient) DownloadInvoiceThenPoll(ctx context.Context, id BillingAccountInvoiceId, ...) error + func (c InvoicesClient) DownloadMultipleBillingProfileInvoices(ctx context.Context, id BillingAccountId, input []string) (result DownloadMultipleBillingProfileInvoicesOperationResponse, err error) + func (c InvoicesClient) DownloadMultipleBillingProfileInvoicesThenPoll(ctx context.Context, id BillingAccountId, input []string) error + func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoices(ctx context.Context, id BillingSubscriptionId, input []string) (result DownloadMultipleBillingSubscriptionInvoicesOperationResponse, err error) + func (c InvoicesClient) DownloadMultipleBillingSubscriptionInvoicesThenPoll(ctx context.Context, id BillingSubscriptionId, input []string) error + func (c InvoicesClient) Get(ctx context.Context, id BillingAccountInvoiceId) (result GetOperationResponse, err error) + func (c InvoicesClient) GetById(ctx context.Context, id InvoiceId) (result GetByIdOperationResponse, err error) + func (c InvoicesClient) GetBySubscriptionAndInvoiceId(ctx context.Context, id BillingSubscriptionInvoiceId) (result GetBySubscriptionAndInvoiceIdOperationResponse, err error) + func (c InvoicesClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c InvoicesClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c InvoicesClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + func (c InvoicesClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error) + func (c InvoicesClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error) + func (c InvoicesClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error) + func (c InvoicesClient) ListByBillingSubscription(ctx context.Context, id BillingSubscriptionId, ...) (result ListByBillingSubscriptionOperationResponse, err error) + func (c InvoicesClient) ListByBillingSubscriptionComplete(ctx context.Context, id BillingSubscriptionId, ...) (ListByBillingSubscriptionCompleteResult, error) + func (c InvoicesClient) ListByBillingSubscriptionCompleteMatchingPredicate(ctx context.Context, id BillingSubscriptionId, ...) (result ListByBillingSubscriptionCompleteResult, err error) + type ListByBillingAccountCompleteResult struct + Items []Invoice + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + PeriodEndDate *string + PeriodStartDate *string + func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions + func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query + func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams + type ListByBillingAccountOperationResponse struct + HttpResponse *http.Response + Model *[]Invoice + OData *odata.OData + type ListByBillingProfileCompleteResult struct + Items []Invoice + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationOptions struct + PeriodEndDate *string + PeriodStartDate *string + func DefaultListByBillingProfileOperationOptions() ListByBillingProfileOperationOptions + func (o ListByBillingProfileOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingProfileOperationOptions) ToOData() *odata.Query + func (o ListByBillingProfileOperationOptions) ToQuery() *client.QueryParams + type ListByBillingProfileOperationResponse struct + HttpResponse *http.Response + Model *[]Invoice + OData *odata.OData + type ListByBillingSubscriptionCompleteResult struct + Items []Invoice + LatestHttpResponse *http.Response + type ListByBillingSubscriptionCustomPager struct + NextLink *odata.Link + func (p *ListByBillingSubscriptionCustomPager) NextPageLink() *odata.Link + type ListByBillingSubscriptionOperationOptions struct + PeriodEndDate *string + PeriodStartDate *string + func DefaultListByBillingSubscriptionOperationOptions() ListByBillingSubscriptionOperationOptions + func (o ListByBillingSubscriptionOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingSubscriptionOperationOptions) ToOData() *odata.Query + func (o ListByBillingSubscriptionOperationOptions) ToQuery() *client.QueryParams + type ListByBillingSubscriptionOperationResponse struct + HttpResponse *http.Response + Model *[]Invoice + OData *odata.OData + type PaymentMethodFamily string + const PaymentMethodFamilyCheckWire + const PaymentMethodFamilyCreditCard + const PaymentMethodFamilyCredits + const PaymentMethodFamilyNone + func (s *PaymentMethodFamily) UnmarshalJSON(bytes []byte) error + type PaymentProperties struct + Amount *Amount + Date *string + PaymentMethodFamily *PaymentMethodFamily + PaymentMethodType *string + PaymentType *string + func (o *PaymentProperties) GetDateAsTime() (*time.Time, error) + func (o *PaymentProperties) SetDateAsTime(input time.Time) + type RebillDetails struct + CreditNoteDocumentId *string + InvoiceDocumentId *string + RebillDetails *map[string]RebillDetails