Documentation ¶
Index ¶
- func PossibleValuesForAccountCreationSource() []string
- func PossibleValuesForBillingCycle() []string
- func PossibleValuesForOrgCreationSource() []string
- func PossibleValuesForUsageType() []string
- type AccountCreationSource
- type BillingCycle
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type OrgCreationSource
- type PlanClient
- func (c PlanClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c PlanClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
- func (c PlanClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type PlanData
- type PlanDataProperties
- type PlanDataResource
- type PlanDataResourceOperationPredicate
- type UsageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccountCreationSource ¶
func PossibleValuesForAccountCreationSource() []string
func PossibleValuesForBillingCycle ¶
func PossibleValuesForBillingCycle() []string
func PossibleValuesForOrgCreationSource ¶
func PossibleValuesForOrgCreationSource() []string
func PossibleValuesForUsageType ¶
func PossibleValuesForUsageType() []string
Types ¶
type AccountCreationSource ¶
type AccountCreationSource string
const ( AccountCreationSourceLIFTR AccountCreationSource = "LIFTR" AccountCreationSourceNEWRELIC AccountCreationSource = "NEWRELIC" )
func (*AccountCreationSource) UnmarshalJSON ¶
func (s *AccountCreationSource) UnmarshalJSON(bytes []byte) error
type BillingCycle ¶
type BillingCycle string
const ( BillingCycleMONTHLY BillingCycle = "MONTHLY" BillingCycleWEEKLY BillingCycle = "WEEKLY" BillingCycleYEARLY BillingCycle = "YEARLY" )
func (*BillingCycle) UnmarshalJSON ¶
func (s *BillingCycle) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []PlanDataResource
}
type ListOperationOptions ¶
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]PlanDataResource }
type OrgCreationSource ¶
type OrgCreationSource string
const ( OrgCreationSourceLIFTR OrgCreationSource = "LIFTR" OrgCreationSourceNEWRELIC OrgCreationSource = "NEWRELIC" )
func (*OrgCreationSource) UnmarshalJSON ¶
func (s *OrgCreationSource) UnmarshalJSON(bytes []byte) error
type PlanClient ¶
type PlanClient struct {
Client *resourcemanager.Client
}
func NewPlanClientWithBaseURI ¶
func NewPlanClientWithBaseURI(sdkApi sdkEnv.Api) (*PlanClient, error)
func (PlanClient) List ¶
func (c PlanClient) List(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (PlanClient) ListComplete ¶
func (c PlanClient) ListComplete(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PlanClient) ListCompleteMatchingPredicate ¶
func (c PlanClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, options ListOperationOptions, predicate PlanDataResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type PlanData ¶
type PlanData struct { BillingCycle *BillingCycle `json:"billingCycle,omitempty"` EffectiveDate *string `json:"effectiveDate,omitempty"` PlanDetails *string `json:"planDetails,omitempty"` UsageType *UsageType `json:"usageType,omitempty"` }
func (*PlanData) GetEffectiveDateAsTime ¶
func (*PlanData) SetEffectiveDateAsTime ¶
type PlanDataProperties ¶
type PlanDataProperties struct { AccountCreationSource *AccountCreationSource `json:"accountCreationSource,omitempty"` OrgCreationSource *OrgCreationSource `json:"orgCreationSource,omitempty"` PlanData *PlanData `json:"planData,omitempty"` }
type PlanDataResource ¶
type PlanDataResource struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PlanDataProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PlanDataResourceOperationPredicate ¶
func (PlanDataResourceOperationPredicate) Matches ¶
func (p PlanDataResourceOperationPredicate) Matches(input PlanDataResource) bool
Click to show internal directories.
Click to hide internal directories.