...

Package billingapi

import "github.com/Azure/azure-sdk-for-go/services/preview/billing/mgmt/2018-03-01-preview/billing/billingapi"
Overview
Index

Overview ▾

Deprecated: Please note, this package has been deprecated. A replacement package is available github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling(https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/billing/armbilling). We strongly encourage you to upgrade to continue receiving updates. See [Migration Guide](https://aka.ms/azsdk/golang/t2/migration) for guidance on upgrading. Refer to our [deprecation policy](https://azure.github.io/azure-sdk/policies_support.html) for more details.

type EnrollmentAccountsClientAPI

EnrollmentAccountsClientAPI contains the set of methods on the EnrollmentAccountsClient type.

type EnrollmentAccountsClientAPI interface {
    Get(ctx context.Context, name string) (result billing.EnrollmentAccount, err error)
    List(ctx context.Context) (result billing.EnrollmentAccountListResultPage, err error)
    ListComplete(ctx context.Context) (result billing.EnrollmentAccountListResultIterator, err error)
}

type InvoicesClientAPI

InvoicesClientAPI contains the set of methods on the InvoicesClient type.

type InvoicesClientAPI interface {
    Get(ctx context.Context, invoiceName string) (result billing.Invoice, err error)
    GetLatest(ctx context.Context) (result billing.Invoice, err error)
    List(ctx context.Context, expand string, filter string, skiptoken string, top *int32) (result billing.InvoicesListResultPage, err error)
    ListComplete(ctx context.Context, expand string, filter string, skiptoken string, top *int32) (result billing.InvoicesListResultIterator, err error)
}

type OperationsClientAPI

OperationsClientAPI contains the set of methods on the OperationsClient type.

type OperationsClientAPI interface {
    List(ctx context.Context) (result billing.OperationListResultPage, err error)
    ListComplete(ctx context.Context) (result billing.OperationListResultIterator, err error)
}

type PeriodsClientAPI

PeriodsClientAPI contains the set of methods on the PeriodsClient type.

type PeriodsClientAPI interface {
    Get(ctx context.Context, billingPeriodName string) (result billing.Period, err error)
    List(ctx context.Context, filter string, skiptoken string, top *int32) (result billing.PeriodsListResultPage, err error)
    ListComplete(ctx context.Context, filter string, skiptoken string, top *int32) (result billing.PeriodsListResultIterator, err error)
}