Documentation ¶
Index ¶
- func PossibleValuesForBenefitKind() []string
- func PossibleValuesForGrainParameter() []string
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSavingsPlanID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSavingsPlanOrderID(input interface{}, key string) (warnings []string, errors []error)
- type BenefitKind
- type BenefitUtilizationSummariesClient
- func (c BenefitUtilizationSummariesClient) ListByBillingAccountId(ctx context.Context, id BillingAccountId, ...) (resp ListByBillingAccountIdOperationResponse, err error)
- func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountIdCompleteResult, error)
- func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (resp ListByBillingAccountIdCompleteResult, err error)
- func (c BenefitUtilizationSummariesClient) ListByBillingProfileId(ctx context.Context, id BillingProfileId, ...) (resp ListByBillingProfileIdOperationResponse, err error)
- func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileIdCompleteResult, error)
- func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (resp ListByBillingProfileIdCompleteResult, err error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanId(ctx context.Context, id SavingsPlanId, ...) (resp ListBySavingsPlanIdOperationResponse, err error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete(ctx context.Context, id SavingsPlanId, ...) (ListBySavingsPlanIdCompleteResult, error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate(ctx context.Context, id SavingsPlanId, ...) (resp ListBySavingsPlanIdCompleteResult, err error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId, ...) (resp ListBySavingsPlanOrderOperationResponse, err error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId, ...) (ListBySavingsPlanOrderCompleteResult, error)
- func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, ...) (resp ListBySavingsPlanOrderCompleteResult, err error)
- type BenefitUtilizationSummary
- type BenefitUtilizationSummaryOperationPredicate
- type BillingAccountId
- type BillingProfileId
- type GrainParameter
- type IncludedQuantityUtilizationSummary
- type IncludedQuantityUtilizationSummaryProperties
- type ListByBillingAccountIdCompleteResult
- type ListByBillingAccountIdOperationOptions
- type ListByBillingAccountIdOperationResponse
- type ListByBillingProfileIdCompleteResult
- type ListByBillingProfileIdOperationOptions
- type ListByBillingProfileIdOperationResponse
- type ListBySavingsPlanIdCompleteResult
- type ListBySavingsPlanIdOperationOptions
- type ListBySavingsPlanIdOperationResponse
- type ListBySavingsPlanOrderCompleteResult
- type ListBySavingsPlanOrderOperationOptions
- type ListBySavingsPlanOrderOperationResponse
- type SavingsPlanId
- type SavingsPlanOrderId
- type SavingsPlanUtilizationSummary
- type SavingsPlanUtilizationSummaryProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBenefitKind ¶
func PossibleValuesForBenefitKind() []string
func PossibleValuesForGrainParameter ¶
func PossibleValuesForGrainParameter() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateBillingProfileID ¶
ValidateBillingProfileID checks that 'input' can be parsed as a Billing Profile ID
func ValidateSavingsPlanID ¶
ValidateSavingsPlanID checks that 'input' can be parsed as a Savings Plan ID
func ValidateSavingsPlanOrderID ¶
ValidateSavingsPlanOrderID checks that 'input' can be parsed as a Savings Plan Order ID
Types ¶
type BenefitKind ¶
type BenefitKind string
const ( BenefitKindIncludedQuantity BenefitKind = "IncludedQuantity" BenefitKindReservation BenefitKind = "Reservation" BenefitKindSavingsPlan BenefitKind = "SavingsPlan" )
type BenefitUtilizationSummariesClient ¶
type BenefitUtilizationSummariesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewBenefitUtilizationSummariesClientWithBaseURI ¶
func NewBenefitUtilizationSummariesClientWithBaseURI(endpoint string) BenefitUtilizationSummariesClient
func (BenefitUtilizationSummariesClient) ListByBillingAccountId ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountId(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions) (resp ListByBillingAccountIdOperationResponse, err error)
ListByBillingAccountId ...
func (BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions) (ListByBillingAccountIdCompleteResult, error)
ListByBillingAccountIdComplete retrieves all of the results into a single object
func (BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (resp ListByBillingAccountIdCompleteResult, err error)
ListByBillingAccountIdCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BenefitUtilizationSummariesClient) ListByBillingProfileId ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileId(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions) (resp ListByBillingProfileIdOperationResponse, err error)
ListByBillingProfileId ...
func (BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions) (ListByBillingProfileIdCompleteResult, error)
ListByBillingProfileIdComplete retrieves all of the results into a single object
func (BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (resp ListByBillingProfileIdCompleteResult, err error)
ListByBillingProfileIdCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BenefitUtilizationSummariesClient) ListBySavingsPlanId ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanId(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions) (resp ListBySavingsPlanIdOperationResponse, err error)
ListBySavingsPlanId ...
func (BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions) (ListBySavingsPlanIdCompleteResult, error)
ListBySavingsPlanIdComplete retrieves all of the results into a single object
func (BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (resp ListBySavingsPlanIdCompleteResult, err error)
ListBySavingsPlanIdCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrder ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions) (resp ListBySavingsPlanOrderOperationResponse, err error)
ListBySavingsPlanOrder ...
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions) (ListBySavingsPlanOrderCompleteResult, error)
ListBySavingsPlanOrderComplete retrieves all of the results into a single object
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (resp ListBySavingsPlanOrderCompleteResult, err error)
ListBySavingsPlanOrderCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type BenefitUtilizationSummary ¶
type BenefitUtilizationSummary interface { }
type BenefitUtilizationSummaryOperationPredicate ¶
type BenefitUtilizationSummaryOperationPredicate struct { }
func (BenefitUtilizationSummaryOperationPredicate) Matches ¶
func (p BenefitUtilizationSummaryOperationPredicate) Matches(input BenefitUtilizationSummary) bool
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountId string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountId string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingProfileId ¶
BillingProfileId is a struct representing the Resource ID for a Billing Profile
func NewBillingProfileID ¶
func NewBillingProfileID(billingAccountId string, billingProfileId string) BillingProfileId
NewBillingProfileID returns a new BillingProfileId struct
func ParseBillingProfileID ¶
func ParseBillingProfileID(input string) (*BillingProfileId, error)
ParseBillingProfileID parses 'input' into a BillingProfileId
func ParseBillingProfileIDInsensitively ¶
func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error)
ParseBillingProfileIDInsensitively parses 'input' case-insensitively into a BillingProfileId note: this method should only be used for API response data and not user input
func (BillingProfileId) ID ¶
func (id BillingProfileId) ID() string
ID returns the formatted Billing Profile ID
func (BillingProfileId) Segments ¶
func (id BillingProfileId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Profile ID
func (BillingProfileId) String ¶
func (id BillingProfileId) String() string
String returns a human-readable description of this Billing Profile ID
type GrainParameter ¶
type GrainParameter string
const ( GrainParameterDaily GrainParameter = "Daily" GrainParameterHourly GrainParameter = "Hourly" GrainParameterMonthly GrainParameter = "Monthly" )
type IncludedQuantityUtilizationSummary ¶
type IncludedQuantityUtilizationSummary struct { Properties *IncludedQuantityUtilizationSummaryProperties `json:"properties,omitempty"` // Fields inherited from BenefitUtilizationSummary Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (IncludedQuantityUtilizationSummary) MarshalJSON ¶
func (s IncludedQuantityUtilizationSummary) MarshalJSON() ([]byte, error)
type IncludedQuantityUtilizationSummaryProperties ¶
type IncludedQuantityUtilizationSummaryProperties struct { ArmSkuName *string `json:"armSkuName,omitempty"` BenefitId *string `json:"benefitId,omitempty"` BenefitOrderId *string `json:"benefitOrderId,omitempty"` BenefitType *BenefitKind `json:"benefitType,omitempty"` UsageDate *string `json:"usageDate,omitempty"` UtilizationPercentage *float64 `json:"utilizationPercentage,omitempty"` }
func (*IncludedQuantityUtilizationSummaryProperties) GetUsageDateAsTime ¶
func (o *IncludedQuantityUtilizationSummaryProperties) GetUsageDateAsTime() (*time.Time, error)
func (*IncludedQuantityUtilizationSummaryProperties) SetUsageDateAsTime ¶
func (o *IncludedQuantityUtilizationSummaryProperties) SetUsageDateAsTime(input time.Time)
type ListByBillingAccountIdCompleteResult ¶
type ListByBillingAccountIdCompleteResult struct {
Items []BenefitUtilizationSummary
}
type ListByBillingAccountIdOperationOptions ¶
type ListByBillingAccountIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListByBillingAccountIdOperationOptions ¶
func DefaultListByBillingAccountIdOperationOptions() ListByBillingAccountIdOperationOptions
type ListByBillingAccountIdOperationResponse ¶
type ListByBillingAccountIdOperationResponse struct { HttpResponse *http.Response Model *[]BenefitUtilizationSummary // contains filtered or unexported fields }
func (ListByBillingAccountIdOperationResponse) HasMore ¶
func (r ListByBillingAccountIdOperationResponse) HasMore() bool
func (ListByBillingAccountIdOperationResponse) LoadMore ¶
func (r ListByBillingAccountIdOperationResponse) LoadMore(ctx context.Context) (resp ListByBillingAccountIdOperationResponse, err error)
type ListByBillingProfileIdCompleteResult ¶
type ListByBillingProfileIdCompleteResult struct {
Items []BenefitUtilizationSummary
}
type ListByBillingProfileIdOperationOptions ¶
type ListByBillingProfileIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListByBillingProfileIdOperationOptions ¶
func DefaultListByBillingProfileIdOperationOptions() ListByBillingProfileIdOperationOptions
type ListByBillingProfileIdOperationResponse ¶
type ListByBillingProfileIdOperationResponse struct { HttpResponse *http.Response Model *[]BenefitUtilizationSummary // contains filtered or unexported fields }
func (ListByBillingProfileIdOperationResponse) HasMore ¶
func (r ListByBillingProfileIdOperationResponse) HasMore() bool
func (ListByBillingProfileIdOperationResponse) LoadMore ¶
func (r ListByBillingProfileIdOperationResponse) LoadMore(ctx context.Context) (resp ListByBillingProfileIdOperationResponse, err error)
type ListBySavingsPlanIdCompleteResult ¶
type ListBySavingsPlanIdCompleteResult struct {
Items []BenefitUtilizationSummary
}
type ListBySavingsPlanIdOperationOptions ¶
type ListBySavingsPlanIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListBySavingsPlanIdOperationOptions ¶
func DefaultListBySavingsPlanIdOperationOptions() ListBySavingsPlanIdOperationOptions
type ListBySavingsPlanIdOperationResponse ¶
type ListBySavingsPlanIdOperationResponse struct { HttpResponse *http.Response Model *[]BenefitUtilizationSummary // contains filtered or unexported fields }
func (ListBySavingsPlanIdOperationResponse) HasMore ¶
func (r ListBySavingsPlanIdOperationResponse) HasMore() bool
func (ListBySavingsPlanIdOperationResponse) LoadMore ¶
func (r ListBySavingsPlanIdOperationResponse) LoadMore(ctx context.Context) (resp ListBySavingsPlanIdOperationResponse, err error)
type ListBySavingsPlanOrderCompleteResult ¶
type ListBySavingsPlanOrderCompleteResult struct {
Items []BenefitUtilizationSummary
}
type ListBySavingsPlanOrderOperationOptions ¶
type ListBySavingsPlanOrderOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListBySavingsPlanOrderOperationOptions ¶
func DefaultListBySavingsPlanOrderOperationOptions() ListBySavingsPlanOrderOperationOptions
type ListBySavingsPlanOrderOperationResponse ¶
type ListBySavingsPlanOrderOperationResponse struct { HttpResponse *http.Response Model *[]BenefitUtilizationSummary // contains filtered or unexported fields }
func (ListBySavingsPlanOrderOperationResponse) HasMore ¶
func (r ListBySavingsPlanOrderOperationResponse) HasMore() bool
func (ListBySavingsPlanOrderOperationResponse) LoadMore ¶
func (r ListBySavingsPlanOrderOperationResponse) LoadMore(ctx context.Context) (resp ListBySavingsPlanOrderOperationResponse, err error)
type SavingsPlanId ¶
SavingsPlanId is a struct representing the Resource ID for a Savings Plan
func NewSavingsPlanID ¶
func NewSavingsPlanID(savingsPlanOrderId string, savingsPlanId string) SavingsPlanId
NewSavingsPlanID returns a new SavingsPlanId struct
func ParseSavingsPlanID ¶
func ParseSavingsPlanID(input string) (*SavingsPlanId, error)
ParseSavingsPlanID parses 'input' into a SavingsPlanId
func ParseSavingsPlanIDInsensitively ¶
func ParseSavingsPlanIDInsensitively(input string) (*SavingsPlanId, error)
ParseSavingsPlanIDInsensitively parses 'input' case-insensitively into a SavingsPlanId note: this method should only be used for API response data and not user input
func (SavingsPlanId) ID ¶
func (id SavingsPlanId) ID() string
ID returns the formatted Savings Plan ID
func (SavingsPlanId) Segments ¶
func (id SavingsPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Savings Plan ID
func (SavingsPlanId) String ¶
func (id SavingsPlanId) String() string
String returns a human-readable description of this Savings Plan ID
type SavingsPlanOrderId ¶
type SavingsPlanOrderId struct {
SavingsPlanOrderId string
}
SavingsPlanOrderId is a struct representing the Resource ID for a Savings Plan Order
func NewSavingsPlanOrderID ¶
func NewSavingsPlanOrderID(savingsPlanOrderId string) SavingsPlanOrderId
NewSavingsPlanOrderID returns a new SavingsPlanOrderId struct
func ParseSavingsPlanOrderID ¶
func ParseSavingsPlanOrderID(input string) (*SavingsPlanOrderId, error)
ParseSavingsPlanOrderID parses 'input' into a SavingsPlanOrderId
func ParseSavingsPlanOrderIDInsensitively ¶
func ParseSavingsPlanOrderIDInsensitively(input string) (*SavingsPlanOrderId, error)
ParseSavingsPlanOrderIDInsensitively parses 'input' case-insensitively into a SavingsPlanOrderId note: this method should only be used for API response data and not user input
func (SavingsPlanOrderId) ID ¶
func (id SavingsPlanOrderId) ID() string
ID returns the formatted Savings Plan Order ID
func (SavingsPlanOrderId) Segments ¶
func (id SavingsPlanOrderId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Savings Plan Order ID
func (SavingsPlanOrderId) String ¶
func (id SavingsPlanOrderId) String() string
String returns a human-readable description of this Savings Plan Order ID
type SavingsPlanUtilizationSummary ¶
type SavingsPlanUtilizationSummary struct { Properties *SavingsPlanUtilizationSummaryProperties `json:"properties,omitempty"` // Fields inherited from BenefitUtilizationSummary Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (SavingsPlanUtilizationSummary) MarshalJSON ¶
func (s SavingsPlanUtilizationSummary) MarshalJSON() ([]byte, error)
type SavingsPlanUtilizationSummaryProperties ¶
type SavingsPlanUtilizationSummaryProperties struct { ArmSkuName *string `json:"armSkuName,omitempty"` AvgUtilizationPercentage *float64 `json:"avgUtilizationPercentage,omitempty"` BenefitId *string `json:"benefitId,omitempty"` BenefitOrderId *string `json:"benefitOrderId,omitempty"` BenefitType *BenefitKind `json:"benefitType,omitempty"` MaxUtilizationPercentage *float64 `json:"maxUtilizationPercentage,omitempty"` MinUtilizationPercentage *float64 `json:"minUtilizationPercentage,omitempty"` UsageDate *string `json:"usageDate,omitempty"` }
func (*SavingsPlanUtilizationSummaryProperties) GetUsageDateAsTime ¶
func (o *SavingsPlanUtilizationSummaryProperties) GetUsageDateAsTime() (*time.Time, error)
func (*SavingsPlanUtilizationSummaryProperties) SetUsageDateAsTime ¶
func (o *SavingsPlanUtilizationSummaryProperties) SetUsageDateAsTime(input time.Time)
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_billingprofile.go
- id_savingsplan.go
- id_savingsplanorder.go
- method_listbybillingaccountid_autorest.go
- method_listbybillingprofileid_autorest.go
- method_listbysavingsplanid_autorest.go
- method_listbysavingsplanorder_autorest.go
- model_benefitutilizationsummary.go
- model_includedquantityutilizationsummary.go
- model_includedquantityutilizationsummaryproperties.go
- model_savingsplanutilizationsummary.go
- model_savingsplanutilizationsummaryproperties.go
- predicates.go
- version.go