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 ListCustomPager
- type ListOperationResponse
- type RestrictionReasonCode
- type RestrictionType
- type ScaleType
- type SkusClient
- func (c SkusClient) List(ctx context.Context, id commonids.SubscriptionId) (result 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, ...) (result 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" )
func (*LabServicesSkuTier) UnmarshalJSON ¶
func (s *LabServicesSkuTier) UnmarshalJSON(bytes []byte) error
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []LabServicesSku }
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]LabServicesSku }
type RestrictionReasonCode ¶
type RestrictionReasonCode string
const ( RestrictionReasonCodeNotAvailableForSubscription RestrictionReasonCode = "NotAvailableForSubscription" RestrictionReasonCodeQuotaId RestrictionReasonCode = "QuotaId" )
func (*RestrictionReasonCode) UnmarshalJSON ¶
func (s *RestrictionReasonCode) UnmarshalJSON(bytes []byte) error
type RestrictionType ¶
type RestrictionType string
const (
RestrictionTypeLocation RestrictionType = "Location"
)
func (*RestrictionType) UnmarshalJSON ¶
func (s *RestrictionType) UnmarshalJSON(bytes []byte) error
type SkusClient ¶
type SkusClient struct {
Client *resourcemanager.Client
}
func NewSkusClientWithBaseURI ¶
func NewSkusClientWithBaseURI(sdkApi sdkEnv.Api) (*SkusClient, error)
func (SkusClient) List ¶
func (c SkusClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (SkusClient) ListComplete ¶
func (c SkusClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (SkusClient) ListCompleteMatchingPredicate ¶
func (c SkusClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate LabServicesSkuOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.