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 PossibleValuesForEventType() []string + func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + type Amount struct + Currency *string + Value *float64 + type AmountWithExchangeRate struct + Currency *string + ExchangeRate *float64 + ExchangeRateMonth *int64 + Value *float64 + type BillingAccountId struct + BillingAccountId string + func NewBillingAccountID(billingAccountId 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 + BillingAccountId string + BillingProfileId string + func NewBillingProfileID(billingAccountId string, billingProfileId 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 EventProperties struct + Adjustments *Amount + AdjustmentsInBillingCurrency *AmountWithExchangeRate + BillingCurrency *string + BillingProfileDisplayName *string + BillingProfileId *string + CanceledCredit *Amount + Charges *Amount + ChargesInBillingCurrency *AmountWithExchangeRate + ClosedBalance *Amount + ClosedBalanceInBillingCurrency *AmountWithExchangeRate + CreditCurrency *string + CreditExpired *Amount + CreditExpiredInBillingCurrency *AmountWithExchangeRate + Description *string + ETag *string + EventType *EventType + InvoiceNumber *string + LotId *string + LotSource *string + NewCredit *Amount + NewCreditInBillingCurrency *AmountWithExchangeRate + Reseller *Reseller + TransactionDate *string + func (o *EventProperties) GetTransactionDateAsTime() (*time.Time, error) + func (o *EventProperties) SetTransactionDateAsTime(input time.Time) + type EventSummary struct + ETag *string + Id *string + Name *string + Properties *EventProperties + Type *string + type EventSummaryOperationPredicate struct + ETag *string + Id *string + Name *string + Type *string + func (p EventSummaryOperationPredicate) Matches(input EventSummary) bool + type EventType string + const EventTypeCreditExpired + const EventTypeNewCredit + const EventTypePendingAdjustments + const EventTypePendingCharges + const EventTypePendingExpiredCredit + const EventTypePendingNewCredit + const EventTypeSettledCharges + const EventTypeUnKnown + func (s *EventType) UnmarshalJSON(bytes []byte) error + type EventsClient struct + Client *resourcemanager.Client + func NewEventsClientWithBaseURI(sdkApi sdkEnv.Api) (*EventsClient, error) + func (c EventsClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error) + func (c EventsClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error) + func (c EventsClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error) + func (c EventsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileOperationResponse, err error) + func (c EventsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileCompleteResult, error) + func (c EventsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error) + type ListByBillingAccountCompleteResult struct + Items []EventSummary + LatestHttpResponse *http.Response + type ListByBillingAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountOperationOptions struct + Filter *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 *[]EventSummary + OData *odata.OData + type ListByBillingProfileCompleteResult struct + Items []EventSummary + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationOptions struct + EndDate *string + StartDate *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 *[]EventSummary + OData *odata.OData + type Reseller struct + ResellerDescription *string + ResellerId *string