Documentation ¶
Index ¶
- func PossibleValuesForResourceSkuCapacityScaleType() []string
- func PossibleValuesForSkuType() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type ApiManagementServiceSkusClient
- func (c ApiManagementServiceSkusClient) ListAvailableServiceSkus(ctx context.Context, id ServiceId) (resp ListAvailableServiceSkusOperationResponse, err error)
- func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete(ctx context.Context, id ServiceId) (ListAvailableServiceSkusCompleteResult, error)
- func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (resp ListAvailableServiceSkusCompleteResult, err error)
- type ListAvailableServiceSkusCompleteResult
- type ListAvailableServiceSkusOperationResponse
- type ResourceSku
- type ResourceSkuCapacity
- type ResourceSkuCapacityScaleType
- type ResourceSkuResult
- type ResourceSkuResultOperationPredicate
- type ServiceId
- type SkuType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForResourceSkuCapacityScaleType ¶
func PossibleValuesForResourceSkuCapacityScaleType() []string
func PossibleValuesForSkuType ¶
func PossibleValuesForSkuType() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type ApiManagementServiceSkusClient ¶
type ApiManagementServiceSkusClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewApiManagementServiceSkusClientWithBaseURI ¶
func NewApiManagementServiceSkusClientWithBaseURI(endpoint string) ApiManagementServiceSkusClient
func (ApiManagementServiceSkusClient) ListAvailableServiceSkus ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkus(ctx context.Context, id ServiceId) (resp ListAvailableServiceSkusOperationResponse, err error)
ListAvailableServiceSkus ...
func (ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete(ctx context.Context, id ServiceId) (ListAvailableServiceSkusCompleteResult, error)
ListAvailableServiceSkusComplete retrieves all of the results into a single object
func (ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ResourceSkuResultOperationPredicate) (resp ListAvailableServiceSkusCompleteResult, err error)
ListAvailableServiceSkusCompleteMatchingPredicate retrieves all of the results and then applied the predicate
type ListAvailableServiceSkusCompleteResult ¶
type ListAvailableServiceSkusCompleteResult struct {
Items []ResourceSkuResult
}
type ListAvailableServiceSkusOperationResponse ¶
type ListAvailableServiceSkusOperationResponse struct { HttpResponse *http.Response Model *[]ResourceSkuResult // contains filtered or unexported fields }
func (ListAvailableServiceSkusOperationResponse) HasMore ¶
func (r ListAvailableServiceSkusOperationResponse) HasMore() bool
func (ListAvailableServiceSkusOperationResponse) LoadMore ¶
func (r ListAvailableServiceSkusOperationResponse) LoadMore(ctx context.Context) (resp ListAvailableServiceSkusOperationResponse, err error)
type ResourceSku ¶
type ResourceSku struct {
Name *SkuType `json:"name,omitempty"`
}
type ResourceSkuCapacity ¶
type ResourceSkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *ResourceSkuCapacityScaleType `json:"scaleType,omitempty"` }
type ResourceSkuCapacityScaleType ¶
type ResourceSkuCapacityScaleType string
const ( ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = "automatic" ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = "manual" ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = "none" )
type ResourceSkuResult ¶
type ResourceSkuResult struct { Capacity *ResourceSkuCapacity `json:"capacity,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Sku *ResourceSku `json:"sku,omitempty"` }
type ResourceSkuResultOperationPredicate ¶
type ResourceSkuResultOperationPredicate struct {
ResourceType *string
}
func (ResourceSkuResultOperationPredicate) Matches ¶
func (p ResourceSkuResultOperationPredicate) Matches(input ResourceSkuResult) bool
type ServiceId ¶
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID