Documentation ¶
Index ¶
- func PossibleValuesForLabServicesSkuTier() []string
- func PossibleValuesForRestrictionReasonCode() []string
- func PossibleValuesForRestrictionType() []string
- func PossibleValuesForScaleType() []string
- type LabServicesSku
- type LabServicesSkuCapabilities
- type LabServicesSkuCapacity
- type LabServicesSkuCost
- type LabServicesSkuOperationPredicate
- type LabServicesSkuRestrictions
- type LabServicesSkuTier
- type ListCompleteResult
- type ListOperationResponse
- type RestrictionReasonCode
- type RestrictionType
- type ScaleType
- type SkusClient
- func (c SkusClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
- func (c SkusClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c SkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLabServicesSkuTier ¶
func PossibleValuesForLabServicesSkuTier() []string
func PossibleValuesForRestrictionReasonCode ¶
func PossibleValuesForRestrictionReasonCode() []string
func PossibleValuesForRestrictionType ¶
func PossibleValuesForRestrictionType() []string
func PossibleValuesForScaleType ¶
func PossibleValuesForScaleType() []string
Types ¶
type LabServicesSku ¶
type LabServicesSku struct { Capabilities *[]LabServicesSkuCapabilities `json:"capabilities,omitempty"` Capacity *LabServicesSkuCapacity `json:"capacity,omitempty"` Costs *[]LabServicesSkuCost `json:"costs,omitempty"` Family *string `json:"family,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]LabServicesSkuRestrictions `json:"restrictions,omitempty"` Size *string `json:"size,omitempty"` Tier *LabServicesSkuTier `json:"tier,omitempty"` }
type LabServicesSkuCapacity ¶
type LabServicesSkuCost ¶
type LabServicesSkuOperationPredicate ¶
type LabServicesSkuOperationPredicate struct { Family *string Name *string ResourceType *string Size *string }
func (LabServicesSkuOperationPredicate) Matches ¶
func (p LabServicesSkuOperationPredicate) Matches(input LabServicesSku) bool
type LabServicesSkuRestrictions ¶
type LabServicesSkuRestrictions struct { ReasonCode *RestrictionReasonCode `json:"reasonCode,omitempty"` Type *RestrictionType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
type LabServicesSkuTier ¶
type LabServicesSkuTier string
const ( LabServicesSkuTierPremium LabServicesSkuTier = "Premium" LabServicesSkuTierStandard LabServicesSkuTier = "Standard" )
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []LabServicesSku
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]LabServicesSku // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type RestrictionReasonCode ¶
type RestrictionReasonCode string
const ( RestrictionReasonCodeNotAvailableForSubscription RestrictionReasonCode = "NotAvailableForSubscription" RestrictionReasonCodeQuotaId RestrictionReasonCode = "QuotaId" )
type RestrictionType ¶
type RestrictionType string
const (
RestrictionTypeLocation RestrictionType = "Location"
)
type SkusClient ¶
func NewSkusClientWithBaseURI ¶
func NewSkusClientWithBaseURI(endpoint string) SkusClient
func (SkusClient) List ¶
func (c SkusClient) List(ctx context.Context, id commonids.SubscriptionId) (resp ListOperationResponse, err error)
List ...
func (SkusClient) ListComplete ¶
func (c SkusClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (SkusClient) ListCompleteMatchingPredicate ¶
func (c SkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LabServicesSkuOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
Click to show internal directories.
Click to hide internal directories.