Documentation ¶
Index ¶
- type AccountsClientAPI
- type AccountsValidateAddressClientAPI
- type AgreementsClientAPI
- type AvailableBalancesClientAPI
- type DepartmentsClientAPI
- type EnrollmentAccountsClientAPI
- type InvoiceSectionsClientAPI
- type InvoicesClientAPI
- type OperationsClientAPI
- type PaymentMethodsClientAPI
- type PermissionsClientAPI
- type PoliciesClientAPI
- type PriceSheetClientAPI
- type ProductsClientAPI
- type ProfilesClientAPI
- type PropertyClientAPI
- type RecipientTransfersClientAPI
- type RoleAssignmentsClientAPI
- type RoleDefinitionsClientAPI
- type SubscriptionsClientAPI
- type TransactionsClientAPI
- type TransfersClientAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountsClientAPI ¶
type AccountsClientAPI interface { Get(ctx context.Context, billingAccountName string, expand string) (result billing.Account, err error) List(ctx context.Context, expand string) (result billing.AccountListResult, err error) }
AccountsClientAPI contains the set of methods on the AccountsClient type.
type AccountsValidateAddressClientAPI ¶
type AccountsValidateAddressClientAPI interface {
Post(ctx context.Context, billingAccountName string, address billing.Address) (result billing.ValidateAddressResponse, err error)
}
AccountsValidateAddressClientAPI contains the set of methods on the AccountsValidateAddressClient type.
type AgreementsClientAPI ¶
type AgreementsClientAPI interface { Get(ctx context.Context, billingAccountName string, agreementName string, expand string) (result billing.Agreement, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, expand string) (result billing.AgreementListResult, err error) }
AgreementsClientAPI contains the set of methods on the AgreementsClient type.
type AvailableBalancesClientAPI ¶
type AvailableBalancesClientAPI interface {
GetByBillingProfile(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.AvailableBalance, err error)
}
AvailableBalancesClientAPI contains the set of methods on the AvailableBalancesClient type.
type DepartmentsClientAPI ¶
type DepartmentsClientAPI interface { Get(ctx context.Context, billingAccountName string, departmentName string, expand string, filter string) (result billing.Department, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, expand string, filter string) (result billing.DepartmentListResult, err error) }
DepartmentsClientAPI contains the set of methods on the DepartmentsClient type.
type EnrollmentAccountsClientAPI ¶
type EnrollmentAccountsClientAPI interface { GetByEnrollmentAccountID(ctx context.Context, billingAccountName string, enrollmentAccountName string, expand string, filter string) (result billing.EnrollmentAccount, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, expand string, filter string) (result billing.EnrollmentAccountListResult, err error) }
EnrollmentAccountsClientAPI contains the set of methods on the EnrollmentAccountsClient type.
type InvoiceSectionsClientAPI ¶
type InvoiceSectionsClientAPI interface { Create(ctx context.Context, billingAccountName string, parameters billing.InvoiceSectionProperties) (result billing.InvoiceSectionsCreateFuture, err error) ElevateToBillingProfile(ctx context.Context, billingAccountName string, invoiceSectionName string) (result autorest.Response, err error) Get(ctx context.Context, billingAccountName string, invoiceSectionName string, expand string) (result billing.InvoiceSection, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, expand string) (result billing.InvoiceSectionListResult, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.InvoiceSectionListResult, err error) ListByCreateSubscriptionPermission(ctx context.Context, billingAccountName string, expand string) (result billing.InvoiceSectionListResult, err error) Update(ctx context.Context, billingAccountName string, invoiceSectionName string, parameters billing.InvoiceSection) (result billing.InvoiceSectionsUpdateFuture, err error) }
InvoiceSectionsClientAPI contains the set of methods on the InvoiceSectionsClient type.
type InvoicesClientAPI ¶
type InvoicesClientAPI interface { Get(ctx context.Context, billingAccountName string, billingProfileName string, invoiceName string) (result billing.InvoiceSummary, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, periodStartDate string, periodEndDate string) (result billing.InvoiceListResult, err error) ListByBillingProfile(ctx context.Context, billingAccountName string, billingProfileName string, periodStartDate string, periodEndDate string) (result billing.InvoiceListResult, err error) }
InvoicesClientAPI contains the set of methods on the InvoicesClient type.
type OperationsClientAPI ¶
type OperationsClientAPI interface {
List(ctx context.Context) (result billing.OperationListResultPage, err error)
}
OperationsClientAPI contains the set of methods on the OperationsClient type.
type PaymentMethodsClientAPI ¶
type PaymentMethodsClientAPI interface { ListByBillingAccountName(ctx context.Context, billingAccountName string) (result billing.PaymentMethodsListResultPage, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.PaymentMethodsListResultPage, err error) }
PaymentMethodsClientAPI contains the set of methods on the PaymentMethodsClient type.
type PermissionsClientAPI ¶
type PermissionsClientAPI interface { ListByBillingAccount(ctx context.Context, billingAccountName string) (result billing.PermissionsListResult, err error) ListByBillingProfile(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.PermissionsListResult, err error) ListByInvoiceSections(ctx context.Context, billingAccountName string, invoiceSectionName string) (result billing.PermissionsListResult, err error) }
PermissionsClientAPI contains the set of methods on the PermissionsClient type.
type PoliciesClientAPI ¶
type PoliciesClientAPI interface { GetByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.Policy, err error) Update(ctx context.Context, billingAccountName string, billingProfileName string, parameters billing.Policy) (result billing.Policy, err error) }
PoliciesClientAPI contains the set of methods on the PoliciesClient type.
type PriceSheetClientAPI ¶
type PriceSheetClientAPI interface {
Download(ctx context.Context, billingAccountName string, invoiceName string) (result billing.PriceSheetDownloadFuture, err error)
}
PriceSheetClientAPI contains the set of methods on the PriceSheetClient type.
type ProductsClientAPI ¶
type ProductsClientAPI interface { Get(ctx context.Context, billingAccountName string, invoiceSectionName string, productName string) (result billing.ProductSummary, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, filter string) (result billing.ProductsListResultPage, err error) ListByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, filter string) (result billing.ProductsListResult, err error) Transfer(ctx context.Context, billingAccountName string, invoiceSectionName string, productName string, parameters billing.TransferProductRequestProperties) (result billing.ProductSummary, err error) UpdateAutoRenewByBillingAccountName(ctx context.Context, billingAccountName string, productName string, body billing.UpdateAutoRenewRequest) (result billing.UpdateAutoRenewOperationSummary, err error) UpdateAutoRenewByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, productName string, body billing.UpdateAutoRenewRequest) (result billing.UpdateAutoRenewOperationSummary, err error) }
ProductsClientAPI contains the set of methods on the ProductsClient type.
type ProfilesClientAPI ¶
type ProfilesClientAPI interface { Get(ctx context.Context, billingAccountName string, billingProfileName string, expand string) (result billing.Profile, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string, expand string) (result billing.ProfileListResult, err error) Update(ctx context.Context, billingAccountName string, billingProfileName string, parameters billing.Profile) (result billing.ProfilesUpdateFuture, err error) }
ProfilesClientAPI contains the set of methods on the ProfilesClient type.
type PropertyClientAPI ¶
PropertyClientAPI contains the set of methods on the PropertyClient type.
type RecipientTransfersClientAPI ¶
type RecipientTransfersClientAPI interface { Accept(ctx context.Context, transferName string, body billing.AcceptTransferRequest) (result billing.RecipientTransferDetails, err error) Decline(ctx context.Context, transferName string) (result billing.RecipientTransferDetails, err error) Get(ctx context.Context, transferName string) (result billing.RecipientTransferDetails, err error) List(ctx context.Context) (result billing.RecipientTransferDetailsListResultPage, err error) }
RecipientTransfersClientAPI contains the set of methods on the RecipientTransfersClient type.
type RoleAssignmentsClientAPI ¶
type RoleAssignmentsClientAPI interface { AddByBillingAccountName(ctx context.Context, billingAccountName string, parameters billing.RoleAssignmentPayload) (result billing.RoleAssignmentListResult, err error) AddByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string, parameters billing.RoleAssignmentPayload) (result billing.RoleAssignmentListResult, err error) AddByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, parameters billing.RoleAssignmentPayload) (result billing.RoleAssignmentListResult, err error) DeleteByBillingAccountName(ctx context.Context, billingAccountName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) DeleteByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) DeleteByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) GetByBillingAccount(ctx context.Context, billingAccountName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) GetByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) GetByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, billingRoleAssignmentName string) (result billing.RoleAssignment, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string) (result billing.RoleAssignmentListResult, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.RoleAssignmentListResult, err error) ListByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string) (result billing.RoleAssignmentListResult, err error) }
RoleAssignmentsClientAPI contains the set of methods on the RoleAssignmentsClient type.
type RoleDefinitionsClientAPI ¶
type RoleDefinitionsClientAPI interface { GetByBillingAccountName(ctx context.Context, billingAccountName string, billingRoleDefinitionName string) (result billing.RoleDefinition, err error) GetByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string, billingRoleDefinitionName string) (result billing.RoleDefinition, err error) GetByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, billingRoleDefinitionName string) (result billing.RoleDefinition, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string) (result billing.RoleDefinitionListResult, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.RoleDefinitionListResult, err error) ListByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string) (result billing.RoleDefinitionListResult, err error) }
RoleDefinitionsClientAPI contains the set of methods on the RoleDefinitionsClient type.
type SubscriptionsClientAPI ¶
type SubscriptionsClientAPI interface { Get(ctx context.Context, billingAccountName string, invoiceSectionName string, billingSubscriptionName string) (result billing.SubscriptionSummary, err error) ListByBillingAccountName(ctx context.Context, billingAccountName string) (result billing.SubscriptionsListResultPage, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string) (result billing.SubscriptionsListResult, err error) ListByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string) (result billing.SubscriptionsListResult, err error) Transfer(ctx context.Context, billingAccountName string, invoiceSectionName string, billingSubscriptionName string, parameters billing.TransferBillingSubscriptionRequestProperties) (result billing.SubscriptionsTransferFuture, err error) }
SubscriptionsClientAPI contains the set of methods on the SubscriptionsClient type.
type TransactionsClientAPI ¶
type TransactionsClientAPI interface { ListByBillingAccountName(ctx context.Context, billingAccountName string, startDate string, endDate string, filter string) (result billing.TransactionsListResultPage, err error) ListByBillingProfileName(ctx context.Context, billingAccountName string, billingProfileName string, startDate string, endDate string, filter string) (result billing.TransactionsListResult, err error) ListByInvoiceSectionName(ctx context.Context, billingAccountName string, invoiceSectionName string, startDate string, endDate string, filter string) (result billing.TransactionsListResult, err error) }
TransactionsClientAPI contains the set of methods on the TransactionsClient type.
type TransfersClientAPI ¶
type TransfersClientAPI interface { Cancel(ctx context.Context, billingAccountName string, invoiceSectionName string, transferName string) (result billing.TransferDetails, err error) Get(ctx context.Context, billingAccountName string, invoiceSectionName string, transferName string) (result billing.TransferDetails, err error) Initiate(ctx context.Context, billingAccountName string, invoiceSectionName string, body billing.InitiateTransferRequest) (result billing.TransferDetails, err error) List(ctx context.Context, billingAccountName string, invoiceSectionName string) (result billing.TransferDetailsListResultPage, err error) }
TransfersClientAPI contains the set of methods on the TransfersClient type.