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) (resp 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, ...) (resp 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) 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) 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
type SkusListByOfferCompleteResult ¶
type SkusListByOfferCompleteResult struct {
Items []Sku
}
type SkusListByOfferOperationOptions ¶
type SkusListByOfferOperationOptions struct {
Expand *string
}
func DefaultSkusListByOfferOperationOptions ¶
func DefaultSkusListByOfferOperationOptions() SkusListByOfferOperationOptions
type SkusListByOfferOperationResponse ¶
type SkusListByOfferOperationResponse struct { HttpResponse *http.Response Model *[]Sku // contains filtered or unexported fields }
func (SkusListByOfferOperationResponse) HasMore ¶
func (r SkusListByOfferOperationResponse) HasMore() bool
func (SkusListByOfferOperationResponse) LoadMore ¶
func (r SkusListByOfferOperationResponse) LoadMore(ctx context.Context) (resp SkusListByOfferOperationResponse, err error)
type SkusesClient ¶
func NewSkusesClientWithBaseURI ¶
func NewSkusesClientWithBaseURI(endpoint string) SkusesClient
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) (resp SkusListByOfferOperationResponse, err error)
SkusListByOffer ...
func (SkusesClient) SkusListByOfferComplete ¶
func (c SkusesClient) SkusListByOfferComplete(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions) (SkusListByOfferCompleteResult, error)
SkusListByOfferComplete retrieves all of the results into a single object
func (SkusesClient) SkusListByOfferCompleteMatchingPredicate ¶
func (c SkusesClient) SkusListByOfferCompleteMatchingPredicate(ctx context.Context, id OfferId, options SkusListByOfferOperationOptions, predicate SkuOperationPredicate) (resp SkusListByOfferCompleteResult, err error)
SkusListByOfferCompleteMatchingPredicate retrieves all of the results and then applied the predicate