Documentation ¶
Index ¶
- func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
- func PossibleValuesForResourceSkuRestrictionsType() []string
- type ResourceSku
- type ResourceSkuOperationPredicate
- type ResourceSkuRestrictionInfo
- type ResourceSkuRestrictions
- type ResourceSkuRestrictionsReasonCode
- type ResourceSkuRestrictionsType
- type ResourceSkusListCompleteResult
- type ResourceSkusListOperationResponse
- type SkusClient
- func (c SkusClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListOperationResponse, err error)
- func (c SkusClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListCompleteResult, error)
- func (c SkusClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ResourceSkusListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceSkuRestrictionsReasonCode ¶
func PossibleValuesForResourceSkuRestrictionsReasonCode() []string
func PossibleValuesForResourceSkuRestrictionsType ¶
func PossibleValuesForResourceSkuRestrictionsType() []string
Types ¶
type ResourceSku ¶
type ResourceSku struct { Kind *string `json:"kind,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]ResourceSkuRestrictions `json:"restrictions,omitempty"` Tier *string `json:"tier,omitempty"` }
type ResourceSkuOperationPredicate ¶
type ResourceSkuOperationPredicate struct { Kind *string Name *string ResourceType *string Tier *string }
func (ResourceSkuOperationPredicate) Matches ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
type ResourceSkuRestrictions ¶
type ResourceSkuRestrictions struct { ReasonCode *ResourceSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` RestrictionInfo *ResourceSkuRestrictionInfo `json:"restrictionInfo,omitempty"` Type *ResourceSkuRestrictionsType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
type ResourceSkuRestrictionsReasonCode ¶
type ResourceSkuRestrictionsReasonCode string
const ( ResourceSkuRestrictionsReasonCodeNotAvailableForSubscription ResourceSkuRestrictionsReasonCode = "NotAvailableForSubscription" ResourceSkuRestrictionsReasonCodeQuotaId ResourceSkuRestrictionsReasonCode = "QuotaId" )
func (*ResourceSkuRestrictionsReasonCode) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error
type ResourceSkuRestrictionsType ¶
type ResourceSkuRestrictionsType string
const ( ResourceSkuRestrictionsTypeLocation ResourceSkuRestrictionsType = "Location" ResourceSkuRestrictionsTypeZone ResourceSkuRestrictionsType = "Zone" )
func (*ResourceSkuRestrictionsType) UnmarshalJSON ¶
func (s *ResourceSkuRestrictionsType) UnmarshalJSON(bytes []byte) error
type ResourceSkusListCompleteResult ¶
type ResourceSkusListCompleteResult struct {
Items []ResourceSku
}
type ResourceSkusListOperationResponse ¶
type ResourceSkusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSku }
type SkusClient ¶
type SkusClient struct {
Client *resourcemanager.Client
}
func NewSkusClientWithBaseURI ¶
func NewSkusClientWithBaseURI(sdkApi sdkEnv.Api) (*SkusClient, error)
func (SkusClient) ResourceSkusList ¶
func (c SkusClient) ResourceSkusList(ctx context.Context, id commonids.SubscriptionId) (result ResourceSkusListOperationResponse, err error)
ResourceSkusList ...
func (SkusClient) ResourceSkusListComplete ¶
func (c SkusClient) ResourceSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ResourceSkusListCompleteResult, error)
ResourceSkusListComplete retrieves all the results into a single object
func (SkusClient) ResourceSkusListCompleteMatchingPredicate ¶
func (c SkusClient) ResourceSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ResourceSkuOperationPredicate) (result ResourceSkusListCompleteResult, err error)
ResourceSkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.