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) (result ListAvailableServiceSkusOperationResponse, err error)
- func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete(ctx context.Context, id ServiceId) (ListAvailableServiceSkusCompleteResult, error)
- func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, ...) (result 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 *resourcemanager.Client
}
func NewApiManagementServiceSkusClientWithBaseURI ¶
func NewApiManagementServiceSkusClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiManagementServiceSkusClient, error)
func (ApiManagementServiceSkusClient) ListAvailableServiceSkus ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkus(ctx context.Context, id ServiceId) (result ListAvailableServiceSkusOperationResponse, err error)
ListAvailableServiceSkus ...
func (ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusComplete(ctx context.Context, id ServiceId) (ListAvailableServiceSkusCompleteResult, error)
ListAvailableServiceSkusComplete retrieves all the results into a single object
func (ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate ¶
func (c ApiManagementServiceSkusClient) ListAvailableServiceSkusCompleteMatchingPredicate(ctx context.Context, id ServiceId, predicate ResourceSkuResultOperationPredicate) (result ListAvailableServiceSkusCompleteResult, err error)
ListAvailableServiceSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ListAvailableServiceSkusCompleteResult ¶
type ListAvailableServiceSkusCompleteResult struct {
Items []ResourceSkuResult
}
type ListAvailableServiceSkusOperationResponse ¶
type ListAvailableServiceSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ResourceSkuResult }
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" )
func (*ResourceSkuCapacityScaleType) UnmarshalJSON ¶
func (s *ResourceSkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
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