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 GetOperationOptions
- type GetOperationResponse
- type ListByClusterCompleteResult
- type ListByClusterOperationOptions
- type ListByClusterOperationResponse
- type ListByPublisherCompleteResult
- type ListByPublisherOperationOptions
- type ListByPublisherOperationResponse
- type Offer
- type OfferId
- type OfferOperationPredicate
- type OfferProperties
- type OffersClient
- func (c OffersClient) Get(ctx context.Context, id OfferId, options GetOperationOptions) (result GetOperationResponse, err error)
- func (c OffersClient) ListByCluster(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (result ListByClusterOperationResponse, err error)
- func (c OffersClient) ListByClusterComplete(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (ListByClusterCompleteResult, error)
- func (c OffersClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options ListByClusterOperationOptions, ...) (result ListByClusterCompleteResult, err error)
- func (c OffersClient) ListByPublisher(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions) (result ListByPublisherOperationResponse, err error)
- func (c OffersClient) ListByPublisherComplete(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions) (ListByPublisherCompleteResult, error)
- func (c OffersClient) ListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions, ...) (result ListByPublisherCompleteResult, err error)
- 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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type GetOperationOptions ¶
type GetOperationOptions struct {
Expand *string
}
func DefaultGetOperationOptions ¶
func DefaultGetOperationOptions() GetOperationOptions
func (GetOperationOptions) ToHeaders ¶
func (o GetOperationOptions) ToHeaders() *client.Headers
func (GetOperationOptions) ToOData ¶
func (o GetOperationOptions) ToOData() *odata.Query
func (GetOperationOptions) ToQuery ¶
func (o GetOperationOptions) ToQuery() *client.QueryParams
type GetOperationResponse ¶
type ListByClusterCompleteResult ¶
type ListByClusterCompleteResult struct {
Items []Offer
}
type ListByClusterOperationOptions ¶
type ListByClusterOperationOptions struct {
Expand *string
}
func DefaultListByClusterOperationOptions ¶
func DefaultListByClusterOperationOptions() ListByClusterOperationOptions
func (ListByClusterOperationOptions) ToHeaders ¶
func (o ListByClusterOperationOptions) ToHeaders() *client.Headers
func (ListByClusterOperationOptions) ToOData ¶
func (o ListByClusterOperationOptions) ToOData() *odata.Query
func (ListByClusterOperationOptions) ToQuery ¶
func (o ListByClusterOperationOptions) ToQuery() *client.QueryParams
type ListByPublisherCompleteResult ¶
type ListByPublisherCompleteResult struct {
Items []Offer
}
type ListByPublisherOperationOptions ¶
type ListByPublisherOperationOptions struct {
Expand *string
}
func DefaultListByPublisherOperationOptions ¶
func DefaultListByPublisherOperationOptions() ListByPublisherOperationOptions
func (ListByPublisherOperationOptions) ToHeaders ¶
func (o ListByPublisherOperationOptions) ToHeaders() *client.Headers
func (ListByPublisherOperationOptions) ToOData ¶
func (o ListByPublisherOperationOptions) ToOData() *odata.Query
func (ListByPublisherOperationOptions) ToQuery ¶
func (o ListByPublisherOperationOptions) ToQuery() *client.QueryParams
type Offer ¶
type Offer struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OfferProperties `json:"properties,omitempty"` 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) 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 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 ¶
type OffersClient struct {
Client *resourcemanager.Client
}
func NewOffersClientWithBaseURI ¶
func NewOffersClientWithBaseURI(sdkApi sdkEnv.Api) (*OffersClient, error)
func (OffersClient) Get ¶
func (c OffersClient) Get(ctx context.Context, id OfferId, options GetOperationOptions) (result GetOperationResponse, err error)
Get ...
func (OffersClient) ListByCluster ¶
func (c OffersClient) ListByCluster(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (result ListByClusterOperationResponse, err error)
ListByCluster ...
func (OffersClient) ListByClusterComplete ¶
func (c OffersClient) ListByClusterComplete(ctx context.Context, id ClusterId, options ListByClusterOperationOptions) (ListByClusterCompleteResult, error)
ListByClusterComplete retrieves all the results into a single object
func (OffersClient) ListByClusterCompleteMatchingPredicate ¶
func (c OffersClient) ListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options ListByClusterOperationOptions, predicate OfferOperationPredicate) (result ListByClusterCompleteResult, err error)
ListByClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OffersClient) ListByPublisher ¶
func (c OffersClient) ListByPublisher(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions) (result ListByPublisherOperationResponse, err error)
ListByPublisher ...
func (OffersClient) ListByPublisherComplete ¶
func (c OffersClient) ListByPublisherComplete(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions) (ListByPublisherCompleteResult, error)
ListByPublisherComplete retrieves all the results into a single object
func (OffersClient) ListByPublisherCompleteMatchingPredicate ¶
func (c OffersClient) ListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, options ListByPublisherOperationOptions, predicate OfferOperationPredicate) (result ListByPublisherCompleteResult, err error)
ListByPublisherCompleteMatchingPredicate retrieves all the results and then applies the predicate
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) FromParseResult ¶ added in v0.20231127.1171502
func (id *PublisherId) FromParseResult(input resourceids.ParseResult) error
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