Documentation ¶
Index ¶
- func PossibleValuesForReasonCode() []string
- type ListCompleteResult
- type ListOperationResponse
- type ReasonCode
- type ResourceSku
- type ResourceSkuCapabilities
- type ResourceSkuLocationInfo
- type ResourceSkuOperationPredicate
- type Restriction
- 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 PossibleValuesForReasonCode ¶
func PossibleValuesForReasonCode() []string
Types ¶
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ResourceSku }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSku }
type ReasonCode ¶
type ReasonCode string
const ( ReasonCodeNotAvailableForSubscription ReasonCode = "NotAvailableForSubscription" ReasonCodeQuotaId ReasonCode = "QuotaId" )
func (*ReasonCode) UnmarshalJSON ¶
func (s *ReasonCode) UnmarshalJSON(bytes []byte) error
type ResourceSku ¶
type ResourceSku struct { Capabilities *[]ResourceSkuCapabilities `json:"capabilities,omitempty"` LocationInfo *[]ResourceSkuLocationInfo `json:"locationInfo,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]Restriction `json:"restrictions,omitempty"` }
type ResourceSkuCapabilities ¶
type ResourceSkuLocationInfo ¶
type ResourceSkuOperationPredicate ¶
func (ResourceSkuOperationPredicate) Matches ¶
func (p ResourceSkuOperationPredicate) Matches(input ResourceSku) bool
type Restriction ¶
type Restriction struct { ReasonCode *ReasonCode `json:"reasonCode,omitempty"` Type *string `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
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 ResourceSkuOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Click to show internal directories.
Click to hide internal directories.