Documentation ¶
Index ¶
- func PossibleValuesForPricingTier() []string
- func ValidatePricingID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderPricingID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateResourceGroupPricingOperationResponse
- type GetResourceGroupPricingOperationResponse
- type GetSubscriptionPricingOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type Pricing
- type PricingId
- type PricingOperationPredicate
- type PricingProperties
- type PricingTier
- type PricingsClient
- func (c PricingsClient) CreateOrUpdateResourceGroupPricing(ctx context.Context, id ProviderPricingId, input Pricing) (result CreateOrUpdateResourceGroupPricingOperationResponse, err error)
- func (c PricingsClient) GetResourceGroupPricing(ctx context.Context, id ProviderPricingId) (result GetResourceGroupPricingOperationResponse, err error)
- func (c PricingsClient) GetSubscriptionPricing(ctx context.Context, id PricingId) (result GetSubscriptionPricingOperationResponse, err error)
- func (c PricingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c PricingsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c PricingsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c PricingsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c PricingsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c PricingsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c PricingsClient) UpdateSubscriptionPricing(ctx context.Context, id PricingId, input Pricing) (result UpdateSubscriptionPricingOperationResponse, err error)
- type ProviderPricingId
- type UpdateSubscriptionPricingOperationResponse
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
func ValidateProviderPricingID ¶
ValidateProviderPricingID checks that 'input' can be parsed as a Provider Pricing ID
Types ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
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 PricingOperationPredicate ¶
func (PricingOperationPredicate) Matches ¶
func (p PricingOperationPredicate) Matches(input Pricing) bool
type PricingProperties ¶
type PricingProperties struct {
PricingTier PricingTier `json:"pricingTier"`
}
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) CreateOrUpdateResourceGroupPricing ¶
func (c PricingsClient) CreateOrUpdateResourceGroupPricing(ctx context.Context, id ProviderPricingId, input Pricing) (result CreateOrUpdateResourceGroupPricingOperationResponse, err error)
CreateOrUpdateResourceGroupPricing ...
func (PricingsClient) GetResourceGroupPricing ¶
func (c PricingsClient) GetResourceGroupPricing(ctx context.Context, id ProviderPricingId) (result GetResourceGroupPricingOperationResponse, err error)
GetResourceGroupPricing ...
func (PricingsClient) GetSubscriptionPricing ¶
func (c PricingsClient) GetSubscriptionPricing(ctx context.Context, id PricingId) (result GetSubscriptionPricingOperationResponse, err error)
GetSubscriptionPricing ...
func (PricingsClient) List ¶
func (c PricingsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (PricingsClient) ListByResourceGroup ¶
func (c PricingsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (PricingsClient) ListByResourceGroupComplete ¶
func (c PricingsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (PricingsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c PricingsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PricingOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PricingsClient) ListComplete ¶
func (c PricingsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (PricingsClient) ListCompleteMatchingPredicate ¶
func (c PricingsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PricingOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PricingsClient) UpdateSubscriptionPricing ¶
func (c PricingsClient) UpdateSubscriptionPricing(ctx context.Context, id PricingId, input Pricing) (result UpdateSubscriptionPricingOperationResponse, err error)
UpdateSubscriptionPricing ...
type ProviderPricingId ¶
ProviderPricingId is a struct representing the Resource ID for a Provider Pricing
func NewProviderPricingID ¶
func NewProviderPricingID(subscriptionId string, resourceGroupName string, pricingName string) ProviderPricingId
NewProviderPricingID returns a new ProviderPricingId struct
func ParseProviderPricingID ¶
func ParseProviderPricingID(input string) (*ProviderPricingId, error)
ParseProviderPricingID parses 'input' into a ProviderPricingId
func ParseProviderPricingIDInsensitively ¶
func ParseProviderPricingIDInsensitively(input string) (*ProviderPricingId, error)
ParseProviderPricingIDInsensitively parses 'input' case-insensitively into a ProviderPricingId note: this method should only be used for API response data and not user input
func (*ProviderPricingId) FromParseResult ¶
func (id *ProviderPricingId) FromParseResult(input resourceids.ParseResult) error
func (ProviderPricingId) ID ¶
func (id ProviderPricingId) ID() string
ID returns the formatted Provider Pricing ID
func (ProviderPricingId) Segments ¶
func (id ProviderPricingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Pricing ID
func (ProviderPricingId) String ¶
func (id ProviderPricingId) String() string
String returns a human-readable description of this Provider Pricing ID
Source Files ¶
- client.go
- constants.go
- id_pricing.go
- id_providerpricing.go
- method_createorupdateresourcegrouppricing.go
- method_getresourcegrouppricing.go
- method_getsubscriptionpricing.go
- method_list.go
- method_listbyresourcegroup.go
- method_updatesubscriptionpricing.go
- model_pricing.go
- model_pricingproperties.go
- predicates.go
- version.go