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 BaseBenefitUtilizationSummaryImpl
- type BenefitKind
- type BenefitUtilizationSummariesClient
- 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
- type BenefitUtilizationSummaryOperationPredicate
- type BillingAccountId
- type BillingProfileId
- type GrainParameter
- type IncludedQuantityUtilizationSummary
- type IncludedQuantityUtilizationSummaryProperties
- type ListByBillingAccountIdCompleteResult
- type ListByBillingAccountIdCustomPager
- type ListByBillingAccountIdOperationOptions
- type ListByBillingAccountIdOperationResponse
- type ListByBillingProfileIdCompleteResult
- type ListByBillingProfileIdCustomPager
- type ListByBillingProfileIdOperationOptions
- type ListByBillingProfileIdOperationResponse
- type ListBySavingsPlanIdCompleteResult
- type ListBySavingsPlanIdCustomPager
- type ListBySavingsPlanIdOperationOptions
- type ListBySavingsPlanIdOperationResponse
- type ListBySavingsPlanOrderCompleteResult
- type ListBySavingsPlanOrderCustomPager
- type ListBySavingsPlanOrderOperationOptions
- type ListBySavingsPlanOrderOperationResponse
- type RawBenefitUtilizationSummaryImpl
- 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 BaseBenefitUtilizationSummaryImpl ¶ added in v0.20240920.1135249
type BaseBenefitUtilizationSummaryImpl struct { Id *string `json:"id,omitempty"` Kind BenefitKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (BaseBenefitUtilizationSummaryImpl) BenefitUtilizationSummary ¶ added in v0.20240920.1135249
func (s BaseBenefitUtilizationSummaryImpl) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl
type BenefitKind ¶
type BenefitKind string
const ( BenefitKindIncludedQuantity BenefitKind = "IncludedQuantity" BenefitKindReservation BenefitKind = "Reservation" BenefitKindSavingsPlan BenefitKind = "SavingsPlan" )
func (*BenefitKind) UnmarshalJSON ¶
func (s *BenefitKind) UnmarshalJSON(bytes []byte) error
type BenefitUtilizationSummariesClient ¶
type BenefitUtilizationSummariesClient struct {
Client *resourcemanager.Client
}
func NewBenefitUtilizationSummariesClientWithBaseURI ¶
func NewBenefitUtilizationSummariesClientWithBaseURI(sdkApi sdkEnv.Api) (*BenefitUtilizationSummariesClient, error)
func (BenefitUtilizationSummariesClient) ListByBillingAccountId ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountId(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions) (result ListByBillingAccountIdOperationResponse, err error)
ListByBillingAccountId ...
func (BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions) (ListByBillingAccountIdCompleteResult, error)
ListByBillingAccountIdComplete retrieves all the results into a single object
func (BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListByBillingAccountIdCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (result ListByBillingAccountIdCompleteResult, err error)
ListByBillingAccountIdCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BenefitUtilizationSummariesClient) ListByBillingProfileId ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileId(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions) (result ListByBillingProfileIdOperationResponse, err error)
ListByBillingProfileId ...
func (BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdComplete(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions) (ListByBillingProfileIdCompleteResult, error)
ListByBillingProfileIdComplete retrieves all the results into a single object
func (BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListByBillingProfileIdCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, options ListByBillingProfileIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (result ListByBillingProfileIdCompleteResult, err error)
ListByBillingProfileIdCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BenefitUtilizationSummariesClient) ListBySavingsPlanId ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanId(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions) (result ListBySavingsPlanIdOperationResponse, err error)
ListBySavingsPlanId ...
func (BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdComplete(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions) (ListBySavingsPlanIdCompleteResult, error)
ListBySavingsPlanIdComplete retrieves all the results into a single object
func (BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanIdCompleteMatchingPredicate(ctx context.Context, id SavingsPlanId, options ListBySavingsPlanIdOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (result ListBySavingsPlanIdCompleteResult, err error)
ListBySavingsPlanIdCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrder ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions) (result ListBySavingsPlanOrderOperationResponse, err error)
ListBySavingsPlanOrder ...
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions) (ListBySavingsPlanOrderCompleteResult, error)
ListBySavingsPlanOrderComplete retrieves all the results into a single object
func (BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate ¶
func (c BenefitUtilizationSummariesClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, options ListBySavingsPlanOrderOperationOptions, predicate BenefitUtilizationSummaryOperationPredicate) (result ListBySavingsPlanOrderCompleteResult, err error)
ListBySavingsPlanOrderCompleteMatchingPredicate retrieves all the results and then applies the predicate
type BenefitUtilizationSummary ¶
type BenefitUtilizationSummary interface {
BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl
}
func UnmarshalBenefitUtilizationSummaryImplementation ¶ added in v0.20240920.1135249
func UnmarshalBenefitUtilizationSummaryImplementation(input []byte) (BenefitUtilizationSummary, error)
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) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error
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" )
func (*GrainParameter) UnmarshalJSON ¶
func (s *GrainParameter) UnmarshalJSON(bytes []byte) error
type IncludedQuantityUtilizationSummary ¶
type IncludedQuantityUtilizationSummary struct { Properties *IncludedQuantityUtilizationSummaryProperties `json:"properties,omitempty"` Id *string `json:"id,omitempty"` Kind BenefitKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (IncludedQuantityUtilizationSummary) BenefitUtilizationSummary ¶ added in v0.20240920.1135249
func (s IncludedQuantityUtilizationSummary) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl
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 { LatestHttpResponse *http.Response Items []BenefitUtilizationSummary }
type ListByBillingAccountIdCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountIdCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountIdCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountIdOperationOptions ¶
type ListByBillingAccountIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListByBillingAccountIdOperationOptions ¶
func DefaultListByBillingAccountIdOperationOptions() ListByBillingAccountIdOperationOptions
func (ListByBillingAccountIdOperationOptions) ToHeaders ¶
func (o ListByBillingAccountIdOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountIdOperationOptions) ToOData ¶
func (o ListByBillingAccountIdOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountIdOperationOptions) ToQuery ¶
func (o ListByBillingAccountIdOperationOptions) ToQuery() *client.QueryParams
type ListByBillingAccountIdOperationResponse ¶
type ListByBillingAccountIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BenefitUtilizationSummary }
type ListByBillingProfileIdCompleteResult ¶
type ListByBillingProfileIdCompleteResult struct { LatestHttpResponse *http.Response Items []BenefitUtilizationSummary }
type ListByBillingProfileIdCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingProfileIdCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingProfileIdCustomPager) NextPageLink() *odata.Link
type ListByBillingProfileIdOperationOptions ¶
type ListByBillingProfileIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListByBillingProfileIdOperationOptions ¶
func DefaultListByBillingProfileIdOperationOptions() ListByBillingProfileIdOperationOptions
func (ListByBillingProfileIdOperationOptions) ToHeaders ¶
func (o ListByBillingProfileIdOperationOptions) ToHeaders() *client.Headers
func (ListByBillingProfileIdOperationOptions) ToOData ¶
func (o ListByBillingProfileIdOperationOptions) ToOData() *odata.Query
func (ListByBillingProfileIdOperationOptions) ToQuery ¶
func (o ListByBillingProfileIdOperationOptions) ToQuery() *client.QueryParams
type ListByBillingProfileIdOperationResponse ¶
type ListByBillingProfileIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BenefitUtilizationSummary }
type ListBySavingsPlanIdCompleteResult ¶
type ListBySavingsPlanIdCompleteResult struct { LatestHttpResponse *http.Response Items []BenefitUtilizationSummary }
type ListBySavingsPlanIdCustomPager ¶ added in v0.20240628.1153531
func (*ListBySavingsPlanIdCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySavingsPlanIdCustomPager) NextPageLink() *odata.Link
type ListBySavingsPlanIdOperationOptions ¶
type ListBySavingsPlanIdOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListBySavingsPlanIdOperationOptions ¶
func DefaultListBySavingsPlanIdOperationOptions() ListBySavingsPlanIdOperationOptions
func (ListBySavingsPlanIdOperationOptions) ToHeaders ¶
func (o ListBySavingsPlanIdOperationOptions) ToHeaders() *client.Headers
func (ListBySavingsPlanIdOperationOptions) ToOData ¶
func (o ListBySavingsPlanIdOperationOptions) ToOData() *odata.Query
func (ListBySavingsPlanIdOperationOptions) ToQuery ¶
func (o ListBySavingsPlanIdOperationOptions) ToQuery() *client.QueryParams
type ListBySavingsPlanIdOperationResponse ¶
type ListBySavingsPlanIdOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BenefitUtilizationSummary }
type ListBySavingsPlanOrderCompleteResult ¶
type ListBySavingsPlanOrderCompleteResult struct { LatestHttpResponse *http.Response Items []BenefitUtilizationSummary }
type ListBySavingsPlanOrderCustomPager ¶ added in v0.20240628.1153531
func (*ListBySavingsPlanOrderCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySavingsPlanOrderCustomPager) NextPageLink() *odata.Link
type ListBySavingsPlanOrderOperationOptions ¶
type ListBySavingsPlanOrderOperationOptions struct { Filter *string GrainParameter *GrainParameter }
func DefaultListBySavingsPlanOrderOperationOptions ¶
func DefaultListBySavingsPlanOrderOperationOptions() ListBySavingsPlanOrderOperationOptions
func (ListBySavingsPlanOrderOperationOptions) ToHeaders ¶
func (o ListBySavingsPlanOrderOperationOptions) ToHeaders() *client.Headers
func (ListBySavingsPlanOrderOperationOptions) ToOData ¶
func (o ListBySavingsPlanOrderOperationOptions) ToOData() *odata.Query
func (ListBySavingsPlanOrderOperationOptions) ToQuery ¶
func (o ListBySavingsPlanOrderOperationOptions) ToQuery() *client.QueryParams
type ListBySavingsPlanOrderOperationResponse ¶
type ListBySavingsPlanOrderOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]BenefitUtilizationSummary }
type RawBenefitUtilizationSummaryImpl ¶
type RawBenefitUtilizationSummaryImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawBenefitUtilizationSummaryImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawBenefitUtilizationSummaryImpl) BenefitUtilizationSummary ¶ added in v0.20240920.1135249
func (s RawBenefitUtilizationSummaryImpl) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl
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) FromParseResult ¶
func (id *SavingsPlanId) FromParseResult(input resourceids.ParseResult) error
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) FromParseResult ¶
func (id *SavingsPlanOrderId) FromParseResult(input resourceids.ParseResult) error
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"` Id *string `json:"id,omitempty"` Kind BenefitKind `json:"kind"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` }
func (SavingsPlanUtilizationSummary) BenefitUtilizationSummary ¶ added in v0.20240920.1135249
func (s SavingsPlanUtilizationSummary) BenefitUtilizationSummary() BaseBenefitUtilizationSummaryImpl
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.go
- method_listbybillingprofileid.go
- method_listbysavingsplanid.go
- method_listbysavingsplanorder.go
- model_benefitutilizationsummary.go
- model_includedquantityutilizationsummary.go
- model_includedquantityutilizationsummaryproperties.go
- model_savingsplanutilizationsummary.go
- model_savingsplanutilizationsummaryproperties.go
- predicates.go
- version.go