Documentation ¶
Index ¶
- func PossibleValuesForPricingTier() []string
- func ValidatePricingID(input interface{}, key string) (warnings []string, errors []error)
- type GetOperationResponse
- type ListOperationResponse
- type Pricing
- type PricingId
- type PricingList
- type PricingProperties
- type PricingTier
- type PricingsClient
- func (c PricingsClient) Get(ctx context.Context, id PricingId) (result GetOperationResponse, err error)
- func (c PricingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c PricingsClient) Update(ctx context.Context, id PricingId, input Pricing) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPricingTier ¶
func PossibleValuesForPricingTier() []string
func ValidatePricingID ¶
ValidatePricingID checks that 'input' can be parsed as a Pricing ID
Types ¶
type GetOperationResponse ¶
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *PricingList }
type Pricing ¶
type Pricing struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PricingProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PricingId ¶
PricingId is a struct representing the Resource ID for a Pricing
func NewPricingID ¶
NewPricingID returns a new PricingId struct
func ParsePricingID ¶
ParsePricingID parses 'input' into a PricingId
func ParsePricingIDInsensitively ¶
ParsePricingIDInsensitively parses 'input' case-insensitively into a PricingId note: this method should only be used for API response data and not user input
func (*PricingId) FromParseResult ¶
func (id *PricingId) FromParseResult(input resourceids.ParseResult) error
func (PricingId) Segments ¶
func (id PricingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pricing ID
type PricingList ¶
type PricingList struct {
Value []Pricing `json:"value"`
}
type PricingProperties ¶
type PricingProperties struct { Deprecated *bool `json:"deprecated,omitempty"` FreeTrialRemainingTime *string `json:"freeTrialRemainingTime,omitempty"` PricingTier PricingTier `json:"pricingTier"` ReplacedBy *[]string `json:"replacedBy,omitempty"` SubPlan *string `json:"subPlan,omitempty"` }
type PricingTier ¶
type PricingTier string
const ( PricingTierFree PricingTier = "Free" PricingTierStandard PricingTier = "Standard" )
func (*PricingTier) UnmarshalJSON ¶ added in v0.20240228.1142829
func (s *PricingTier) UnmarshalJSON(bytes []byte) error
type PricingsClient ¶
type PricingsClient struct {
Client *resourcemanager.Client
}
func NewPricingsClientWithBaseURI ¶
func NewPricingsClientWithBaseURI(sdkApi sdkEnv.Api) (*PricingsClient, error)
func (PricingsClient) Get ¶
func (c PricingsClient) Get(ctx context.Context, id PricingId) (result GetOperationResponse, err error)
Get ...
func (PricingsClient) List ¶
func (c PricingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (PricingsClient) Update ¶
func (c PricingsClient) Update(ctx context.Context, id PricingId, input Pricing) (result UpdateOperationResponse, err error)
Update ...
Click to show internal directories.
Click to hide internal directories.