Documentation ¶
Index ¶
- func PossibleValuesForAppliedScopeType() []string
- func PossibleValuesForBillingPlan() []string
- func PossibleValuesForCommitmentGrain() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForSavingsPlanTerm() []string
- func ValidateBillingAccountID(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 AppliedScopeProperties
- type AppliedScopeType
- type BillingAccountId
- type BillingPlan
- type Commitment
- type CommitmentGrain
- type ExtendedStatusInfo
- type ExtendedStatusInfoProperties
- type GetByBillingAccountOperationOptions
- type GetByBillingAccountOperationResponse
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type ListBySavingsPlanOrderCompleteResult
- type ListBySavingsPlanOrderCustomPager
- type ListBySavingsPlanOrderOperationResponse
- type ProvisioningState
- type PurchaseRequest
- type PurchaseRequestProperties
- type RenewProperties
- type SavingsPlanClient
- func (c SavingsPlanClient) GetByBillingAccount(ctx context.Context, id SavingsPlanId, ...) (result GetByBillingAccountOperationResponse, err error)
- func (c SavingsPlanClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c SavingsPlanClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c SavingsPlanClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- func (c SavingsPlanClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId) (result ListBySavingsPlanOrderOperationResponse, err error)
- func (c SavingsPlanClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId) (ListBySavingsPlanOrderCompleteResult, error)
- func (c SavingsPlanClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, ...) (result ListBySavingsPlanOrderCompleteResult, err error)
- func (c SavingsPlanClient) UpdateByBillingAccount(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateRequest) (result UpdateByBillingAccountOperationResponse, err error)
- func (c SavingsPlanClient) UpdateByBillingAccountThenPoll(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateRequest) error
- func (c SavingsPlanClient) ValidateUpdateByBillingAccount(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateValidateRequest) (result ValidateUpdateByBillingAccountOperationResponse, err error)
- type SavingsPlanId
- type SavingsPlanModel
- type SavingsPlanModelOperationPredicate
- type SavingsPlanModelProperties
- func (o *SavingsPlanModelProperties) GetBenefitStartTimeAsTime() (*time.Time, error)
- func (o *SavingsPlanModelProperties) GetEffectiveDateTimeAsTime() (*time.Time, error)
- func (o *SavingsPlanModelProperties) GetExpiryDateTimeAsTime() (*time.Time, error)
- func (o *SavingsPlanModelProperties) GetPurchaseDateTimeAsTime() (*time.Time, error)
- func (o *SavingsPlanModelProperties) SetBenefitStartTimeAsTime(input time.Time)
- func (o *SavingsPlanModelProperties) SetEffectiveDateTimeAsTime(input time.Time)
- func (o *SavingsPlanModelProperties) SetExpiryDateTimeAsTime(input time.Time)
- func (o *SavingsPlanModelProperties) SetPurchaseDateTimeAsTime(input time.Time)
- type SavingsPlanOrderId
- type SavingsPlanTerm
- type SavingsPlanUpdateRequest
- type SavingsPlanUpdateRequestProperties
- type SavingsPlanUpdateValidateRequest
- type SavingsPlanValidResponseProperty
- type SavingsPlanValidateResponse
- type Sku
- type UpdateByBillingAccountOperationResponse
- type Utilization
- type UtilizationAggregates
- type ValidateUpdateByBillingAccountOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAppliedScopeType ¶
func PossibleValuesForAppliedScopeType() []string
func PossibleValuesForBillingPlan ¶
func PossibleValuesForBillingPlan() []string
func PossibleValuesForCommitmentGrain ¶
func PossibleValuesForCommitmentGrain() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForSavingsPlanTerm ¶
func PossibleValuesForSavingsPlanTerm() []string
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account 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 AppliedScopeProperties ¶
type AppliedScopeProperties struct { DisplayName *string `json:"displayName,omitempty"` ManagementGroupId *string `json:"managementGroupId,omitempty"` ResourceGroupId *string `json:"resourceGroupId,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type AppliedScopeType ¶
type AppliedScopeType string
const ( AppliedScopeTypeManagementGroup AppliedScopeType = "ManagementGroup" AppliedScopeTypeSingle AppliedScopeType = "Single" )
func (*AppliedScopeType) UnmarshalJSON ¶
func (s *AppliedScopeType) UnmarshalJSON(bytes []byte) error
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName 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 BillingPlan ¶
type BillingPlan string
const (
BillingPlanPOneM BillingPlan = "P1M"
)
func (*BillingPlan) UnmarshalJSON ¶
func (s *BillingPlan) UnmarshalJSON(bytes []byte) error
type Commitment ¶
type Commitment struct { Amount *float64 `json:"amount,omitempty"` CurrencyCode *string `json:"currencyCode,omitempty"` Grain *CommitmentGrain `json:"grain,omitempty"` }
type CommitmentGrain ¶
type CommitmentGrain string
const (
CommitmentGrainHourly CommitmentGrain = "Hourly"
)
func (*CommitmentGrain) UnmarshalJSON ¶
func (s *CommitmentGrain) UnmarshalJSON(bytes []byte) error
type ExtendedStatusInfo ¶
type ExtendedStatusInfo struct { Message *string `json:"message,omitempty"` Properties *ExtendedStatusInfoProperties `json:"properties,omitempty"` StatusCode *string `json:"statusCode,omitempty"` }
type ExtendedStatusInfoProperties ¶
type ExtendedStatusInfoProperties struct {
SubscriptionId *string `json:"subscriptionId,omitempty"`
}
type GetByBillingAccountOperationOptions ¶
type GetByBillingAccountOperationOptions struct {
Expand *string
}
func DefaultGetByBillingAccountOperationOptions ¶
func DefaultGetByBillingAccountOperationOptions() GetByBillingAccountOperationOptions
func (GetByBillingAccountOperationOptions) ToHeaders ¶
func (o GetByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (GetByBillingAccountOperationOptions) ToOData ¶
func (o GetByBillingAccountOperationOptions) ToOData() *odata.Query
func (GetByBillingAccountOperationOptions) ToQuery ¶
func (o GetByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type GetByBillingAccountOperationResponse ¶
type GetByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SavingsPlanModel }
type ListByBillingAccountCompleteResult ¶
type ListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []SavingsPlanModel }
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct { Filter *string OrderBy *string RefreshSummary *string SelectedState *string Skiptoken *int64 Take *int64 }
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SavingsPlanModel }
type ListBySavingsPlanOrderCompleteResult ¶
type ListBySavingsPlanOrderCompleteResult struct { LatestHttpResponse *http.Response Items []SavingsPlanModel }
type ListBySavingsPlanOrderCustomPager ¶ added in v0.20240628.1153531
func (*ListBySavingsPlanOrderCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySavingsPlanOrderCustomPager) NextPageLink() *odata.Link
type ListBySavingsPlanOrderOperationResponse ¶
type ListBySavingsPlanOrderOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SavingsPlanModel }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateConfirmedBilling ProvisioningState = "ConfirmedBilling" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateExpired ProvisioningState = "Expired" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStatePendingBilling ProvisioningState = "PendingBilling" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PurchaseRequest ¶
type PurchaseRequest struct { Properties *PurchaseRequestProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` }
type PurchaseRequestProperties ¶
type PurchaseRequestProperties struct { AppliedScopeProperties *AppliedScopeProperties `json:"appliedScopeProperties,omitempty"` AppliedScopeType *AppliedScopeType `json:"appliedScopeType,omitempty"` BillingPlan *BillingPlan `json:"billingPlan,omitempty"` BillingScopeId *string `json:"billingScopeId,omitempty"` Commitment *Commitment `json:"commitment,omitempty"` DisplayName *string `json:"displayName,omitempty"` Renew *bool `json:"renew,omitempty"` Term *SavingsPlanTerm `json:"term,omitempty"` }
type RenewProperties ¶
type RenewProperties struct {
PurchaseProperties *PurchaseRequest `json:"purchaseProperties,omitempty"`
}
type SavingsPlanClient ¶
type SavingsPlanClient struct {
Client *resourcemanager.Client
}
func NewSavingsPlanClientWithBaseURI ¶
func NewSavingsPlanClientWithBaseURI(sdkApi sdkEnv.Api) (*SavingsPlanClient, error)
func (SavingsPlanClient) GetByBillingAccount ¶
func (c SavingsPlanClient) GetByBillingAccount(ctx context.Context, id SavingsPlanId, options GetByBillingAccountOperationOptions) (result GetByBillingAccountOperationResponse, err error)
GetByBillingAccount ...
func (SavingsPlanClient) ListByBillingAccount ¶
func (c SavingsPlanClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (SavingsPlanClient) ListByBillingAccountComplete ¶
func (c SavingsPlanClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (SavingsPlanClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c SavingsPlanClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate SavingsPlanModelOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SavingsPlanClient) ListBySavingsPlanOrder ¶
func (c SavingsPlanClient) ListBySavingsPlanOrder(ctx context.Context, id SavingsPlanOrderId) (result ListBySavingsPlanOrderOperationResponse, err error)
ListBySavingsPlanOrder ...
func (SavingsPlanClient) ListBySavingsPlanOrderComplete ¶
func (c SavingsPlanClient) ListBySavingsPlanOrderComplete(ctx context.Context, id SavingsPlanOrderId) (ListBySavingsPlanOrderCompleteResult, error)
ListBySavingsPlanOrderComplete retrieves all the results into a single object
func (SavingsPlanClient) ListBySavingsPlanOrderCompleteMatchingPredicate ¶
func (c SavingsPlanClient) ListBySavingsPlanOrderCompleteMatchingPredicate(ctx context.Context, id SavingsPlanOrderId, predicate SavingsPlanModelOperationPredicate) (result ListBySavingsPlanOrderCompleteResult, err error)
ListBySavingsPlanOrderCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SavingsPlanClient) UpdateByBillingAccount ¶
func (c SavingsPlanClient) UpdateByBillingAccount(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateRequest) (result UpdateByBillingAccountOperationResponse, err error)
UpdateByBillingAccount ...
func (SavingsPlanClient) UpdateByBillingAccountThenPoll ¶
func (c SavingsPlanClient) UpdateByBillingAccountThenPoll(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateRequest) error
UpdateByBillingAccountThenPoll performs UpdateByBillingAccount then polls until it's completed
func (SavingsPlanClient) ValidateUpdateByBillingAccount ¶
func (c SavingsPlanClient) ValidateUpdateByBillingAccount(ctx context.Context, id SavingsPlanId, input SavingsPlanUpdateValidateRequest) (result ValidateUpdateByBillingAccountOperationResponse, err error)
ValidateUpdateByBillingAccount ...
type SavingsPlanId ¶
type SavingsPlanId struct { BillingAccountName string SavingsPlanOrderId string SavingsPlanId string }
SavingsPlanId is a struct representing the Resource ID for a Savings Plan
func NewSavingsPlanID ¶
func NewSavingsPlanID(billingAccountName string, 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 SavingsPlanModel ¶
type SavingsPlanModel struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SavingsPlanModelProperties `json:"properties,omitempty"` Sku Sku `json:"sku"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type SavingsPlanModelOperationPredicate ¶
func (SavingsPlanModelOperationPredicate) Matches ¶
func (p SavingsPlanModelOperationPredicate) Matches(input SavingsPlanModel) bool
type SavingsPlanModelProperties ¶
type SavingsPlanModelProperties struct { AppliedScopeProperties *AppliedScopeProperties `json:"appliedScopeProperties,omitempty"` AppliedScopeType *AppliedScopeType `json:"appliedScopeType,omitempty"` BenefitStartTime *string `json:"benefitStartTime,omitempty"` BillingAccountId *string `json:"billingAccountId,omitempty"` BillingPlan *BillingPlan `json:"billingPlan,omitempty"` BillingProfileId *string `json:"billingProfileId,omitempty"` BillingScopeId *string `json:"billingScopeId,omitempty"` Commitment *Commitment `json:"commitment,omitempty"` CustomerId *string `json:"customerId,omitempty"` DisplayName *string `json:"displayName,omitempty"` DisplayProvisioningState *string `json:"displayProvisioningState,omitempty"` EffectiveDateTime *string `json:"effectiveDateTime,omitempty"` ExpiryDate *string `json:"expiryDate,omitempty"` ExpiryDateTime *string `json:"expiryDateTime,omitempty"` ExtendedStatusInfo *ExtendedStatusInfo `json:"extendedStatusInfo,omitempty"` ProductCode *string `json:"productCode,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PurchaseDateTime *string `json:"purchaseDateTime,omitempty"` Renew *bool `json:"renew,omitempty"` RenewDestination *string `json:"renewDestination,omitempty"` RenewProperties *RenewProperties `json:"renewProperties,omitempty"` RenewSource *string `json:"renewSource,omitempty"` Term *SavingsPlanTerm `json:"term,omitempty"` UserFriendlyAppliedScopeType *string `json:"userFriendlyAppliedScopeType,omitempty"` Utilization *Utilization `json:"utilization,omitempty"` }
func (*SavingsPlanModelProperties) GetBenefitStartTimeAsTime ¶
func (o *SavingsPlanModelProperties) GetBenefitStartTimeAsTime() (*time.Time, error)
func (*SavingsPlanModelProperties) GetEffectiveDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) GetEffectiveDateTimeAsTime() (*time.Time, error)
func (*SavingsPlanModelProperties) GetExpiryDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) GetExpiryDateTimeAsTime() (*time.Time, error)
func (*SavingsPlanModelProperties) GetPurchaseDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) GetPurchaseDateTimeAsTime() (*time.Time, error)
func (*SavingsPlanModelProperties) SetBenefitStartTimeAsTime ¶
func (o *SavingsPlanModelProperties) SetBenefitStartTimeAsTime(input time.Time)
func (*SavingsPlanModelProperties) SetEffectiveDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) SetEffectiveDateTimeAsTime(input time.Time)
func (*SavingsPlanModelProperties) SetExpiryDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) SetExpiryDateTimeAsTime(input time.Time)
func (*SavingsPlanModelProperties) SetPurchaseDateTimeAsTime ¶
func (o *SavingsPlanModelProperties) SetPurchaseDateTimeAsTime(input time.Time)
type SavingsPlanOrderId ¶
SavingsPlanOrderId is a struct representing the Resource ID for a Savings Plan Order
func NewSavingsPlanOrderID ¶
func NewSavingsPlanOrderID(billingAccountName string, 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 SavingsPlanTerm ¶
type SavingsPlanTerm string
const ( SavingsPlanTermPFiveY SavingsPlanTerm = "P5Y" SavingsPlanTermPOneY SavingsPlanTerm = "P1Y" SavingsPlanTermPThreeY SavingsPlanTerm = "P3Y" )
func (*SavingsPlanTerm) UnmarshalJSON ¶
func (s *SavingsPlanTerm) UnmarshalJSON(bytes []byte) error
type SavingsPlanUpdateRequest ¶
type SavingsPlanUpdateRequest struct { Properties *SavingsPlanUpdateRequestProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type SavingsPlanUpdateRequestProperties ¶
type SavingsPlanUpdateRequestProperties struct { AppliedScopeProperties *AppliedScopeProperties `json:"appliedScopeProperties,omitempty"` AppliedScopeType *AppliedScopeType `json:"appliedScopeType,omitempty"` DisplayName *string `json:"displayName,omitempty"` Renew *bool `json:"renew,omitempty"` RenewProperties *RenewProperties `json:"renewProperties,omitempty"` }
type SavingsPlanUpdateValidateRequest ¶
type SavingsPlanUpdateValidateRequest struct {
Benefits *[]SavingsPlanUpdateRequestProperties `json:"benefits,omitempty"`
}
type SavingsPlanValidateResponse ¶
type SavingsPlanValidateResponse struct { Benefits *[]SavingsPlanValidResponseProperty `json:"benefits,omitempty"` NextLink *string `json:"nextLink,omitempty"` }
type Utilization ¶
type Utilization struct { Aggregates *[]UtilizationAggregates `json:"aggregates,omitempty"` Trend *string `json:"trend,omitempty"` }
type UtilizationAggregates ¶
type ValidateUpdateByBillingAccountOperationResponse ¶
type ValidateUpdateByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *SavingsPlanValidateResponse }
Source Files ¶
- client.go
- constants.go
- id_billingaccount.go
- id_savingsplan.go
- id_savingsplanorder.go
- method_getbybillingaccount.go
- method_listbybillingaccount.go
- method_listbysavingsplanorder.go
- method_updatebybillingaccount.go
- method_validateupdatebybillingaccount.go
- model_appliedscopeproperties.go
- model_commitment.go
- model_extendedstatusinfo.go
- model_extendedstatusinfoproperties.go
- model_purchaserequest.go
- model_purchaserequestproperties.go
- model_renewproperties.go
- model_savingsplanmodel.go
- model_savingsplanmodelproperties.go
- model_savingsplanupdaterequest.go
- model_savingsplanupdaterequestproperties.go
- model_savingsplanupdatevalidaterequest.go
- model_savingsplanvalidateresponse.go
- model_savingsplanvalidresponseproperty.go
- model_sku.go
- model_utilization.go
- model_utilizationaggregates.go
- predicates.go
- version.go