Documentation ¶
Index ¶
- func ValidateClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateOfferID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePublisherID(input interface{}, key string) (warnings []string, errors []error)
- type ClusterId
- type Offer
- type OfferId
- type OfferOperationPredicate
- type OfferProperties
- type OffersClient
- func (c OffersClient) OffersGet(ctx context.Context, id OfferId, options OffersGetOperationOptions) (result OffersGetOperationResponse, err error)
- func (c OffersClient) OffersListByCluster(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions) (resp OffersListByClusterOperationResponse, err error)
- func (c OffersClient) OffersListByClusterComplete(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions) (OffersListByClusterCompleteResult, error)
- func (c OffersClient) OffersListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions, ...) (resp OffersListByClusterCompleteResult, err error)
- func (c OffersClient) OffersListByPublisher(ctx context.Context, id PublisherId, ...) (resp OffersListByPublisherOperationResponse, err error)
- func (c OffersClient) OffersListByPublisherComplete(ctx context.Context, id PublisherId, ...) (OffersListByPublisherCompleteResult, error)
- func (c OffersClient) OffersListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, ...) (resp OffersListByPublisherCompleteResult, err error)
- type OffersGetOperationOptions
- type OffersGetOperationResponse
- type OffersListByClusterCompleteResult
- type OffersListByClusterOperationOptions
- type OffersListByClusterOperationResponse
- type OffersListByPublisherCompleteResult
- type OffersListByPublisherOperationOptions
- type OffersListByPublisherOperationResponse
- type PublisherId
- type SkuMappings
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
func ValidateOfferID ¶
ValidateOfferID checks that 'input' can be parsed as a Offer ID
func ValidatePublisherID ¶
ValidatePublisherID checks that 'input' can be parsed as a Publisher ID
Types ¶
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type Offer ¶
type Offer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OfferProperties `json:"properties"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
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 OfferOperationPredicate ¶
func (OfferOperationPredicate) Matches ¶
func (p OfferOperationPredicate) Matches(input Offer) bool
type OfferProperties ¶
type OfferProperties struct { Content *string `json:"content,omitempty"` ContentVersion *string `json:"contentVersion,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` PublisherId *string `json:"publisherId,omitempty"` SkuMappings *[]SkuMappings `json:"skuMappings,omitempty"` }
type OffersClient ¶
func NewOffersClientWithBaseURI ¶
func NewOffersClientWithBaseURI(endpoint string) OffersClient
func (OffersClient) OffersGet ¶
func (c OffersClient) OffersGet(ctx context.Context, id OfferId, options OffersGetOperationOptions) (result OffersGetOperationResponse, err error)
OffersGet ...
func (OffersClient) OffersListByCluster ¶
func (c OffersClient) OffersListByCluster(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions) (resp OffersListByClusterOperationResponse, err error)
OffersListByCluster ...
func (OffersClient) OffersListByClusterComplete ¶
func (c OffersClient) OffersListByClusterComplete(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions) (OffersListByClusterCompleteResult, error)
OffersListByClusterComplete retrieves all of the results into a single object
func (OffersClient) OffersListByClusterCompleteMatchingPredicate ¶
func (c OffersClient) OffersListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions, predicate OfferOperationPredicate) (resp OffersListByClusterCompleteResult, err error)
OffersListByClusterCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (OffersClient) OffersListByPublisher ¶
func (c OffersClient) OffersListByPublisher(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions) (resp OffersListByPublisherOperationResponse, err error)
OffersListByPublisher ...
func (OffersClient) OffersListByPublisherComplete ¶
func (c OffersClient) OffersListByPublisherComplete(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions) (OffersListByPublisherCompleteResult, error)
OffersListByPublisherComplete retrieves all of the results into a single object
func (OffersClient) OffersListByPublisherCompleteMatchingPredicate ¶
func (c OffersClient) OffersListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions, predicate OfferOperationPredicate) (resp OffersListByPublisherCompleteResult, err error)
OffersListByPublisherCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type OffersGetOperationOptions ¶
type OffersGetOperationOptions struct {
Expand *string
}
func DefaultOffersGetOperationOptions ¶
func DefaultOffersGetOperationOptions() OffersGetOperationOptions
type OffersListByClusterCompleteResult ¶
type OffersListByClusterCompleteResult struct {
Items []Offer
}
type OffersListByClusterOperationOptions ¶
type OffersListByClusterOperationOptions struct {
Expand *string
}
func DefaultOffersListByClusterOperationOptions ¶
func DefaultOffersListByClusterOperationOptions() OffersListByClusterOperationOptions
type OffersListByClusterOperationResponse ¶
type OffersListByClusterOperationResponse struct { HttpResponse *http.Response Model *[]Offer // contains filtered or unexported fields }
func (OffersListByClusterOperationResponse) HasMore ¶
func (r OffersListByClusterOperationResponse) HasMore() bool
func (OffersListByClusterOperationResponse) LoadMore ¶
func (r OffersListByClusterOperationResponse) LoadMore(ctx context.Context) (resp OffersListByClusterOperationResponse, err error)
type OffersListByPublisherCompleteResult ¶
type OffersListByPublisherCompleteResult struct {
Items []Offer
}
type OffersListByPublisherOperationOptions ¶
type OffersListByPublisherOperationOptions struct {
Expand *string
}
func DefaultOffersListByPublisherOperationOptions ¶
func DefaultOffersListByPublisherOperationOptions() OffersListByPublisherOperationOptions
type OffersListByPublisherOperationResponse ¶
type OffersListByPublisherOperationResponse struct { HttpResponse *http.Response Model *[]Offer // contains filtered or unexported fields }
func (OffersListByPublisherOperationResponse) HasMore ¶
func (r OffersListByPublisherOperationResponse) HasMore() bool
func (OffersListByPublisherOperationResponse) LoadMore ¶
func (r OffersListByPublisherOperationResponse) LoadMore(ctx context.Context) (resp OffersListByPublisherOperationResponse, err error)
type PublisherId ¶
type PublisherId struct { SubscriptionId string ResourceGroupName string ClusterName string PublisherName string }
PublisherId is a struct representing the Resource ID for a Publisher
func NewPublisherID ¶
func NewPublisherID(subscriptionId string, resourceGroupName string, clusterName string, publisherName string) PublisherId
NewPublisherID returns a new PublisherId struct
func ParsePublisherID ¶
func ParsePublisherID(input string) (*PublisherId, error)
ParsePublisherID parses 'input' into a PublisherId
func ParsePublisherIDInsensitively ¶
func ParsePublisherIDInsensitively(input string) (*PublisherId, error)
ParsePublisherIDInsensitively parses 'input' case-insensitively into a PublisherId note: this method should only be used for API response data and not user input
func (PublisherId) Segments ¶
func (id PublisherId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Publisher ID
func (PublisherId) String ¶
func (id PublisherId) String() string
String returns a human-readable description of this Publisher ID