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) (resp ListOperationResponse, err error)
- func (c PricingsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp 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, ...) (resp 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, ...) (resp 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 ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Pricing
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]Pricing // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []Pricing
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]Pricing // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
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 ¶ added in v0.20231127.1171502
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" )
type PricingsClient ¶
func NewPricingsClientWithBaseURI ¶
func NewPricingsClientWithBaseURI(endpoint string) PricingsClient
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) (resp ListOperationResponse, err error)
List ...
func (PricingsClient) ListByResourceGroup ¶
func (c PricingsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (PricingsClient) ListByResourceGroupComplete ¶
func (c PricingsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (PricingsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c PricingsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PricingOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PricingsClient) ListComplete ¶
func (c PricingsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (PricingsClient) ListCompleteMatchingPredicate ¶
func (c PricingsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PricingOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied 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 ¶ added in v0.20231127.1171502
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_autorest.go
- method_getresourcegrouppricing_autorest.go
- method_getsubscriptionpricing_autorest.go
- method_list_autorest.go
- method_listbyresourcegroup_autorest.go
- method_updatesubscriptionpricing_autorest.go
- model_pricing.go
- model_pricingproperties.go
- predicates.go
- version.go