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 PossibleValuesForReservationType() []string + func PossibleValuesForTransactionTypeKind() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileInvoiceID(input interface{}, key string) (warnings []string, errors []error) + func ValidateCustomerID(input interface{}, key string) (warnings []string, errors []error) + func ValidateInvoiceSectionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateTransactionID(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 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 BillingProfileInvoiceId struct + BillingAccountName string + BillingProfileName string + InvoiceName string + func NewBillingProfileInvoiceID(billingAccountName string, billingProfileName string, invoiceName string) BillingProfileInvoiceId + func ParseBillingProfileInvoiceID(input string) (*BillingProfileInvoiceId, error) + func ParseBillingProfileInvoiceIDInsensitively(input string) (*BillingProfileInvoiceId, error) + func (id *BillingProfileInvoiceId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileInvoiceId) ID() string + func (id BillingProfileInvoiceId) Segments() []resourceids.Segment + func (id BillingProfileInvoiceId) String() string + type CustomerId struct + BillingAccountName string + CustomerName string + func NewCustomerID(billingAccountName string, customerName string) CustomerId + func ParseCustomerID(input string) (*CustomerId, error) + func ParseCustomerIDInsensitively(input string) (*CustomerId, error) + func (id *CustomerId) FromParseResult(input resourceids.ParseResult) error + func (id CustomerId) ID() string + func (id CustomerId) Segments() []resourceids.Segment + func (id CustomerId) String() string + type GetOperationOptions struct + PeriodEndDate *string + PeriodStartDate *string + func DefaultGetOperationOptions() GetOperationOptions + func (o GetOperationOptions) ToHeaders() *client.Headers + func (o GetOperationOptions) ToOData() *odata.Query + func (o GetOperationOptions) ToQuery() *client.QueryParams + type GetOperationResponse struct + HttpResponse *http.Response + Model *Transaction + OData *odata.OData + type InvoiceSectionId struct + BillingAccountName string + BillingProfileName string + InvoiceSectionName string + func NewInvoiceSectionID(billingAccountName string, billingProfileName string, ...) InvoiceSectionId + func ParseInvoiceSectionID(input string) (*InvoiceSectionId, error) + func ParseInvoiceSectionIDInsensitively(input string) (*InvoiceSectionId, error) + func (id *InvoiceSectionId) FromParseResult(input resourceids.ParseResult) error + func (id InvoiceSectionId) ID() string + func (id InvoiceSectionId) Segments() []resourceids.Segment + func (id InvoiceSectionId) String() string + type ListByBillingAccountCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + Filter *string + 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 *[]Transaction + OData *odata.OData + type ListByBillingProfileCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationOptions struct + Filter *string + 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 *[]Transaction + OData *odata.OData + type ListByCustomerCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByCustomerCustomPager struct + NextLink *odata.Link + func (p *ListByCustomerCustomPager) NextPageLink() *odata.Link + type ListByCustomerOperationOptions struct + Filter *string + PeriodEndDate *string + PeriodStartDate *string + func DefaultListByCustomerOperationOptions() ListByCustomerOperationOptions + func (o ListByCustomerOperationOptions) ToHeaders() *client.Headers + func (o ListByCustomerOperationOptions) ToOData() *odata.Query + func (o ListByCustomerOperationOptions) ToQuery() *client.QueryParams + type ListByCustomerOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ListByInvoiceCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByInvoiceCustomPager struct + NextLink *odata.Link + func (p *ListByInvoiceCustomPager) NextPageLink() *odata.Link + type ListByInvoiceOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ListByInvoiceSectionCompleteResult struct + Items []Transaction + LatestHttpResponse *http.Response + type ListByInvoiceSectionCustomPager struct + NextLink *odata.Link + func (p *ListByInvoiceSectionCustomPager) NextPageLink() *odata.Link + type ListByInvoiceSectionOperationOptions struct + Filter *string + PeriodEndDate *string + PeriodStartDate *string + func DefaultListByInvoiceSectionOperationOptions() ListByInvoiceSectionOperationOptions + func (o ListByInvoiceSectionOperationOptions) ToHeaders() *client.Headers + func (o ListByInvoiceSectionOperationOptions) ToOData() *odata.Query + func (o ListByInvoiceSectionOperationOptions) ToQuery() *client.QueryParams + type ListByInvoiceSectionOperationResponse struct + HttpResponse *http.Response + Model *[]Transaction + OData *odata.OData + type ReservationType string + const ReservationTypePurchase + const ReservationTypeUsageCharge + func (s *ReservationType) UnmarshalJSON(bytes []byte) error + type Transaction struct + Id *string + Name *string + Properties *TransactionProperties + Type *string + type TransactionId struct + BillingAccountName string + BillingProfileName string + TransactionName string + func NewTransactionID(billingAccountName string, billingProfileName string, transactionName string) TransactionId + func ParseTransactionID(input string) (*TransactionId, error) + func ParseTransactionIDInsensitively(input string) (*TransactionId, error) + func (id *TransactionId) FromParseResult(input resourceids.ParseResult) error + func (id TransactionId) ID() string + func (id TransactionId) Segments() []resourceids.Segment + func (id TransactionId) String() string + type TransactionOperationPredicate struct + Id *string + Name *string + Type *string + func (p TransactionOperationPredicate) Matches(input Transaction) bool + type TransactionProperties struct + AzureCreditApplied *Amount + BillingCurrency *string + BillingProfileDisplayName *string + BillingProfileId *string + CustomerDisplayName *string + CustomerId *string + Date *string + Discount *float64 + EffectivePrice *Amount + ExchangeRate *float64 + Invoice *string + InvoiceSectionDisplayName *string + InvoiceSectionId *string + Kind *TransactionTypeKind + MarketPrice *Amount + OrderId *string + OrderName *string + PricingCurrency *string + ProductDescription *string + ProductFamily *string + ProductType *string + ProductTypeId *string + Quantity *int64 + ServicePeriodEndDate *string + ServicePeriodStartDate *string + SubTotal *Amount + SubscriptionId *string + SubscriptionName *string + Tax *Amount + TransactionAmount *Amount + TransactionType *ReservationType + UnitOfMeasure *string + UnitType *string + Units *float64 + func (o *TransactionProperties) GetDateAsTime() (*time.Time, error) + func (o *TransactionProperties) GetServicePeriodEndDateAsTime() (*time.Time, error) + func (o *TransactionProperties) GetServicePeriodStartDateAsTime() (*time.Time, error) + func (o *TransactionProperties) SetDateAsTime(input time.Time) + func (o *TransactionProperties) SetServicePeriodEndDateAsTime(input time.Time) + func (o *TransactionProperties) SetServicePeriodStartDateAsTime(input time.Time) + type TransactionTypeKind string + const TransactionTypeKindAll + const TransactionTypeKindReservation + func (s *TransactionTypeKind) UnmarshalJSON(bytes []byte) error + type TransactionsClient struct + Client *resourcemanager.Client + func NewTransactionsClientWithBaseURI(sdkApi sdkEnv.Api) (*TransactionsClient, error) + func (c TransactionsClient) Get(ctx context.Context, id TransactionId, options GetOperationOptions) (result GetOperationResponse, err error) + func (c TransactionsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c TransactionsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c TransactionsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + func (c TransactionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error) + func (c TransactionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error) + func (c TransactionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error) + func (c TransactionsClient) ListByCustomer(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (result ListByCustomerOperationResponse, err error) + func (c TransactionsClient) ListByCustomerComplete(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions) (ListByCustomerCompleteResult, error) + func (c TransactionsClient) ListByCustomerCompleteMatchingPredicate(ctx context.Context, id CustomerId, options ListByCustomerOperationOptions, ...) (result ListByCustomerCompleteResult, err error) + func (c TransactionsClient) ListByInvoice(ctx context.Context, id BillingProfileInvoiceId) (result ListByInvoiceOperationResponse, err error) + func (c TransactionsClient) ListByInvoiceComplete(ctx context.Context, id BillingProfileInvoiceId) (ListByInvoiceCompleteResult, error) + func (c TransactionsClient) ListByInvoiceCompleteMatchingPredicate(ctx context.Context, id BillingProfileInvoiceId, ...) (result ListByInvoiceCompleteResult, err error) + func (c TransactionsClient) ListByInvoiceSection(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionOperationResponse, err error) + func (c TransactionsClient) ListByInvoiceSectionComplete(ctx context.Context, id InvoiceSectionId, ...) (ListByInvoiceSectionCompleteResult, error) + func (c TransactionsClient) ListByInvoiceSectionCompleteMatchingPredicate(ctx context.Context, id InvoiceSectionId, ...) (result ListByInvoiceSectionCompleteResult, err error)