Documentation ¶
Index ¶
- func ValidateOfferID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSkuID(input interface{}, key string) (warnings []string, errors []error)
- type OfferId
- type Sku
- type SkuId
- type SkuMappings
- type SkuOperationPredicate
- type SkuProperties
- type SkusGetOperationOptions
- type SkusGetOperationResponse
- type SkusListByOfferCompleteResult
- type SkusListByOfferOperationOptions
- type SkusListByOfferOperationResponse
- type SkusesClient
- func (c SkusesClient) SkusGet(ctx context.Context, id SkuId, options SkusGetOperationOptions) (result SkusGetOperationResponse, err error)
- func (c SkusesClient) SkusListByOffer(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions) (result SkusListByOfferOperationResponse, err error)
- func (c SkusesClient) SkusListByOfferComplete(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions) (SkusListByOfferCompleteResult, error)
- func (c SkusesClient) SkusListByOfferCompleteMatchingPredicate(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions, ...) (result SkusListByOfferCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOfferID ¶
ValidateOfferID checks that 'input' can be parsed as a Offer ID
func ValidateSkuID ¶
ValidateSkuID checks that 'input' can be parsed as a Sku ID
Types ¶
type OfferId ¶
type OfferId struct { SubscriptionId string ResourceGroupName string ClusterName string PublisherName string OfferName string }
OfferId is a struct representing the Resource ID for a Offer
func NewOfferID ¶
func NewOfferID(subscriptionId string, resourceGroupName string, clusterName string, publisherName string, offerName string) OfferId
NewOfferID returns a new OfferId struct
func ParseOfferID ¶
ParseOfferID parses 'input' into a OfferId
func ParseOfferIDInsensitively ¶
ParseOfferIDInsensitively parses 'input' case-insensitively into a OfferId note: this method should only be used for API response data and not user input
func (*OfferId) FromParseResult ¶ added in v0.20231127.1171502
func (id *OfferId) FromParseResult(input resourceids.ParseResult) error
func (OfferId) Segments ¶
func (id OfferId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Offer ID
type Sku ¶
type Sku struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SkuProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SkuId ¶
type SkuId struct { SubscriptionId string ResourceGroupName string ClusterName string PublisherName string OfferName string SkuName string }
SkuId is a struct representing the Resource ID for a Sku
func NewSkuID ¶
func NewSkuID(subscriptionId string, resourceGroupName string, clusterName string, publisherName string, offerName string, skuName string) SkuId
NewSkuID returns a new SkuId struct
func ParseSkuID ¶
ParseSkuID parses 'input' into a SkuId
func ParseSkuIDInsensitively ¶
ParseSkuIDInsensitively parses 'input' case-insensitively into a SkuId note: this method should only be used for API response data and not user input
func (*SkuId) FromParseResult ¶ added in v0.20231127.1171502
func (id *SkuId) FromParseResult(input resourceids.ParseResult) error
func (SkuId) Segments ¶
func (id SkuId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Sku ID
type SkuMappings ¶
type SkuOperationPredicate ¶
func (SkuOperationPredicate) Matches ¶
func (p SkuOperationPredicate) Matches(input Sku) bool
type SkuProperties ¶
type SkuProperties struct { Content *string `json:"content,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` OfferId *string `json:"offerId,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublisherId *string `json:"publisherId,omitempty"` SkuMappings *[]SkuMappings `json:"skuMappings,omitempty"` }
type SkusGetOperationOptions ¶
type SkusGetOperationOptions struct {
Expand *string
}
func DefaultSkusGetOperationOptions ¶
func DefaultSkusGetOperationOptions() SkusGetOperationOptions
func (SkusGetOperationOptions) ToHeaders ¶ added in v0.20230731.1080956
func (o SkusGetOperationOptions) ToHeaders() *client.Headers
func (SkusGetOperationOptions) ToOData ¶ added in v0.20230731.1080956
func (o SkusGetOperationOptions) ToOData() *odata.Query
func (SkusGetOperationOptions) ToQuery ¶ added in v0.20230731.1080956
func (o SkusGetOperationOptions) ToQuery() *client.QueryParams
type SkusListByOfferOperationOptions ¶
type SkusListByOfferOperationOptions struct {
Expand *string
}
func DefaultSkusListByOfferOperationOptions ¶
func DefaultSkusListByOfferOperationOptions() SkusListByOfferOperationOptions
func (SkusListByOfferOperationOptions) ToHeaders ¶ added in v0.20230731.1080956
func (o SkusListByOfferOperationOptions) ToHeaders() *client.Headers
func (SkusListByOfferOperationOptions) ToOData ¶ added in v0.20230731.1080956
func (o SkusListByOfferOperationOptions) ToOData() *odata.Query
func (SkusListByOfferOperationOptions) ToQuery ¶ added in v0.20230731.1080956
func (o SkusListByOfferOperationOptions) ToQuery() *client.QueryParams
type SkusesClient ¶
type SkusesClient struct {
Client *resourcemanager.Client
}
func NewSkusesClientWithBaseURI ¶
func NewSkusesClientWithBaseURI(sdkApi sdkEnv.Api) (*SkusesClient, error)
func (SkusesClient) SkusGet ¶
func (c SkusesClient) SkusGet(ctx context.Context, id SkuId, options SkusGetOperationOptions) (result SkusGetOperationResponse, err error)
SkusGet ...
func (SkusesClient) SkusListByOffer ¶
func (c SkusesClient) SkusListByOffer(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions) (result SkusListByOfferOperationResponse, err error)
SkusListByOffer ...
func (SkusesClient) SkusListByOfferComplete ¶
func (c SkusesClient) SkusListByOfferComplete(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions) (SkusListByOfferCompleteResult, error)
SkusListByOfferComplete retrieves all the results into a single object
func (SkusesClient) SkusListByOfferCompleteMatchingPredicate ¶
func (c SkusesClient) SkusListByOfferCompleteMatchingPredicate(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions, predicate SkuOperationPredicate) (result SkusListByOfferCompleteResult, err error)
SkusListByOfferCompleteMatchingPredicate retrieves all the results and then applies the predicate