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 PossibleValuesForCode() []string + func PossibleValuesForIsEnabled() []string + func PossibleValuesForPricingTier() []string + func ValidatePricingID(input interface{}, key string) (warnings []string, errors []error) + type Code string + const CodeFailed + const CodeSucceeded + func (s *Code) UnmarshalJSON(bytes []byte) error + type Extension struct + AdditionalExtensionProperties *map[string]interface{} + IsEnabled IsEnabled + Name string + OperationStatus *OperationStatus + type GetOperationResponse struct + HttpResponse *http.Response + Model *Pricing + OData *odata.OData + type IsEnabled string + const IsEnabledFalse + const IsEnabledTrue + func (s *IsEnabled) UnmarshalJSON(bytes []byte) error + type ListOperationResponse struct + HttpResponse *http.Response + Model *PricingList + OData *odata.OData + type OperationStatus struct + Code *Code + Message *string + type Pricing struct + Id *string + Name *string + Properties *PricingProperties + Type *string + type PricingId struct + PricingName string + SubscriptionId string + func NewPricingID(subscriptionId string, pricingName string) PricingId + func ParsePricingID(input string) (*PricingId, error) + func ParsePricingIDInsensitively(input string) (*PricingId, error) + func (id *PricingId) FromParseResult(input resourceids.ParseResult) error + func (id PricingId) ID() string + func (id PricingId) Segments() []resourceids.Segment + func (id PricingId) String() string + type PricingList struct + Value []Pricing + type PricingProperties struct + Deprecated *bool + EnablementTime *string + Extensions *[]Extension + FreeTrialRemainingTime *string + PricingTier PricingTier + ReplacedBy *[]string + SubPlan *string + func (o *PricingProperties) GetEnablementTimeAsTime() (*time.Time, error) + func (o *PricingProperties) SetEnablementTimeAsTime(input time.Time) + type PricingTier string + const PricingTierFree + const PricingTierStandard + func (s *PricingTier) UnmarshalJSON(bytes []byte) error + type PricingsClient struct + Client *resourcemanager.Client + func NewPricingsClientWithBaseURI(sdkApi sdkEnv.Api) (*PricingsClient, error) + 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 struct + HttpResponse *http.Response + Model *Pricing + OData *odata.OData