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) (result 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, ...) (result OffersListByClusterCompleteResult, err error)
- func (c OffersClient) OffersListByPublisher(ctx context.Context, id PublisherId, ...) (result OffersListByPublisherOperationResponse, err error)
- func (c OffersClient) OffersListByPublisherComplete(ctx context.Context, id PublisherId, ...) (OffersListByPublisherCompleteResult, error)
- func (c OffersClient) OffersListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, ...) (result 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,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) 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) 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) (result OffersListByClusterOperationResponse, err error)
OffersListByCluster ...
func (OffersClient) OffersListByClusterComplete ¶
func (c OffersClient) OffersListByClusterComplete(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions) (OffersListByClusterCompleteResult, error)
OffersListByClusterComplete retrieves all the results into a single object
func (OffersClient) OffersListByClusterCompleteMatchingPredicate ¶
func (c OffersClient) OffersListByClusterCompleteMatchingPredicate(ctx context.Context, id ClusterId, options OffersListByClusterOperationOptions, predicate OfferOperationPredicate) (result OffersListByClusterCompleteResult, err error)
OffersListByClusterCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (OffersClient) OffersListByPublisher ¶
func (c OffersClient) OffersListByPublisher(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions) (result OffersListByPublisherOperationResponse, err error)
OffersListByPublisher ...
func (OffersClient) OffersListByPublisherComplete ¶
func (c OffersClient) OffersListByPublisherComplete(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions) (OffersListByPublisherCompleteResult, error)
OffersListByPublisherComplete retrieves all the results into a single object
func (OffersClient) OffersListByPublisherCompleteMatchingPredicate ¶
func (c OffersClient) OffersListByPublisherCompleteMatchingPredicate(ctx context.Context, id PublisherId, options OffersListByPublisherOperationOptions, predicate OfferOperationPredicate) (result OffersListByPublisherCompleteResult, err error)
OffersListByPublisherCompleteMatchingPredicate retrieves all the results and then applies the predicate
type OffersGetOperationOptions ¶
type OffersGetOperationOptions struct {
Expand *string
}
func DefaultOffersGetOperationOptions ¶
func DefaultOffersGetOperationOptions() OffersGetOperationOptions
func (OffersGetOperationOptions) ToHeaders ¶ added in v0.20230731.1080956
func (o OffersGetOperationOptions) ToHeaders() *client.Headers
func (OffersGetOperationOptions) ToOData ¶ added in v0.20230731.1080956
func (o OffersGetOperationOptions) ToOData() *odata.Query
func (OffersGetOperationOptions) ToQuery ¶ added in v0.20230731.1080956
func (o OffersGetOperationOptions) ToQuery() *client.QueryParams
type OffersListByClusterCompleteResult ¶
type OffersListByClusterCompleteResult struct {
Items []Offer
}
type OffersListByClusterOperationOptions ¶
type OffersListByClusterOperationOptions struct {
Expand *string
}
func DefaultOffersListByClusterOperationOptions ¶
func DefaultOffersListByClusterOperationOptions() OffersListByClusterOperationOptions
func (OffersListByClusterOperationOptions) ToHeaders ¶ added in v0.20230731.1080956
func (o OffersListByClusterOperationOptions) ToHeaders() *client.Headers
func (OffersListByClusterOperationOptions) ToOData ¶ added in v0.20230731.1080956
func (o OffersListByClusterOperationOptions) ToOData() *odata.Query
func (OffersListByClusterOperationOptions) ToQuery ¶ added in v0.20230731.1080956
func (o OffersListByClusterOperationOptions) ToQuery() *client.QueryParams
type OffersListByPublisherCompleteResult ¶
type OffersListByPublisherCompleteResult struct {
Items []Offer
}
type OffersListByPublisherOperationOptions ¶
type OffersListByPublisherOperationOptions struct {
Expand *string
}
func DefaultOffersListByPublisherOperationOptions ¶
func DefaultOffersListByPublisherOperationOptions() OffersListByPublisherOperationOptions
func (OffersListByPublisherOperationOptions) ToHeaders ¶ added in v0.20230731.1080956
func (o OffersListByPublisherOperationOptions) ToHeaders() *client.Headers
func (OffersListByPublisherOperationOptions) ToOData ¶ added in v0.20230731.1080956
func (o OffersListByPublisherOperationOptions) ToOData() *odata.Query
func (OffersListByPublisherOperationOptions) ToQuery ¶ added in v0.20230731.1080956
func (o OffersListByPublisherOperationOptions) ToQuery() *client.QueryParams
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