Documentation ¶
Index ¶
- func PossibleValuesForApiManagementSkuCapacityScaleType() []string
- func PossibleValuesForApiManagementSkuRestrictionsReasonCode() []string
- func PossibleValuesForApiManagementSkuRestrictionsType() []string
- type ApiManagementSku
- type ApiManagementSkuCapabilities
- type ApiManagementSkuCapacity
- type ApiManagementSkuCapacityScaleType
- type ApiManagementSkuCosts
- type ApiManagementSkuLocationInfo
- type ApiManagementSkuOperationPredicate
- type ApiManagementSkuRestrictionInfo
- type ApiManagementSkuRestrictions
- type ApiManagementSkuRestrictionsReasonCode
- type ApiManagementSkuRestrictionsType
- type ApiManagementSkuZoneDetails
- type ApiManagementSkusListCompleteResult
- type ApiManagementSkusListCustomPager
- type ApiManagementSkusListOperationResponse
- type SkusClient
- func (c SkusClient) ApiManagementSkusList(ctx context.Context, id commonids.SubscriptionId) (result ApiManagementSkusListOperationResponse, err error)
- func (c SkusClient) ApiManagementSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ApiManagementSkusListCompleteResult, error)
- func (c SkusClient) ApiManagementSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ApiManagementSkusListCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiManagementSkuCapacityScaleType ¶
func PossibleValuesForApiManagementSkuCapacityScaleType() []string
func PossibleValuesForApiManagementSkuRestrictionsReasonCode ¶
func PossibleValuesForApiManagementSkuRestrictionsReasonCode() []string
func PossibleValuesForApiManagementSkuRestrictionsType ¶
func PossibleValuesForApiManagementSkuRestrictionsType() []string
Types ¶
type ApiManagementSku ¶
type ApiManagementSku struct { ApiVersions *[]string `json:"apiVersions,omitempty"` Capabilities *[]ApiManagementSkuCapabilities `json:"capabilities,omitempty"` Capacity *ApiManagementSkuCapacity `json:"capacity,omitempty"` Costs *[]ApiManagementSkuCosts `json:"costs,omitempty"` Family *string `json:"family,omitempty"` Kind *string `json:"kind,omitempty"` LocationInfo *[]ApiManagementSkuLocationInfo `json:"locationInfo,omitempty"` Locations *[]string `json:"locations,omitempty"` Name *string `json:"name,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Restrictions *[]ApiManagementSkuRestrictions `json:"restrictions,omitempty"` Size *string `json:"size,omitempty"` Tier *string `json:"tier,omitempty"` }
type ApiManagementSkuCapacity ¶
type ApiManagementSkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *ApiManagementSkuCapacityScaleType `json:"scaleType,omitempty"` }
type ApiManagementSkuCapacityScaleType ¶
type ApiManagementSkuCapacityScaleType string
const ( ApiManagementSkuCapacityScaleTypeAutomatic ApiManagementSkuCapacityScaleType = "Automatic" ApiManagementSkuCapacityScaleTypeManual ApiManagementSkuCapacityScaleType = "Manual" ApiManagementSkuCapacityScaleTypeNone ApiManagementSkuCapacityScaleType = "None" )
func (*ApiManagementSkuCapacityScaleType) UnmarshalJSON ¶
func (s *ApiManagementSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
type ApiManagementSkuCosts ¶
type ApiManagementSkuLocationInfo ¶
type ApiManagementSkuLocationInfo struct { Location *string `json:"location,omitempty"` ZoneDetails *[]ApiManagementSkuZoneDetails `json:"zoneDetails,omitempty"` Zones *zones.Schema `json:"zones,omitempty"` }
type ApiManagementSkuOperationPredicate ¶
type ApiManagementSkuOperationPredicate struct { Family *string Kind *string Name *string ResourceType *string Size *string Tier *string }
func (ApiManagementSkuOperationPredicate) Matches ¶
func (p ApiManagementSkuOperationPredicate) Matches(input ApiManagementSku) bool
type ApiManagementSkuRestrictions ¶
type ApiManagementSkuRestrictions struct { ReasonCode *ApiManagementSkuRestrictionsReasonCode `json:"reasonCode,omitempty"` RestrictionInfo *ApiManagementSkuRestrictionInfo `json:"restrictionInfo,omitempty"` Type *ApiManagementSkuRestrictionsType `json:"type,omitempty"` Values *[]string `json:"values,omitempty"` }
type ApiManagementSkuRestrictionsReasonCode ¶
type ApiManagementSkuRestrictionsReasonCode string
const ( ApiManagementSkuRestrictionsReasonCodeNotAvailableForSubscription ApiManagementSkuRestrictionsReasonCode = "NotAvailableForSubscription" ApiManagementSkuRestrictionsReasonCodeQuotaId ApiManagementSkuRestrictionsReasonCode = "QuotaId" )
func (*ApiManagementSkuRestrictionsReasonCode) UnmarshalJSON ¶
func (s *ApiManagementSkuRestrictionsReasonCode) UnmarshalJSON(bytes []byte) error
type ApiManagementSkuRestrictionsType ¶
type ApiManagementSkuRestrictionsType string
const ( ApiManagementSkuRestrictionsTypeLocation ApiManagementSkuRestrictionsType = "Location" ApiManagementSkuRestrictionsTypeZone ApiManagementSkuRestrictionsType = "Zone" )
func (*ApiManagementSkuRestrictionsType) UnmarshalJSON ¶
func (s *ApiManagementSkuRestrictionsType) UnmarshalJSON(bytes []byte) error
type ApiManagementSkuZoneDetails ¶
type ApiManagementSkuZoneDetails struct { Capabilities *[]ApiManagementSkuCapabilities `json:"capabilities,omitempty"` Name *[]string `json:"name,omitempty"` }
type ApiManagementSkusListCompleteResult ¶
type ApiManagementSkusListCompleteResult struct { LatestHttpResponse *http.Response Items []ApiManagementSku }
type ApiManagementSkusListCustomPager ¶
func (*ApiManagementSkusListCustomPager) NextPageLink ¶
func (p *ApiManagementSkusListCustomPager) NextPageLink() *odata.Link
type ApiManagementSkusListOperationResponse ¶
type ApiManagementSkusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApiManagementSku }
type SkusClient ¶
type SkusClient struct {
Client *resourcemanager.Client
}
func NewSkusClientWithBaseURI ¶
func NewSkusClientWithBaseURI(sdkApi sdkEnv.Api) (*SkusClient, error)
func (SkusClient) ApiManagementSkusList ¶
func (c SkusClient) ApiManagementSkusList(ctx context.Context, id commonids.SubscriptionId) (result ApiManagementSkusListOperationResponse, err error)
ApiManagementSkusList ...
func (SkusClient) ApiManagementSkusListComplete ¶
func (c SkusClient) ApiManagementSkusListComplete(ctx context.Context, id commonids.SubscriptionId) (ApiManagementSkusListCompleteResult, error)
ApiManagementSkusListComplete retrieves all the results into a single object
func (SkusClient) ApiManagementSkusListCompleteMatchingPredicate ¶
func (c SkusClient) ApiManagementSkusListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ApiManagementSkuOperationPredicate) (result ApiManagementSkusListCompleteResult, err error)
ApiManagementSkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
Source Files ¶
- client.go
- constants.go
- method_apimanagementskuslist.go
- model_apimanagementsku.go
- model_apimanagementskucapabilities.go
- model_apimanagementskucapacity.go
- model_apimanagementskucosts.go
- model_apimanagementskulocationinfo.go
- model_apimanagementskurestrictioninfo.go
- model_apimanagementskurestrictions.go
- model_apimanagementskuzonedetails.go
- predicates.go
- version.go
Click to show internal directories.
Click to hide internal directories.