Documentation ¶
Index ¶
- func PossibleValuesForApiGatewaySkuType() []string
- func PossibleValuesForGatewaySkuCapacityScaleType() []string
- func ValidateGatewayID(input interface{}, key string) (warnings []string, errors []error)
- type ApiGatewaySkuType
- type ApiManagementGatewaySkusClient
- func (c ApiManagementGatewaySkusClient) ListAvailableSkus(ctx context.Context, id GatewayId) (result ListAvailableSkusOperationResponse, err error)
- func (c ApiManagementGatewaySkusClient) ListAvailableSkusComplete(ctx context.Context, id GatewayId) (ListAvailableSkusCompleteResult, error)
- func (c ApiManagementGatewaySkusClient) ListAvailableSkusCompleteMatchingPredicate(ctx context.Context, id GatewayId, ...) (result ListAvailableSkusCompleteResult, err error)
- type GatewayId
- type GatewayResourceSkuResult
- type GatewayResourceSkuResultOperationPredicate
- type GatewaySku
- type GatewaySkuCapacity
- type GatewaySkuCapacityScaleType
- type ListAvailableSkusCompleteResult
- type ListAvailableSkusCustomPager
- type ListAvailableSkusOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForApiGatewaySkuType ¶
func PossibleValuesForApiGatewaySkuType() []string
func PossibleValuesForGatewaySkuCapacityScaleType ¶
func PossibleValuesForGatewaySkuCapacityScaleType() []string
func ValidateGatewayID ¶
ValidateGatewayID checks that 'input' can be parsed as a Gateway ID
Types ¶
type ApiGatewaySkuType ¶
type ApiGatewaySkuType string
const ( ApiGatewaySkuTypeStandard ApiGatewaySkuType = "Standard" ApiGatewaySkuTypeWorkspaceGatewayPremium ApiGatewaySkuType = "WorkspaceGatewayPremium" ApiGatewaySkuTypeWorkspaceGatewayStandard ApiGatewaySkuType = "WorkspaceGatewayStandard" )
func (*ApiGatewaySkuType) UnmarshalJSON ¶
func (s *ApiGatewaySkuType) UnmarshalJSON(bytes []byte) error
type ApiManagementGatewaySkusClient ¶
type ApiManagementGatewaySkusClient struct {
Client *resourcemanager.Client
}
func NewApiManagementGatewaySkusClientWithBaseURI ¶
func NewApiManagementGatewaySkusClientWithBaseURI(sdkApi sdkEnv.Api) (*ApiManagementGatewaySkusClient, error)
func (ApiManagementGatewaySkusClient) ListAvailableSkus ¶
func (c ApiManagementGatewaySkusClient) ListAvailableSkus(ctx context.Context, id GatewayId) (result ListAvailableSkusOperationResponse, err error)
ListAvailableSkus ...
func (ApiManagementGatewaySkusClient) ListAvailableSkusComplete ¶
func (c ApiManagementGatewaySkusClient) ListAvailableSkusComplete(ctx context.Context, id GatewayId) (ListAvailableSkusCompleteResult, error)
ListAvailableSkusComplete retrieves all the results into a single object
func (ApiManagementGatewaySkusClient) ListAvailableSkusCompleteMatchingPredicate ¶
func (c ApiManagementGatewaySkusClient) ListAvailableSkusCompleteMatchingPredicate(ctx context.Context, id GatewayId, predicate GatewayResourceSkuResultOperationPredicate) (result ListAvailableSkusCompleteResult, err error)
ListAvailableSkusCompleteMatchingPredicate retrieves all the results and then applies the predicate
type GatewayId ¶
GatewayId is a struct representing the Resource ID for a Gateway
func NewGatewayID ¶
NewGatewayID returns a new GatewayId struct
func ParseGatewayID ¶
ParseGatewayID parses 'input' into a GatewayId
func ParseGatewayIDInsensitively ¶
ParseGatewayIDInsensitively parses 'input' case-insensitively into a GatewayId note: this method should only be used for API response data and not user input
func (*GatewayId) FromParseResult ¶
func (id *GatewayId) FromParseResult(input resourceids.ParseResult) error
func (GatewayId) Segments ¶
func (id GatewayId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Gateway ID
type GatewayResourceSkuResult ¶
type GatewayResourceSkuResult struct { Capacity *GatewaySkuCapacity `json:"capacity,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Sku *GatewaySku `json:"sku,omitempty"` }
type GatewayResourceSkuResultOperationPredicate ¶
type GatewayResourceSkuResultOperationPredicate struct {
ResourceType *string
}
func (GatewayResourceSkuResultOperationPredicate) Matches ¶
func (p GatewayResourceSkuResultOperationPredicate) Matches(input GatewayResourceSkuResult) bool
type GatewaySku ¶
type GatewaySku struct {
Name *ApiGatewaySkuType `json:"name,omitempty"`
}
type GatewaySkuCapacity ¶
type GatewaySkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *GatewaySkuCapacityScaleType `json:"scaleType,omitempty"` }
type GatewaySkuCapacityScaleType ¶
type GatewaySkuCapacityScaleType string
const ( GatewaySkuCapacityScaleTypeAutomatic GatewaySkuCapacityScaleType = "Automatic" GatewaySkuCapacityScaleTypeManual GatewaySkuCapacityScaleType = "Manual" GatewaySkuCapacityScaleTypeNone GatewaySkuCapacityScaleType = "None" )
func (*GatewaySkuCapacityScaleType) UnmarshalJSON ¶
func (s *GatewaySkuCapacityScaleType) UnmarshalJSON(bytes []byte) error
type ListAvailableSkusCompleteResult ¶
type ListAvailableSkusCompleteResult struct { LatestHttpResponse *http.Response Items []GatewayResourceSkuResult }
type ListAvailableSkusCustomPager ¶
func (*ListAvailableSkusCustomPager) NextPageLink ¶
func (p *ListAvailableSkusCustomPager) NextPageLink() *odata.Link
type ListAvailableSkusOperationResponse ¶
type ListAvailableSkusOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]GatewayResourceSkuResult }