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 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 BaseBenefitUtilizationSummaryImpl struct + Id *string + Kind BenefitKind + Name *string + Type *string + func (s BaseBenefitUtilizationSummaryImpl) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl + type BenefitKind string + const BenefitKindIncludedQuantity + const BenefitKindReservation + const BenefitKindSavingsPlan + func (s *BenefitKind) UnmarshalJSON(bytes []byte) error + type BenefitUtilizationSummariesClient struct + Client *resourcemanager.Client + func NewBenefitUtilizationSummariesClientWithBaseURI(sdkApi sdkEnv.Api) (*BenefitUtilizationSummariesClient, error) + func (c BenefitUtilizationSummariesClient) ListByBillingAccountId(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountIdOperationResponse, err error) + func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountIdCompleteResult, error) + func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountIdCompleteResult, err error) + func (c BenefitUtilizationSummariesClient) ListByBillingProfileId(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileIdOperationResponse, err error) + func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete(ctx context.Context, id BillingProfileId, ...) (ListByBillingProfileIdCompleteResult, error) + func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileIdCompleteResult, err error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanId(ctx context.Context, id SavingsPlanId, ...) (result ListBySavingsPlanIdOperationResponse, err error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete(ctx context.Context, id SavingsPlanId, ...) (ListBySavingsPlanIdCompleteResult, error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate(ctx context.Context, id SavingsPlanId, ...) (result ListBySavingsPlanIdCompleteResult, err error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId, ...) (result ListBySavingsPlanOrderOperationResponse, err error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId, ...) (ListBySavingsPlanOrderCompleteResult, error) + func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, ...) (result ListBySavingsPlanOrderCompleteResult, err error) + type BenefitUtilizationSummary interface + BenefitUtilizationSummary func() BaseBenefitUtilizationSummaryImpl + func UnmarshalBenefitUtilizationSummaryImplementation(input []byte) (BenefitUtilizationSummary, error) + type BenefitUtilizationSummaryOperationPredicate struct + func (p BenefitUtilizationSummaryOperationPredicate) Matches(input BenefitUtilizationSummary) bool + 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 GrainParameter string + const GrainParameterDaily + const GrainParameterHourly + const GrainParameterMonthly + func (s *GrainParameter) UnmarshalJSON(bytes []byte) error + type IncludedQuantityUtilizationSummary struct + Id *string + Kind BenefitKind + Name *string + Properties *IncludedQuantityUtilizationSummaryProperties + Type *string + func (s IncludedQuantityUtilizationSummary) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl + func (s IncludedQuantityUtilizationSummary) MarshalJSON() ([]byte, error) + type IncludedQuantityUtilizationSummaryProperties struct + ArmSkuName *string + BenefitId *string + BenefitOrderId *string + BenefitType *BenefitKind + UsageDate *string + UtilizationPercentage *float64 + func (o *IncludedQuantityUtilizationSummaryProperties) GetUsageDateAsTime() (*time.Time, error) + func (o *IncludedQuantityUtilizationSummaryProperties) SetUsageDateAsTime(input time.Time) + type ListByBillingAccountIdCompleteResult struct + Items []BenefitUtilizationSummary + LatestHttpResponse *http.Response + type ListByBillingAccountIdCustomPager struct + NextLink *odata.Link + func (p *ListByBillingAccountIdCustomPager) NextPageLink() *odata.Link + type ListByBillingAccountIdOperationOptions struct + Filter *string + GrainParameter *GrainParameter + func DefaultListByBillingAccountIdOperationOptions() ListByBillingAccountIdOperationOptions + func (o ListByBillingAccountIdOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingAccountIdOperationOptions) ToOData() *odata.Query + func (o ListByBillingAccountIdOperationOptions) ToQuery() *client.QueryParams + type ListByBillingAccountIdOperationResponse struct + HttpResponse *http.Response + Model *[]BenefitUtilizationSummary + OData *odata.OData + type ListByBillingProfileIdCompleteResult struct + Items []BenefitUtilizationSummary + LatestHttpResponse *http.Response + type ListByBillingProfileIdCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileIdCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileIdOperationOptions struct + Filter *string + GrainParameter *GrainParameter + func DefaultListByBillingProfileIdOperationOptions() ListByBillingProfileIdOperationOptions + func (o ListByBillingProfileIdOperationOptions) ToHeaders() *client.Headers + func (o ListByBillingProfileIdOperationOptions) ToOData() *odata.Query + func (o ListByBillingProfileIdOperationOptions) ToQuery() *client.QueryParams + type ListByBillingProfileIdOperationResponse struct + HttpResponse *http.Response + Model *[]BenefitUtilizationSummary + OData *odata.OData + type ListBySavingsPlanIdCompleteResult struct + Items []BenefitUtilizationSummary + LatestHttpResponse *http.Response + type ListBySavingsPlanIdCustomPager struct + NextLink *odata.Link + func (p *ListBySavingsPlanIdCustomPager) NextPageLink() *odata.Link + type ListBySavingsPlanIdOperationOptions struct + Filter *string + GrainParameter *GrainParameter + func DefaultListBySavingsPlanIdOperationOptions() ListBySavingsPlanIdOperationOptions + func (o ListBySavingsPlanIdOperationOptions) ToHeaders() *client.Headers + func (o ListBySavingsPlanIdOperationOptions) ToOData() *odata.Query + func (o ListBySavingsPlanIdOperationOptions) ToQuery() *client.QueryParams + type ListBySavingsPlanIdOperationResponse struct + HttpResponse *http.Response + Model *[]BenefitUtilizationSummary + OData *odata.OData + type ListBySavingsPlanOrderCompleteResult struct + Items []BenefitUtilizationSummary + LatestHttpResponse *http.Response + type ListBySavingsPlanOrderCustomPager struct + NextLink *odata.Link + func (p *ListBySavingsPlanOrderCustomPager) NextPageLink() *odata.Link + type ListBySavingsPlanOrderOperationOptions struct + Filter *string + GrainParameter *GrainParameter + func DefaultListBySavingsPlanOrderOperationOptions() ListBySavingsPlanOrderOperationOptions + func (o ListBySavingsPlanOrderOperationOptions) ToHeaders() *client.Headers + func (o ListBySavingsPlanOrderOperationOptions) ToOData() *odata.Query + func (o ListBySavingsPlanOrderOperationOptions) ToQuery() *client.QueryParams + type ListBySavingsPlanOrderOperationResponse struct + HttpResponse *http.Response + Model *[]BenefitUtilizationSummary + OData *odata.OData + type RawBenefitUtilizationSummaryImpl struct + Type string + Values map[string]interface{} + func (s RawBenefitUtilizationSummaryImpl) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl + type SavingsPlanId struct + SavingsPlanId string + SavingsPlanOrderId string + func NewSavingsPlanID(savingsPlanOrderId string, savingsPlanId string) SavingsPlanId + func ParseSavingsPlanID(input string) (*SavingsPlanId, error) + func ParseSavingsPlanIDInsensitively(input string) (*SavingsPlanId, error) + func (id *SavingsPlanId) FromParseResult(input resourceids.ParseResult) error + func (id SavingsPlanId) ID() string + func (id SavingsPlanId) Segments() []resourceids.Segment + func (id SavingsPlanId) String() string + type SavingsPlanOrderId struct + SavingsPlanOrderId string + func NewSavingsPlanOrderID(savingsPlanOrderId string) SavingsPlanOrderId + func ParseSavingsPlanOrderID(input string) (*SavingsPlanOrderId, error) + func ParseSavingsPlanOrderIDInsensitively(input string) (*SavingsPlanOrderId, error) + func (id *SavingsPlanOrderId) FromParseResult(input resourceids.ParseResult) error + func (id SavingsPlanOrderId) ID() string + func (id SavingsPlanOrderId) Segments() []resourceids.Segment + func (id SavingsPlanOrderId) String() string + type SavingsPlanUtilizationSummary struct + Id *string + Kind BenefitKind + Name *string + Properties *SavingsPlanUtilizationSummaryProperties + Type *string + func (s SavingsPlanUtilizationSummary) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl + func (s SavingsPlanUtilizationSummary) MarshalJSON() ([]byte, error) + type SavingsPlanUtilizationSummaryProperties struct + ArmSkuName *string + AvgUtilizationPercentage *float64 + BenefitId *string + BenefitOrderId *string + BenefitType *BenefitKind + MaxUtilizationPercentage *float64 + MinUtilizationPercentage *float64 + UsageDate *string + func (o *SavingsPlanUtilizationSummaryProperties) GetUsageDateAsTime() (*time.Time, error) + func (o *SavingsPlanUtilizationSummaryProperties) SetUsageDateAsTime(input time.Time)